1 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3 * setjmp/tst-setjmp-fp.c: New file.
4 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5 (link-libm): New variable.
6 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
8 * math/libm-test.inc (struct test_f_i_data): New type.
9 (RUN_TEST_LOOP_f_i): New macro.
10 (RUN_TEST_LOOP_f_i_tg): Likewise.
11 (fpclassify_test_data): New variable.
12 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13 (ilogb_test_data): New variable.
14 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
16 * math/libm-test.inc (scalbln_test): Correct function name in END
19 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20 (RUN_TEST_LOOP_fI_f1): New macro.
21 (frexp_test_data): New variable.
22 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24 * math/libm-test.inc (struct test_fF_f1_data): New type.
25 (RUN_TEST_LOOP_fF_f1): New macro.
26 (modf_test_data): New variable.
27 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29 * math/libm-test.inc (struct test_f_f1_data): New type.
30 (RUN_TEST_LOOP_f_f1): New macro.
31 (gamma_test_data): New variable.
32 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
33 (lgamma_test_data): New variable.
34 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36 2013-05-13 Carlos O'Donell <carlos@redhat.com>
38 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
39 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
40 (main): Comment "tls" pseudo-hwcap.
42 2013-05-13 Joseph Myers <joseph@codesourcery.com>
44 * math/libm-test.inc (struct test_fl_f_data): New type.
45 (RUN_TEST_LOOP_fl_f): New variable.
46 (scalbln_test_data): New variable.
47 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
49 * math/libm-test.inc (struct test_fi_f_data): New type.
50 (RUN_TEST_LOOP_fi_f): New macro.
51 (ldexp_test_data): New variable.
52 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
53 (scalbn_test_data): New variable.
54 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56 * math/libm-test.inc (struct test_c_f_data): New type.
57 (RUN_TEST_LOOP_c_f): New macro.
58 (cabs_test_data): New variable.
59 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
60 (carg_test_data): New variable.
61 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
62 (cimag_test_data): New variable.
63 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
64 (creal_test_data): New variable.
65 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67 * math/libm-test.inc (struct test_if_f_data): New type.
68 (RUN_TEST_LOOP_if_f): New macro.
69 (jn_test_data): New variable.
70 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
71 (yn_test_data): New variable.
72 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
74 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
76 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
79 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
81 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
83 * benchtests/Makefile (CPPFLAGS-nonlib): Add
84 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
85 (bench-deps): Add bench-timing.h.
86 * benchtests-bench-skeleton.c: Include bench-timing.h.
87 (main): Use TIMING_* macros instead of clock_gettime.
88 * benchtests/bench-timing.h: New file.
91 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
92 Renamed from _LIB_VERSION.
93 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
95 2013-05-12 Joseph Myers <joseph@codesourcery.com>
97 * math/libm-test.inc (struct test_fff_f_data): New type.
98 (RUN_TEST_LOOP_fff_f): New macro.
99 (fma_test_data): New variable.
100 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
101 (fma_towardzero_test_data): New variable.
102 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
103 (fma_downward_test_data): New variable.
104 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
105 (fma_upward_test_data): New variable.
106 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
108 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
109 (struct test_c_c_data): New type.
110 (RUN_TEST_LOOP_c_c): New macro.
111 (cacos_test_data): New variable.
112 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
113 (cacosh_test_data): New variable.
114 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
115 (casin_test_data): New variable.
116 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
117 (casinh_test_data): New variable.
118 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
119 (catan_test_data): New variable.
120 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
121 (catanh_test_data): New variable.
122 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
123 (ccos_test_data): New variable.
124 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
125 (ccosh_test_data): New variable.
126 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
127 (cexp_test_data): New variable.
128 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
129 (clog_test_data): New variable.
130 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
131 (clog10_test_data): New variable.
132 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
133 (conj_test_data): New variable.
134 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
135 (cproj_test_data): New variable.
136 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
137 (csin_test_data): New variable.
138 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
139 (csinh_test_data): New variable.
140 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
141 (csqrt_test_data): New variable.
142 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
143 (ctan_test_data): New variable.
144 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
145 (ctan_tonearest_test_data): New variable.
146 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
147 (ctan_towardzero_test_data): New variable.
148 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
149 (ctan_downward_test_data): New variable.
150 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
151 (ctan_upward_test_data): New variable.
152 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
153 (ctanh_test_data): New variable.
154 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
155 (ctanh_tonearest_test_data): New variable.
156 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
157 (ctanh_towardzero_test_data): New variable.
158 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
159 (ctanh_downward_test_data): New variable.
160 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
161 (ctanh_upward_test_data): New variable.
162 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
163 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
166 * math/libm-test.inc (struct test_ff_f_data): New type.
167 (struct test_ff_f_data_nexttoward): Likewise.
168 (RUN_TEST_LOOP_2_f): New macro.
169 (RUN_TEST_LOOP_ff_f): Likewise.
170 (atan2_test_data): New variable.
171 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
172 (copysign_test_data): New variable.
173 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
174 (fdim_test_data): New variable.
175 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
176 (fmax_test_data): New variable.
177 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
178 (fmin_test_data): New variable.
179 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
180 (fmod_test_data): New variable.
181 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
182 (hypot_test_data): New variable.
183 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
184 (nextafter_test_data): New variable.
185 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
186 (nexttoward_test_data): New variable.
187 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
188 (pow_test_data): New variable.
189 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
190 (pow_tonearest_test_data): New variable.
191 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
192 (pow_towardzero_test_data): New variable.
193 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
194 (pow_downward_test_data): New variable.
195 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
196 (pow_upward_test_data): New variable.
197 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
198 (remainder_test_data): New variable.
199 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
200 (scalb_test_data): New variable.
201 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
202 * sysdeps/i386/fpu/libm-test-ulps: Update.
204 2013-05-11 Joseph Myers <joseph@codesourcery.com>
206 * math/libm-test.inc (fma_test): Use max_value instead of local
208 (nextafter_test): Likewise.
210 * math/libm-test.inc (acos_towardzero_test_data): New variable.
211 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
212 (acos_downward_test_data): New variable.
213 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
214 (acos_upward_test_data): New variable.
215 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
216 (acosh_test_data): New variable.
217 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
218 (asin_test_data): New variable.
219 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
220 (asin_tonearest_test_data): New variable.
221 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
222 (asin_towardzero_test_data): New variable.
223 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
224 (asin_downward_test_data): New variable.
225 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
226 (asin_upward_test_data): New variable.
227 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
228 (asinh_test_data): New variable.
229 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
230 (atan_test_data): New variable.
231 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
232 (atanh_test_data): New variable.
233 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
234 (cbrt_test_data): New variable.
235 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
236 (ceil_test_data): New variable.
237 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
238 (cos_test_data): New variable.
239 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
240 (cos_tonearest_test_data): New variable.
241 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
242 (cos_towardzero_test_data): New variable.
243 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
244 (cos_downward_test_data): New variable.
245 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
246 (cos_upward_test_data): New variable.
247 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
248 (cosh_test_data): New variable.
249 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
250 (cosh_tonearest_test_data): New variable.
251 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
252 (cosh_towardzero_test_data): New variable.
253 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
254 (cosh_downward_test_data): New variable.
255 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
256 (cosh_upward_test_data): New variable.
257 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
258 (erf_test_data): New variable.
259 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
260 (erfc_test_data): New variable.
261 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
262 (exp_test_data): New variable.
263 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
264 (exp_tonearest_test_data): New variable.
265 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
266 (exp_towardzero_test_data): New variable.
267 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
268 (exp_downward_test_data): New variable.
269 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
270 (exp_upward_test_data): New variable.
271 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
272 (exp10_test_data): New variable.
273 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
274 (exp2_test_data): New variable.
275 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
276 (expm1_test_data): New variable.
277 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
278 (fabs_test_data): New variable.
279 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
280 (floor_test_data): New variable.
281 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
282 (j0_test_data): New variable.
283 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
284 (j1_test_data): New variable.
285 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
286 (log_test_data): New variable.
287 (log_test): Run tests with RUN_TEST_LOOP_f_f.
288 (log10_test_data): New variable.
289 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
290 (log1p_test_data): New variable.
291 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
292 (log2_test_data): New variable.
293 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
294 (logb_test_data): New variable.
295 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
296 (logb_downward_test_data): New variable.
297 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
298 (nearbyint_test_data): New variable.
299 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
300 (rint_test_data): New variable.
301 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
302 (rint_tonearest_test_data): New variable.
303 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
304 (rint_towardzero_test_data): New variable.
305 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
306 (rint_downward_test_data): New variable.
307 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
308 (rint_upward_test_data): New variable.
309 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
310 (round_test_data): New variable.
311 (round_test): Run tests with RUN_TEST_LOOP_f_f.
312 (sin_test_data): New variable.
313 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
314 (sin_tonearest_test_data): New variable.
315 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
316 (sin_towardzero_test_data): New variable.
317 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
318 (sin_downward_test_data): New variable.
319 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
320 (sin_upward_test_data): New variable.
321 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
322 (sinh_test_data): New variable.
323 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
324 (sinh_tonearest_test_data): New variable.
325 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
326 (sinh_towardzero_test_data): New variable.
327 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
328 (sinh_downward_test_data): New variable.
329 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
330 (sinh_upward_test_data): New variable.
331 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
332 (sqrt_test_data): New variable.
333 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
334 (tan_test_data): New variable.
335 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
336 (tan_tonearest_test_data): New variable.
337 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
338 (tan_towardzero_test_data): New variable.
339 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
340 (tan_downward_test_data): New variable.
341 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
342 (tan_upward_test_data): New variable.
343 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
344 (tanh_test_data): New variable.
345 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
346 (tgamma_test_data): New variable.
347 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
348 (trunc_test_data): New variable.
349 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
350 (y0_test_data): New variable.
351 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
352 (y1_test_data): New variable.
353 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
354 (significand_test_data): New variable.
355 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
357 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
360 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
362 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
364 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
366 2013-05-10 Andreas Jaeger <aj@suse.de>
369 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
370 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
372 2013-05-10 Joseph Myers <joseph@codesourcery.com>
374 * math/gen-libm-test.pl (adjust_arg): New function.
375 (special_functions): Handle generating output in both functions
377 (parse_args): Likewise.
378 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
379 $in_func argument to parse_args.
380 * math/libm-test.inc (struct test_f_f_data): New type.
381 (IF_ROUND_INIT_): New macro.
382 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
383 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
384 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
385 (IF_ROUND_INIT_FE_UPWARD): Likewise.
386 (ROUND_RESTORE_): Likewise.
387 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
388 (ROUND_RESTORE_FE_TONEAREST): Likewise.
389 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
390 (ROUND_RESTORE_FE_UPWARD): Likewise.
391 (RUN_TEST_LOOP_f_f): New macro.
392 (acos_test_data): New variable.
393 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
394 (acos_tonearest_test_data): New variable.
395 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
397 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
399 * benchtests/bench-skeleton.c (startup): Fix coding style.
401 2013-05-10 Joseph Myers <joseph@codesourcery.com>
404 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
405 negative infinity argument.
406 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
407 negative infinity argument.
408 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
409 negative infinity argument.
410 * math/libm-test.inc (tgamma_test): Expect errno to be set for
413 2013-05-10 Florian Weimer <fweimer@redhat.com>
415 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
416 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
417 * iconv/iconv_prog.c (main): Likewise.
418 * locale/programs/charmap-dir.c (charmap_readdir)
419 (fopen_uncompressed): Likewise.
420 * locale/programs/locfile.c (siblings_uncached)
421 (write_locale_data): Use lstat64 instead of lstat.
422 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
425 2013-05-10 Andreas Jaeger <aj@suse.de>
428 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
432 2013-05-09 Carlos O'Donell <carlos@redhat.com>
434 * elf/dl-close.c (_dl_close_worker): Add comments.
436 2013-05-09 Joseph Myers <joseph@codesourcery.com>
439 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
441 (__ieee754_rem_pio2l): Update comments.
444 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
446 (__ieee754_rem_pio2l): Update comments.
448 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
449 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
451 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
454 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
455 (M_PI_34_LOG10El): Likewise.
456 (M_PI2_LOG10El): Likewise.
457 (M_PI4_LOG10El): Likewise.
458 (M_PI_LOG10El): Likewise.
460 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
464 2013-05-08 Joseph Myers <joseph@codesourcery.com>
466 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
467 (MINUS_ZERO_INIT): Likewise.
468 (PLUS_INFTY_INIT): Likewise.
469 (MINUS_INFTY_INIT): Likewise.
470 (QNAN_VALUE_INIT): Likewise.
471 (MAX_VALUE_INIT): Likewise.
472 (MIN_VALUE_INIT): Likewise.
473 (MIN_SUBNORM_VALUE_INIT): Likewise.
474 (plus_zero): Initialize with PLUS_ZERO_INIT.
475 (minus_zero): Initialize with MINUS_ZERO_INIT.
476 (plus_infty): Initialize with PLUS_INFTY_INIT.
477 (minus_infty): Initialize with MINUS_INFTY_INIT.
478 (qnan_value): Initialize with QNAN_VALUE_INIT.
479 (max_value): Initialize with MAX_VALUE_INIT.
480 (min_value): Initialize with MIN_VALUE_INIT.
481 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
483 * math/libm-test.inc (RUN_TEST_if_f): New macro.
484 (jn_test): Use TEST_if_f instead of TEST_ff_f.
485 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
486 (yn_test): Use TEST_if_f instead of TEST_ff_f.
488 * math/libm-test.inc (RUN_TEST_f_f): New macro.
489 (RUN_TEST_2_f): Likewise.
490 (RUN_TEST_ff_f): Likewise.
491 (RUN_TEST_fi_f): Likewise.
492 (RUN_TEST_fl_f): Likewise.
493 (RUN_TEST_fff_f): Likewise.
494 (RUN_TEST_c_f): Likewise.
495 (RUN_TEST_f_f1): Likewise.
496 (RUN_TEST_fF_f1): Likewise.
497 (RUN_TEST_fI_f1): Likewise.
498 (RUN_TEST_ffI_f1): Likewise.
499 (RUN_TEST_c_c): Likewise.
500 (RUN_TEST_cc_c): Likewise.
501 (RUN_TEST_f_i): Likewise.
502 (RUN_TEST_f_i_tg): Likewise.
503 (RUN_TEST_ff_i_tg): Likewise.
504 (RUN_TEST_f_b): Likewise.
505 (RUN_TEST_f_b_tg): Likewise.
506 (RUN_TEST_f_l): Likewise.
507 (RUN_TEST_f_L): Likewise.
508 (RUN_TEST_sincos): Likewise.
509 * math/gen-libm-test.pl (new_test): Take new argument to indicate
510 whether to show exceptions. Do not include ");\n" in return
512 (special_functions): Output call to RUN_TEST_sincos instead of
513 check_float calls. Update calls to new_test.
514 (parse_args): Output call to single RUN_TEST_* macro instead of
515 check_* calls and other assignments. Update calls to new_test.
521 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
522 input to result for tgamma overflow.
523 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
524 (gamma_coeff): New variable.
526 (gamma_positive): New function.
527 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
528 underflow here. Use gamma_positive instead of exp (lgamma) for
530 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
531 (gamma_coeff): New variable.
533 (gammaf_positive): New function.
534 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
535 underflow here. Use gamma_positive instead of exp (lgamma) for
537 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
538 (gamma_coeff): New variable.
540 (gammal_positive): New function.
541 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
542 underflow here. Use gamma_positive instead of exp (lgamma) for
544 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
545 (gamma_coeff): New variable.
547 (gammal_positive): New function.
548 (__ieee754_gammal_r): Handle positive infinity, overflow and
549 underflow here. Handle NaN the same as positive infinity. Remove
550 check x < 0xffffffff for negative integers. Use gamma_positive
551 instead of exp (lgamma) for other arguments.
552 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
553 (gamma_coeff): New variable.
555 (gammal_positive): New function.
556 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
557 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
558 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
559 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
560 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
561 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
562 * sysdeps/generic/math_private.h (__gamma_productf): New
564 (__gamma_product): Likewise.
565 (__gamma_productl): Likewise.
566 * math/Makefile (libm-calls): Add gamma_product.
567 * math/libm-test.inc (tgamma_test): Add more tests.
568 * sysdeps/i386/fpu/libm-test-ulps: Update.
569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
571 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
573 * benchtests/bench-skeleton.c (main): Preheat CPU.
575 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
577 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
579 2013-05-07 Roland McGrath <roland@hack.frob.com>
581 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
582 and _dl_skip_args_internal.
584 2013-05-07 Carlos O'Donell <carlos@redhat.com>
586 * manual/message.texi (Message Translation): Talk about users.
587 Message to key mapping impacts design.
589 2013-05-06 Roland McGrath <roland@hack.frob.com>
591 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
593 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
595 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
596 * sysdeps/wordsize-64/glob64.c: ... here.
598 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
599 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
602 * debug/getlogin_r_chk.c: Moved to ...
603 * login/getlogin_r_chk.c: ... here.
604 * debug/Makefile (routines): Move getlogin_r_chk to ...
605 * login/Makefile (routines): ... here.
606 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
607 * login/Versions (libc: GLIBC_2.4): ... here.
609 * io/poll.c (__poll): Renamed from poll.
611 (poll): Define as weak alias.
613 * debug/ptsname_r_chk.c: Moved to ...
614 * login/ptsname_r_chk.c: ... here.
615 * debug/Makefile (routines): Move ptsname_r_chk to ...
616 * login/Makefile (routines): ... here.
617 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
618 * login/Versions (libc: GLIBC_2.4): ... here.
620 * posix/getlogin.c: Moved to ...
621 * login/getlogin.c: ... here.
622 * posix/getlogin_r.c: Moved to ...
623 * login/getlogin_r.c: ... here.
624 * posix/getlogin_r.c: Moved to ...
625 * login/getlogin_r.c: ... here.
626 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
627 * login/Makefile (routines): ... here.
628 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
629 * login/Versions (libc: GLIBC_2.0): ... here.
631 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
632 (setrlimit): Define as weak alias.
634 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
635 Call __ names for open, ftruncate, and close.
636 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
637 (truncate): Define as weak alias.
639 2013-05-06 Joseph Myers <joseph@codesourcery.com>
641 * math/gen-libm-test.pl (parse_args): Initialize x before each
642 test of frexp, modf and remquo.
644 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
647 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
651 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
653 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
655 2013-05-06 Roland McGrath <roland@hack.frob.com>
657 * elf/dl-writev.h: New file.
658 * elf/dl-misc.c: Include it.
659 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
660 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
662 2013-05-04 Joseph Myers <joseph@codesourcery.com>
664 * math/libm-test.inc (noXFails): Remove variable.
665 (noXPasses): Likewise.
666 (BUILD_COMPLEX_INT): Remove macro.
667 (print_screen): Remove xfail argument.
668 (print_screen_max_error): Likewise.
669 (update_stats): Likewise.
670 (print_max_error): Likewise. Update calls to other affected
672 (print_complex_max_error): Likewise.
673 (test_single_exception): Update calls to print_screen.
674 (test_single_errno): Likewise.
675 (check_float_internal): Remove xfail argument. Update calls to
676 other affected functions.
677 (check_float): Likewise.
678 (check_complex): Likewise.
679 (check_int): Likewise.
680 (check_long): Likewise.
681 (check_bool): Likewise.
682 (check_longlong): Likewise.
683 (main): Don't print noXFails and noXPasses.
684 * math/gen-libm-test.pl (top level): Don't mention expected
685 failure handling in comment.
686 (new_test): Don't handle expected failures.
687 (parse_args): Don't mention expected failure handling in comment.
688 (generate_testfile): Don't handle expected failures.
689 (parse_ulps): Likewise.
690 (print_ulps_file): Likewise.
691 (get_failure): Remove function.
692 (output_test): Don't handle expected failures.
693 * make/README.libm-test: Don't mention expected failure handling.
695 * math/libm-test.inc (plus_zero): Make const. Add initializer.
696 (minus_zero): Likewise.
697 (plus_infty): Likewise.
698 (minus_infty): Likewise.
699 (qnan_value): Likewise.
700 (max_value): Likewise.
701 (min_value): Likewise.
702 (min_subnorm_value): Likewise.
703 (initialize): Do not initialize those variables dynamically.
705 2013-05-03 Roland McGrath <roland@hack.frob.com>
707 * io/open.c (__open_2): Moved to ...
708 * io/open_2.c: ... this new file.
709 * io/open64.c (__open64_2): Moved to ...
710 * io/open64_2.c: ... this new file.
711 * io/openat.c (__openat_2): Moved to ...
712 * io/openat_2.c: ... this new file.
713 * io/openat64.c (__openat64_2): Moved to ...
714 * io/openat64_2.c: ... this new file.
715 * io/Makefile (routines): Add them.
716 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
717 * sysdeps/unix/sysv/linux/open_2.c: File removed.
718 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
719 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
720 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
721 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
722 (__openat64): Add hidden_ver.
723 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
724 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
726 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
727 Separately conditionalize setting of GLRO(dl_sysinfo) so
728 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
729 as well, but the actual setting is only under [NEED_DL_SYSINFO].
731 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
733 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
734 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
736 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
737 * sysdeps/unix/sysv/linux/powerpc/init-first.c
738 (_libc_vdso_platform_setup): Add __vdso_time initialization.
739 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
740 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
742 2013-05-03 Joseph Myers <joseph@codesourcery.com>
744 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
747 * math/libm-test.inc (hypot_test): Do not use
748 IGNORE_ZERO_INF_SIGN.
750 2013-05-03 Andreas Jaeger <aj@suse.de>
752 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
754 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
755 (PF_MAX): Adjust for VSOCK change.
757 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
761 2013-05-02 Carlos O'Donell <carlos@redhat.com>
764 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
765 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
766 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
768 2013-05-02 David S. Miller <davem@davemloft.net>
770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
772 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
774 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
776 2013-05-01 Roland McGrath <roland@hack.frob.com>
778 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
780 2013-05-01 Richard Smith <richard@metafoo.co.uk>
783 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
784 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
785 Use __attribute__ ((__gnu_inline__)).
786 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
787 Don't use __attribute__ ((__gnu_inline__)).
789 2013-05-01 Joseph Myers <joseph@codesourcery.com>
792 * math/s_catan.c (__catan): Handle small real or imaginary part of
793 input specially to avoid spurious underflow.
794 * math/s_catanf.c (__catanf): Likewise.
795 * math/s_catanh.c (__catanh): Likewise.
796 * math/s_catanhf.c (__catanhf): Likewise.
797 * math/s_catanhl.c (__catanhl): Likewise.
798 * math/s_catanl.c (__catanl): Likewise.
799 * math/libm-test.inc (catan_test): Add more tests.
800 (catanh_test): Likewise.
801 * sysdeps/i386/fpu/libm-test-ulps: Update.
802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
804 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
808 2013-04-30 Joseph Myers <joseph@codesourcery.com>
811 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
812 accurately for denominator in atan2.
813 * math/s_catanf.c (__catanf): Likewise.
814 * math/s_catanh.c (__catanh): Likewise.
815 * math/s_catanhf.c (__catanhf): Likewise.
816 * math/s_catanhl.c (__catanhl): Likewise.
817 * math/s_catanl.c (__catanl): Likewise.
818 * math/libm-test.inc (catan_test): Add more tests.
819 (catanh_test): Likewise.
820 * sysdeps/i386/fpu/libm-test-ulps: Update.
821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
823 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
825 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
827 * benchtests/Makefile (bench): Remove slow benchmarks.
828 * benchtests/atan-inputs: Add slow benchmark inputs.
829 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
830 (BENCH_FUNC): Accept variant offset.
832 * benchtests/bench-skeleton.c (main): Run benchmark for each
834 * benchtests/cos-inputs: Add slow benchmark inputs.
835 * benchtests/exp-inputs: Likewise.
836 * benchtests/pow-inputs: Likewise.
837 * benchtests/sin-inputs: Likewise.
838 * benchtests/slowatan-inputs: Remove.
839 * benchtests/slowatan.c: Remove.
840 * benchtests/slowcos-inputs: Remove.
841 * benchtests/slowcos.c: Remove.
842 * benchtests/slowexp-inputs: Remove.
843 * benchtests/slowexp.c: Remove.
844 * benchtests/slowpow-inputs: Remove.
845 * benchtests/slowpow.c: Remove.
846 * benchtests/slowsin-inputs: Remove.
847 * benchtests/slowsin.c: Remove.
848 * benchtests/slowtan-inputs: Remove.
849 * benchtests/slowtan.c: Remove.
850 * benchtests/tan-inputs: Add slow benchmark inputs.
851 * scripts/bench.pl: Parse comments and directives.
853 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
855 ($(objpfx)bench-%.c): Remove *-ITER.
856 * benchtests/bench-modf.c: Remove definition of ITER.
857 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
858 (main): Loop for DURATION seconds instead of fixed number of
860 * scripts/bench.pl: Don't expect iterations in parameters.
862 2013-04-29 Roland McGrath <roland@hack.frob.com>
864 * io/fchdir.c (__fchdir): Renamed from fchdir.
865 (fchdir): Define as weak alias.
867 2013-04-29 Joseph Myers <joseph@codesourcery.com>
869 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
870 (ERRNO_EDOM): Likewise.
871 (ERRNO_ERANGE): Likewise.
872 (noErrnoTests): New variable.
873 (init_max_error): Set errno to 0.
874 (test_single_errno): New function.
875 (test_errno): Likewise.
876 (check_float_internal): Call test_errno. Set errno to 0.
877 (check_complex): Refer to errno tests in comment.
878 (check_int): Call test_errno. Set errno to 0.
879 (check_long): Likewise.
880 (check_bool): Likewise.
881 (check_longlong): Likewise.
882 (cos_test): Use ERRNO_* flags for errno tests instead of
884 (expm1_test): Likewise.
885 (fmod_test): Likewise.
886 (ilogb_test): Likewise.
887 (lgamma_test): Likewise.
888 (pow_test): Likewise.
889 (remainder_test): Likewise.
890 (sin_test): Likewise.
891 (tan_test): Likewise.
893 (initialize): Set errno to 0.
894 (main): Print number of errno tests.
895 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
897 2013-04-29 Andreas Jaeger <aj@suse.de>
900 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
904 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
905 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
909 * stdlib/random.c (__initstate): Return NULL if
913 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
914 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
917 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
921 2013-04-29 Joseph Myers <joseph@codesourcery.com>
923 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
925 (casin_test): Likewise.
926 (casinh_test): Likewise.
928 2013-04-27 Joseph Myers <joseph@codesourcery.com>
931 * math/s_catan.c (__catan): Handle arguments with large real or
932 imaginary part separately without squaring.
933 * math/s_catanf.c (__catanf): Likewise.
934 * math/s_catanh.c (__catanh): Likewise.
935 * math/s_catanhf.c (__catanhf): Likewise.
936 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
938 (__catanhl): Handle arguments with large real or imaginary part
939 separately without squaring.
940 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
942 (__catanl): Handle arguments with large real or imaginary part
943 separately without squaring.
944 * math/libm-test.inc (catan_test): Add more tests.
945 (catanh_test): Likewise.
946 * sysdeps/i386/fpu/libm-test-ulps: Update.
947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
949 2013-04-27 Andreas Jaeger <aj@suse.de>
952 * stdlib/stdlib.h: Update guards for qecvt.
953 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
956 2013-04-27 Allan McRae <allan@archlinux.org>
958 * sysdeps/i386/fpu/libm-test-ulps: Update.
960 2013-04-26 Joseph Myers <joseph@codesourcery.com>
963 * math/s_catan.c: Include <float.h>.
964 (__catan): Ensure underflow exception occurs for underflowed
966 * math/s_catanf.c: Include <float.h>.
967 (__catanf): Ensure underflow exception occurs for underflowed
969 * math/s_catanh.c: Include <float.h>.
970 (__catanh): Ensure underflow exception occurs for underflowed
972 * math/s_catanhf.c: Include <float.h>.
973 (__catanhf): Ensure underflow exception occurs for underflowed
975 * math/s_catanhl.c: Include <float.h>.
976 (__catanhl): Ensure underflow exception occurs for underflowed
978 * math/s_catanl.c: Include <float.h>.
979 (__catanl): Ensure underflow exception occurs for underflowed
981 * math/libm-test.inc (catan_test): Add more tests.
982 (catanh_test): Likewise.
985 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
987 * math/s_ccoshf.c (__ccoshf): Likewise.
988 * math/s_ccoshl.c (__ccoshl): Likewise.
989 * math/s_csin.c (__csin): Likewise.
990 * math/s_csinf.c (__csinf): Likewise.
991 * math/s_csinh.c (__csinh): Likewise.
992 * math/s_csinhf.c (__csinhf): Likewise.
993 * math/s_csinhl.c (__csinhl): Likewise.
994 * math/s_csinl.c (__csinl): Likewise.
995 * math/libm-test.inc (ccos_test): Add more tests.
996 (ccosh_test): Likewise.
997 (csin_test): Likewise.
998 (csinh_test): Likewise.
1000 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1002 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
1003 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
1004 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1005 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1006 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1007 powerpc/power5+/fpu folders.
1008 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1011 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1013 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1015 2013-04-25 Joseph Myers <joseph@codesourcery.com>
1017 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1018 additions to variable.
1019 [$(config-machine) = x86_64] (modules-names): Likewise.
1020 ($(objpfx)tst-audit3): Remove dependency.
1021 ($(objpfx)tst-audit3.out): Likewise.
1022 ($(objpfx)tst-audit4): Likewise.
1023 ($(objpfx)tst-audit4.out): Likewise.
1024 ($(objpfx)tst-audit5): Likewise.
1025 ($(objpfx)tst-audit5.out): Likewise.
1026 ($(objpfx)tst-audit6): Likewise.
1027 ($(objpfx)tst-audit6.out): Likewise.
1028 ($(objpfx)tst-audit7): Likewise.
1029 ($(objpfx)tst-audit7.out): Likewise.
1030 (tst-audit3-ENV): Remove variable.
1031 (tst-audit4-ENV): Likewise.
1032 (tst-audit5-ENV): Likewise.
1033 (tst-audit6-ENV): Likewise.
1034 (tst-audit7-ENV): Likewise.
1035 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1036 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1037 addition to variable.
1038 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1039 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1040 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1041 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1042 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1043 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1044 tst-audit3, tst-audit4 and tst-audit5.
1045 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1046 tst-audit6 and tst-audit7.
1047 [$(subdir) = elf] (modules-names): Add audit modules for those
1049 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1050 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1051 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1052 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1053 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1054 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1055 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1056 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1057 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1058 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1059 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1060 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1061 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1062 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1063 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1064 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1066 [$(subdir) = elf && $(config-cflags-avx) = yes]
1067 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1068 [$(subdir) = elf && $(config-cflags-avx) = yes]
1069 (CFLAGS-tst-auditmod4a.c): Likewise.
1070 [$(subdir) = elf && $(config-cflags-avx) = yes]
1071 (CFLAGS-tst-auditmod4b.c): Likewise.
1072 [$(subdir) = elf && $(config-cflags-avx) = yes]
1073 (CFLAGS-tst-auditmod6b.c): Likewise.
1074 [$(subdir) = elf && $(config-cflags-avx) = yes]
1075 (CFLAGS-tst-auditmod6c.c): Likewise.
1076 [$(subdir) = elf && $(config-cflags-avx) = yes]
1077 (CFLAGS-tst-auditmod7b.c): Likewise.
1078 * elf/tst-audit3.c: Move to ...
1079 * sysdeps/x86_64/tst-audit3.c: ... here.
1080 * elf/tst-audit4.c: Move to ...
1081 * sysdeps/x86_64/tst-audit4.c: ... here.
1082 * elf/tst-audit5.c: Move to ...
1083 * sysdeps/x86_64/tst-audit5.c: ... here.
1084 * elf/tst-audit6.c: Move to ...
1085 * sysdeps/x86_64/tst-audit6.c: ... here.
1086 * elf/tst-audit7.c: Move to ...
1087 * sysdeps/x86_64/tst-audit7.c: ... here.
1088 * elf/tst-auditmod3a.c: Move to ...
1089 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1090 * elf/tst-auditmod3b.c: Move to ...
1091 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1092 * elf/tst-auditmod4a.c: Move to ...
1093 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1094 * elf/tst-auditmod4b.c: Move to ...
1095 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1096 * elf/tst-auditmod5a.c: Move to ...
1097 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1098 * elf/tst-auditmod5b.c: Move to ...
1099 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1100 * elf/tst-auditmod6a.c: Move to ...
1101 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1102 * elf/tst-auditmod6b.c: Move to ...
1103 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1104 * elf/tst-auditmod6c.c: Move to ...
1105 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1106 * elf/tst-auditmod7a.c: Move to ...
1107 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1108 * elf/tst-auditmod7b.c: Move to ...
1109 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1111 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1114 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1115 define unconditionally.
1116 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1117 define unconditionally.
1118 (INT8_C, INT16_C, etc.): Likewise.
1120 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1122 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1123 __ehdr_start with hidden visibility.
1125 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1127 2013-04-24 Carlos O'Donell <carlos@redhat.com>
1129 * math/libm-test.inc (cos_test): Use accurate hex constants.
1130 (sincost_test): Likewise.
1132 2013-04-24 Joseph Myers <joseph@codesourcery.com>
1134 * math/libm-test.inc (catan_test): Add more tests.
1135 (catanh_test): Likewise.
1137 * math/s_catanf.c (__catanf): Use suffixed floating-point
1139 * math/s_catanhf.c (__catanhf): Likewise.
1140 * math/s_catanhl.c (__catanhl): Likewise.
1141 * math/s_catanl.c (__catanl): Likewise.
1144 * math/s_catan.c (__catan): Calculate imaginary part of result
1145 with log1p not log unless computing log of number close to 0.
1146 * math/s_catanf.c (__catanf): Likewise.
1147 * math/s_catanl.c (__catanl): Likewise.
1148 * math/s_catanh.c (__catanh): Calculate real part of result with
1149 log1p not log unless computing log of number close to 0.
1150 * math/s_catanhf.c (__catanhf): Likewise.
1151 * math/s_catanhl.c (__catanhl): Likewise.
1152 * math/libm-test.inc (catan_test): Add more tests.
1153 (catanh_test): Likewise.
1154 * sysdeps/i386/fpu/libm-test-ulps: Update.
1155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1157 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1159 * benchtests/Makefile: Mention files in which fast and slow
1160 paths of math functions are implemented.
1162 2013-04-23 Roland McGrath <roland@hack.frob.com>
1164 * sysdeps/posix/timespec_get.c: New file.
1166 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1168 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1170 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1172 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1173 powerpc/power5/fpu folders.
1174 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1175 * benchtests/Makefile: Add modf testcase.
1176 * benchtests/bench-modf.c: New file: Benchmark test for mo
1178 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1181 * time/Makefile (tests): Add tst-strptime-whitespace.
1182 * time/strptime_l.c (get_number): Use ISSPACE.
1183 (__strptime_internal): Likewise.
1184 * time/tst-strptime-whitespace.c: New test case.
1186 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
1188 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1190 (_nss_files_init): Set it here.
1192 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
1194 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1195 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1198 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
1200 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1202 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1204 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1207 2013-04-21 David S. Miller <davem@davemloft.net>
1209 * po/ru.po: Update Russion translation from translation project.
1211 2013-04-17 Adam Conrad <adconrad@0c3.net>
1213 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1216 2013-04-17 Carlos O'Donell <carlos@redhat.com>
1218 * configure.in: Remove i386 configure warning. Remove i386 case.
1219 * configure: Regenerate.
1220 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
1221 Add example to error message.
1222 * sysdeps/i386/configure: Regenerate.
1224 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1226 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1228 * benchtests/cos-inputs: New file.
1229 * benchtests/slowcos-inputs: New file.
1230 * benchtests/slowcos.c: New file.
1231 * benchtests/slowtan-inputs: New file.
1232 * benchtests/slowtan.c: New file.
1233 * benchtests/tan-inputs: New file.
1235 2013-04-16 Roland McGrath <roland@hack.frob.com>
1237 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1240 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1242 * benchtests/Makefile: Include cppflags-iterator.mk to add
1243 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1245 * Makefile.in (bench-clean): New target.
1246 * benchtests/Makefile (bench-clean): Likewise.
1248 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1250 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1252 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1254 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1256 2013-04-15 Andreas Schwab <schwab@suse.de>
1258 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1259 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1260 * nscd/pwdcache.c (cache_addpw): Likewise.
1261 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1264 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1266 * benchtests/Makefile (bench): Write all output to
1267 bench-out.tmp together.
1269 2013-04-15 Andreas Schwab <schwab@suse.de>
1271 * nscd/nscd.c (main): Don't fork again after closing files.
1273 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1275 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1277 * benchtests/Rules (bench-deps): Collect dependencies into a
1278 single variable. Add Makefile to dependencies.
1279 ($(objpfx)bench-%.c): Depend on bench-deps.
1281 2013-04-12 Roland McGrath <roland@hack.frob.com>
1282 Xavier Roche <roche+kml2@exalead.com>
1285 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1286 just that it's a file descriptor.
1287 * manual/llio.texi (Synchronizing AIO Operations): Update description
1288 for EBADF error from aio_fsync.
1290 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1292 * Rules (bench): Move target definition...
1293 * benchtests/Makefile: ... here.
1295 2013-04-11 Carlos O'Donell <carlos@redhat.com>
1297 * math/libm-test.inc (cos_test): Fix PI/2 test.
1298 (sincos_test): Likewise.
1299 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1300 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1302 2013-04-11 Andreas Schwab <schwab@suse.de>
1305 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1306 accept exponent character only when digits were seen.
1307 * stdio-common/Makefile (tests): Add bug26.
1308 * stdio-common/bug26.c: New file.
1311 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1314 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1316 * Makeconfig (rtld-prefix): Define built linker prefix.
1317 * Rules (run-bench): Use it.
1318 * math/Makefile (run-regen-ulps): Likewise.
1320 * Rules (bench): Remove eval.
1322 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1323 Roland McGrath <roland@hack.frob.com>
1324 Ondrej Bilka <neleai@seznam.cz>
1327 * time/getdate.c: Include ctype.h and alloca.h.
1328 (__getdate_r): Trim leading and trailing spaces of input.
1329 * time/tst-getdate.c (tests): Add tests with leading and
1332 2013-04-08 Roland McGrath <roland@hack.frob.com>
1335 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1336 when computing value.
1338 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1340 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1341 Use testrun.sh to run libm tests.
1344 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1346 2013-04-06 Marko Myllynen <myllynen@redhat.com>
1349 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1351 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1353 * Makefile.in (regen-ulps): New target.
1354 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1355 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1356 [ifneq (no,$(PERL)] (regen-ulps): New target.
1357 [ifeq (no,$(PERL)] (regen-ulps): New target.
1358 * math/libm-test.inc (ulps_file_name): Define.
1359 (output_dir): New variable.
1360 (options): Add "output-dir" option.
1361 (parse_opt): Handle 'o' case.
1362 (main): If output_dir is non-NULL use it as a prefix
1364 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1366 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1369 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1370 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1371 fail configure if __sync_val_compare_and_swap is not inlined.
1372 * sysdeps/i386/configure: Regenerate.
1373 * configure.in: Build for i686 when configured for i386.
1374 * configure: Regenerate.
1375 * README: Remove i386 reference.
1377 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1379 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1380 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1382 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1384 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1385 (lmsnanval): New variables.
1386 (F): Add conversion tests.
1387 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1388 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1390 * stdio-common/tstdiomisc.c (F): Properly collect individual
1394 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1395 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1396 Instead, use input NaN values or generate a qNaN by arithmetic
1397 operation. Also fix bugs to comply with the standard.
1398 * math/libm-test.inc (remainder_test): Add more tests.
1401 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1402 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1403 input NaN values or generate a qNaN by arithmetic operation.
1405 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1408 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1411 2013-04-03 Joseph Myers <joseph@codesourcery.com>
1414 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1416 * math/s_cexpf.c (__cexpf): Likewise.
1417 * math/s_cexpl.c (__cexpl): Likewise.
1418 * math/libm-test.inc (cexp_test): Add more tests.
1420 2013-04-03 Andreas Schwab <schwab@suse.de>
1423 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1424 order arrays from heap if bigger than alloca cutoff.
1426 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1428 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1429 (SNAN_TESTS_double): Refer to GCC PR56831.
1430 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1433 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1435 * Rules (bench): Move bench.out after the run is complete.
1437 * Rules (bench): Echo currently running benchmark.
1439 * benchtests/Makefile (bench): Add atan and slowatan.
1440 * benchtests/atan-inputs: New file.
1441 * benchtests/slowatan-inputs: New file.
1442 * benchtests/slowatan.c: New file.
1444 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1445 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1449 * sysdeps/unix/sysv/linux/kernel-features.h
1450 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1451 __ASSUME_XFS_RESTRICTED_CHOWN.
1452 * sysdeps/unix/sysv/linux/pathconf.c
1453 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1454 Save and restore errno.
1456 2013-04-02 Joseph Myers <joseph@codesourcery.com>
1459 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1460 arguments using __kernel_casinh.
1461 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1462 arguments using __kernel_casinhf.
1463 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1464 arguments using __kernel_casinhl.
1465 * math/libm-test.inc (cacosh_test): Add more tests.
1466 * sysdeps/i386/fpu/libm-test-ulps: Update.
1467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1469 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1471 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1472 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1474 * bench/Makefile (bench): Add sin and slowsin.
1475 * benchtests/sin-inputs: New file.
1476 * benchtests/slowsin-inputs: New file.
1477 * benchtests/slowsin.c: New file.
1479 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1480 (bench): Add slowexp and slowpow.
1481 (exp-ITER): Increase iterations.
1482 (pow-ITER): Likewise.
1483 * benchtests/exp-inputs: Change input.
1484 * benchtests/pow-inputs: Likewise.
1485 * benchtests/slowexp-inputs: New file.
1486 * benchtests/slowexp.c: New file.
1487 * benchtests/slowpow-inputs: New file.
1488 * benchtests/slowpow.c: New file.
1490 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1492 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1494 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1495 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1496 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1497 * benchtests/Makefile: Add rint benchtest.
1498 * benchtests/rint-inputs: Input for rint benchtest.
1500 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1502 * Versions.def (libm): Add GLIBC_2.18.
1503 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1504 hidden libm prototypes.
1505 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1506 * math/Makefile (libm-calls): Add s_issignaling.
1507 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1508 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1509 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1511 * math/math.h [__USE_GNU] (issignaling): New macro.
1512 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1513 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1514 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1515 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1516 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1517 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1518 * manual/arith.texi (issignaling): New section.
1519 * manual/libm-err-tab.pl (@all_functions): Update comment.
1520 * math/gen-libm-test.pl (parse_args): Apply special handling for
1522 * math/libm-test.inc (print_float, issignaling_test): New
1524 (check_float_internal): Add issignaling checks.
1525 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1527 * sysdeps/powerpc/math-tests.h: New file.
1528 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1530 * math/test-snan.c (TEST_FUNC): Likewise.
1532 2013-03-30 David S. Miller <davem@davemloft.net>
1534 * po/de.po: Update from translation team.
1536 2013-03-30 Joseph Myers <joseph@codesourcery.com>
1539 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1540 imaginary part less than 1.0 and real part less than 0.5
1542 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1543 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1544 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1545 (cacos_test): Add more tests.
1546 (casin_test): Likewise.
1547 (casinh_test): Likewise.
1548 * sysdeps/i386/fpu/libm-test-ulps: Update.
1549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1551 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1553 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1556 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1557 (__pow_mp): Replace ONE and MONE with their values.
1558 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1559 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1560 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1561 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1562 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1563 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1565 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1567 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1568 (__pow_mp): Replace ZERO and MZERO with their values.
1569 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1570 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1571 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1572 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1573 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1574 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1577 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1579 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1581 2013-03-28 Roland McGrath <roland@hack.frob.com>
1583 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1584 Declare with __attribute__ ((weak)).
1585 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1586 Call __call_tls_dtors only if it's not NULL.
1588 2013-03-28 Roland McGrath <roland@hack.frob.com>
1590 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1591 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1592 magic __ehdr_start linker symbol if it's defined.
1593 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1594 them up here if it was already done.
1596 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1597 (_dl_aux_init): Use const in cast when setting it.
1598 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1599 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1600 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1602 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1604 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1605 * csu/libc-tls.c: Nor here.
1606 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1608 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1609 (__libc_message): Never call vsyslog.
1611 2013-03-28 Alan Modra <amodra@gmail.com>
1613 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1615 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1618 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1621 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1625 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1628 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1629 Don't add gid passed as argument.
1631 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1633 2013-03-27 Joseph Myers <joseph@codesourcery.com>
1636 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1637 imaginary part between 1.0 and 1.5 and real part less than 0.5
1639 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1640 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1641 * math/libm-test.inc (cacos_test): Add more tests.
1642 (casin_test): Likewise.
1643 (casinh_test): Likewise.
1644 * sysdeps/i386/fpu/libm-test-ulps: Update.
1645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1647 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1649 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1653 (__dbl_mp): Likewise.
1654 (add_magnitudes): Likewise.
1655 (sub_magnitudes): Likewise.
1663 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1665 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1666 (__dubcos): Likewise.
1667 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1668 (__ieee754_acos): Likewise.
1669 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1670 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1672 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1673 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1675 (my_log2): Likewise.
1676 (checkint): Likewise.
1677 * sysdeps/ieee754/dbl-64/e_remainder.c
1678 (__ieee754_remainder): Likewise.
1679 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1680 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1682 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1684 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1685 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1686 MANTISSA_STORE_T to store computations on mantissa. Use
1687 macros for rounding and division.
1689 (__dbl_mp): Likewise.
1690 (add_magnitudes): Likewise.
1691 (sub_magnitudes): Likewise.
1694 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1695 powers of two in terms of TWOPOW macro.
1696 (mp_no): Make type of mantissa as MANTISSA_T.
1697 [!RADIXI]: Define RADIXI.
1698 [!TWO52]: Define TWO52.
1699 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1701 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1703 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1704 llroundl symbol when building for PPC32.
1706 2013-03-24 Mark H Weaver <mhw@netris.org>
1708 * manual/arith.texi (Normalization Functions): Fix prototypes for
1709 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1711 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1714 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1715 high value to check if expl overflow.
1716 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1717 to check for underflow and overflow.
1718 * math/libm-test.inc: Add exp test.
1720 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1723 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1726 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1728 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1731 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1733 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1734 wrap blocks consisting of several statements.
1736 * sysdeps/generic/math-tests.h: New file.
1737 * sysdeps/i386/fpu/math-tests.h: Likewise.
1738 * math/test-snan.c: Include it.
1739 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1741 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1744 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1745 (__ieee754_j0l): Do not improve calculations using cos of twice
1746 input for inputs above LDBL_MAX / 2.0L.
1747 (__ieee754_y0l): Likewise.
1748 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1749 (__ieee754_j1l): Do not improve calculations using cos of twice
1750 input for inputs above LDBL_MAX / 2.0L.
1751 (__ieee754_y1l): Likewise.
1752 * math/libm-test.inc (j0_test): Add another test.
1753 (j1_test): Likewise.
1754 (y0_test): Likewise.
1755 (y1_test): Likewise.
1756 * sysdeps/i386/fpu/libm-test-ulps: Update.
1758 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1760 * Rules ($(objpfx)bench-%.c): Include code from a C source
1763 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1766 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1767 imaginary part 1.0 and real part less than 0.5 specially.
1768 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1769 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1770 * math/libm-test.inc (cacos_test): Add more tests.
1771 (casin_test): Likewise.
1772 (casinh_test): Likewise.
1773 * sysdeps/i386/fpu/libm-test-ulps: Update.
1774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1776 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1778 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1779 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1781 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1783 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1784 * config.make.in (config-cflags-sse4): Remove variable.
1785 (config-cflags-avx): Likewise.
1786 (config-cflags-sse2avx): Likewise.
1787 (config-cflags-novzeroupper): Likewise.
1788 (config-asflags-i686): Likewise.
1789 (have-mfma4): Likewise.
1790 (have-as-vis3): Likewise.
1792 * configure.in (MIG): Do not AC_SUBST.
1793 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1794 (libc_cv_cc_sse4): Do not AC_SUBST.
1795 (libc_cv_cc_avx): Likewise.
1796 (libc_cv_cc_sse2avx): Likewise.
1797 (libc_cv_cc_novzeroupper): Likewise.
1798 (libc_cv_cc_fma4): Likewise.
1799 (libc_cv_as_i686): Likewise.
1800 (libc_cv_sparc_as_vis3): Likewise.
1801 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1803 (config-asflags-i686): Likewise.
1804 (config-cflags-avx): Likewise.
1805 (config-cflags-sse2avx): Likewise.
1806 (have-mfma4): Likewise.
1807 (config-cflags-novzeroupper): Likewise.
1808 * sysdeps/mach/configure.in (MIG): Likewise.
1809 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1810 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1812 (config-cflags-avx): Likewise.
1813 (config-cflags-sse2avx): Likewise.
1814 (have-mfma4): Likewise.
1815 (config-cflags-novzeroupper): Likewise.
1816 * configure: Regenerated.
1817 * sysdeps/i386/configure: Likewise.
1818 * sysdeps/mach/configure: Likewise.
1819 * sysdeps/sparc/configure: Likewise.
1820 * sysdeps/x86_64/configure: Likewise.
1822 2013-03-20 Roland McGrath <roland@hack.frob.com>
1825 * locale/programs/localedef.c (options): Put N_ translation marker
1826 on argument names, not just descriptions.
1828 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1830 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1832 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1835 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1837 2013-03-19 Roland McGrath <roland@hack.frob.com>
1839 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1840 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1841 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1842 [!BEFORE_ABORT] (before_abort): New function.
1843 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1844 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1845 (writev_for_fatal): New function.
1846 (WRITEV_FOR_FATAL): New macro; call that.
1847 (backtrace_and_maps): New function.
1848 (BEFORE_ABORT): New macro; call that.
1849 (struct str_list): Type removed.
1850 (__libc_message, __libc_fatal): Functions removed.
1851 Include <sysdeps/posix/libc_fatal.c> instead.
1853 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1855 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1857 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1860 2013-03-19 Andreas Schwab <schwab@suse.de>
1862 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1863 * sysdeps/gnu/configure: Regenerate.
1865 * configure.in: Substitute libc_cv_rtlddir.
1866 * configure: Regenerate.
1867 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1868 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1869 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1870 * elf/Makefile (install-others, CFLAGS-interp.c)
1871 (ldso_install, common-ldd-rewrite): Likewise.
1872 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1873 $(inst_slibdir)/$(rtld-installed-name).
1874 * scripts/rellns-sh: Add -p option.
1875 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1878 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1880 * manual/nptl.texi: Renamed to ...
1881 * manual/threads.texi: ... this.
1882 * manual/Makefile (chapters): Update.
1884 2013-03-18 Roland McGrath <roland@hack.frob.com>
1887 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1888 on argument names, not just descriptions.
1889 * malloc/memusagestat.c (options): Likewise.
1890 * nss/getent.c (options): Likewise.
1892 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1895 * iconv/iconv_prog.c (options): Put N_ translation marker
1896 on argument names, not just descriptions.
1897 * iconv/iconvconfig.c (options): Likewise.
1899 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1901 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1902 implementation which is faster on all x86_64 architectures.
1903 Tested on AMD, Intel Nehalem, SNB, IVB.
1904 * sysdeps/x86_64/strnlen.S: Likewise.
1906 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1907 Remove all multiarch strlen and strnlen versions.
1908 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1909 Remove strlen and strnlen related parts.
1911 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1913 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1915 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1916 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1917 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1918 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1919 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1920 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1922 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1924 * manual/memory.texi (Malloc Tunable Parameters):
1925 Sort parameters alphabetically. Add comments for missing entries.
1927 2013-03-17 David S. Miller <davem@davemloft.net>
1929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1931 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1934 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1935 for arguments at most half maximum finite value.
1936 * math/libm-test.inc (j0_test): Add more tests.
1937 (j1_test): Likewise.
1938 (y0_test): Likewise.
1939 (y1_test): Likewise.
1940 * sysdeps/i386/fpu/libm-test-ulps: Update.
1941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1944 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1945 1 / x and functions P and Q for arguments above 0x1p256L.
1946 (__ieee754_y0l): Likewise.
1947 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1948 (__ieee754_y1l): Likewise.
1949 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1950 (j1_test): Likewise.
1951 (y0_test): Likewise.
1952 (y1_test): Likewise.
1954 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1956 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1959 2013-03-15 Roland McGrath <roland@hack.frob.com>
1961 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1962 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1963 zero since it's initialized to EXEC_PAGESIZE.
1965 * sysdeps/unix/sysv/linux/ldsodefs.h
1966 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1967 * sysdeps/generic/ldsodefs.h: ... here.
1969 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1971 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1973 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1975 * math/test-snan.c: Renamed from
1976 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1977 * math/Makefile (tests): Add test-snan.
1978 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1981 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1982 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1984 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1985 __builtin_nan family of functions.
1986 * math/libm-test.inc (initialize): Initialize qnan_value with
1987 __builtin_nan family of functions.
1988 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1990 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1992 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1993 storage class. Initialize qNaN_var and sNaN_var with
1994 __builtin_nan and __builtin_nans families of functions,
1997 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1998 (sqrt_test): Remove duplicate test with qNaN input.
1999 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
2000 (round_test, signbit_test, significand_test): Note missing +/-Inf
2001 as well as qNaN tests.
2003 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
2004 qNaN_var. Fix a few strings, too.
2005 * math/libm-test.inc (nan_value): Rename to qnan_value.
2006 * math/gen-libm-test.pl (%beautify): Adjust to that.
2007 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2008 * math/test-misc.c (main): Likewise.
2009 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2010 to __qnan_bytes, and __qnan_union, respectively.
2011 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2013 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2014 and lqnanval, respectively.
2015 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2016 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2017 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2018 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2020 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2021 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2024 * math/test-misc.c (main): Fix copy'n'pastos.
2025 * misc/tst-efgcvt.c (special): Likewise.
2027 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2028 Remove declarations.
2030 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2032 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2033 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2034 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2035 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2037 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2039 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2040 macro to return vdso values correctly in IFUNC implementations.
2041 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2042 Optimization by using IFUNC.
2044 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2045 Richard Henderson <rth@redhat.com>
2046 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2048 * Makefile.in (bench): New target.
2049 * NEWS: Mention the benchmark framework.
2050 * Rules (bench): Likewise.
2051 (binaries-bench): Generate binaries for functions to
2053 * benchtests/Makefile: New makefile for benchmark tests.
2054 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2056 * benchtests/exp-inputs: New input file for EXP function.
2057 * benchtests/pow-inputs: New input file for POW function.
2058 * scripts/bench.pl: New script to generate source files for
2061 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2063 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2064 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2065 computations on mantissa. Use macros for rounding and
2068 (__dbl_mp): Likewise.
2069 (add_magnitudes): Likewise.
2070 (sub_magnitudes): Likewise.
2073 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2074 powers of two in terms of TWOPOW macro.
2075 (mp_no): Make type of mantissa as MANTISSA_T.
2076 [!RADIXI]: Define RADIXI.
2077 [!TWO52]: Define TWO52.
2078 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2080 * manual/nptl.texi (cindex): Modify threads to pthreads.
2082 2013-03-15 Joseph Myers <joseph@codesourcery.com>
2084 * sysdeps/x86_64/preconfigure: Regenerated.
2086 2013-03-14 Joseph Myers <joseph@codesourcery.com>
2089 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2091 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2092 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2094 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2095 * math/libm-test.inc (j0_test): Do not allow one spurious
2096 underflow exception.
2097 (y1_test): Likewise.
2099 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2101 * manual/Makefile (chapters): Add nptl.
2102 * manual/debug.texi (Debugging Support): Add link to Threads
2104 * manual/nptl.texi: New file.
2106 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2108 2013-03-14 Petr Baudis <pasky@ucw.cz>
2110 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2111 for non-NULL pointer before the memory validity test. Pointed
2112 out by Holger Brunck <holger.brunck@keymile.com>.
2114 2013-03-13 Andreas Schwab <schwab@suse.de>
2116 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2119 2013-03-13 Joseph Myers <joseph@codesourcery.com>
2121 * timezone/zic.c: Update from tzcode 2013b.
2123 2013-03-12 Carlos O'Donell <carlos@redhat.com>
2125 * manual/install.texi (Configuring and compiling):
2126 Mention i686 and i586.
2127 * INSTALL: Regenerate.
2129 2013-03-12 Roland McGrath <roland@hack.frob.com>
2131 * sysdeps/init_array/elf-init.c: New file.
2133 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2134 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2136 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2137 __gmon_start__ as global, but as static with a .preinit_array pointer.
2138 * sysdeps/init_array/gmon-start.c: New file. Use that.
2139 * sysdeps/init_array/crti.S: New file, empty except for comments.
2140 * sysdeps/init_array/crtn.S: Likewise.
2142 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
2144 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2147 Remove Prefer_SSE_for_memop.
2148 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2149 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2150 HAS_PREFER_SSE_FOR_MEMOP.
2151 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2153 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2154 Remove bzero, memset ifunc support.
2155 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2156 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2157 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2158 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2160 2013-03-11 Andreas Schwab <schwab@suse.de>
2163 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2166 (GLIBC_2.16): Remove pthread_atfork.
2168 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2170 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2171 (ptestcases.h): Likewise.
2173 2013-03-08 Roland McGrath <roland@hack.frob.com>
2175 * Makeconfig ($(common-objpfx)config.status): Depend on
2176 sysdeps/*/preconfigure{,.in} too.
2178 2013-03-08 Joseph Myers <joseph@codesourcery.com>
2180 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2181 (__free_hook): Use void * instead of __malloc_ptr_t.
2182 (__malloc_hook): Likewise.
2183 (__realloc_hook): Likewise.
2184 (__memalign_hook): Likewise.
2185 (__after_morecore_hook): Likewise.
2186 * malloc/arena.c (save_malloc_hook): Likewise.
2187 (save_free_hook): Likewise.
2188 * malloc/hooks.c (malloc_hook_ini): Likewise.
2189 (realloc_hook_ini): Likewise.
2190 (memalign_hook_ini): Likewise.
2191 * malloc/malloc.c (malloc_hook_ini): Likewise.
2192 (realloc_hook_ini): Likewise.
2193 (memalign_hook_ini): Likewise.
2194 (__free_hook): Likewise.
2195 (__malloc_hook): Likewise.
2196 (__realloc_hook): Likewise.
2197 (__memalign_hook): Likewise.
2198 (__libc_malloc): Likewise.
2199 (__libc_free): Likewise.
2200 (__libc_realloc): Likewise.
2201 (__libc_memalign): Likewise.
2202 (__libc_valloc): Likewise.
2203 (__libc_pvalloc): Likewise.
2204 (__libc_calloc): Likewise.
2205 (__posix_memalign): Likewise.
2206 * malloc/morecore.c (__sbrk): Likewise.
2207 (__default_morecore): Likewise.
2209 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2211 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2212 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2215 * malloc/malloc.h (__malloc_size_t): Remove macro.
2216 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2218 (old_memalign_hook): Likewise.
2219 (old_realloc_hook): Likewise.
2220 (struct hdr): Likewise.
2222 (mallochook): Likewise.
2223 (memalignhook): Likewise.
2224 (reallochook): Likewise.
2225 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2226 (tr_old_realloc_hook): Likewise.
2227 (tr_old_memalign_hook): Likewise.
2228 (tr_mallochook): Likewise.
2229 (tr_reallochook): Likewise.
2230 (tr_memalignhook): Likewise.
2232 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2234 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2235 default_ldbl_pack and using as default implementation.
2236 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2238 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2239 redundant definition.
2240 (ldbl_insert_mantissa): Likewise.
2241 (ldbl_canonicalize): Likewise.
2242 (ldbl_nearbyint): Likewise.
2243 (ldbl_pack): Rename to ldbl_pack_ppc.
2244 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2245 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2246 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2248 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2251 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2252 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2253 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2254 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2255 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2256 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2257 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2259 2013-03-07 Andreas Jaeger <aj@suse.de>
2261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2264 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2266 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2267 Include mpa.h and declare __MPEXP.
2268 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2269 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2270 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2271 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2272 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2273 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2274 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2276 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2277 (__slowpow): Use long double EXPL and LOGL functions to
2279 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2280 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2281 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2282 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2283 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2284 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2287 intermediate variable to calculate exponent.
2289 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2293 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2294 [!NO__SQR]: Define __sqr.
2295 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2296 and NO__SQR. Remove all code except __mul and __sqr. Include
2297 sysdeps/ieee754/dbl-64/mpa.c.
2298 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2301 * posix/Makefile (tests): Add tst-pathconf.
2302 * posix/tst-pathconf.c: New test case.
2303 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2305 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2307 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
2309 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2311 2013-03-06 Andreas Jaeger <aj@suse.de>
2313 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2314 definition via __MAP_ANONYMOUS.
2316 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2317 it's not part of Linux headers.
2319 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2320 (MAP_HUGE_MASK): Define.
2322 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2324 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2325 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2327 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2328 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2330 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2331 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2333 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2335 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2336 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2337 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2338 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2339 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2340 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2342 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2345 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2346 Handle f2fs and efivarfs.
2348 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2351 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2352 (EFIVARFS_MAGIC): Add.
2353 (F2FS_LINK_MAX): Add.
2355 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2357 * stdio-common/vfprintf.c: Replace __builtin_expect with
2360 2013-03-06 Joseph Myers <joseph@codesourcery.com>
2363 * sysdeps/generic/bp-sym.h: Remove file.
2364 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2365 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2366 <bp-sym.h> and <bp-asm.h>.
2367 (__longjmp): Don't use BP_SYM.
2368 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2370 (memcpy): Don't use BP_SYM.
2371 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2372 <bp-sym.h> and <bp-asm.h>.
2373 (memcpy): Don't use BP_SYM.
2374 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2376 (memcpy): Don't use BP_SYM.
2377 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2379 (memset): Don't use BP_SYM.
2380 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2381 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2382 (__bzero): Don't use BP_SYM.
2383 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2384 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2385 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2386 <bp-sym.h> and <bp-asm.h>.
2387 (memcmp): Don't use BP_SYM. Remove comment about bounded
2389 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2390 <bp-sym.h> and <bp-asm.h>.
2391 (memcpy): Don't use BP_SYM.
2392 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2393 <bp-sym.h> and <bp-asm.h>.
2394 (memset): Don't use BP_SYM.
2395 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2396 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2397 (__bzero): Don't use BP_SYM.
2398 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2399 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2400 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2401 <bp-sym.h> and <bp-asm.h>.
2402 (strncmp): Don't use BP_SYM. Remove comment about bounded
2404 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2405 <bp-sym.h> and <bp-asm.h>.
2406 (memcpy): Don't use BP_SYM.
2407 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2408 <bp-sym.h> and <bp-asm.h>.
2409 (memset): Don't use BP_SYM.
2410 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2411 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2412 (__bzero): Don't use BP_SYM.
2413 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2414 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2415 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2416 <bp-sym.h> and <bp-asm.h>.
2417 (__memchr): Don't use BP_SYM.
2418 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2419 <bp-sym.h> and <bp-asm.h>.
2420 (memcmp): Don't use BP_SYM. Remove comment about bounded
2422 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2423 <bp-sym.h> and <bp-asm.h>.
2424 (memcpy): Don't use BP_SYM.
2425 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2426 <bp-sym.h> and <bp-asm.h>.
2427 (__mempcpy): Don't use BP_SYM.
2428 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2429 <bp-sym.h> and <bp-asm.h>.
2430 (__memrchr): Don't use BP_SYM.
2431 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2432 <bp-sym.h> and <bp-asm.h>.
2433 (memset): Don't use BP_SYM.
2434 (__bzero): Likewise.
2435 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2436 <bp-sym.h> and <bp-asm.h>.
2437 (__rawmemchr): Don't use BP_SYM.
2438 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2439 <bp-sym.h> and <bp-asm.h>.
2440 (__STRCMP): Don't use BP_SYM.
2441 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2442 <bp-sym.h> and <bp-asm.h>.
2443 (strchr): Don't use BP_SYM.
2444 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2445 <bp-sym.h> and <bp-asm.h>.
2446 (__strchrnul): Don't use BP_SYM.
2447 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2448 <bp-sym.h> and <bp-asm.h>.
2449 (strlen): Don't use BP_SYM.
2450 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2451 <bp-sym.h> and <bp-asm.h>.
2452 (strncmp): Don't use BP_SYM. Remove comment about bounded
2454 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2455 <bp-sym.h> and <bp-asm.h>.
2456 (__strnlen): Don't use BP_SYM.
2457 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2458 <bp-sym.h> and <bp-asm.h>.
2459 (__GI__setjmp): Don't use BP_SYM.
2460 (_setjmp): Likewise.
2461 (__sigsetjmp): Likewise.
2462 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2463 (L(start_addresses)): Don't use BP_SYM.
2465 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2467 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2468 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2469 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2470 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2471 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2473 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2474 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2475 about bounded pointers.
2476 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2477 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2478 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2480 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2481 about bounded pointers. Remove GKM FIXME comments.
2482 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2483 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2485 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2486 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2487 Remove GKM FIXME comments.
2488 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2489 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2490 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2492 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2493 about bounded pointers. Remove GKM FIXME comment.
2494 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2496 (strncmp): Don't use BP_SYM. Remove comment about bounded
2498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2499 <bp-sym.h> and <bp-asm.h>.
2500 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2502 <bp-sym.h> and <bp-asm.h>.
2503 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2506 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2508 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2511 2013-03-05 David S. Miller <davem@davemloft.net>
2513 * po/es.po: Update from translation team.
2515 2013-03-05 Andreas Jaeger <aj@suse.de>
2517 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2518 <bits/mman-linux.h>.
2519 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2521 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2522 <bits/mman-linux.h> to end of file.
2523 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2525 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2526 <bits/mman-linux.h> to end of file.
2527 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2529 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2530 <bits/mman-linux.h> to end of file.
2532 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2533 (MCL_CURRENT, MCL_FUTURE): Define here.
2535 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2538 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2540 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2542 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2544 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2545 fourth parameter needed for rt_sigprocmask syscall.
2546 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2547 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2548 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2549 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2550 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2551 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2553 2013-03-04 Joseph Myers <joseph@codesourcery.com>
2556 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2557 comment about bounded pointers.
2558 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2559 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2561 2013-03-04 Andreas Jaeger <aj@suse.de>
2563 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2566 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2567 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2568 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2569 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2570 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2571 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2573 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2576 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2577 __ieee754_sqrl instead of __sqrl.
2579 2013-03-01 Joseph Myers <joseph@codesourcery.com>
2581 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2582 * sysdeps/powerpc/fpu_control.h: ... here.
2583 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2584 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2585 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2586 * sysdeps/powerpc/bits/mathinline.h: ... here.
2588 2013-03-01 Roland McGrath <roland@hack.frob.com>
2590 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2591 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2592 to just [NEED_DL_SYSINFO_DSO].
2593 * elf/dl-support.c: Likewise.
2594 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2595 * elf/rtld.c (dl_main): Likewise.
2596 * elf/setup-vdso.h (setup_vdso): Likewise.
2597 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2598 * sysdeps/unix/sysv/linux/dl-sysdep.c
2599 (_dl_discover_osversion): Likewise.
2601 2013-03-01 Carlos O'Donell <carlos@redhat.com>
2603 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2604 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2606 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2608 * NEWS: Mention libm performance improvements and non-x86 PI
2611 * csu/libc-start.c (__pthread_initialize_minimal): Change
2613 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2615 2013-02-28 Joseph Myers <joseph@codesourcery.com>
2618 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2619 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2620 <bp-sym.h> and <bp-asm.h>.
2621 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2622 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2624 (memcpy): Don't use BP_SYM.
2625 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2627 (__mpn_add_n): Don't use BP_SYM.
2628 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2629 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2631 (__mpn_addmul_1): Don't use BP_SYM.
2632 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2633 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2635 (_setjmp): Don't use BP_SYM.
2636 (__novmx_setjmp): Likewise.
2637 (__GI__setjmp): Likewise.
2638 (__vmx_setjmp): Likewise.
2639 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2641 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2642 (__bzero): Don't use BP_SYM.
2643 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2644 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2645 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2646 <bp-sym.h> and <bp-asm.h>.
2647 (memcpy): Don't use BP_SYM.
2648 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2649 <bp-sym.h> and <bp-asm.h>.
2650 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2651 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2652 <bp-sym.h> and <bp-asm.h>.
2653 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2654 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2656 (__mpn_lshift): Don't use BP_SYM.
2657 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2658 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2660 (memset): Don't use BP_SYM.
2661 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2662 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2663 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2665 (__mpn_mul_1): Don't use BP_SYM.
2666 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2667 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2668 <bp-sym.h> and <bp-asm.h>.
2669 (memcmp): Don't use BP_SYM.
2670 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2671 <bp-sym.h> and <bp-asm.h>.
2672 (memcpy): Don't use BP_SYM.
2673 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2674 <bp-sym.h> and <bp-asm.h>.
2675 (memset): Don't use BP_SYM.
2676 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2677 <bp-sym.h> and <bp-asm.h>.
2678 (strncmp): Don't use BP_SYM.
2679 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2680 <bp-sym.h> and <bp-asm.h>.
2681 (memcpy): Don't use BP_SYM.
2682 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2683 <bp-sym.h> and <bp-asm.h>.
2684 (memset): Don't use BP_SYM.
2685 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2686 <bp-sym.h> and <bp-asm.h>.
2687 (__memchr): Don't use BP_SYM.
2688 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2689 <bp-sym.h> and <bp-asm.h>.
2690 (memcmp): Don't use BP_SYM.
2691 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2692 <bp-sym.h> and <bp-asm.h>.
2693 (memcpy): Don't use BP_SYM.
2694 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2695 <bp-sym.h> and <bp-asm.h>.
2696 (__mempcpy): Don't use BP_SYM.
2697 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2698 <bp-sym.h> and <bp-asm.h>.
2699 (__memrchr): Don't use BP_SYM.
2700 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2701 <bp-sym.h> and <bp-asm.h>.
2702 (memset): Don't use BP_SYM.
2703 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2704 <bp-sym.h> and <bp-asm.h>.
2705 (__rawmemchr): Don't use BP_SYM.
2706 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2707 <bp-sym.h> and <bp-asm.h>.
2708 (__STRCMP): Don't use BP_SYM.
2709 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2710 <bp-sym.h> and <bp-asm.h>.
2711 (strchr): Don't use BP_SYM.
2712 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2713 <bp-sym.h> and <bp-asm.h>.
2714 (__strchrnul): Don't use BP_SYM.
2715 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2716 <bp-sym.h> and <bp-asm.h>.
2717 (strlen): Don't use BP_SYM.
2718 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2719 <bp-sym.h> and <bp-asm.h>.
2720 (strncmp): Don't use BP_SYM.
2721 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2722 <bp-sym.h> and <bp-asm.h>.
2723 (__strnlen): Don't use BP_SYM.
2724 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2726 (__mpn_rshift): Don't use BP_SYM.
2727 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2728 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2729 <bp-sym.h> and <bp-asm.h>.
2730 (__sigsetjmp): Don't use BP_SYM.
2731 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2732 (L(start_addresses)): Don't use BP_SYM.
2734 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2736 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2737 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2738 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2739 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2741 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2742 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2743 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2744 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2746 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2748 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2749 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2751 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2753 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2754 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2755 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2757 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2759 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2761 (strncmp): Don't use BP_SYM,
2762 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2764 (__mpn_sub_n): Don't use BP_SYM.
2765 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2766 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2768 (__mpn_submul_1): Don't use BP_SYM.
2769 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2771 <bp-sym.h> and <bp-asm.h>.
2772 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2774 <bp-sym.h> and <bp-asm.h>.
2775 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2778 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2780 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2781 Use ZK to minimize writes to Z.
2782 (sub_magnitudes): Simplify code a bit.
2783 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2784 Use ZK to minimize writes to Z.
2785 (sub_magnitudes): Simplify code a bit.
2787 2013-02-27 Roland McGrath <roland@hack.frob.com>
2789 * csu/gmon-start.c: Add special exception to license text.
2791 2013-02-27 Richard Henderson <rth@redhat.com>
2793 * scripts/config.guess: Update from config.git.
2794 * scripts/config.sub: Likewise.
2796 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2798 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2800 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2802 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2804 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2806 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2808 2013-02-26 Roland McGrath <roland@hack.frob.com>
2810 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2811 [$(build-shared = yes].
2813 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2815 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2816 (__mul): Reduce iterations for calculating mantissa.
2818 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2820 (__mpranred): Likewise.
2823 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2824 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2826 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2828 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2829 Define __attribute__.
2831 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2833 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2835 * posix/regex_internal.h (__attribute): Remove.
2836 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2837 (re_string_context_at): Likewise.
2838 (bitset_not): Use __attribute__ and mark function as possibly
2840 (bitset_merge): Likewise.
2841 (bitset_mask): Likewise.
2842 (re_string_char_size_at): Likewise.
2843 (re_string_wchar_at): Likewise.
2844 (re_string_elem_size_at): Likewise.
2846 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2848 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2852 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2857 (__dbl_mp): Likewise.
2858 (add_magnitudes): Likewise.
2859 (sub_magnitudes): Likewise.
2863 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2866 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2869 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2873 up changes with default code.
2874 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2877 2013-02-24 Allan McRae <allan@archlinux.org>
2879 * manual/socket.texi (The Internet Namespace): Order menu items
2880 to match that in the file.
2882 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2883 node listing of the info page menu.
2885 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2888 * sysdeps/i386/bp-asm.h: Remove file.
2889 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2890 (PARMS): Do not use macros from bp-asm.h.
2894 (__mpn_add_n): Do not use BP_SYM
2895 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2897 (PARMS): Do not use macros from bp-asm.h.
2900 (__mpn_addmul_1): Do not use BP_SYM
2901 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2903 (PARMS): Do not use macros from bp-asm.h.
2905 (_setjmp): Likewise. Do not use BP_SYM.
2906 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2908 (PARMS): Do not use macros from bp-asm.h.
2910 (setjmp): Likewise. Do not use BP_SYM.
2911 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2913 (PARMS): Do not use macros from bp-asm.h.
2914 (__frexp): Do not use BP_SYM.
2916 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2918 (PARMS): Do not use macros from bp-asm.h.
2919 (__frexpf): Do not use BP_SYM.
2921 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2923 (PARMS): Do not use macros from bp-asm.h.
2924 (__frexpl): Do not use BP_SYM.
2926 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2928 (PARMS): Do not use macros from bp-asm.h.
2929 (__remquo): Do not use BP_SYM.
2931 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2933 (PARMS): Do not use macros from bp-asm.h.
2934 (__remquof): Do not use BP_SYM.
2935 (remquof): Likewise.
2936 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2938 (PARMS): Do not use macros from bp-asm.h.
2939 (__remquol): Do not use BP_SYM.
2940 (remquol): Likewise.
2941 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2943 (PARMS): Do not use macros from bp-asm.h.
2946 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2947 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2949 (PARMS): Do not use macros from bp-asm.h.
2950 (strlen): Do not use BP_SYM.
2951 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2953 (PARMS): Do not use macros from bp-asm.h.
2957 (__mpn_add_n): Do not use BP_SYM.
2958 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2960 (PARMS): Do not use macros from bp-asm.h.
2963 (__mpn_addmul_1): Do not use BP_SYM.
2964 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2967 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2969 (PARMS): Do not use macros from bp-asm.h.
2972 (__mpn_lshift): Do not use BP_SYM.
2973 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2975 (PARMS): Do not use macros from bp-asm.h.
2979 (memcpy): Likewise. Do not use BP_SYM.
2980 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2981 libc_hidden_def and weak_alias.
2982 (mempcpy): Do not use BP_SYM in weak_alias.
2983 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2985 (PARMS): Do not use macros from bp-asm.h.
2988 [!BZERO_P] (CHR): Likewise.
2989 (memset): Likewise. Do not use BP_SYM.
2990 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2992 (PARMS): Do not use macros from bp-asm.h.
2995 (__mpn_mul_1): Do not use BP_SYM.
2996 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2998 (PARMS): Do not use macros from bp-asm.h.
3001 (__mpn_rshift): Do not use BP_SYM.
3002 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
3004 (PARMS): Do not use macros from bp-asm.h.
3007 (strchr): Likewise. Do not use BP_SYM.
3008 (index): Do not use BP_SYM in weak_alias.
3009 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3011 (PARMS): Do not use macros from bp-asm.h.
3014 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
3015 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3017 (PARMS): Do not use macros from bp-asm.h.
3018 (strlen): Do not use BP_SYM.
3019 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3021 (PARMS): Do not use macros from bp-asm.h.
3025 (__mpn_sub_n): Do not use BP_SYM.
3026 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3028 (PARMS): Do not use macros from bp-asm.h.
3031 (__mpn_submul_1): Do not use BP_SYM.
3032 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3034 (PARMS): Do not use macros from bp-asm.h.
3038 (__mpn_add_n): Do not use BP_SYM.
3039 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3042 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3044 (PARMS): Do not use macros from bp-asm.h.
3047 (memcmp): Do not use BP_SYM.
3048 (bcmp): Do not use BP_SYM in weak_alias.
3049 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3051 (PARMS): Do not use macros from bp-asm.h.
3055 (memcpy): Likewise. Do not use BP_SYM.
3056 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3058 (PARMS): Do not use macros from bp-asm.h.
3062 (memmove): Likewise. Do not use BP_SYM.
3063 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3065 (PARMS): Do not use macros from bp-asm.h.
3069 (__mempcpy): Likewise. Do not use BP_SYM.
3070 (mempcpy): Do not use BP_SYM in weak_alias.
3071 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3073 (PARMS): Do not use macros from bp-asm.h.
3076 [!BZERO_P] (CHR): Likewise.
3077 (memset): Likewise. Do not use BP_SYM.
3078 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3080 (PARMS): Do not use macros from bp-asm.h.
3082 (strcmp): Do not use BP_SYM.
3083 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3085 (PARMS): Do not use macros from bp-asm.h.
3088 [USE_AS_STRTOK_R] (SAVE): Likewise.
3089 (FUNCTION): Likewise. Do not use BP_SYM.
3090 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3092 (strtok_r): Likewise.
3093 (__GI___strtok_r): Likewise.
3094 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3095 (PARMS): Do not use macros from bp-asm.h.
3098 (__mpn_lshift): Do not use BP_SYM.
3099 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3100 (PARMS): Do not use macros from bp-asm.h.
3103 (__memchr): Do not use BP_SYM.
3104 (memchr): Do not use BP_SYM in weak_alias.
3105 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3106 (PARMS): Do not use macros from bp-asm.h.
3109 (memcmp): Do not use BP_SYM.
3110 (bcmp): Do not use BP_SYM in weak_alias.
3111 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3112 (PARMS): Do not use macros from bp-asm.h.
3115 (__mpn_mul_1): Do not use BP_SYM.
3116 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3118 (PARMS): Do not use macros from bp-asm.h.
3121 (__rawmemchr): Do not use BP_SYM.
3122 (rawmemchr): Do not use BP_SYM in weak_alias.
3123 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3124 (PARMS): Do not use macros from bp-asm.h.
3127 (__mpn_rshift): Do not use BP_SYM.
3128 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3129 (PARMS): Do not use macros from bp-asm.h.
3131 (__sigsetjmp): Likewise. Do not use BP_SYM.
3132 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3133 (_start): Do not use BP_SYM.
3134 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3135 (PARMS): Do not use macros from bp-asm.h.
3138 (__stpcpy): Likewise. Do not use BP_SYM.
3139 (stpcpy): Do not use BP_SYM in weak_alias.
3140 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3142 (PARMS): Do not use macros from bp-asm.h.
3146 (__stpncpy): Likewise. Do not use BP_SYM.
3147 (stpncpy): Do not use BP_SYM in weak_alias.
3148 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3149 (PARMS): Do not use macros from bp-asm.h.
3152 (strchr): Likewise. Do not use BP_SYM.
3153 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3155 (PARMS): Do not use macros from bp-asm.h.
3158 (__strchrnul): Likewise. Do not use BP_SYM.
3159 (strchrnul): Do not use BP_SYM in weak_alias.
3160 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3162 (PARMS): Do not use macros from bp-asm.h.
3164 (strcspn): Do not use BP_SYM.
3165 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3167 (PARMS): Do not use macros from bp-asm.h.
3170 (strpbrk): Likewise. Do not use BP_SYM.
3171 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3173 (PARMS): Do not use macros from bp-asm.h.
3176 (strrchr): Likewise. Do not use BP_SYM.
3177 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3178 (PARMS): Do not use macros from bp-asm.h.
3180 (strspn): Do not use BP_SYM.
3181 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3182 (PARMS): Do not use macros from bp-asm.h.
3186 (FUNCTION): Likewise. Do not use BP_SYM.
3187 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3189 (strtok_r): Likewise.
3190 (__GI___strtok_r): Likewise.
3191 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3192 (PARMS): Do not use macros from bp-asm.h.
3196 (__mpn_sub_n): Do not use BP_SYM.
3197 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3199 (PARMS): Do not use macros from bp-asm.h.
3202 (__mpn_submul_1): Do not use BP_SYM.
3203 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3205 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3207 (PARMS): Do not use macros from bp-asm.h.
3212 (__clone): Do not use BP_SYM.
3213 (clone): Do not use BP_SYM in weak_alias.
3214 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3216 (PARMS): Do not use macros from bp-asm.h.
3218 (__mmap64): Do not use BP_SYM.
3219 (mmap64): Do not use BP_SYM in weak_alias.
3220 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3221 <bp-sym.h> and <bp-asm.h>.
3222 (PARMS): Do not use macros from bp-asm.h.
3223 (__posix_fadvise64_l64): Do not use BP_SYM.
3224 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3225 (PARMS): Do not use macros from bp-asm.h.
3227 (semtimedop): Do not use BP_SYM.
3228 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3231 2013-02-21 Allan McRae <allan@archlinux.org>
3233 * manual/message.texi (Charset conversion in gettext):
3234 Move @end statement to beginning of line.
3236 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3238 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3240 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3243 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3248 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3250 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3251 tail-call to the resolved function if pltexit isn't needed.
3253 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3255 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3256 or Y being zero as being unlikely.
3257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3260 2013-02-20 Carlos O'Donell <carlos@redhat.com>
3262 * manual/nss.texi (System Databases and Name Service Switch):
3263 Remove frobnicate @pxref.
3265 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3267 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3268 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3270 2013-02-20 Petr Machata <pmachata@redhat.com>
3272 * elf/elf.h (R_ARM_TARGET1): New macro.
3273 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3274 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3275 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3276 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3277 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3278 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3279 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3280 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3281 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3282 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3283 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3284 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3285 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3286 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3287 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3288 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3289 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3290 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3291 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3292 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3293 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3294 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3295 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3296 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3297 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3298 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3299 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3300 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3301 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3302 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3303 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3304 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3305 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3306 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3307 (R_ARM_THM_GOT_BREL12): Likewise.
3308 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3309 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3310 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3311 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3312 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3313 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3314 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3315 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3316 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3318 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3320 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3321 __attribute_used__ to __attribute__ ((unused)).
3323 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3325 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3327 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3329 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3331 2013-02-19 Joseph Myers <joseph@codesourcery.com>
3334 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3336 (ENTER): Remove both macro definitions.
3338 (CHECK_BOUNDS_LOW): Likewise.
3339 (CHECK_BOUNDS_HIGH): Likewise.
3340 (CHECK_BOUNDS_BOTH): Likewise.
3341 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3342 (RETURN_BOUNDED_POINTER): Likewise.
3343 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3344 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3345 (POP_ERRNO_LOCATION_RETURN): Likewise.
3346 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3347 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3348 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3350 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3351 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3352 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3353 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3354 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3355 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3356 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3357 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3358 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3359 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3360 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3361 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3362 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3363 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3365 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3366 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3368 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3369 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3370 * sysdeps/i386/i586/memset.S (memset): Likewise.
3371 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3372 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3373 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3375 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3376 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3377 Change uses of L(2) to L(out).
3378 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3379 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3380 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3381 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3382 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3384 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3385 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3387 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3388 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3389 (RETURN): Do not use macro LEAVE.
3390 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3391 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3392 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3393 * sysdeps/i386/i686/memset.S (memset): Likewise.
3394 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3395 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3396 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3397 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3399 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3400 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3401 L(1_2) and L(1_3) into L(1).
3402 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3403 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3404 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3405 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3406 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3407 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3408 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3409 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3410 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3412 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3413 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3414 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3415 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3416 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3417 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3418 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3419 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3420 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3421 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3422 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3423 * sysdeps/i386/strspn.S (strspn): Likewise.
3424 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3426 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3427 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3428 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3429 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3431 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3432 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3433 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3435 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3437 2013-02-19 Jakub Jelinek <jakub@redhat.com>
3439 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3442 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3444 * math/atest-exp.c (exp_mpn): Remove ROUND.
3445 * math/atest-exp2.c (exp_mpn): Likewise.
3446 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3448 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3449 * stdlib/tst-tls-atexit-lib.c: Likewise.
3450 * stdlib/tst-tls-atexit.c: Likewise.
3452 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3454 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3455 and __attribute_alloc_size__.
3457 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3459 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3460 __attribute_alloc_size__.
3461 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3462 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3464 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3466 * include/programs/xmalloc.h: New file.
3467 * catgets/gencat.c: Include it.
3468 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3469 * elf/pldd.c: Likewise.
3470 * iconv/iconv_charmap.c: Likewise.
3471 * iconv/iconvconfig.c: Likewise.
3472 * iconv/strtab.c: Likewise.
3473 * locale/programs/locale.c: Likewise.
3474 * locale/programs/localedef.h: Likewise.
3475 * locale/programs/simple-hash.c: Likewise.
3476 * nscd/nscd.h: Likewise.
3477 * nss/makedb.c: Likewise.
3478 * sysdeps/generic/ldconfig.h: Likewise.
3480 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3482 * Versions.def: Add GLIBC_2.18.
3483 * include/link.h (struct link_map): New member l_tls_dtor_count.
3484 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3485 (__call_tls_dtors): Likewise.
3486 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3487 __cxa_thread_atexit_impl.
3488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3492 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3496 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3499 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3504 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3505 (tests): Add test case tst-tls-atexit.
3506 (modules-names): Add shared library for tst-tls-atexit.
3507 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3508 (GLIBC_PRIVATE): Add __call_tls_dtors.
3509 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3511 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3512 * stdlib/tst-tls-atexit.c: New test case.
3513 * stdlib/tst-tls-atexit-lib.c: New test case.
3515 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
3517 * elf/Versions (ld): Add _dl_find_dso_for_object.
3518 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3519 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3520 (dl_open_worker): Use _dl_find_dso_for_object.
3521 * elf/dl-sym.c (do_sym): Likewise.
3522 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3524 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3526 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3527 Syntactic changes only.
3528 (_dl_runtime_profile): Do a tail-call to the resolved function.
3530 2013-02-17 Joseph Myers <joseph@codesourcery.com>
3533 * sysdeps/x86_64/bp-asm.h: Remove file.
3534 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3535 <bp-sym.h> and <bp-asm.h>.
3536 (__clone): Do not use BP_SYM.
3537 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3538 <bp-sym.h> and <bp-asm.h>.
3539 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3540 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3542 (_setjmp): Do not use BP_SYM.
3543 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3545 (setjmp): Do not use BP_SYM.
3546 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3548 (mempcpy): Do not use BP_SYM in weak_alias.
3549 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3551 (strchr): Do not use BP_SYM.
3552 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3554 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3555 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3556 (_start): Do not use BP_SYM.
3557 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3559 (strcat): Do not use BP_SYM.
3560 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3562 (STRCMP): Do not use BP_SYM.
3563 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3565 (STRCPY): Do not use BP_SYM.
3566 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3568 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3570 (FUNCTION): Do not use BP_SYM.
3571 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3573 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3575 2013-02-17 Andreas Jaeger <aj@suse.de>
3577 * time/Versions: Sort entries.
3578 * string/Versions: Likewise.
3579 * resolv/Versions: Likewise.
3580 * posix/Versions: Likewise.
3581 * iconv/Versions: Likewise.
3582 * elf/Versions: Likewise.
3583 * wcsmbs/Versions: Likewise.
3585 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3587 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3588 loop termination condition.
3590 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3591 variable to calculate EZ.
3594 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3595 the lower precision input.
3597 2013-02-15 Joseph Myers <joseph@codesourcery.com>
3600 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3601 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3602 (run-via-rtld-prefix): Do not handle %-bp tests.
3603 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3604 (all-object-suffixes): Remove .ob.
3605 (bppfx): Remove variable.
3606 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3607 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3608 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3609 [$(build-bounded) = yes] (libtype.ob): Likewise.
3610 * Makerules (elide-routines.ob): Remove variable.
3611 (do-tests-clean): Do not handle *-bp.out.
3612 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3613 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3614 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3615 (tests): Do not include $(tests-bp.out).
3616 (xtests): Do not include $(xtests-bp.out).
3617 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3618 [$(build-bounded) = yes] ($(addprefix
3619 $(objpfx),$(binaries-bounded))): Remove rule.
3620 ($(objpfx)%-bp.out): Remove rule.
3621 * config.make.in (build-bounded): Remove variable.
3622 * crypt/Makefile [$(build-bounded) = yes]
3623 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3624 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3626 [$(build-bounded) = yes] (install-lib): Likewise.
3627 [$(build-bounded) = yes] (generated): Likewise.
3628 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3630 * intl/Makefile [$(build-bounded) = yes]
3631 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3632 * math/Makefile [$(build-bounded) = yes]
3633 ($(tests:%=$(objpfx)%-bp): Likewise.
3634 * misc/Makefile [$(build-bounded) = yes]
3635 ($(objpfx)tst-tsearch-bp): Likewise.
3636 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3637 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3639 * string/Makefile (o-objects.ob): Remove variable.
3640 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3641 (CFLAGS-.ob): Remove variable.
3642 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3643 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3644 both definitions of variable.
3645 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3646 (ASFLAGS-.ob): Remove variable.
3648 2013-02-14 Joseph Myers <joseph@codesourcery.com>
3651 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3652 Remove __BOUNDED_POINTERS__ from condition.
3653 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3654 * string/bits/string2.h [!__NO_STRING_INLINES &&
3655 !__BOUNDED_POINTERS__]: Likewise.
3656 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3658 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3659 Remove conditional code.
3660 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3661 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3662 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3666 * csu/libc-start.c: Do not include <bp-sym.h>.
3667 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3668 * elf/dl-open.c: Do not include <bp-sym.h>.
3669 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3670 * math/fegetenv.c: Do not include <bp-sym.h>.
3671 (fegetenv): Do not use BP_SYM in versioned symbols.
3672 * nptl/sysdeps/pthread/bits/libc-lockP.h
3673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3676 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3678 (__pthread_mutex_destroy): Likewise.
3679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3680 (__pthread_mutex_lock): Likewise.
3681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3682 (__pthread_mutex_trylock): Likewise.
3683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3684 (__pthread_mutex_unlock): Likewise.
3685 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3686 (__pthread_mutexattr_init): Likewise.
3687 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3688 (__pthread_mutexattr_destroy): Likewise.
3689 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3690 (__pthread_mutexattr_settype): Likewise.
3691 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3692 (__pthread_rwlock_init): Likewise.
3693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3694 (__pthread_rwlock_destroy): Likewise.
3695 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3696 (__pthread_rwlock_rdlock): Likewise.
3697 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3698 (__pthread_rwlock_tryrdlock): Likewise.
3699 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3700 (__pthread_rwlock_wrlock): Likewise.
3701 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3702 (__pthread_rwlock_trywrlock): Likewise.
3703 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3704 (__pthread_rwlock_unlock): Likewise.
3705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3706 (__pthread_key_create): Likewise.
3707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3708 (__pthread_setspecific): Likewise.
3709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3710 (__pthread_getspecific): Likewise.
3711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3714 (_pthread_cleanup_push_defer): Likewise.
3715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3716 (_pthread_cleanup_pop_restore): Likewise.
3717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3718 (pthread_setcancelstate): Likewise.
3719 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3721 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3722 (memchr): Do not use BP_SYM in weak_alias.
3723 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3724 (fegetenv): Do not use BP_SYM in versioned symbols.
3725 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3726 (fesetenv): Do not use BP_SYM in versioned symbols.
3727 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3728 (feupdateenv): Do not use BP_SYM in versioned symbols.
3729 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3730 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3731 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3732 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3733 (open64): Do not use BP_SYM in weak_alias.
3734 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3735 (fegetenv): Do not use BP_SYM in versioned symbols.
3736 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3737 (fesetenv): Do not use BP_SYM in versioned symbols.
3738 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3739 (feupdateenv): Do not use BP_SYM in versioned symbols.
3740 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3741 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3742 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3743 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3744 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3745 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3746 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3748 (__libc_start_main): Do not use BP_SYM.
3750 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3753 redundant return line.
3757 (sub_magnitudes): Likewise.
3763 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3767 (sub_magnitudes): Likewise.
3774 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3776 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3777 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3780 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3781 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3782 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3783 of __mul for squares.
3784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3786 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3788 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3789 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3791 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3794 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3796 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3797 prototype or function definition. Rename ubp_* variables and
3798 parameters. Remove argv definitions conditional on
3799 [__BOUNDED_POINTERS__].
3800 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3801 * elf/dl-runtime.c (_dl_fixup): Likewise.
3802 * include/set-hooks.h (RUN_HOOK): Likewise.
3803 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3805 * string/strcpy.c (strcpy): Do not use __unbounded.
3806 * sysdeps/generic/frame.h (struct layout): Likewise.
3807 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3808 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3809 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3810 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3811 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3812 (__backtrace): Likewise.
3813 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3815 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3816 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3817 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3819 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3820 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3821 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3822 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3823 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3824 Do not use __unbounded.
3825 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3826 Rename __unboundedrlimits parameter to rlimits in prototype.
3827 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3828 Do not use __unbounded.
3829 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3831 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3832 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3833 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3834 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3835 __ptrvalue or __unbounded.
3836 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3837 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3839 (__new_msgctl): Do not use __ptrvalue.
3840 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3842 (__libc_msgrcv): Do not use __ptrvalue.
3843 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3844 startup_info): Do not use __unbounded.
3845 (__libc_start_main): Likewise. Rename ubp_* variables and
3846 parameters. Remove argv definitions conditional on
3847 [__BOUNDED_POINTERS__].
3848 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3850 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3852 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3854 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3856 (__new_shmctl): Do not use __ptrvalue.
3857 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3858 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3860 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3861 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3862 (__libc_sigaction): Likewise.
3863 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3864 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3866 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3868 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3870 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3872 * string/mempcpy.c: Implement by calling memcpy.
3874 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3876 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3878 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3881 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3882 values in the mantissa.
3884 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3885 minimize writes to Z.
3886 (sub_magnitudes): Simplify code a bit.
3888 2013-02-12 Roland McGrath <roland@hack.frob.com>
3890 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3891 from the message. The linker prefixes all warnings with that already.
3893 2013-02-12 Andreas Schwab <schwab@suse.de>
3896 * posix/regexec.c (extend_buffers): Add parameter min_len.
3897 (check_matching): Pass minimum needed length.
3898 (clean_state_log_if_needed): Likewise.
3899 (get_subexp): Likewise.
3900 * posix/Makefile (tests): Add bug-regex34.
3901 (bug-regex34-ENV): Define.
3902 * posix/bug-regex34.c: New file.
3905 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3906 elements compare against the byte sequence of it, not its name.
3907 * posix/Makefile (tests): Add bug-regex35.
3908 (bug-regex35-ENV): Define.
3909 * posix/bug-regex35.c: New file.
3911 2013-02-11 Tom de Vries <tom@codesourcery.com>
3913 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3915 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3916 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3917 (CHECK_EOL): Add undef.
3919 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3921 * bits/stdlib-bsearch.h: New file.
3922 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3923 * stdlib/stdlib.h: Likewise.
3925 2013-02-11 Roland McGrath <roland@hack.frob.com>
3927 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3928 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3930 * manual/search.texi (Array Search Function): Add missing const in
3932 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3933 declaration to use rlim_t.
3934 (Basic Scheduling Functions): Remove erroneous const from
3935 sched_getparam prototype. Remove erroneous * from
3936 sched_get_priority_max and sched_get_priority_min prototypes.
3937 (Resource Usage): Fix summary @comment on vtimes to refer to
3938 sys/vtimes.h rather than vtimes.h.
3939 Add missing *s in vtimes prototype.
3940 (Limits on Resources): Fix ulimit prototype to return long int.
3941 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3942 prototypes to use long int rather than double.
3943 (BSD Random): Fix initstate and setstate to use char *, not void *.
3944 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3945 prototype to make second argument 'struct aiocb64 *const[]'.
3946 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3947 (Status of AIO Operations): Remove erroneous const in aio_return and
3948 aio_return64 prototypes.
3949 (Synchronizing I/O): Fix sync prototype to return void.
3950 * manual/startup.texi (Suboptions): Remove an erroneous const in
3951 getsubopt prototype.
3952 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3953 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3954 use size_t rather than int.
3955 (Scanning All Users): Likewise for getpwent_r.
3956 (Setting Groups): Add missing const to setgroups prototype.
3957 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3958 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3959 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3960 'const void *' rather than 'const char *'.
3961 (Host Address Functions): Likewise for inet_ntop.
3962 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3963 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3964 ssize_t for return value.
3965 (Sending Data): Likewise for send, sendto, sendmsg.
3966 (Socket Option Functions): Add a missing const in setsockopt prototype.
3967 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3968 use wchar_t for the argument.
3969 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3970 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3972 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3973 double/float/long double for second argument.
3974 Fix return types of significand, significandf, significandl.
3975 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3976 argument in fchmod prototype.
3977 (File Owner): Use uid_t and gid_t in fchown prototype.
3978 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3979 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3980 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3981 use 'const struct dirent **' as argument types to CMP function pointer
3983 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3984 (File Times): Fix summary magic @comment for struct utimbuf and utime
3985 to refer to utime.h, not time.h.
3986 * manual/string.texi (Argz Functions): Add missing const in
3987 argz_extract and argz_next prototypes.
3988 (Finding Tokens in a String): Likewise for basename.
3989 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3990 (Copying and Concatenation): Fix typo in wmemmove prototype.
3991 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3992 (Signal Stack): Remove erroneous const in sigstack prototype.
3993 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3995 (Simple Calendar Time): Likewise for stime.
3996 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3998 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3999 say sys/sysctl.h instead.
4000 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
4001 and vsyslog prototypes.
4003 2013-02-11 Tom de Vries <tom@codesourcery.com>
4005 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4008 2013-02-11 Roland McGrath <roland@hack.frob.com>
4010 * misc/sys/mman.h: Fix typo in mremap comment.
4012 2013-02-08 Roland McGrath <roland@hack.frob.com>
4014 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4015 the '\0' terminator.
4017 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4020 * debug/segfault.c: Don't include <bp-checks.h>.
4021 * sysdeps/generic/bp-checks.h: Remove file.
4022 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4023 (__GETDENTS): Don't use CHECK_N.
4024 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4025 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4026 (__getgroups): Don't use CHECK_N.
4027 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4028 (setgroups): Don't use CHECK_N.
4029 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4030 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4031 (__libc_msgrcv): Don't use CHECK_N.
4032 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4033 (__libc_msgsnd): Don't use CHECK_N.
4034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4036 (__libc_pread): Don't use CHECK_N.
4037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4038 include <bp-checks.h>.
4039 (__libc_pread64): Don't use CHECK_N.
4040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4041 include <bp-checks.h>.
4042 (__libc_pwrite): Don't use CHECK_N.
4043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4044 include <bp-checks.h>.
4045 (__libc_pwrite64): Don't use CHECK_N.
4046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4048 (__libc_pread): Don't use CHECK_N.
4049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4050 include <bp-checks.h>.
4051 (__libc_pread64): Don't use CHECK_N.
4052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4053 include <bp-checks.h>.
4054 (__libc_pwrite): Don't use CHECK_N.
4055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4056 include <bp-checks.h>.
4057 (__libc_pwrite64): Don't use CHECK_N.
4058 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4059 (do_pread): Don't use CHECK_N.
4060 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4061 (do_pread64): Don't use CHECK_N.
4062 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4063 (do_pwrite): Don't use CHECK_N.
4064 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4065 (do_pwrite64): Don't use CHECK_N.
4066 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4067 (__libc_readv): Don't use CHECK_N.
4068 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4069 (semop): Don't use CHECK_N.
4070 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4072 (semtimedop): Don't use CHECK_N.
4073 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4074 (__libc_pread): Don't use CHECK_N.
4075 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4077 (__libc_pread64): Don't use CHECK_N.
4078 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4080 (__libc_pwrite): Don't use CHECK_N.
4081 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4083 (__libc_pwrite64): Don't use CHECK_N.
4084 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4086 (__libc_msgrcv): Don't use CHECK_N.
4087 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4088 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4089 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4090 (__libc_writev): Don't use CHECK_N.
4092 2013-02-08 Roland McGrath <roland@hack.frob.com>
4094 * string/strcpy.c: Removed unused variable.
4096 * Makeconfig (+sysdep-includes): Define with := rather than =.
4097 Use an existing include/ subdir of each sysdeps dir before it.
4099 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4101 * nscd/connection.c (register_traced_file): Comment function.
4102 [HAVE_INOTIFY] (union __inev): Define.
4103 [HAVE_INOTIFY] (inotify_check_files): New function.
4104 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4105 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4107 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4109 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4111 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4112 loaded if not already and that a failure is permanent.
4114 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4117 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4118 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4120 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4123 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4124 (CHECK_1_NULL_OK): Likewise.
4125 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4126 (__fxstat): Do not use CHECK_1.
4127 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4129 (___fxstat64): Do not use CHECK_1.
4130 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4132 (__fxstatat): Do not use CHECK_1.
4133 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4135 (__fxstatat64): Do not use CHECK_1.
4136 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4138 (__fxstat): Do not use CHECK_1.
4139 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4141 (__fxstatat): Do not use CHECK_1.
4142 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4144 (__getresgid): Do not use CHECK_1.
4145 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4147 (__getresuid): Do not use CHECK_1.
4148 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4150 (__lxstat): Do not use CHECK_1.
4151 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4153 (__old_msgctl): Do not use CHECK_1.
4154 (__new_msgctl): Likewise.
4155 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4157 (__new_setrlimit): Do not use CHECK_1.
4158 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4160 (__old_shmctl): Do not use CHECK_1.
4161 (__new_shmctl): Likewise.
4162 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4164 (__xstat): Do not use CHECK_1.
4165 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4166 (__lxstat): Do not use CHECK_1.
4167 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4169 (___lxstat64): Do not use CHECK_1.
4170 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4171 (__old_msgctl): Do not use CHECK_1.
4172 (__new_msgctl): Likewise.
4173 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4175 (__gettimeofday): Do not use CHECK_1.
4176 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4177 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4178 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4180 (__gettimeofday): Do not use CHECK_1.
4181 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4182 (__old_shmctl): Do not use CHECK_1_NULL_OK.
4183 (__new_shmctl): Do not use CHECK_1.
4184 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4186 (do_sigtimedwait): Do not use CHECK_1.
4187 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4189 (do_sigwaitinfo): Do not use CHECK_1.
4190 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4192 (msgctl): Do not use CHECK_1.
4193 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4195 (shmctl): Do not use CHECK_1.
4196 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4197 (ustat): Do not use CHECK_1.
4198 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4200 (__fxstat): Do not use CHECK_1.
4201 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4203 (__fxstatat): Do not use CHECK_1.
4204 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4206 (__lxstat): Do not use CHECK_1.
4207 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4209 (__xstat): Do not use CHECK_1.
4210 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4211 (__xstat): Do not use CHECK_1.
4212 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4213 (___xstat64): Do not use CHECK_1.
4216 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4218 (CHECK_BOUNDS_HIGH): Likewise.
4219 * string/strcpy.c: Do not include <bp-checks.h>.
4220 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4222 2013-02-07 Roland McGrath <roland@hack.frob.com>
4224 * nscd/nscd-client.h (__nscd_drop_map_ref):
4225 Add __attribute__ ((unused)).
4226 * nis/nss-nisplus.h (niserr2nss): Likewise.
4228 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4229 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4231 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4232 Remove inline keyword.
4233 * include/rounding-mode.h (round_away): Likewise.
4234 * libio/wfileops.c (adjust_wide_data): Likewise.
4235 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4236 (__m128i_strloadu_tolower): Likewise.
4237 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4238 (__m128i_strloadu_tolower): Likewise.
4239 * time/mktime.c (ydhms_diff): Likewise.
4240 * locale/elem-hash.h (elem_hash): Likewise.
4241 * locale/setlocale.c (setdata): Likewise.
4242 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4243 (re_string_wchar_at): Likewise.
4244 (bitset_not, bitset_merge, bitset_mask): Likewise.
4245 [!(__GNUC__ > 3)] (inline): Remove macro.
4246 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4247 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4248 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4249 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4250 * string/memcmp.c (memcmp_bytes): Likewise.
4251 * locale/programs/locarchive.c (compute_hashval): Likewise.
4252 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4253 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4254 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4255 * nss/getent.c (print_rpc, print_protocols): Likewise.
4256 (print_passwd, print_group, print_aliases): Likewise.
4257 * nis/nss-nisplus.h (niserr2nss): Likewise.
4258 * nscd/connections.c (restart_p): Likewise.
4259 Change return type to bool.
4261 2013-02-05 Roland McGrath <roland@hack.frob.com>
4263 * Makeconfig (all-Depend-files): Add existing
4264 $(sorted-subdirs:=/Depend) files.
4265 (all-subdirs): Remove nss.
4266 * sysdeps/unix/inet/Subdirs: Add it here instead.
4267 * hesiod/Depend: New file.
4269 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4270 instead of calling alloca.
4272 * io/lseek.c (__lseek): Rename to __libc_lseek.
4273 Define __lseek as an alias.
4275 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4277 2013-02-04 Carlos O'Donell <carlos@redhat.com>
4279 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4280 else clause and remove check for non-standard endianness.
4282 2013-02-04 David S. Miller <davem@davemloft.net>
4284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4286 2013-02-04 Joseph Myers <joseph@codesourcery.com>
4289 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4290 (__ubp_memchr): Remove prototype.
4291 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4292 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4293 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4294 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4295 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4297 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4298 (__ubp_memchr): Likewise.
4299 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4300 (__ubp_memchr): Likewise.
4301 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4302 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4303 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4304 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4306 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4307 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4308 (__getcwd): Do not use CHECK_STRING.
4309 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4311 (__real_chown): Do not use CHECK_STRING.
4312 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4314 (fchownat): Do not use CHECK_STRING.
4315 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4317 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4319 (__lchown): Do not use CHECK_STRING.
4320 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4321 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4322 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4323 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4325 include <bp-checks.h>.
4326 (truncate64): Do not use CHECK_STRING.
4327 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4329 (__real_chown): Do not use CHECK_STRING.
4330 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4332 (__lchown): Do not use CHECK_STRING.
4333 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4335 (__chown): Do not use CHECK_STRING.
4336 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4338 (truncate64): Do not use CHECK_STRING.
4339 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4341 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4342 (__xmknod): Do not use CHECK_STRING.
4343 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4345 (__xmknodat): Do not use CHECK_STRING.
4346 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4347 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4349 2013-02-04 Andreas Schwab <schwab@suse.de>
4352 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4353 * include/netdb.h: Likewise for h_errno.
4354 * elf/tst-stackguard1.c: Include <tls.h>.
4356 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4358 * elf/link.h (struct link_map): Extend the l_addr comment.
4359 * include/link.h (struct link_map): Likewise.
4361 2013-02-01 Joseph Myers <joseph@codesourcery.com>
4364 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4365 (BOUNDED_1): Remove macro.
4366 * debug/backtrace.c: Don't include <bp-checks.h>.
4367 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4368 (__backtrace): Likewise.
4369 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4371 (__backtrace): Don't use BOUNDED_1.
4372 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4374 (__backtrace): Don't use BOUNDED_1.
4375 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4376 (__backtrace): Don't use BOUNDED_1.
4377 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4378 (shmat): Don't use BOUNDED_N.
4380 2013-01-31 Joseph Myers <joseph@codesourcery.com>
4383 * sysdeps/generic/bp-start.h: Remove file.
4384 * csu/libc-start.c: Don't include <bp-start.h>.
4385 (LIBC_START_MAIN): Set up __environ directly instead of using
4386 INIT_ARGV_and_ENVIRON.
4387 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4391 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4393 (CHECK_FCNTL): Likewise.
4394 (CHECK_N_PAGES): Likewise.
4397 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4399 (CHECK_SIGSET_NULL_OK): Likewise.
4400 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4402 (sigpending): Don't use CHECK_SIGSET.
4403 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4405 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4406 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4408 (do_sigsuspend): Don't use CHECK_SIGSET.
4409 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4411 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4412 (do_sigwait): Don't use CHECK_SIGSET.
4413 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4415 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4416 include <bp-checks.h>.
4417 (sigpending): Don't use CHECK_SIGSET.
4418 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4419 include <bp-checks.h>.
4420 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4421 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4423 (sigpending): Don't use CHECK_SIGSET.
4424 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4426 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4429 * sysdeps/generic/bp-semctl.h: Remove file.
4430 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4431 <bp-checks.h> and <bp-semctl.h>.
4432 (__old_semctl): Don't use CHECK_SEMCTL.
4433 (__new_semctl): Likewise.
4434 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4436 (__old_semctl): Don't use CHECK_SEMCTL.
4437 (__new_semctl): Likewise.
4438 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4439 <bp-checks.h> and <bp-semctl.h>.
4440 (__old_semctl): Don't use CHECK_SEMCTL.
4441 (__new_semctl): Likewise.
4442 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4443 <bp-checks.h> and <bp-semctl.h>.
4444 (semctl): Don't use CHECK_SEMCTL.
4447 * Makerules (elide-bp-thunks): Remove variable.
4448 (elide-routines.oS): Don't use $(elide-bp-thunks).
4449 (elide-routines.os): Likewise.
4450 (elide-routines.o): Likewise.
4451 (elide-routines.op): Likewise.
4452 (elide-routines.og): Likewise.
4453 (objects): Don't use $(bp-thunks).
4454 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4456 (common-generated): Do not add s-proto-bp.d.
4457 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4460 Do not generate makefile rules for bounded-pointer thunks.
4461 * sysdeps/generic/bp-thunks.h: Remove file.
4462 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4463 * sysdeps/unix/s-proto-bp.S: Likewise.
4466 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4467 parts of result separately when argument is not close to line from
4468 -i to i and one part of argument is small.
4469 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4470 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4471 * math/libm-test.inc (cacos_test): Add more tests.
4472 (casin_test): Likewise.
4473 (casinh_test): Likewise.
4474 * sysdeps/i386/fpu/libm-test-ulps: Update.
4475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4477 2013-01-31 David S. Miller <davem@davemloft.net>
4479 * po/de.po: Update from translation team.
4481 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4483 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4485 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4487 * configure.in (_AC_PROG_CC_C89): New definition.
4488 * configure: Regenerate.
4490 * configure.in (AC_PROG_CPP): New definition.
4491 * configure: Regenerate.
4493 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4495 * debug/tst-backtrace.h: New file.
4496 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4497 (ret): Remove variable.
4499 (FAIL): Remove macro.
4500 (NO_INLINE): Likewise.
4501 (fn1): Use match function instead of strstr.
4502 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4503 (ret): Remove variable.
4505 (FAIL): Remove macro.
4506 (NO_INLINE): Likewise.
4507 (fn): Use match function instead of strstr.
4508 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4509 (ret): Remove variable.
4511 (FAIL): Remove macro.
4512 (NO_INLINE): Likewise.
4513 (handle_signal): Use match function instead of strstr.
4514 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4515 (ret): Remove variable.
4517 (FAIL): Remove macro.
4518 (NO_INLINE): Likewise.
4519 (handle_signal): Use match function instead of strstr.
4521 2013-01-23 Roland McGrath <roland@hack.frob.com>
4523 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4525 2013-01-23 David S. Miller <davem@davemloft.net>
4527 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4528 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4529 argument of CAS if possible.
4530 * sysdeps/sparc/sparc64/bits/atomic.h
4531 (__arch_compare_and_exchange_val_32_acq): Likewise.
4532 (__arch_compare_and_exchange_val_64_acq): Likewise.
4534 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4536 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4537 * sysdeps/posix/ulimit.c: ... this.
4539 * sysdeps/unix/bsd/ulimit.c: Remove file.
4541 2013-01-23 Adam Conrad <adconrad@0c3.net>
4543 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4544 (LDFLAGS-tst-array5): Likewise.
4546 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4549 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4550 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4551 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4552 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4554 2013-01-21 David S. Miller <davem@davemloft.net>
4556 * sysdeps/sparc/backtrace.c: New file.
4557 * sysdeps/sparc/sparc32/backtrace.h: New file.
4558 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4559 * sysdeps/sparc/sparc64/backtrace.h: New file.
4560 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4561 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4564 2013-01-21 Andreas Schwab <schwab@suse.de>
4567 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4570 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4572 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4574 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4576 2013-01-18 Joseph Myers <joseph@codesourcery.com>
4577 Mark Mitchell <mark@codesourcery.com>
4578 Tom de Vries <tom@codesourcery.com>
4579 Paul Pluzhnikov <ppluzhnikov@google.com>
4581 * debug/tst-backtrace2.c: New file.
4582 * debug/tst-backtrace3.c: Likewise.
4583 * debug/tst-backtrace4.c: Likewise.
4584 * debug/tst-backtrace5.c: Likewise.
4585 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4586 (CFLAGS-tst-backtrace3.c): Likewise.
4587 (CFLAGS-tst-backtrace4.c): Likewise.
4588 (CFLAGS-tst-backtrace5.c): Likewise.
4589 (LDFLAGS-tst-backtrace2): Likewise.
4590 (LDFLAGS-tst-backtrace3): Likewise.
4591 (LDFLAGS-tst-backtrace4): Likewise.
4592 (LDFLAGS-tst-backtrace5): Likewise.
4593 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4594 tst-backtrace4 and tst-backtrace5.
4596 2013-01-18 Anton Blanchard <anton@samba.org>
4597 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4599 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4600 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4601 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4602 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4604 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4605 "+r" and remove output regs list as redundant. Add explicit inline
4606 asm to specify register of return val to work around compiler codegen
4607 bug. Remove (int) cast on return value. Add return type parameter to
4608 use in macro so that this macro does not truncate return value for
4610 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4611 pass to INTERNAL_VSYSCALL_NCS.
4612 (INLINE_VSYSCALL): Add 'long int' as return type to
4613 INTERNAL_VSYSCALL_NCS macro invocation.
4614 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4615 INTERNAL_VSYSCALL_NCS macro invocation.
4616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4618 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4621 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4622 Fix application of SIMD FP exception mask.
4624 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4625 mp_no from a power of two.
4626 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4627 __mpexp_twomm1. Use __pow_mp.
4629 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4632 2013-01-17 David S. Miller <davem@davemloft.net>
4634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4636 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4639 * include/complex.h: Condition contents on [!_COMPLEX_H].
4640 (__kernel_casinhf): New prototype.
4641 (__kernel_casinh): Likewise.
4642 (__kernel_casinhl): Likewise.
4643 * math/Makefile (libm_calls): Add k_casinh.
4644 * math/k_casinh.c: New file.
4645 * math/k_casinhf.c: Likewise.
4646 * math/k_casinhl.c: Likewise.
4647 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4648 finite nonzero arguments.
4649 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4650 finite nonzero arguments.
4651 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4652 finite nonzero arguments.
4653 * math/s_casinh.c: Do not include <float.h>.
4654 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4655 * math/s_casinhf.c: Do not include <float.h>.
4656 (__casinhf): Move code for finite nonzero arguments to
4658 * math/s_casinhl.c: Do not include <float.h>.
4659 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4661 (__casinhl): Move code for finite nonzero arguments to
4663 * math/libm-test.inc (cacos_test): Add more tests.
4664 * sysdeps/i386/fpu/libm-test-ulps: Update.
4665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4667 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4669 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4670 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4671 [!HAVE_MREMAP]: Remove [defined linux] case.
4672 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4674 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4676 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4678 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
4680 * elf/elf.h (R_386_SIZE32): New relocation.
4681 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4683 (elf_machine_rela): Likewise.
4684 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4685 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4687 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4689 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4690 (FP_FAST_FMA): Do not define.
4691 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4692 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4693 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4694 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4695 !_SOFT_FLOAT]: Likewise.
4696 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4697 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4699 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4700 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4701 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4702 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4703 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4704 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4707 2013-01-16 Andreas Schwab <schwab@suse.de>
4710 * include/stdlib.h (__mktemp): Add declaration.
4711 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4712 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4714 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4716 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4718 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4719 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4720 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4722 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4723 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4725 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4727 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4728 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4729 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4731 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4732 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4734 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4736 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4738 2013-01-15 David S. Miller <davem@davemloft.net>
4740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4741 trunc{,f} to libm-sysdep_routes.
4742 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4752 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4753 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4754 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4755 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4756 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4757 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4760 nearbyint{,f} to libm-sysdep_routes.
4761 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4772 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4774 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4775 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4777 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4778 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4779 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4781 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4782 libc_feholdexcept and libc_fesetenv.
4784 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4786 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4788 2013-01-14 David S. Miller <davem@davemloft.net>
4790 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4791 (SPARC_ASM_VIS2_IFUNC): Likewise.
4792 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4794 use of 'siam' instruction.
4795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4801 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4802 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4803 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4804 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4814 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4815 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4816 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4824 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4825 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4826 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4828 routines to libm-sysdep_routines.
4829 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4832 fdim/fdimf to libm-sysdep_routines.
4833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4841 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4842 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4843 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4844 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4846 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4848 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4851 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4856 local variable MPTWO.
4857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4860 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4862 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4865 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4867 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4869 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4871 * manual/pattern.texi (glob_t): Document gl_flags.
4872 (glob64_t): Likewise.
4874 2013-01-11 David S. Miller <davem@davemloft.net>
4876 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4877 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4878 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4879 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4880 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4881 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4882 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4883 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4884 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4885 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4886 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4887 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4888 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4890 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4891 sparc V9 rather than using V8 code.
4892 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4893 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4895 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4897 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4900 2013-01-11 Roland McGrath <roland@hack.frob.com>
4902 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4903 not in the main loop.
4904 * configure: Regenerated.
4906 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4908 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4909 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4911 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4912 [!__GLIBC_HAVE_LONG_LONG] case.
4913 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4914 condition to just #else.
4915 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4916 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4917 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4918 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4920 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4921 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4922 #elif condition to just #else.
4923 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4924 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4925 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4926 #elif condition to just #else.
4928 2013-01-11 Steve Ellcey <sellcey@mips.com>
4930 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4931 (EF_MIPS_ARCH_64): Fix value.
4932 (EF_MIPS_ARCH_32R2): New.
4933 (EF_MIPS_ARCH_64R2): New.
4935 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4937 * Makeconfig (+link-pie-before-libc): New.
4938 (+link-pie-after-libc): Likewise.
4939 (+link-pie-tests): Likewise.
4940 (+link-pie): Rewritten.
4941 (link-before-libc): Remove $(config-LDFLAGS).
4942 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4943 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4944 (config-LDFLAGS): Renamed to ...
4945 (rtld-LDFLAGS): This.
4946 (rtld-tests-LDFLAGS): New macro.
4947 (link-libc-rpath-link): Likewise.
4948 (link-libc-tests-rpath-link): Likewise.
4949 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4950 (link-libc): Prepand $(link-libc-rpath-link).
4951 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4952 (test-program-prefix): New macro.
4953 (test-via-rtld-prefix): Likewise.
4954 (test-program-cmd): Likewise.
4955 (host-test-program-cmd): Likewise.
4956 * Makefile ($(common-objpfx)testrun.sh): Replace
4957 $(run-program-prefix) with $(test-program-prefix).
4958 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4960 ($(common-objpfx)shlib.lds): Likewise.
4961 (build-module-helper): Likewise.
4962 ($(common-objpfx)format.lds): Likewise.
4963 * Rules (binaries-pie-tests): New.
4964 (binaries-pie-notests): Likewise.
4965 (binaries-pie): Rewritten.
4966 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4967 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4968 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4969 (make-test-out): Replace $(host-built-program-cmd) with
4970 $(host-test-program-cmd).
4971 * config.make.in (build-hardcoded-path-in-tests): New variable.
4972 * configure.in (--enable-hardcoded-path-in-tests): New configure
4974 (hardcoded_path_in_tests): New AC_SUBST.
4975 * configure: Regenerated.
4976 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4977 $(built-program-cmd) with $(test-program-cmd).
4978 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4979 (test_program_cmd): This.
4980 * elf/Makefile ($(objpfx)order.out): Run test with
4981 $(test-program-prefix).
4982 ($(objpfx)order2.out): Likewise.
4983 ($(objpfx)tst-initorder.out): Likewise.
4984 ($(objpfx)tst-initorder2.out): Likewise.
4985 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4986 $(test-program-cmd).
4987 ($(objpfx)tst-array1-static.out): Likewise.
4988 ($(objpfx)tst-array2.out): Likewise.
4989 ($(objpfx)tst-array3.out): Likewise.
4990 ($(objpfx)tst-array4.out): Likewise.
4991 ($(objpfx)tst-array5.out): Likewise.
4992 ($(objpfx)tst-array5-static.out): Likewise.
4993 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4994 $(test-program-cmd).
4995 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4996 $(run-program-prefix) with $(test-program-prefix).
4997 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4998 (test_program_prefix): This.
4999 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
5000 $(run-program-prefix) with $(test-program-prefix).
5001 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
5002 (test_program_prefix): This.
5003 * iconvdata/tst-tables.sh: Likewise.
5004 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5005 $(run-program-prefix) with $(test-program-prefix).
5006 ($(objpfx)tst-translit.out): Likewise.
5007 ($(objpfx)tst-gettext2.out): Likewise.
5008 ($(objpfx)tst-gettext4.out): Likewise.
5009 ($(objpfx)tst-gettext6.out): Likewise.
5010 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5011 (test_program_prefix): This.
5012 * intl/tst-gettext2.sh: Likewise.
5013 * intl/tst-gettext4.sh Likewise.
5014 * intl/tst-gettext6.sh: Likewise.
5015 * intl/tst-translit.sh: Likewise.
5016 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5017 with $(test-program-cmd).
5018 * libio/Makefile ($(objpfx)test-freopen.out): Replace
5019 $(run-program-prefix) with $(test-program-prefix).
5020 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5021 (test_program_prefix): This.
5022 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5023 $(run-program-prefix) with $(test-program-prefix).
5024 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5025 (test_program_prefix): This.
5026 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5027 * posix/Makefile ($(objpfx)globtest.out): Replace
5028 $(run-via-rtld-prefix) and $(test-wrapper) with
5029 $(test-program-prefix) and $(test-via-rtld-prefix).
5030 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5031 $(test-program-prefix).
5032 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5033 $(host-test-program-cmd).
5034 (tst-spawn-ARGS): Likewise.
5035 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5036 $(test-program-prefix).
5037 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5038 (test_via_rtld_prefix): This.
5039 (test_wrapper): Renamed to ...
5040 (test_program_prefix): This.
5041 (run_program_prefix): Replaced by test_program_prefix.
5042 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5043 (test_program_prefix): This.
5044 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5045 with $(host-test-program-cmd).
5046 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5047 $(run-program-prefix) with $(test-program-prefix).
5048 ($(objpfx)tst-printf.out): Likewise.
5049 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5050 $(test-program-cmd).
5051 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5052 (test_program_prefix): This.
5053 * stdio-common/tst-unbputc.sh: Likewise.
5054 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5055 $(run-program-prefix) with $(test-program-prefix).
5056 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5057 (test_program_prefix): This.
5058 * string/Makefile ($(objpfx)tst-svc.out): Replace
5059 $(built-program-cmd) with $(test-program-cmd).
5061 2013-01-11 Andreas Jaeger <aj@suse.de>
5064 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5065 value. Sync with Linux 3.7.
5067 2013-01-10 David S. Miller <davem@davemloft.net>
5069 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5070 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5071 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5073 2013-01-10 Roland McGrath <roland@hack.frob.com>
5075 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5077 * configure: Regenerated.
5079 2013-01-10 David S. Miller <davem@davemloft.net>
5081 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5082 sparc V9 rather than using V8 code.
5083 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5084 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5086 2013-01-10 Roland McGrath <roland@hack.frob.com>
5088 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5089 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5090 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5091 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5092 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5093 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5094 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5095 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5096 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5097 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5098 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5099 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5100 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5101 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5102 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5103 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5104 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5105 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5106 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5107 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5108 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5109 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5110 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5111 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5112 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5113 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5114 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5116 2013-01-10 David S. Miller <davem@davemloft.net>
5118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5120 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5122 * posix/Makefile (tests-static): New variable.
5123 (tests): Add $(tests-static).
5124 (tst-exec-static-ARGS): New variable.
5125 (tst-spawn-static-ARGS): Likewise.
5126 * posix/tst-exec-static.c: New file.
5127 * posix/tst-spawn-static.c: Likewise.
5128 * posix/tst-exec.c: Support run directly.
5129 * posix/tst-spawn.c: Likewise.
5131 2013-01-10 Joseph Myers <joseph@codesourcery.com>
5133 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5135 * math/bits/mathcalls.h (llrint): Likewise.
5136 (llround): Likewise.
5137 * stdlib/stdlib.h (struct drand48_data): Likewise.
5138 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5139 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5140 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5142 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5144 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5145 (elf_greg_t): Likewise.
5146 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5147 (__jmp_buf): Likewise.
5148 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5150 (llrint): Likewise, for all definitions.
5151 (llrintl): Likewise.
5153 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5154 Remove [__GNUC__] condition.
5155 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5156 condition to just [__USE_ISOC99].
5157 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5159 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5162 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5163 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5165 (_POSIX_V6_ILP32_OFF32): Likewise.
5166 (_XBS5_ILP32_OFF32): Likewise.
5167 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5168 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5170 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5172 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5174 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5175 doubles __mpexp_twomm1. Adjust usage.
5176 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5179 2013-01-10 Andreas Schwab <schwab@suse.de>
5182 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5183 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5185 2013-01-09 David S. Miller <davem@davemloft.net>
5188 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5189 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5190 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5191 TCP_FASTOPEN): Define.
5192 (tcp_repair_opt): New structure.
5193 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5195 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5196 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5197 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5198 (tcp_cookie_transactions): New structure.
5200 2013-01-09 Anton Blanchard <anton@samba.org>
5202 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5203 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5204 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5205 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5207 2013-01-09 Joseph Myers <joseph@codesourcery.com>
5209 * include/features.h (__USE_ANSI): Remove.
5211 2013-01-09 Roland McGrath <roland@hack.frob.com>
5213 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5215 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5217 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5219 * sysdeps/s390/fpu/libm-test-ulps: Update.
5221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5223 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5228 (__mp_dbl): Likewise.
5229 (__dbl_mp): Likewise.
5230 (add_magnitudes): Likewise.
5231 (sub_magnitudes): Likewise.
5237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5242 (__mp_dbl): Likewise.
5243 (__dbl_mp): Likewise.
5244 (add_magnitudes): Likewise.
5245 (sub_magnitudes): Likewise.
5251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5256 (__mp_dbl): Likewise.
5257 (__dbl_mp): Likewise.
5258 (add_magnitudes): Likewise.
5259 (sub_magnitudes): Likewise.
5266 2013-01-08 Joseph Myers <joseph@codesourcery.com>
5268 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5269 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5270 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5271 2 && __USE_EXTERN_INLINES]: Likewise.
5273 2013-01-08 Andreas Jaeger <aj@suse.de>
5276 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5278 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5279 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5281 2013-01-07 Anton Blanchard <anton@samba.org>
5283 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5284 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5285 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5286 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5287 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5288 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5289 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5290 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5292 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5293 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5294 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5295 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5296 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5297 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5298 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5299 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5300 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5301 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5302 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5303 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5304 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5305 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5306 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5307 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5308 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5309 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5310 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5311 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5312 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5313 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5314 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5315 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5316 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5317 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5318 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5319 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5320 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5321 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5322 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5323 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5324 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5325 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5327 2013-01-07 Joseph Myers <joseph@codesourcery.com>
5329 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5330 (__MALLOC_PMT): Likewise.
5331 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5332 [__GNUC__], only on [_LIBC].
5333 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5334 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5335 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5336 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5337 forward declaration.
5338 (realloc_hook_ini): Likewise.
5339 (memalign_hook_ini): Likewise.
5340 (__libc_memalign): Do not use __MALLOC_PMT in variable
5342 (__libc_valloc): Likewise.
5343 (__libc_pvalloc): Likewise.
5344 (__libc_calloc): Likewise.
5345 (__posix_memalign): Likewise.
5348 * math/s_casinh.c: Include <float.h>.
5349 (__casinh): Do not do computation with squaring and square root
5350 for large arguments.
5351 * math/s_casinhf.c: Include <float.h>.
5352 (__casinhf): Do not do computation with squaring and square root
5353 for large arguments.
5354 * math/s_casinhl.c: Include <float.h>.
5355 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5356 (__casinhl): Do not do computation with squaring and square root
5357 for large arguments.
5358 * math/libm-test.inc (casin_test): Add more tests.
5359 (casinh_test): Likewise.
5360 * sysdeps/i386/fpu/libm-test-ulps: Update.
5361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5363 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5365 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5366 (__x86_64_raw_data_cache_size): Likewise.
5367 (__x86_64_data_cache_size_half): Likewise.
5368 (__x86_64_raw_data_cache_size_half): Likewise.
5369 (__x86_64_shared_cache_size): Likewise.
5370 (__x86_64_raw_shared_cache_size): Likewise.
5371 (__x86_64_shared_cache_size_half): Likewise.
5372 (__x86_64_raw_shared_cache_size_half): Likewise.
5373 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5375 (__x86_data_cache_size): This.
5376 (__x86_64_raw_data_cache_size): Renamed to ...
5377 (__x86_raw_data_cache_size): This.
5378 (__x86_64_data_cache_size_half): Renamed to ...
5379 (__x86_data_cache_size_half): This.
5380 (__x86_64_raw_data_cache_size_half): Renamed to ...
5381 (__x86_raw_data_cache_size_half): This.
5382 (__x86_64_shared_cache_size): Renamed to ...
5383 (__x86_shared_cache_size): This.
5384 (__x86_64_raw_shared_cache_size): Renamed to ...
5385 (__x86_raw_shared_cache_size): This.
5386 (__x86_64_shared_cache_size_half): Renamed to ...
5387 (__x86_shared_cache_size_half): This.
5388 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5389 (__x86_raw_shared_cache_size_half): This.
5390 * sysdeps/x86_64/memcpy.S: Updated.
5391 * sysdeps/x86_64/memset.S: Likewise.
5392 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5393 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5394 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5396 2013-01-04 David S. Miller <davem@davemloft.net>
5398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5400 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5402 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5403 1 to avoid redefinition warning.
5404 (__USE_GNU): Don't define.
5405 (init_signaling_nan): Protoize.
5407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5409 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5411 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5413 (__cpymn): Likewise.
5414 (norm): Remove commented code.
5416 (__mp_dbl): Likewise.
5418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5419 (__cpymn): Likewise.
5420 (norm): Remove commented code.
5422 (__mp_dbl): Likewise.
5425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5426 mp_no value for 1.0 and 2.0.
5427 (norm): Use RADIXI instead of radixi.d.
5429 (__mul): Use 0.0 instead of zero.d.
5430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5431 mp_no value for 1.0 and 2.0.
5432 (norm): Use RADIXI instead of radixi.d.
5434 (__mul): Use 0.0 instead of zero.d.
5436 2013-01-04 Joseph Myers <joseph@codesourcery.com>
5439 * math/s_casinh.c (__casinh): Reduce finite argument to first
5440 quadrant then set signs of results at the end.
5441 * math/s_casinhf.c (__casinhf): Likewise.
5442 * math/s_casinhl.c (__casinhl): Likewise.
5443 * math/libm-test.inc (casin_test): Add more tests.
5444 (casinh_test): Likewise.
5445 * sysdeps/i386/fpu/libm-test-ulps: Update.
5446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5448 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5450 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5452 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5454 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5457 (__mp_dbl): Likewise.
5460 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5461 and adjust the header comment.
5463 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5464 variable name from declaration.
5466 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5469 Initialize COMMON_CPUID_INDEX_7 element.
5470 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5471 (CPUID_RTM): Likewise.
5472 (HAS_RTM): Likewise.
5473 (COMMON_CPUID_INDEX_7): New enum.
5475 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5478 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5479 size is zero, record memory as freed.
5481 2013-01-03 Andreas Jaeger <aj@suse.de>
5483 * po/ia.po: Add new Interlingua translation.
5485 2012-01-03 Allan McRae <allan@archlinux.org>
5487 * locale/programs/localedef.c: Fix description of '--posix' flag.
5489 2013-01-02 Joseph Myers <joseph@codesourcery.com>
5491 * NEWS: Update dates in second copyright notice.
5492 * README: Update copyright dates in example.
5493 * manual/libc.texinfo: Update copyright dates.
5494 * scripts/test-installation.pl: Update copyright date in --version
5497 * hurd/ctty-input.c: Fix copyright notice formatting.
5498 * hurd/ctty-output.c: Likewise.
5499 * hurd/dtable.c: Likewise.
5500 * hurd/hurd-raise.c: Likewise.
5501 * hurd/hurdprio.c: Likewise.
5502 * hurd/msgportdemux.c: Likewise.
5503 * misc/sys/file.h: Likewise.
5504 * misc/sys/ioctl.h: Likewise.
5505 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5506 * sysdeps/mach/hurd/chdir.c: Likewise.
5507 * sysdeps/mach/hurd/fchdir.c: Likewise.
5508 * sysdeps/mach/hurd/rename.c: Likewise.
5509 * sysdeps/mach/hurd/rmdir.c: Likewise.
5510 * sysdeps/mach/hurd/seekdir.c: Likewise.
5511 * sysdeps/mach/hurd/setsid.c: Likewise.
5512 * sysdeps/posix/wait3.c: Likewise.
5514 * All files with FSF copyright notices: Update copyright dates
5515 using scripts/update-copyrights.
5516 * intl/plural.c: Regenerated.
5517 * locale/programs/charmap-kw.h: Likewise.
5518 * locale/programs/locfile-kw.h: Likewise.
5520 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5522 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5525 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5526 calculation loop and add branch prediction.
5528 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5529 check access beyond bounds of m1np.
5531 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5533 (__inv): Remove local variable MPTWO to use the global
5535 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5536 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5538 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5539 MP3HALFS static const.
5541 2013-01-01 David S. Miller <davem@davemloft.net>
5543 * po/ca.po: Update from translation team.
5545 2013-01-01 Joseph Myers <joseph@codesourcery.com>
5547 * scripts/update-copyrights: New file.
5548 * Makeconfig: Reformat copyright notice.
5549 * ctype/ctype.h: Likewise.
5550 * debug/swprintf_chk.c: Likewise.
5551 * elf/dl-cache.c: Likewise.
5552 * elf/dl-debug.c: Likewise.
5553 * elf/dl-object.c: Likewise.
5554 * grp/initgroups.c: Likewise.
5555 * hurd/Makefile: Likewise.
5556 * hurd/hurd/signal.h: Likewise.
5557 * hurd/hurdfault.c: Likewise.
5558 * hurd/hurdioctl.c: Likewise.
5559 * hurd/hurdlookup.c: Likewise.
5560 * hurd/intr-msg.c: Likewise.
5561 * iconv/gconv_open.c: Likewise.
5562 * libio/swprintf.c: Likewise.
5563 * locale/lc-ctype.c: Likewise.
5564 * locale/nl_langinfo.c: Likewise.
5565 * mach/Machrules: Likewise.
5566 * mach/Makefile: Likewise.
5567 * malloc/obstack.h: Likewise.
5568 * manual/Makefile: Likewise.
5569 * manual/tsort.awk: Likewise.
5570 * misc/bits/stab.def: Likewise.
5571 * nis/nis_print_group_entry.c: Likewise.
5572 * nis/nis_table.c: Likewise.
5573 * nis/nss_compat/compat-pwd.c: Likewise.
5574 * nis/nss_compat/compat-spwd.c: Likewise.
5575 * po/Makefile: Likewise.
5576 * posix/fnmatch.c: Likewise.
5577 * posix/regex.h: Likewise.
5578 * resolv/Makefile: Likewise.
5579 * resolv/nss_dns/dns-network.c: Likewise.
5580 * resolv/res_hconf.c: Likewise.
5581 * scripts/gen-sorted.awk: Likewise.
5582 * soft-fp/soft-fp.h: Likewise.
5583 * stdio-common/printf.h: Likewise.
5584 * stdlib/monetary.h: Likewise.
5585 * stdlib/random.c: Likewise.
5586 * stdlib/random_r.c: Likewise.
5587 * sysdeps/generic/Makefile: Likewise.
5588 * sysdeps/gnu/Makefile: Likewise.
5589 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5590 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5591 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5595 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5596 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5597 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5598 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5599 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5600 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5601 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5602 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5603 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5604 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5605 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5606 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5607 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5608 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5609 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5610 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5611 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5612 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5613 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5614 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5615 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5616 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5617 * sysdeps/mach/hurd/errnos.awk: Likewise.
5618 * sysdeps/mach/hurd/fork.c: Likewise.
5619 * sysdeps/mach/hurd/getcwd.c: Likewise.
5620 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5621 * sysdeps/mach/hurd/mmap.c: Likewise.
5622 * sysdeps/mach/hurd/utimes.c: Likewise.
5623 * sysdeps/mach/hurd/xmknod.c: Likewise.
5624 * sysdeps/posix/profil.c: Likewise.
5625 * sysdeps/posix/readdir_r.c: Likewise.
5626 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5627 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5628 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5629 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5631 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5632 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5633 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5634 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5635 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5636 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5637 * sysdeps/pthread/lio_listio.c: Likewise.
5638 * sysdeps/sparc/dl-procinfo.h: Likewise.
5639 * sysdeps/unix/i386/sysdep.S: Likewise.
5640 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5641 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5642 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5643 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5645 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5646 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5647 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5648 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5649 * sysdeps/wordsize-32/divdi3.c: Likewise.
5650 * time/sys/time.h: Likewise.
5651 * wcsmbs/Makefile: Likewise.
5653 2013-01-01 David S. Miller <davem@davemloft.net>
5655 * po/fr.po: Update from translation team.
5657 * catgets/gencat.c: Update copyright year.
5658 * csu/version.c: Likewise.
5659 * debug/catchsegv.sh: Likewise.
5660 * debug/pcprofiledump.c: Likewise.
5661 * debug/xtrace.sh: Likewise.
5662 * elf/ldconfig.c: Likewise.
5663 * elf/ldd.bash.in: Likewise.
5664 * elf/pldd.c: Likewise.
5665 * elf/sotruss.ksh: Likewise.
5666 * elf/sprof.c: Likewise.
5667 * iconv/iconv_prog.c: Likewise.
5668 * iconv/iconvconfig.c: Likewise.
5669 * locale/programs/locale.c: Likewise.
5670 * locale/programs/localedef.c: Likewise.
5671 * login/programs/pt_chown.c: Likewise.
5672 * malloc/memusage.sh: Likewise.
5673 * malloc/memusagestat.c: Likewise.
5674 * malloc/mtrace.pl: Likewise.
5675 * nscd/nscd.c: Likewise.
5676 * nss/getent.c: Likewise.
5677 * nss/makedb.c: Likewise.
5678 * posix/getconf.c: Likewise.
5680 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5682 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5685 2012-12-30 Mike Frysinger <vapier@gentoo.org>
5687 * math/bits/mathcalls.h (modf): Use __nonnull.
5689 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5691 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5692 (split): Use macro CN instead of the bare value.
5693 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5695 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5696 instead of the bare value.
5699 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5701 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5703 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5705 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5707 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5708 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5709 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5710 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5712 2012-12-28 Andreas Jaeger <aj@suse.de>
5714 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5715 values are from Linux 3.7.
5717 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5718 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5720 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5722 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5725 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5727 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5728 variables with preprocessor constants.
5729 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5730 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5731 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5733 2012-12-27 Bruno Haible <bruno@clisp.org>
5736 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5739 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5741 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5742 and use variable directly.
5743 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5745 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5747 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5748 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5750 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5751 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5752 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5753 include directive. Remove local variable MPONE.
5754 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5755 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5756 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5758 2012-12-25 David S. Miller <davem@davemloft.net>
5760 * version.h (RELEASE): Set to "development".
5761 (VERSION): Set to "2.17.90".
5762 * NEWS: Add 2.18 section.
5764 2012-12-21 David S. Miller <davem@davemloft.net>
5766 * po/hr.po: Update from translation team.
5768 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5770 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5772 2012-12-19 Steve Ellcey <sellcey@mips.com>
5774 * NEWS: Mention new memcpy for MIPS.
5776 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5778 * manual/contrib.texi (Contributors): Spelling correction.
5780 2012-12-15 David S. Miller <davem@davemloft.net>
5782 * po/ru.po: Update from translation team.
5784 2012-12-13 David S. Miller <davem@davemloft.net>
5786 * NEWS: Mention IFUNC testsuite enhancements.
5788 * po/pl.po: Update from translation team.
5789 * po/bg.po: Likewise.
5791 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5792 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5794 2012-12-11 David S. Miller <davem@davemloft.net>
5796 * po/sv.po: Update from translation team.
5798 * po/vi.po: Update from translation team.
5800 * po/cs.po: Update from translation team.
5802 * po/de.po: Update from translation team.
5803 * po/eo.po: Likewise.
5804 * po/nl.po: Likewise.
5806 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5809 * manual/argp.texi (Argp Helper Functions): Move node to follow
5813 * manual/conf.texi (Limits on File System Capacity): Mention if
5814 terminating null is included in the max size.
5816 2012-12-10 Andreas Jaeger <aj@suse.de>
5818 * po/cs.po: Update from translation team.
5820 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5822 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5823 void pointer and cast to uintptr_t.
5824 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5826 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5827 * sysdeps/s390/s390-64/memset.S: Likewise.
5829 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5832 * menual/message.texi (Message Translation): Fix typos.
5833 (Helper programs for gettext): Likewise.
5835 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5838 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5841 2012-12-07 David S. Miller <davem@davemloft.net>
5843 * po/libc.pot: Update.
5845 2012-12-07 Richard Henderson <rth@redhat.com>
5848 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5849 normal/normal case to before the switch.
5850 (_FP_DIV): Likewise.
5852 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5853 Mike Frysinger <vapier@gentoo.org>
5855 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5856 check for __NR_fadvise64_64.
5858 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5860 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5861 0, not just to plain "0" as a statement.
5862 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5865 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5867 * NEWS: Use sourceware.org in Bugzilla URL.
5869 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5872 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5874 * stdio-common/tst-put-error.c (do_test): Add newline to the
5875 padded test to ensure flush.
5877 2012-12-05 Jeff Law <law@redhat.com>
5879 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5881 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5883 * README: Don't refer to ports add-on as distributed separately.
5884 Mention AArch64 in list of systems supported in the ports add-on.
5886 * LICENSES: Add more non-FSF copyright and license notices.
5888 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5891 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5893 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5894 10000 as width of padded output.
5896 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5898 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5900 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5901 variable LX with __attribute__ ((unused)).
5902 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5904 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5905 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5906 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5907 with __attribute__ ((unused)).
5909 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5911 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5913 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5915 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5916 (CFLAGS-nldbl-acos.c): New variable.
5917 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5918 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5919 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5920 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5921 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5922 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5923 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5924 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5925 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5926 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5927 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5928 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5929 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5930 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5931 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5932 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5933 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5934 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5935 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5936 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5937 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5938 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5939 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5940 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5941 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5942 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5943 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5944 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5945 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5946 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5947 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5948 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5949 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5950 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5951 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5952 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5953 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5954 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5955 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5956 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5957 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5958 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5959 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5960 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5961 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5962 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5963 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5964 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5965 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5966 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5967 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5968 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5969 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5970 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5971 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5972 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5973 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5974 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5975 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5976 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5977 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5978 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5979 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5980 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5981 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5982 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5983 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5984 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5985 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5986 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5987 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5988 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5989 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5990 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5991 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5992 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5993 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5994 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5995 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5996 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5997 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5998 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5999 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
6000 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
6001 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
6002 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
6003 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
6004 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6005 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6006 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6007 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6008 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6009 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6010 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6011 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6012 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6013 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6016 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6019 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6020 whole low double instead of just low 47 bits when splitting values
6023 2012-12-03 Allan McRae <allan@archlinux.org>
6025 * manual/stdio.texi (Predefined Printf Handlers): Remove
6026 @hsep and @vsep usage.
6028 2012-12-03 Mike Frysinger <vapier@gentoo.org>
6030 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6031 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6033 2012-12-03 Jeff Law <law@redhat.com>
6035 * time/sys/time.h (settimeofday): Do not mark TV argument
6038 2012-12-01 Mike Frysinger <vapier@gentoo.org>
6040 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6041 when currently writing and seek to current position when not.
6042 * libio/Makefile (tests): Remove bug-fclose1.
6043 * libio/bug-fclose1.c: Delete.
6045 2012-12-01 Joseph Myers <joseph@codesourcery.com>
6047 * manual/arith.texi (feenableexcept): Fix typo.
6048 (fedisableexcept): Likewise.
6050 2012-11-30 Roland McGrath <roland@hack.frob.com>
6052 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6053 second, differently-typed declaration, rather than a cast.
6055 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6057 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6058 * include/rpc/svc.h: ... here.
6060 2012-11-30 Aurelien Jarno <aurel32@debian.org>
6063 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6064 depending n and resplen2 to catch cases where answer
6067 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6069 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6070 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6072 2012-11-29 Mike Frysinger <vapier@gentoo.org>
6074 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6076 2012-11-29 Roland McGrath <roland@hack.frob.com>
6078 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6080 2012-11-28 Jeff Law <law@redhat.com>
6083 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6084 dataset_temporary. Track alloca usage into alloca_used.
6085 If dataset is large allocate and release it via malloc/free.
6087 2012-06-04 Florian Weimer <fweimer@redhat.com>
6090 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6092 2012-11-28 David S. Miller <davem@davemloft.net>
6094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6096 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6099 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6100 of pi/2 rounded to nearest to 64 bits.
6101 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6103 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6106 2012-11-28 Jeff Law <law@redhat.com>
6107 Martin Osvald <mosvald@redhat.com>
6110 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6111 * sunrpc/svc.c: Include time.h.
6112 (__svc_accept_failed): New function.
6113 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6114 any reason other than EINTR, call __svc_accept_failed.
6115 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6116 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6118 2012-11-28 Andreas Schwab <schwab@suse.de>
6120 * scripts/abilist.awk: Also handle indirect functions in .opd
6123 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6126 * sysdeps/x86/fpu/powl_helper.c: New file.
6127 * sysdeps/x86/fpu/Makefile: Likewise.
6128 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6130 (__ieee754_powl): Use __powl_helper for finite arguments except
6131 integer exponents below 8.
6132 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6134 (__ieee754_powl): Use __powl_helper for finite arguments except
6135 integer exponents below 8.
6136 * math/libm-test.inc (pow_test): Add more tests and enable some
6137 previously disabled tests.
6138 * sysdeps/i386/fpu/libm-test-ulps: Update.
6139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6141 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6142 Carlos O'Donell <carlos_odonell@mentor.com>
6144 * nss/makedb.c (is_prime): Assert that input is odd and greater
6145 than 4. Note that fact in a comment too.
6146 (next_prime): Add 4 to input.
6148 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6151 * libio/Makefile (tests): Add test case tst-fwrite-error.
6152 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6153 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6154 * libio/tst-fwrite-error.c: New test case.
6156 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6158 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6159 before casting to void *.
6160 * include/libc-internal.h (__pointer_type): New macro.
6161 (__integer_if_pointer_type_sub): Likewise.
6162 (__integer_if_pointer_type): Likewise.
6163 (cast_to_integer): Likewise.
6164 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6165 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6166 before casting to atomic64_t.
6167 (atomic_exchange_acq): Likewise.
6168 (__arch_exchange_and_add_body): Likewise.
6169 (__arch_add_body): Likewise.
6170 (atomic_add_negative): Likewise.
6171 (atomic_add_zero): Likewise.
6173 2012-11-26 Joseph Myers <joseph@codesourcery.com>
6175 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6176 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6177 (add_fdes): Likewise.
6178 (linear_search_fdes): Likewise.
6179 (binary_search_unencoded_fdes): Likewise.
6181 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
6183 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6185 2012-11-24 Adam Conrad <adconrad@0c3.net>
6187 * configure.in: Autodetect C++ header directories.
6188 * configure: Regenerated.
6190 2012-11-23 Mike Frysinger <vapier@gentoo.org>
6192 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6194 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
6196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6198 2012-11-22 Joseph Myers <joseph@codesourcery.com>
6200 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6201 LDBL_MANT_DIG == 106]: Disable some tests.
6202 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6204 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6208 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6209 input for small inputs. Return +/- pi/2 for large inputs.
6210 * math/libm-test.inc (atan_test): Add more tests.
6212 * sysdeps/generic/unwind-dw2-fde-glibc.c
6213 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6214 __attribute__ ((unused)).
6217 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6218 x * y if x and y are nonzero and z is zero.
6221 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6222 nonzero exponents with absolute value below 0x1p-117 to +/-
6226 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6227 up arguments below 2**-450, not just those below 2**-500.
6228 * math/libm-test.inc (hypot_test): Add another test.
6231 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6232 Return a+b for ratio over 2**120, not 2**60.
6233 * math/libm-test.inc (hypot_test): Add another test.
6235 * math/libm-test.inc (clog_test): Use
6236 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6237 (clog10_test): Likewise.
6240 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6242 2012-11-22 Andreas Schwab <schwab@suse.de>
6244 * sysdeps/i386/fpu/libm-test-ulps: Update.
6246 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6248 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6249 printf output with newline.
6251 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6254 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6255 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6256 -z nodlopen, -z initfirst and -z execstack support.
6257 * configure: Regenerated.
6259 * elf/elf.h (DF_1_NODIRECT): New macro.
6260 (DF_1_IGNMULDEF): Likewise.
6261 (DF_1_NOKSYMS): Likewise.
6262 (DF_1_NOHDR): Likewise.
6263 (DF_1_EDITED): Likewise.
6264 (DF_1_NORELOC): Likewise.
6265 (DF_1_SYMINTPOSE): Likewise.
6266 (DF_1_GLOBAUDIT): Likewise.
6267 (DF_1_SINGLETON): Likewise.
6268 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6269 DT_1_SUPPORTED_MASK bits.
6270 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6272 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6274 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6276 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6278 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6281 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6282 (sendmmsg): Move declarations...
6283 * socket/sys/socket.h: ... here.
6284 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6285 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6287 * socket/recvmmsg.c: ... this new file.
6288 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6289 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6290 definition of __sendmmsg hidden.
6291 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6292 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6293 Move ENOSYS stub into and include it from...
6294 * socket/sendmmsg.c: ... this new file.
6295 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6296 (sysdep_routines): Move recvmmsg and sendmmsg...
6297 * socket/Makefile (routines): ... here.
6298 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6299 (GLIBC_PRIVATE): Add __sendmmsg.
6300 * include/sys/socket.h (__sendmmsg): Add declarations.
6301 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6304 2012-11-20 Joseph Myers <joseph@codesourcery.com>
6306 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6307 variable I1 with __attribute__ ((unused)).
6308 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6310 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6312 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6313 DUMMY variables with __attribute__ ((unused)).
6315 * bits/byteswap.h: Include <bits/types.h>.
6316 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6318 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6320 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6321 string_t. Do not manually set errno.
6322 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6323 length with __strnlen. Make sure to both set errno and return it on
6326 2012-11-19 David S. Miller <davem@davemloft.net>
6328 With help from Joseph Myers.
6329 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6330 very large arguments properly.
6331 * math/libm-test.inc (atan_test): New tests.
6332 (atan2_test): New tests.
6333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6334 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6336 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6339 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6342 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6343 [POSIX] (EADDRNOTAVAIL): Likewise.
6344 [POSIX] (EAFNOSUPPORT): Likewise.
6345 [POSIX] (EALREADY): Likewise.
6346 [POSIX] (ECONNABORTED): Likewise.
6347 [POSIX] (ECONNREFUSED): Likewise.
6348 [POSIX] (ECONNRESET): Likewise.
6349 [POSIX] (EDESTADDRREQ): Likewise.
6350 [POSIX] (EDQUOT): Likewise.
6351 [POSIX] (EHOSTUNREACH): Likewise.
6352 [POSIX] (EIDRM): Likewise.
6353 [POSIX] (EISCONN): Likewise.
6354 [POSIX] (ELOOP): Likewise.
6355 [POSIX] (EMULTIHOP): Likewise.
6356 [POSIX] (ENETDOWN): Likewise.
6357 [POSIX] (ENETUNREACH): Likewise.
6358 [POSIX] (ENOBUFS): Likewise.
6359 [POSIX] (ENODATA): Likewise.
6360 [POSIX] (ENOLINK): Likewise.
6361 [POSIX] (ENOMSG): Likewise.
6362 [POSIX] (ENOPROTOOPT): Likewise.
6363 [POSIX] (ENOSR): Likewise.
6364 [POSIX] (ENOSTR): Likewise.
6365 [POSIX] (ENOTCONN): Likewise.
6366 [POSIX] (ENOTSOCK): Likewise.
6367 [POSIX] (EOPNOTSUPP): Likewise.
6368 [POSIX] (EOVERFLOW): Likewise.
6369 [POSIX] (EPROTO): Likewise.
6370 [POSIX] (EPROTONOSUPPORT): Likewise.
6371 [POSIX] (EPROTOTYPE): Likewise.
6372 [POSIX] (ESTALE): Likewise.
6373 [POSIX] (ETIME): Likewise.
6374 [POSIX] (ETXTBSY): Likewise.
6375 [POSIX] (EWOULDBLOCK): Likewise.
6376 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6377 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6378 [POSIX] (SEEK_CUR): Likewise.
6379 [POSIX] (SEEK_END): Likewise.
6380 [POSIX || UNIX98] (mode_t): Do not require.
6381 [POSIX] (off_t): Likewise.
6382 [POSIX] (pid_t): Likewise.
6383 [POSIX] (sys/stat.h): Do not allow header.
6384 [POSIX] (unistd.h): Likewise.
6385 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6386 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6387 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6388 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6390 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6391 sigevent): Specify elements.
6392 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6394 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6395 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6397 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6398 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6399 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6400 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6401 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6402 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6403 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6404 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6405 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6406 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6407 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6408 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6409 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6410 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6412 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6414 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6416 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6418 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6419 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6420 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6421 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6422 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6423 Specify lower bound on value.
6424 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6425 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6426 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6427 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6428 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6429 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6430 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6431 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6433 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6435 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6436 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6437 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6438 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6439 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6440 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6441 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6442 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6443 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6444 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6445 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6446 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6447 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6448 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6449 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6450 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6452 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6454 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6455 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6456 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6457 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6458 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6459 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6461 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6462 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6463 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6464 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6465 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6466 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6467 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6469 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6470 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6471 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6472 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6473 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6474 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6475 specify as optional.
6476 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6477 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6478 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6479 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6480 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6481 [XPG3] (NL_LANGMAX): Likewise.
6482 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6483 [POSIX || XPG3] (NL_NMAX): Likewise.
6484 [POSIX || XPG3] (NL_SETMAX): Likewise.
6485 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6486 [XPG3] (NZERO): Likewise.
6487 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6488 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6489 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6490 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6491 (REG_ERANGE): Expect.
6492 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6494 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6495 Use (void) in prototype.
6496 [POSIX] (*_t): Allow.
6497 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6498 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6499 (WRDE_BADVAL): Expect.
6501 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6503 [XPG3 || XPG4] (O_RSYNC): Likewise.
6504 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6506 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6507 [XPG3 || XPG4] (sigqueue): Likewise.
6508 [XPG3 || XPG4] (sigtimedwait): Likewise.
6509 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6510 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6511 [XPG3 || XPG4] (vsnprintf): Likewise.
6512 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6514 [XPG3 || XPG4] (blksize_t): Likewise.
6515 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6517 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6518 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6519 [XPG3 || XPG4] (struct itimerspec): Likewise.
6520 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6521 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6522 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6523 [XPG3 || XPG4] (clockid_t): Likewise.
6524 [XPG3 || XPG4] (timer_t): Likewise.
6525 [XPG3 || XPG4] (clock_getres): Likewise.
6526 [XPG3 || XPG4] (clock_gettime): Likewise.
6527 [XPG3 || XPG4] (clock_settime): Likewise.
6528 [XPG3 || XPG4] (nanosleep): Likewise.
6529 [XPG3 || XPG4] (timer_create): Likewise.
6530 [XPG3 || XPG4] (timer_delete): Likewise.
6531 [XPG3 || XPG4] (timer_gettime): Likewise.
6532 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6533 [XPG3 || XPG4] (timer_settime): Likewise.
6534 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6535 [XPG3 || XPG4] (getlogin_r): Likewise.
6536 [XPG3 || XPG4] (pread): Likewise.
6537 [XPG3 || XPG4] (pthread_atfork): Likewise.
6538 [XPG3 || XPG4] (pwrite): Likewise.
6541 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6544 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6546 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6547 finalizing MALLSTREAM.
6549 * sysdeps/mach/hurd/syncfs.c: New file.
6551 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6554 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6555 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6556 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6557 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6558 (_nss_dns_gethostbyname4_r): Likewise.
6559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6560 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6562 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6565 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6567 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6569 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6570 * elf/cache.c (print_entry): Print ",AArch64" for
6573 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6574 * elf/cache.c (print_entry): Print ",hard-float" for
6577 2012-11-18 David S. Miller <davem@davemloft.net>
6579 With help from Joseph Myers.
6580 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6582 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6584 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6585 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6587 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6588 * math/libm-test.inc (y0_test): New tests.
6589 (y1_test): New tests.
6590 * sysdeps/i386/fpu/libm-test-ulps: Update.
6591 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6594 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6596 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6598 * configure: Regenerated.
6600 2012-11-17 David S. Miller <davem@davemloft.net>
6603 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6604 nonzero exponents with absolute value below 0x1p-128 to +/-
6607 2012-11-17 Joseph Myers <joseph@codesourcery.com>
6609 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6611 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6613 * posix/getconf-speclist.c: New file.
6614 * posix/posix-envs.def: Likewise.
6615 * posix/confstr.c (START_ENV_GROUP): New macro.
6616 (END_ENV_GROUP): Likewise.
6617 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6618 (KNOWN_PRESENT_ENV_STRING): Likewise.
6619 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6620 (UNKNOWN_ENVIRONMENT): Likewise.
6621 (confstr): Include posix-envs.def instead of handling
6622 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6623 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6624 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6625 (END_ENV_GROUP): Likewise.
6626 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6627 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6628 (UNKNOWN_ENVIRONMENT): Likewise.
6629 (__sysconf): Include posix-envs.def instead of handling associated
6630 cases directly here.
6631 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6632 preprocessing getconf-speclist.c rather than running getconf or
6633 generating empty file.
6635 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6637 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6639 2012-11-16 Andrej Lajovic <natrij@gmail.com>
6642 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6644 2012-11-16 David S. Miller <davem@davemloft.net>
6646 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6647 smaller than LDBL_EPSILON/2.0L, just return xm1.
6649 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6651 * elf/tst-array1.c (init): Set constructor priority to 1000.
6652 (fini): Set destructor priority to 1000.
6653 * elf/tst-array2dep.c: Likewise.
6655 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6658 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6659 (_IO_new_file_xsputn): Also return EOF if none of the input
6660 data was written when overflow failed.
6661 * libio/iopadn.c (_IO_padn): Likewise.
6662 * libio/iowpadn.c (_IO_wpadn): Likewise.
6663 * stdio-common/tst-put-error.c: Add copyright notice.
6664 (do_test): Add case for printing padded string.
6665 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6666 _IO_padn returned error.
6667 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6668 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6671 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6673 * libio/libioP.h: Add comment note that the references to C++
6674 bits are now obsolete.
6676 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6678 * math/libm-test.inc (check_complex): Use asprintf.
6680 2012-11-14 Joseph Myers <joseph@codesourcery.com>
6682 * debug/pcprofiledump.c (print_version): Update copyright year.
6683 * malloc/memusagestat.c (print_version): Likewise.
6685 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6688 * elf/Makefile (tests): Add tst-audit8.
6689 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6690 ($(objpfx)tst-audit8.out): New target.
6691 (tst-audit8-ENV): New variable.
6692 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6693 audit if l_reloc_result is NULL.
6694 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6695 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6696 * elf/tst-audit8.c: New file.
6698 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6700 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6701 * misc/Makefile (CFLAGS-select.c): Define.
6702 * posix/Makefile (CFLAGS-pause.c): Define.
6704 2012-11-13 David S. Miller <davem@davemloft.net>
6706 * crypt/Makefile: Move test targets after toplevel Rules
6707 inclusion. Grab any necessary sysdep routines when linking.
6708 * crypt/md5.c (md5_process_block): Remove define, we will always
6709 name it __md5_process_block.
6710 (md5_finish_ctx): Update md5_process_block call.
6711 (md5_stream): Likewise.
6712 (md5_process_bytes): Likewise.
6713 (md5_process_block): Rename to __md5_process_block and move to ...
6714 * crypt/md5-block.c: ... here.
6715 * crypt/sha256.c (sha256_process_block): Move to ...
6716 * crypt/sha256-block.c: ... here.
6717 * crypt/sha512.c (sha512_process_block): Move to ...
6718 * crypt/sha512-block.c: ... here.
6719 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6721 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6722 * sysdeps/sparc/sparc64/multiarch/Makefile
6723 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6725 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6726 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6728 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6729 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6730 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6731 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6732 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6733 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6734 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6735 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6736 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6738 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6739 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6741 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6743 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6745 * timezone/tzselect.ksh: Update from tzcode git revision
6746 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6747 * timezone/zdump.c: Likewise.
6748 * timezone/zic.c: Likewise.
6749 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6750 in TZVERSION setting, not $(PKGVERSION).
6751 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6752 REPORT_BUGS_TO settings.
6755 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6758 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6760 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6761 detection to immediately after _FP_ROUND().
6762 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6765 2012-11-11 David S. Miller <davem@davemloft.net>
6767 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6769 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6770 __close rather than their public counterparts.
6772 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6774 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6776 [UNIX98] (sem_timedwait): Do not expect.
6777 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6778 [XPG4 || UNIX98] (sockatmark): Do not expect.
6779 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6780 (clock_getcpuclockid): Do not expect.
6781 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6782 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6784 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6785 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6786 [UNIX98] (vwscanf): Likewise.
6787 [UNIX98] (vswscanf): Likewise.
6789 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6791 * timezone/version.h: Remove file.
6792 * timezone/README: Do not refer to version.h.
6793 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6795 ($(objpfx)zdump.o): Likewise.
6796 ($(objpfx)version.h): New target.
6798 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6800 * timezone/README: Don't mention modification to tzselect.ksh.
6801 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6802 work on unmodified tzselect.ksh. Substitute version numbers in
6805 * Makefile (format-me): Remove.
6806 (INSTALL): Adjust indentation. Use commands directly instead of
6809 * aclocal.m4 (ACX_PKGVERSION): New macro.
6810 (ACX_BUGURL): Likewise.
6811 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6812 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6813 (REPORT_BUGS_TO): Likewise.
6814 * configure: Regenerated.
6815 * config.h.in (PKGVERSION): New macro.
6816 (REPORT_BUGS_TO): Likewise.
6817 * config.make.in (PKGVERSION): New variable.
6818 (PKGVERSION_TEXI): Likewise.
6819 (REPORT_BUGS_TO): Likewise.
6820 (REPORT_BUGS_TEXI): Likewise.
6821 * Makefile (format-me): Use -I$(common-objpfx)manual.
6822 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6823 ($(common-objpfx)manual/%): New target.
6824 (manual/%): Remove target.
6825 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6826 (print_version): Use PKGVERSION.
6827 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6828 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6830 ($(objpfx)xtrace): Likewise.
6831 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6832 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6833 (print_version): Use PKGVERSION.
6834 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6835 (do_version): Use PKGVERSION.
6836 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6838 (common-ldd-rewrite): Likewise.
6839 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6840 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6841 (print_version): Use PKGVERSION.
6842 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6843 * elf/pldd.c (argp_program_bug_address): Remove variable.
6844 (more_help): New function.
6845 (argp): Use more_help.
6846 (print_version): Use PKGVERSION.
6847 * elf/sln.c (main): Use PKGVERSION.
6848 (usage): Use REPORT_BUGS_TO.
6849 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6850 (top level): Use PKGVERSION.
6851 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6852 (print_version): Use PKGVERSION.
6853 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6854 (print_version): Use PKGVERSION.
6855 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6856 (print_version): Use PKGVERSION.
6857 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6858 (print_version): Use PKGVERSION.
6859 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6860 (print_version): Use PKGVERSION.
6861 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6862 (print_version): Use PKGVERSION.
6863 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6865 ($(objpfx)memusage): Likewise.
6866 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6867 (do_version): Use PKGVERSION.
6868 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6869 (print_version): Use PKGVERSION.
6870 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6871 ($PKGVERSION): New variable.
6872 ($REPORT_BUGS_TO): Likewise.
6873 (usage): Use $REPORT_BUGS_TO.
6874 (top level): Use $PKGVERSION.
6875 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6876 ($(objpfx)pkgvers.texi): New rule.
6877 ($(objpfx)stamp-pkgvers): Likewise.
6878 * manual/install.texi: Include pkgvers.texi.
6879 (--with-pkgversion): Document new configure option.
6880 (--with-bugurl): Likewise.
6881 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6882 than necessarily for this particular distribution. Use
6883 REPORT_BUGS_TO for where to report bugs.
6884 * INSTALL: Regenerated.
6885 * manual/libc.texinfo: Include pkgvers.texi.
6886 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6887 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6888 (print_version): Use PKGVERSION.
6889 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6890 (print_version): Use PKGVERSION.
6891 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6892 (print_version): Use PKGVERSION.
6893 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6894 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6896 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6897 (print_version): Use PKGVERSION.
6898 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6899 (print_version): Use PKGVERSION.
6900 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6903 * timezone/checktab.awk: Update from tzcode 2012i.
6904 * timezone/ialloc.c: Likewise.
6905 * timezone/private.h: Likewise.
6906 * timezone/scheck.c: Likewise.
6907 * timezone/tzfile.h: Likewise.
6908 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6909 (TZVERSION): Hardcode tzcode version number.
6910 * timezone/zdump.c: Update from tzcode 2012i.
6911 * timezone/zic.c: Likewise.
6912 * timezone/version.h: New file.
6913 * timezone/README: Describe version.h. Update upstream location.
6916 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6917 (mktemp): Enable declaration.
6918 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6919 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6920 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6921 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6923 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6925 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6927 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6929 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6931 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6935 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6936 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6937 for copies of such integer values.
6938 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6939 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6941 2012-11-09 Andreas Jaeger <aj@suse.de>
6943 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6944 definitions and declarations that are provided by
6945 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6947 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6949 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6950 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6951 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6954 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6956 * elf/elf.h: Update comment before AArch64 relocations.
6958 2012-11-07 David S. Miller <davem@davemloft.net>
6960 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6961 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6962 (__start_context): Declare.
6963 (__makecontext_ret): Delete.
6964 (__makecontext): Hook up __start_context instead of
6966 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6967 (sysdep_routines): Add __start_context when in stdlib.
6969 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6971 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6972 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6973 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6975 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6976 (READELF): New variable. Use it instead of hardcoded "readelf".
6978 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6980 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6981 * sysdeps/x86/Makefile: Here.
6982 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6983 * sysdeps/x86/tst-xmmymm.sh: This.
6985 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6987 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6989 [UNIX98] (pthread_barrier_t): Do not expect.
6990 [UNIX98] (pthread_barrierattr_t): Likewise.
6991 [UNIX98] (pthread_spinlock_t): Likewise.
6992 [UNIX98] (pthread_barrier_destroy): Likewise.
6993 [UNIX98] (pthread_barrier_init): Likewise.
6994 [UNIX98] (pthread_barrier_wait): Likewise.
6995 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6996 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6997 [UNIX98] (pthread_barrierattr_init): Likewise.
6998 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6999 [UNIX98] (pthread_getcpuclockid): Likewise.
7000 [UNIX98] (pthread_mutex_timedlock): Likewise.
7001 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
7002 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
7003 [UNIX98] (pthread_sigmask): Likewise.
7004 [UNIX98] (pthread_spin_destroy): Likewise.
7005 [UNIX98] (pthread_spin_init): Likewise.
7006 [UNIX98] (pthread_spin_lock): Likewise.
7007 [UNIX98] (pthread_spin_trylock): Likewise.
7008 [UNIX98] (pthread_spin_unlock): Likewise.
7009 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7011 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7012 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7013 [XPG3 || XPG4] (pthread_cond_t): Likewise.
7014 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7015 [XPG3 || XPG4] (pthread_key_t): Likewise.
7016 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7017 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7018 [XPG3 || XPG4] (pthread_once_t): Likewise.
7019 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7020 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7021 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7022 [XPG3 || XPG4] (pthread_t): Likewise.
7024 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7026 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7028 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7029 Change function return type to int.
7031 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7032 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7033 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7034 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7035 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7036 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7037 [!POSIX] (posix_madvise): Likewise.
7038 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7040 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7041 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7043 (posix_mem_offset): Likewise.
7044 (posix_typed_mem_get_info): Likewise.
7045 (posix_typed_mem_open): Likewise.
7047 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7048 Change condition to [XOPEN2K8].
7050 * conform/conformtest.pl: Preprocess allow-header data with -x c
7051 instead of from stdin.
7052 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7053 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7054 [C99-based standards] (cerfc): Likewise.
7055 [C99-based standards] (cexp2): Likewise.
7056 [C99-based standards] (cexpm1): Likewise.
7057 [C99-based standards] (clog10): Likewise.
7058 [C99-based standards] (clog1p): Likewise.
7059 [C99-based standards] (clog2): Likewise.
7060 [C99-based standards] (clgamma): Likewise.
7061 [C99-based standards] (ctgamma): Likewise.
7062 [C99-based standards] (cerff): Likewise.
7063 [C99-based standards] (cerfcf): Likewise.
7064 [C99-based standards] (cexp2f): Likewise.
7065 [C99-based standards] (cexpm1f): Likewise.
7066 [C99-based standards] (clog10f): Likewise.
7067 [C99-based standards] (clog1pf): Likewise.
7068 [C99-based standards] (clog2f): Likewise.
7069 [C99-based standards] (clgammaf): Likewise.
7070 [C99-based standards] (ctgammaf): Likewise.
7071 [C99-based standards] (cerfl): Likewise.
7072 [C99-based standards] (cerfcl): Likewise.
7073 [C99-based standards] (cexp2l): Likewise.
7074 [C99-based standards] (cexpm1l): Likewise.
7075 [C99-based standards] (clog10l): Likewise.
7076 [C99-based standards] (clog1pl): Likewise.
7077 [C99-based standards] (clog2l): Likewise.
7078 [C99-based standards] (clgammal): Likewise.
7079 [C99-based standards] (ctgammal): Likewise.
7080 * conform/data/inttypes.h-data [C99-based standards]: Include
7081 stdint.h-data. Remove all expectations for stdint.h contents.
7082 [C99-based standards] (PRI*): Do not allow.
7083 [C99-based standards] (SCN*): Likewise.
7084 [C99-based standards] (*_t): Likewise.
7085 [C99-based-standards] (PRId8): Expect macro.
7086 [C99-based-standards] (PRIi8): Likewise.
7087 [C99-based-standards] (PRIo8): Likewise.
7088 [C99-based-standards] (PRIu8): Likewise.
7089 [C99-based-standards] (PRIx8): Likewise.
7090 [C99-based-standards] (PRIX8): Likewise.
7091 [C99-based-standards] (SCNd8): Likewise.
7092 [C99-based-standards] (SCNi8): Likewise.
7093 [C99-based-standards] (SCNo8): Likewise.
7094 [C99-based-standards] (SCNu8): Likewise.
7095 [C99-based-standards] (SCNx8): Likewise.
7096 [C99-based-standards] (PRIdLEAST8): Likewise.
7097 [C99-based-standards] (PRIiLEAST8): Likewise.
7098 [C99-based-standards] (PRIoLEAST8): Likewise.
7099 [C99-based-standards] (PRIuLEAST8): Likewise.
7100 [C99-based-standards] (PRIxLEAST8): Likewise.
7101 [C99-based-standards] (PRIXLEAST8): Likewise.
7102 [C99-based-standards] (SCNdLEAST8): Likewise.
7103 [C99-based-standards] (SCNiLEAST8): Likewise.
7104 [C99-based-standards] (SCNoLEAST8): Likewise.
7105 [C99-based-standards] (SCNuLEAST8): Likewise.
7106 [C99-based-standards] (SCNxLEAST8): Likewise.
7107 [C99-based-standards] (PRIdFAST8): Likewise.
7108 [C99-based-standards] (PRIiFAST8): Likewise.
7109 [C99-based-standards] (PRIoFAST8): Likewise.
7110 [C99-based-standards] (PRIuFAST8): Likewise.
7111 [C99-based-standards] (PRIxFAST8): Likewise.
7112 [C99-based-standards] (PRIXFAST8): Likewise.
7113 [C99-based-standards] (SCNdFAST8): Likewise.
7114 [C99-based-standards] (SCNiFAST8): Likewise.
7115 [C99-based-standards] (SCNoFAST8): Likewise.
7116 [C99-based-standards] (SCNuFAST8): Likewise.
7117 [C99-based-standards] (SCNxFAST8): Likewise.
7118 [C99-based-standards] (PRId16): Likewise.
7119 [C99-based-standards] (PRIi16): Likewise.
7120 [C99-based-standards] (PRIo16): Likewise.
7121 [C99-based-standards] (PRIu16): Likewise.
7122 [C99-based-standards] (PRIx16): Likewise.
7123 [C99-based-standards] (PRIX16): Likewise.
7124 [C99-based-standards] (SCNd16): Likewise.
7125 [C99-based-standards] (SCNi16): Likewise.
7126 [C99-based-standards] (SCNo16): Likewise.
7127 [C99-based-standards] (SCNu16): Likewise.
7128 [C99-based-standards] (SCNx16): Likewise.
7129 [C99-based-standards] (PRIdLEAST16): Likewise.
7130 [C99-based-standards] (PRIiLEAST16): Likewise.
7131 [C99-based-standards] (PRIoLEAST16): Likewise.
7132 [C99-based-standards] (PRIuLEAST16): Likewise.
7133 [C99-based-standards] (PRIxLEAST16): Likewise.
7134 [C99-based-standards] (PRIXLEAST16): Likewise.
7135 [C99-based-standards] (SCNdLEAST16): Likewise.
7136 [C99-based-standards] (SCNiLEAST16): Likewise.
7137 [C99-based-standards] (SCNoLEAST16): Likewise.
7138 [C99-based-standards] (SCNuLEAST16): Likewise.
7139 [C99-based-standards] (SCNxLEAST16): Likewise.
7140 [C99-based-standards] (PRIdFAST16): Likewise.
7141 [C99-based-standards] (PRIiFAST16): Likewise.
7142 [C99-based-standards] (PRIoFAST16): Likewise.
7143 [C99-based-standards] (PRIuFAST16): Likewise.
7144 [C99-based-standards] (PRIxFAST16): Likewise.
7145 [C99-based-standards] (PRIXFAST16): Likewise.
7146 [C99-based-standards] (SCNdFAST16): Likewise.
7147 [C99-based-standards] (SCNiFAST16): Likewise.
7148 [C99-based-standards] (SCNoFAST16): Likewise.
7149 [C99-based-standards] (SCNuFAST16): Likewise.
7150 [C99-based-standards] (SCNxFAST16): Likewise.
7151 [C99-based-standards] (PRId32): Likewise.
7152 [C99-based-standards] (PRIi32): Likewise.
7153 [C99-based-standards] (PRIo32): Likewise.
7154 [C99-based-standards] (PRIu32): Likewise.
7155 [C99-based-standards] (PRIx32): Likewise.
7156 [C99-based-standards] (PRIX32): Likewise.
7157 [C99-based-standards] (SCNd32): Likewise.
7158 [C99-based-standards] (SCNi32): Likewise.
7159 [C99-based-standards] (SCNo32): Likewise.
7160 [C99-based-standards] (SCNu32): Likewise.
7161 [C99-based-standards] (SCNx32): Likewise.
7162 [C99-based-standards] (PRIdLEAST32): Likewise.
7163 [C99-based-standards] (PRIiLEAST32): Likewise.
7164 [C99-based-standards] (PRIoLEAST32): Likewise.
7165 [C99-based-standards] (PRIuLEAST32): Likewise.
7166 [C99-based-standards] (PRIxLEAST32): Likewise.
7167 [C99-based-standards] (PRIXLEAST32): Likewise.
7168 [C99-based-standards] (SCNdLEAST32): Likewise.
7169 [C99-based-standards] (SCNiLEAST32): Likewise.
7170 [C99-based-standards] (SCNoLEAST32): Likewise.
7171 [C99-based-standards] (SCNuLEAST32): Likewise.
7172 [C99-based-standards] (SCNxLEAST32): Likewise.
7173 [C99-based-standards] (PRIdFAST32): Likewise.
7174 [C99-based-standards] (PRIiFAST32): Likewise.
7175 [C99-based-standards] (PRIoFAST32): Likewise.
7176 [C99-based-standards] (PRIuFAST32): Likewise.
7177 [C99-based-standards] (PRIxFAST32): Likewise.
7178 [C99-based-standards] (PRIXFAST32): Likewise.
7179 [C99-based-standards] (SCNdFAST32): Likewise.
7180 [C99-based-standards] (SCNiFAST32): Likewise.
7181 [C99-based-standards] (SCNoFAST32): Likewise.
7182 [C99-based-standards] (SCNuFAST32): Likewise.
7183 [C99-based-standards] (SCNxFAST32): Likewise.
7184 [C99-based-standards] (PRId64): Likewise.
7185 [C99-based-standards] (PRIi64): Likewise.
7186 [C99-based-standards] (PRIo64): Likewise.
7187 [C99-based-standards] (PRIu64): Likewise.
7188 [C99-based-standards] (PRIx64): Likewise.
7189 [C99-based-standards] (PRIX64): Likewise.
7190 [C99-based-standards] (SCNd64): Likewise.
7191 [C99-based-standards] (SCNi64): Likewise.
7192 [C99-based-standards] (SCNo64): Likewise.
7193 [C99-based-standards] (SCNu64): Likewise.
7194 [C99-based-standards] (SCNx64): Likewise.
7195 [C99-based-standards] (PRIdLEAST64): Likewise.
7196 [C99-based-standards] (PRIiLEAST64): Likewise.
7197 [C99-based-standards] (PRIoLEAST64): Likewise.
7198 [C99-based-standards] (PRIuLEAST64): Likewise.
7199 [C99-based-standards] (PRIxLEAST64): Likewise.
7200 [C99-based-standards] (PRIXLEAST64): Likewise.
7201 [C99-based-standards] (SCNdLEAST64): Likewise.
7202 [C99-based-standards] (SCNiLEAST64): Likewise.
7203 [C99-based-standards] (SCNoLEAST64): Likewise.
7204 [C99-based-standards] (SCNuLEAST64): Likewise.
7205 [C99-based-standards] (SCNxLEAST64): Likewise.
7206 [C99-based-standards] (PRIdFAST64): Likewise.
7207 [C99-based-standards] (PRIiFAST64): Likewise.
7208 [C99-based-standards] (PRIoFAST64): Likewise.
7209 [C99-based-standards] (PRIuFAST64): Likewise.
7210 [C99-based-standards] (PRIxFAST64): Likewise.
7211 [C99-based-standards] (PRIXFAST64): Likewise.
7212 [C99-based-standards] (SCNdFAST64): Likewise.
7213 [C99-based-standards] (SCNiFAST64): Likewise.
7214 [C99-based-standards] (SCNoFAST64): Likewise.
7215 [C99-based-standards] (SCNuFAST64): Likewise.
7216 [C99-based-standards] (SCNxFAST64): Likewise.
7217 [C99-based-standards] (PRIdMAX): Likewise.
7218 [C99-based-standards] (PRIiMAX): Likewise.
7219 [C99-based-standards] (PRIoMAX): Likewise.
7220 [C99-based-standards] (PRIuMAX): Likewise.
7221 [C99-based-standards] (PRIxMAX): Likewise.
7222 [C99-based-standards] (PRIXMAX): Likewise.
7223 [C99-based-standards] (SCNdMAX): Likewise.
7224 [C99-based-standards] (SCNiMAX): Likewise.
7225 [C99-based-standards] (SCNoMAX): Likewise.
7226 [C99-based-standards] (SCNuMAX): Likewise.
7227 [C99-based-standards] (SCNxMAX): Likewise.
7228 [C99-based-standards] (PRIdPTR): Likewise.
7229 [C99-based-standards] (PRIiPTR): Likewise.
7230 [C99-based-standards] (PRIoPTR): Likewise.
7231 [C99-based-standards] (PRIuPTR): Likewise.
7232 [C99-based-standards] (PRIxPTR): Likewise.
7233 [C99-based-standards] (PRIXPTR): Likewise.
7234 [C99-based-standards] (SCNdPTR): Likewise.
7235 [C99-based-standards] (SCNiPTR): Likewise.
7236 [C99-based-standards] (SCNoPTR): Likewise.
7237 [C99-based-standards] (SCNuPTR): Likewise.
7238 [C99-based-standards] (SCNxPTR): Likewise.
7239 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7241 * conform/data/stdint.h-data: Update comments to clarify
7243 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7245 [C99-based standards] (INT8_MAX): Likewise.
7246 [C99-based standards] (INT16_MIN): Likewise.
7247 [C99-based standards] (INT16_MAX): Likewise.
7248 [C99-based standards] (INT32_MIN): Likewise.
7249 [C99-based standards] (INT32_MAX): Likewise.
7250 [C99-based standards] (INT64_MIN): Likewise.
7251 [C99-based standards] (INT64_MAX): Likewise.
7252 [C99-based standards] (UINT8_MAX): Likewise.
7253 [C99-based standards] (UINT16_MAX): Likewise.
7254 [C99-based standards] (UINT32_MAX): Likewise.
7255 [C99-based standards] (UINT64_MAX): Likewise.
7256 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7257 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7258 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7259 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7260 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7261 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7262 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7263 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7264 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7265 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7266 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7267 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7268 [C99-based standards] (INT_FAST8_MIN): Likewise.
7269 [C99-based standards] (INT_FAST8_MAX): Likewise.
7270 [C99-based standards] (INT_FAST16_MIN): Likewise.
7271 [C99-based standards] (INT_FAST16_MAX): Likewise.
7272 [C99-based standards] (INT_FAST32_MIN): Likewise.
7273 [C99-based standards] (INT_FAST32_MAX): Likewise.
7274 [C99-based standards] (INT_FAST64_MIN): Likewise.
7275 [C99-based standards] (INT_FAST64_MAX): Likewise.
7276 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7277 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7278 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7279 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7280 [C99-based standards] (INTPTR_MIN): Likewise.
7281 [C99-based standards] (INTPTR_MAX): Likewise.
7282 [C99-based standards] (UINTPTR_MAX): Likewise.
7283 [C99-based standards] (INTMAX_MIN): Likewise.
7284 [C99-based standards] (INTMAX_MAX): Likewise.
7285 [C99-based standards] (UINTMAX_MAX): Likewise.
7286 [C99-based standards] (PTRDIFF_MIN): Likewise.
7287 [C99-based standards] (PTRDIFF_MAX): Likewise.
7288 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7289 [C99-based standards] (SIZE_MAX): Likewise.
7290 [C99-based standards] (WCHAR_MAX): Likewise.
7291 [C99-based standards] (WINT_MAX): Likewise.
7292 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7293 constraint on value.
7294 [C99-based standards] (WCHAR_MIN): Likewise.
7295 [C99-based standards] (WINT_MIN): Likewise.
7296 [C99-based standards] (*_t): Allow.
7297 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7298 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7299 Include math.h-data and complex.h-data. Remove all expectations
7300 of math.h and complex.h contents.
7301 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7303 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7304 (struct tm): Expect tag.
7305 [C99-based-standards] (wcstof): Expect function.
7306 [C99-based-standards] (wcstold): Likewise.
7307 [C99-based-standards] (wcstoll): Likewise.
7308 [C99-based-standards] (wcstoull): Likewise.
7309 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7310 macro-int-constant. Specify type.
7311 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7312 constraint on value.
7313 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7315 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7317 [ISO C standards]: Do not allow headers.
7318 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7319 wcs[abcdefghijklmnopqrstuvwxyz]*.
7320 [ISO C standards] (*_t): Do not allow.
7321 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7323 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7324 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7326 [ISO C standards]: Do not allow headers.
7327 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7328 is[abcdefghijklmnopqrstuvwxyz]*.
7329 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7330 to[abcdefghijklmnopqrstuvwxyz]*.
7331 [ISO C standards] (*_t): Do not allow.
7332 * conform/data/stdalign.h-data: New file.
7333 * conform/data/stdbool.h-data: Likewise.
7334 * conform/data/stdnoreturn.h-data: Likewise.
7336 2012-11-07 Roland McGrath <roland@hack.frob.com>
7339 * manual/filesys.texi (Directory Entries): Typo fix.
7340 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7342 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7344 * elf/elf.h (EM_AARCH64): New macro.
7345 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7346 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7347 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7348 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7349 (R_AARCH64_TLSDESC): Likewise.
7350 (NT_ARM_TLS): Likewise.
7351 (NT_ARM_HW_BREAK): Likewise.
7352 (NT_ARM_HW_WATCH): Likewise.
7354 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7357 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7358 (__ieee754_powl): Saturate nonzero exponents with absolute value
7359 below 0x1p-79 to +/- 0x1p-79.
7360 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7361 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7362 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7363 nonzero exponents with absolute value below 0x1p-32 to +/-
7365 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7366 (__ieee754_powl): Saturate nonzero exponents with absolute value
7367 below 0x1p-79 to +/- 0x1p-79.
7368 * math/libm-test.inc (pow_test): Add more tests.
7370 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7372 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7373 _dl_s390_cap_flags with kernel. Increase string length.
7374 (_dl_s390_platforms): Add z196 and zEC12.
7376 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7378 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7379 Change XOPEN21K to XOPEN2K.
7381 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7383 * string/memmove.c: Use memcpy when possible.
7385 2012-11-06 Andreas Jaeger <aj@suse.de>
7387 * po/eo.po: Update from translation team.
7389 2012-11-06 Joseph Myers <joseph@codesourcery.com>
7392 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7393 exponent and small x and y exponents, scale x or y up. Increase
7394 by 2 the exponent used in scaling up.
7395 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7396 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7397 * math/libm-test.inc (fma_test): Add more tests.
7398 (fma_test_towardzero): Likewise.
7399 (fma_test_downward): Likewise.
7400 (fma_test_upward): Likewise.
7402 2012-11-05 Joseph Myers <joseph@codesourcery.com>
7405 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7409 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7410 namespace for names of struct fields.
7411 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7413 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7414 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7416 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7419 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7421 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7423 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7427 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7430 2012-11-04 Joseph Myers <joseph@codesourcery.com>
7433 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7434 definitely overflow as x * y not x * y + z.
7435 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7436 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7437 * math/libm-test.inc (fma_test): Add more tests.
7438 (fma_test_towardzero): Likewise.
7439 (fma_test_downward): Likewise.
7440 (fma_test_upward): Likewise.
7442 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7446 * include/stub-tag.h: Remove file.
7447 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7449 * manual/maint.texi (Porting): Don't reference it.
7450 * Makerules ($(objpfx)stubs): Likewise.
7451 * dirent/closedir.c: Don't include <stub-tag.h>.
7452 * dirent/dirfd.c: Likewise.
7453 * dirent/fdopendir.c: Likewise.
7454 * dirent/getdents.c: Likewise.
7455 * dirent/getdents64.c: Likewise.
7456 * dirent/opendir.c: Likewise.
7457 * dirent/readdir.c: Likewise.
7458 * dirent/readdir64.c: Likewise.
7459 * dirent/readdir64_r.c: Likewise.
7460 * dirent/readdir_r.c: Likewise.
7461 * dirent/rewinddir.c: Likewise.
7462 * dirent/seekdir.c: Likewise.
7463 * dirent/telldir.c: Likewise.
7464 * gmon/profil.c: Likewise.
7465 * grp/setgroups.c: Likewise.
7466 * inet/if_index.c: Likewise.
7467 * io/access.c: Likewise.
7468 * io/chdir.c: Likewise.
7469 * io/chmod.c: Likewise.
7470 * io/chown.c: Likewise.
7471 * io/close.c: Likewise.
7472 * io/dup.c: Likewise.
7473 * io/dup2.c: Likewise.
7474 * io/dup3.c: Likewise.
7475 * io/euidaccess.c: Likewise.
7476 * io/faccessat.c: Likewise.
7477 * io/fchdir.c: Likewise.
7478 * io/fchmod.c: Likewise.
7479 * io/fchmodat.c: Likewise.
7480 * io/fchown.c: Likewise.
7481 * io/fchownat.c: Likewise.
7482 * io/fcntl.c: Likewise.
7483 * io/flock.c: Likewise.
7484 * io/fstatfs.c: Likewise.
7485 * io/fstatfs64.c: Likewise.
7486 * io/fstatvfs.c: Likewise.
7487 * io/fstatvfs64.c: Likewise.
7488 * io/futimens.c: Likewise.
7489 * io/fxstat.c: Likewise.
7490 * io/fxstat64.c: Likewise.
7491 * io/fxstatat.c: Likewise.
7492 * io/fxstatat64.c: Likewise.
7493 * io/getcwd.c: Likewise.
7494 * io/isatty.c: Likewise.
7495 * io/lchmod.c: Likewise.
7496 * io/lchown.c: Likewise.
7497 * io/link.c: Likewise.
7498 * io/linkat.c: Likewise.
7499 * io/lseek.c: Likewise.
7500 * io/lseek64.c: Likewise.
7501 * io/lxstat64.c: Likewise.
7502 * io/mkdir.c: Likewise.
7503 * io/mkdirat.c: Likewise.
7504 * io/mkfifo.c: Likewise.
7505 * io/mkfifoat.c: Likewise.
7506 * io/open.c: Likewise.
7507 * io/open64.c: Likewise.
7508 * io/openat.c: Likewise.
7509 * io/openat64.c: Likewise.
7510 * io/pipe.c: Likewise.
7511 * io/pipe2.c: Likewise.
7512 * io/poll.c: Likewise.
7513 * io/posix_fadvise.c: Likewise.
7514 * io/posix_fadvise64.c: Likewise.
7515 * io/posix_fallocate.c: Likewise.
7516 * io/posix_fallocate64.c: Likewise.
7517 * io/read.c: Likewise.
7518 * io/readlink.c: Likewise.
7519 * io/readlinkat.c: Likewise.
7520 * io/rmdir.c: Likewise.
7521 * io/sendfile.c: Likewise.
7522 * io/sendfile64.c: Likewise.
7523 * io/statfs.c: Likewise.
7524 * io/statfs64.c: Likewise.
7525 * io/statvfs.c: Likewise.
7526 * io/statvfs64.c: Likewise.
7527 * io/symlink.c: Likewise.
7528 * io/symlinkat.c: Likewise.
7529 * io/ttyname.c: Likewise.
7530 * io/ttyname_r.c: Likewise.
7531 * io/umask.c: Likewise.
7532 * io/unlink.c: Likewise.
7533 * io/unlinkat.c: Likewise.
7534 * io/utime.c: Likewise.
7535 * io/utimensat.c: Likewise.
7536 * io/write.c: Likewise.
7537 * io/xmknod.c: Likewise.
7538 * io/xmknodat.c: Likewise.
7539 * io/xstat.c: Likewise.
7540 * io/xstat64.c: Likewise.
7541 * login/getpt.c: Likewise.
7542 * login/grantpt.c: Likewise.
7543 * login/unlockpt.c: Likewise.
7544 * math/e_acoshl.c: Likewise.
7545 * math/e_acosl.c: Likewise.
7546 * math/e_asinl.c: Likewise.
7547 * math/e_atan2l.c: Likewise.
7548 * math/e_atanhl.c: Likewise.
7549 * math/e_coshl.c: Likewise.
7550 * math/e_expl.c: Likewise.
7551 * math/e_fmodl.c: Likewise.
7552 * math/e_gammal_r.c: Likewise.
7553 * math/e_hypotl.c: Likewise.
7554 * math/e_j0l.c: Likewise.
7555 * math/e_j1l.c: Likewise.
7556 * math/e_jnl.c: Likewise.
7557 * math/e_lgammal_r.c: Likewise.
7558 * math/e_log10l.c: Likewise.
7559 * math/e_log2l.c: Likewise.
7560 * math/e_logl.c: Likewise.
7561 * math/e_powl.c: Likewise.
7562 * math/e_rem_pio2l.c: Likewise.
7563 * math/e_sinhl.c: Likewise.
7564 * math/e_sqrtl.c: Likewise.
7565 * math/fclrexcpt.c: Likewise.
7566 * math/fedisblxcpt.c: Likewise.
7567 * math/feenablxcpt.c: Likewise.
7568 * math/fegetenv.c: Likewise.
7569 * math/fegetexcept.c: Likewise.
7570 * math/fegetround.c: Likewise.
7571 * math/feholdexcpt.c: Likewise.
7572 * math/fesetenv.c: Likewise.
7573 * math/fesetround.c: Likewise.
7574 * math/feupdateenv.c: Likewise.
7575 * math/fgetexcptflg.c: Likewise.
7576 * math/fraiseexcpt.c: Likewise.
7577 * math/fsetexcptflg.c: Likewise.
7578 * math/ftestexcept.c: Likewise.
7579 * math/k_cosl.c: Likewise.
7580 * math/k_rem_pio2l.c: Likewise.
7581 * math/k_sinl.c: Likewise.
7582 * math/k_tanl.c: Likewise.
7583 * math/s_asinhl.c: Likewise.
7584 * math/s_atanl.c: Likewise.
7585 * math/s_cbrtl.c: Likewise.
7586 * math/s_erfl.c: Likewise.
7587 * math/s_expm1l.c: Likewise.
7588 * math/s_log1pl.c: Likewise.
7589 * math/s_tanhl.c: Likewise.
7590 * misc/acct.c: Likewise.
7591 * misc/brk.c: Likewise.
7592 * misc/chflags.c: Likewise.
7593 * misc/chroot.c: Likewise.
7594 * misc/fchflags.c: Likewise.
7595 * misc/fgetxattr.c: Likewise.
7596 * misc/flistxattr.c: Likewise.
7597 * misc/fremovexattr.c: Likewise.
7598 * misc/fsetxattr.c: Likewise.
7599 * misc/fsync.c: Likewise.
7600 * misc/ftruncate.c: Likewise.
7601 * misc/futimes.c: Likewise.
7602 * misc/futimesat.c: Likewise.
7603 * misc/getdomain.c: Likewise.
7604 * misc/getdtsz.c: Likewise.
7605 * misc/gethostid.c: Likewise.
7606 * misc/gethostname.c: Likewise.
7607 * misc/getloadavg.c: Likewise.
7608 * misc/getpagesize.c: Likewise.
7609 * misc/getsysstats.c: Likewise.
7610 * misc/getxattr.c: Likewise.
7611 * misc/gtty.c: Likewise.
7612 * misc/ioctl.c: Likewise.
7613 * misc/lgetxattr.c: Likewise.
7614 * misc/listxattr.c: Likewise.
7615 * misc/llistxattr.c: Likewise.
7616 * misc/lremovexattr.c: Likewise.
7617 * misc/lsetxattr.c: Likewise.
7618 * misc/lutimes.c: Likewise.
7619 * misc/madvise.c: Likewise.
7620 * misc/mincore.c: Likewise.
7621 * misc/mlock.c: Likewise.
7622 * misc/mlockall.c: Likewise.
7623 * misc/mmap.c: Likewise.
7624 * misc/mprotect.c: Likewise.
7625 * misc/msync.c: Likewise.
7626 * misc/munlock.c: Likewise.
7627 * misc/munlockall.c: Likewise.
7628 * misc/munmap.c: Likewise.
7629 * misc/preadv.c: Likewise.
7630 * misc/preadv64.c: Likewise.
7631 * misc/ptrace.c: Likewise.
7632 * misc/pwritev.c: Likewise.
7633 * misc/pwritev64.c: Likewise.
7634 * misc/readv.c: Likewise.
7635 * misc/reboot.c: Likewise.
7636 * misc/remap_file_pages.c: Likewise.
7637 * misc/removexattr.c: Likewise.
7638 * misc/revoke.c: Likewise.
7639 * misc/select.c: Likewise.
7640 * misc/setdomain.c: Likewise.
7641 * misc/setegid.c: Likewise.
7642 * misc/seteuid.c: Likewise.
7643 * misc/sethostid.c: Likewise.
7644 * misc/sethostname.c: Likewise.
7645 * misc/setregid.c: Likewise.
7646 * misc/setreuid.c: Likewise.
7647 * misc/setxattr.c: Likewise.
7648 * misc/sstk.c: Likewise.
7649 * misc/stty.c: Likewise.
7650 * misc/swapoff.c: Likewise.
7651 * misc/swapon.c: Likewise.
7652 * misc/sync.c: Likewise.
7653 * misc/syncfs.c: Likewise.
7654 * misc/syscall.c: Likewise.
7655 * misc/truncate.c: Likewise.
7656 * misc/ualarm.c: Likewise.
7657 * misc/usleep.c: Likewise.
7658 * misc/ustat.c: Likewise.
7659 * misc/utimes.c: Likewise.
7660 * misc/vhangup.c: Likewise.
7661 * misc/writev.c: Likewise.
7662 * posix/_exit.c: Likewise.
7663 * posix/alarm.c: Likewise.
7664 * posix/execve.c: Likewise.
7665 * posix/fexecve.c: Likewise.
7666 * posix/fork.c: Likewise.
7667 * posix/fpathconf.c: Likewise.
7668 * posix/getaddrinfo.c: Likewise.
7669 * posix/getegid.c: Likewise.
7670 * posix/geteuid.c: Likewise.
7671 * posix/getgid.c: Likewise.
7672 * posix/getgroups.c: Likewise.
7673 * posix/getlogin.c: Likewise.
7674 * posix/getlogin_r.c: Likewise.
7675 * posix/getpgid.c: Likewise.
7676 * posix/getpid.c: Likewise.
7677 * posix/getppid.c: Likewise.
7678 * posix/getresgid.c: Likewise.
7679 * posix/getresuid.c: Likewise.
7680 * posix/getsid.c: Likewise.
7681 * posix/getuid.c: Likewise.
7682 * posix/glob64.c: Likewise.
7683 * posix/nanosleep.c: Likewise.
7684 * posix/pathconf.c: Likewise.
7685 * posix/pause.c: Likewise.
7686 * posix/posix_madvise.c: Likewise.
7687 * posix/pread.c: Likewise.
7688 * posix/pread64.c: Likewise.
7689 * posix/pwrite.c: Likewise.
7690 * posix/pwrite64.c: Likewise.
7691 * posix/sched_getaffinity.c: Likewise.
7692 * posix/sched_getp.c: Likewise.
7693 * posix/sched_gets.c: Likewise.
7694 * posix/sched_primax.c: Likewise.
7695 * posix/sched_primin.c: Likewise.
7696 * posix/sched_rr_gi.c: Likewise.
7697 * posix/sched_setaffinity.c: Likewise.
7698 * posix/sched_setp.c: Likewise.
7699 * posix/sched_sets.c: Likewise.
7700 * posix/sched_yield.c: Likewise.
7701 * posix/setgid.c: Likewise.
7702 * posix/setlogin.c: Likewise.
7703 * posix/setpgid.c: Likewise.
7704 * posix/setresgid.c: Likewise.
7705 * posix/setresuid.c: Likewise.
7706 * posix/setsid.c: Likewise.
7707 * posix/setuid.c: Likewise.
7708 * posix/sleep.c: Likewise.
7709 * posix/spawni.c: Likewise.
7710 * posix/sysconf.c: Likewise.
7711 * posix/times.c: Likewise.
7712 * posix/wait.c: Likewise.
7713 * posix/wait3.c: Likewise.
7714 * posix/wait4.c: Likewise.
7715 * posix/waitpid.c: Likewise.
7716 * resolv/gai_sigqueue.c: Likewise.
7717 * resource/getpriority.c: Likewise.
7718 * resource/getrlimit.c: Likewise.
7719 * resource/getrusage.c: Likewise.
7720 * resource/nice.c: Likewise.
7721 * resource/setpriority.c: Likewise.
7722 * resource/setrlimit.c: Likewise.
7723 * resource/ulimit.c: Likewise.
7724 * rt/aio_cancel.c: Likewise.
7725 * rt/aio_fsync.c: Likewise.
7726 * rt/aio_read.c: Likewise.
7727 * rt/aio_sigqueue.c: Likewise.
7728 * rt/aio_suspend.c: Likewise.
7729 * rt/aio_write.c: Likewise.
7730 * rt/clock_getres.c: Likewise.
7731 * rt/clock_gettime.c: Likewise.
7732 * rt/clock_nanosleep.c: Likewise.
7733 * rt/clock_settime.c: Likewise.
7734 * rt/lio_listio.c: Likewise.
7735 * rt/mq_close.c: Likewise.
7736 * rt/mq_getattr.c: Likewise.
7737 * rt/mq_notify.c: Likewise.
7738 * rt/mq_open.c: Likewise.
7739 * rt/mq_receive.c: Likewise.
7740 * rt/mq_send.c: Likewise.
7741 * rt/mq_setattr.c: Likewise.
7742 * rt/mq_timedreceive.c: Likewise.
7743 * rt/mq_timedsend.c: Likewise.
7744 * rt/mq_unlink.c: Likewise.
7745 * rt/shm_open.c: Likewise.
7746 * rt/shm_unlink.c: Likewise.
7747 * rt/timer_create.c: Likewise.
7748 * rt/timer_delete.c: Likewise.
7749 * rt/timer_getoverr.c: Likewise.
7750 * rt/timer_gettime.c: Likewise.
7751 * rt/timer_settime.c: Likewise.
7752 * setjmp/__longjmp.c: Likewise.
7753 * setjmp/setjmp.c: Likewise.
7754 * signal/kill.c: Likewise.
7755 * signal/killpg.c: Likewise.
7756 * signal/raise.c: Likewise.
7757 * signal/sigaction.c: Likewise.
7758 * signal/sigaltstack.c: Likewise.
7759 * signal/sigblock.c: Likewise.
7760 * signal/sigignore.c: Likewise.
7761 * signal/sigintr.c: Likewise.
7762 * signal/signal.c: Likewise.
7763 * signal/sigpause.c: Likewise.
7764 * signal/sigpending.c: Likewise.
7765 * signal/sigqueue.c: Likewise.
7766 * signal/sigreturn.c: Likewise.
7767 * signal/sigset.c: Likewise.
7768 * signal/sigsetmask.c: Likewise.
7769 * signal/sigstack.c: Likewise.
7770 * signal/sigsuspend.c: Likewise.
7771 * signal/sigtimedwait.c: Likewise.
7772 * signal/sigvec.c: Likewise.
7773 * signal/sigwait.c: Likewise.
7774 * signal/sigwaitinfo.c: Likewise.
7775 * signal/sysv_signal.c: Likewise.
7776 * socket/accept.c: Likewise.
7777 * socket/accept4.c: Likewise.
7778 * socket/bind.c: Likewise.
7779 * socket/connect.c: Likewise.
7780 * socket/getpeername.c: Likewise.
7781 * socket/getsockname.c: Likewise.
7782 * socket/getsockopt.c: Likewise.
7783 * socket/isfdtype.c: Likewise.
7784 * socket/listen.c: Likewise.
7785 * socket/recv.c: Likewise.
7786 * socket/recvfrom.c: Likewise.
7787 * socket/recvmsg.c: Likewise.
7788 * socket/send.c: Likewise.
7789 * socket/sendmsg.c: Likewise.
7790 * socket/sendto.c: Likewise.
7791 * socket/setsockopt.c: Likewise.
7792 * socket/shutdown.c: Likewise.
7793 * socket/sockatmark.c: Likewise.
7794 * socket/socket.c: Likewise.
7795 * socket/socketpair.c: Likewise.
7796 * stdio-common/ctermid.c: Likewise.
7797 * stdio-common/cuserid.c: Likewise.
7798 * stdio-common/remove.c: Likewise.
7799 * stdio-common/rename.c: Likewise.
7800 * stdio-common/renameat.c: Likewise.
7801 * stdio-common/tempname.c: Likewise.
7802 * stdlib/getcontext.c: Likewise.
7803 * stdlib/makecontext.c: Likewise.
7804 * stdlib/setcontext.c: Likewise.
7805 * stdlib/swapcontext.c: Likewise.
7806 * stdlib/system.c: Likewise.
7807 * streams/fattach.c: Likewise.
7808 * streams/fdetach.c: Likewise.
7809 * streams/getmsg.c: Likewise.
7810 * streams/getpmsg.c: Likewise.
7811 * streams/putmsg.c: Likewise.
7812 * streams/putpmsg.c: Likewise.
7813 * sysdeps/unix/bsd/getpt.c: Likewise.
7814 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7815 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7816 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7819 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7820 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7821 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7822 * sysvipc/msgctl.c: Likewise.
7823 * sysvipc/msgget.c: Likewise.
7824 * sysvipc/msgrcv.c: Likewise.
7825 * sysvipc/msgsnd.c: Likewise.
7826 * sysvipc/semctl.c: Likewise.
7827 * sysvipc/semget.c: Likewise.
7828 * sysvipc/semop.c: Likewise.
7829 * sysvipc/semtimedop.c: Likewise.
7830 * sysvipc/shmat.c: Likewise.
7831 * sysvipc/shmctl.c: Likewise.
7832 * sysvipc/shmdt.c: Likewise.
7833 * sysvipc/shmget.c: Likewise.
7834 * termios/tcdrain.c: Likewise.
7835 * termios/tcflow.c: Likewise.
7836 * termios/tcflush.c: Likewise.
7837 * termios/tcgetattr.c: Likewise.
7838 * termios/tcgetpgrp.c: Likewise.
7839 * termios/tcsendbrk.c: Likewise.
7840 * termios/tcsetattr.c: Likewise.
7841 * termios/tcsetpgrp.c: Likewise.
7842 * time/adjtime.c: Likewise.
7843 * time/clock.c: Likewise.
7844 * time/getitimer.c: Likewise.
7845 * time/gettimeofday.c: Likewise.
7846 * time/setitimer.c: Likewise.
7847 * time/settimeofday.c: Likewise.
7848 * time/stime.c: Likewise.
7849 * time/time.c: Likewise.
7851 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7853 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7856 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7858 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7860 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7864 FE_TONEAREST before applying Dekker multiplication and Knuth
7865 addition. Clear inexact exceptions and check for exact zero
7867 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7868 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7869 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7870 * math/libm-test.inc (fma_test): Add more tests.
7871 (fma_test_towardzero): Likewise.
7872 (fma_test_downward): Likewise.
7873 (fma_test_upward): Likewise.
7874 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7876 (libc_fesetround): New macro.
7877 (libc_fesetroundf): Likewise.
7878 (libc_fesetroundl): Likewise.
7879 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7881 (libc_fesetround_387): Likewise.
7882 (libc_fesetroundf): New macro.
7883 (libc_fesetround): Likewise.
7884 (libc_fesetroundl): Likewise.
7885 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7887 (libc_fesetroundf): New macro.
7888 (libc_fesetround): Likewise.
7889 (libc_fesetroundl): Likewise.
7890 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7891 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7892 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7894 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7895 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7897 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7898 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7900 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7904 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7905 integer constant usable in #if and use that to give value to enum
7907 (FE_DIVBYZERO): Likewise.
7908 (FE_UNDERFLOW): Likewise.
7909 (FE_OVERFLOW): Likewise.
7910 (FE_INVALID): Likewise.
7911 (FE_INVALID_SNAN): Likewise.
7912 (FE_INVALID_ISI): Likewise.
7913 (FE_INVALID_IDI): Likewise.
7914 (FE_INVALID_ZDZ): Likewise.
7915 (FE_INVALID_IMZ): Likewise.
7916 (FE_INVALID_COMPARE): Likewise.
7917 (FE_INVALID_SOFTWARE): Likewise.
7918 (FE_INVALID_SQRT): Likewise.
7919 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7920 (FE_TONEAREST): Likewise.
7921 (FE_TOWARDZERO): Likewise.
7922 (FE_UPWARD): Likewise.
7923 (FE_DOWNWARD): Likewise.
7924 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7925 (FE_DIVBYZERO): Likewise.
7926 (FE_OVERFLOW): Likewise.
7927 (FE_UNDERFLOW): Likewise.
7928 (FE_INEXACT): Likewise.
7929 (FE_TONEAREST): Likewise.
7930 (FE_DOWNWARD): Likewise.
7931 (FE_UPWARD): Likewise.
7932 (FE_TOWARDZERO): Likewise.
7933 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7934 (FE_UNDERFLOW): Likewise.
7935 (FE_OVERFLOW): Likewise.
7936 (FE_DIVBYZERO): Likewise.
7937 (FE_INVALID): Likewise.
7938 (FE_TONEAREST): Likewise.
7939 (FE_TOWARDZERO): Likewise.
7940 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7941 (FE_OVERFLOW): Likewise.
7942 (FE_UNDERFLOW): Likewise.
7943 (FE_DIVBYZERO): Likewise.
7944 (FE_INEXACT): Likewise.
7945 (FE_TONEAREST): Likewise.
7946 (FE_TOWARDZERO): Likewise.
7947 (FE_UPWARD): Likewise.
7948 (FE_DOWNWARD): Likewise.
7949 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7950 (FE_DIVBYZERO): Likewise.
7951 (FE_OVERFLOW): Likewise.
7952 (FE_UNDERFLOW): Likewise.
7953 (FE_INEXACT): Likewise.
7954 (FE_TONEAREST): Likewise.
7955 (FE_DOWNWARD): Likewise.
7956 (FE_UPWARD): Likewise.
7957 (FE_TOWARDZERO): Likewise.
7959 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7961 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7963 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7965 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7966 commands. Quote $PWD.
7967 (blacklist_exports): Don't use remove_newlines. Replace "declare
7969 (remove_newlines): Remove.
7971 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7973 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7974 * stdlib/stdlib.h (atof): Moved to ...
7975 * include/bits/stdlib-float.h: Here. New file.
7976 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7977 * stdlib/bits/stdlib-float.h: New file.
7978 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7980 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7983 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7985 * conform/conformtest.pl (@headers): Add fenv.h.
7986 * conform/data/fenv.h-data: New file.
7987 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7988 include of <math/fenv.h>.
7990 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7991 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7992 && !UNIX98]. Enables tests for XOPEN2K8.
7993 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7994 POSIX2008]: Likewise.
7996 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7997 (struct rusage): Do not expect type or its members.
8000 * math/math.h (FP_NAN): Define macro to integer constant usable in
8001 #if and use that to give value to enum constant.
8002 (FP_INFINITE): Likewise.
8003 (FP_ZERO): Likewise.
8004 (FP_SUBNORMAL): Likewise.
8005 (FP_NORMAL): Likewise.
8007 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
8009 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8010 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8013 2012-11-02 Roland McGrath <roland@hack.frob.com>
8015 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8016 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8017 autoconf-time if not.
8018 * configure.in: Remove AC_PREREQ.
8020 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8022 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8023 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8024 of the internal implementation.
8026 2012-11-02 Joseph Myers <joseph@codesourcery.com>
8028 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8029 except include of <misc/sys/syslog.h>.
8031 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8034 function returns with a NULL context exit with zero.
8036 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8038 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8040 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8042 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8043 (run_program_cmd): This.
8044 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8045 (tst_langinfo): New variable. Use it.
8047 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8049 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8050 floating point opcodes.
8052 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8054 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8057 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8059 * sysdeps/mach/hurd/powerpc: Remove directory.
8060 * sysdeps/mach/powerpc: Likewise.
8062 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8064 * scripts/check-local-headers.sh: Ignore c++ headers.
8066 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8068 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8069 __libc_cleanup_region_start argument.
8071 2012-11-01 Joseph Myers <joseph@codesourcery.com>
8075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8076 x * y using scaling, not as x * y + z.
8077 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8078 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8079 * math/libm-test.inc (fma_test): Add more tests.
8080 (fma_test_towardzero): Likewise.
8081 (fma_test_downward): Likewise.
8082 (fma_test_upward): Likewise.
8084 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8086 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8088 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8090 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8093 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8095 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8097 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8104 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8107 Fix the order of the list for glibc 2.17.
8108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8111 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8115 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8118 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8119 for low part of x being zero before using __atanl (y).
8120 * math/libm-test.inc (atan2_test): Add another test.
8122 * manual/install.texi (Configuring and compiling): Document
8123 general use of test-wrapper and test-wrapper-env.
8124 * INSTALL: Regenerated.
8126 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8127 (__fma): Do not extract and scale down low bits on after-rounding
8128 systems when result rounded to normal precision would have normal
8130 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8131 (__fmal): Do not extract and scale down low bits on after-rounding
8132 systems when result rounded to normal precision would have normal
8134 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8135 (__fmal): Do not extract and scale down low bits on after-rounding
8136 systems when result rounded to normal precision would have normal
8138 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8140 (fma_test): Add more tests.
8141 (fma_test_towardzero): Likewise.
8142 (fma_test_downward): Likewise.
8143 (fma_test_upward): Likewise.
8145 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8147 * sysdeps/i386/tininess.h: Renamed to ...
8148 * sysdeps/x86/tininess.h: This.
8149 * sysdeps/x86_64/tininess.h: Removed.
8151 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8153 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8154 input. Use $(build-program-cmd).
8155 ($(objpfx)tst-array1-static.out): Likewise.
8156 ($(objpfx)tst-array2.out): Likewise.
8157 ($(objpfx)tst-array3.out): Likewise.
8158 ($(objpfx)tst-array4.out): Likewise.
8159 ($(objpfx)tst-array5.out): Likewise.
8160 ($(objpfx)tst-array5-static.out): Likewise.
8162 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8164 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8167 * nss/nsswitch.h (nss_interface_function): Provide new
8168 macro for use with NSS functions.
8169 * grp/initgroups.c: Use new macro.
8170 * nss/getXXbyYY.c: Likewise.
8171 * nss/getXXbyYY_r.c: Likewise.
8172 * nss/getXXent.c: Likewise.
8173 * nss/getXXent_r.c: Likewise.
8174 * sysdeps/posix/getaddrinfo.c: Likewise.
8176 2012-10-30 Andreas Jaeger <aj@suse.de>
8178 * po/ru.po: Update Russion translation from translation project.
8180 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8184 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8185 result and shift together with sticky bit instead of replicating
8186 round-to-nearest rounding.
8187 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8188 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8189 * math/libm-test.inc (fma_test): Add more tests. Do not permit
8190 missing underflow exceptions.
8191 (fma_test_towardzero): Add more tests.
8192 (fma_test_downward): Likewise.
8193 (fma_test_upward): Likewise.
8196 * sysdeps/generic/tininess.h: New file.
8197 * sysdeps/i386/tininess.h: Likewise.
8198 * sysdeps/sh/tininess.h: Likewise.
8199 * sysdeps/x86_64/tininess.h: Likewise.
8200 * stdlib/tst-strtod-underflow.c: Likewise.
8201 * stdlib/tst-tininess.c: Likewise.
8202 * stdlib/strtod_l.c: Include <tininess.h>.
8203 (round_and_return): Do not set errno for exact underflow cases.
8204 Force an underflow exception when setting errno for underflow.
8205 Determine underflow based on rounding to normal precision if
8206 TININESS_AFTER_ROUNDING.
8207 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8208 ERANGE for exact underflow cases.
8209 * stdlib/Makefile (tests): Add tst-tininess and
8210 tst-strtod-underflow.
8211 ($(objpfx)tst-tininess): Use $(link-libm).
8212 ($(objpfx)tst-strtod-underflow): Likewise.
8214 2012-10-30 Andreas Jaeger <aj@suse.de>
8217 * elf/Makefile (tests): Remove conditional for have-initfini-array
8218 since this is now always required and the variable does not exist
8220 (tests-static): Likewise.
8221 (modules-names): Likewise.
8223 * po/eo.po: Add Esperanto translation from translation project.
8225 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8226 merged with constructor/destructor.
8227 (init_array): Likewise.
8228 * elf/tst-array2dep.c (fini_array): Likewise.
8229 (init_array): Likewise.
8231 2012-10-29 Mike Frysinger <vapier@gentoo.org>
8233 * manual/message.texi: Delete @cartouche tags.
8235 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8237 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8239 * sysdeps/mach/hurd/fsync.c: Likewise.
8241 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8242 [_POSIX_REALTIME_SIGNALS]: Change condition to
8243 [_POSIX_REALTIME_SIGNALS > 0].
8245 2012-10-27 Andreas Jaeger <aj@suse.de>
8247 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8248 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8250 [__WORDSIZE != 64]: Likewise.
8252 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8254 * iconvdata/tst-table.sh: Remove ${SHELL}.
8255 * iconvdata/tst-tables.sh: Likewise.
8257 2012-10-25 David S. Miller <davem@davemloft.net>
8259 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8260 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8263 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8265 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8266 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8267 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8270 2012-10-25 Roland McGrath <roland@hack.frob.com>
8272 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8273 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8276 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8277 Jim Blandy <jimb@codesourcery.com>
8279 * scripts/cross-test-ssh.sh: New file.
8280 * manual/install.texi (Configuring and compiling): Document use of
8282 * INSTALL: Regenerated.
8284 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8286 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8289 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8291 * Makeconfig (run-program-prefix): Fix comment.
8293 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8294 Jim Blandy <jimb@codesourcery.com>
8296 * Makeconfig (test-wrapper): New variable,
8297 (test-wrapper-env): Likewise.
8298 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8299 (run-built-tests): Define to yes.
8300 (run-program-prefix): Use $(test-wrapper).
8301 (built-program-cmd): Likewise.
8302 * Rules (make-test-out): Use $(test-wrapper-env) and
8303 $(host-built-program-cmd).
8304 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8305 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8307 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8308 $(test-wrapper-env) to tst-rtld-load-self.sh.
8309 ($(objpfx)order2.out): Use $(test-wrapper).
8310 ($(objpfx)tst-initorder.out): Likewise.
8311 ($(objpfx)tst-initorder2.out): Likewise.
8312 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8313 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8314 (test_wrapper_env): New variable. Use it to run ld.so.
8315 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8316 Use it to run ld.so.
8317 (test_wrapper_env): Likewise.
8318 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8319 $(test-wrapper) to run-iconv-test.sh.
8320 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8321 (ICONV): Use $test_wrapper.
8322 * posix/Makefile ($(objpfx)globtest.out): Pass
8323 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8324 globtest.sh, not $(run-program-prefix).
8325 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8326 (test_wrapper): Likewise.
8327 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8328 set together with run_via_rtld_prefix.
8329 (run_program_prefix): Define in terms of test_wrapper and
8330 run_via_rtld_prefix.
8332 2012-10-24 Roland McGrath <roland@hack.frob.com>
8334 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8335 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8339 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8340 Declare __clock_getres, __clock_gettime, __clock_settime,
8341 __clock_nanosleep, and __clock_getcpuclockid.
8342 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8343 Remove librt_hidden_def (clock_gettime).
8344 * sysdeps/unix/clock_gettime.c: Likewise.
8345 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8346 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8347 * rt/clock_getres.c: Define __clock_getres as an alias.
8348 * sysdeps/posix/clock_getres.c: Likewise.
8349 * rt/clock_settime.c: Define __clock_settime as an alias.
8350 * sysdeps/unix/clock_settime.c: Likewise.
8351 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8352 * sysdeps/unix/clock_nanosleep.c: Likewise.
8353 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8354 * rt/clock-compat.c: New file.
8355 * rt/Makefile (librt-routines): Add clock-compat and move
8356 $(clock-routines) to ...
8357 (routines): ... here, new variable.
8358 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8359 Don't add get_clockfreq here.
8360 * rt/Versions (libc: GLIBC_2.17): New version set.
8361 Add clock_* symbols here.
8362 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8363 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8364 (GLIBC_2.17): Add clock_* symbols.
8365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8367 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8376 * NEWS: Mention the move.
8378 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8379 Use __open, __read, __close rather than their public counterparts.
8380 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8381 (__get_clockfreq_via_cpuinfo): Likewise.
8382 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8383 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8385 * config.h.in (HAVE_IFUNC): New #undef.
8386 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8388 * configure: Regenerated.
8390 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8392 * configure.in: Move READELF check to start of file.
8393 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8394 libc_cv_asm_gnu_indirect_function in the process.
8395 * configure: Regenerated.
8397 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8399 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8400 send the output to /dev/null.
8401 (libc_cv_cc_with_libunwind): Likewise.
8402 (libc_cv_as_noexecstack): Likewise.
8403 * configure: Regenerate.
8405 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8407 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8409 * posix/globtest.sh (TMPDIR): Do not set.
8410 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8411 (testout): Likewise.
8413 2012-10-24 Andreas Jaeger <aj@suse.de>
8415 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8416 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8417 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8418 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8419 posix_fadvise64, posix_fallocate64.
8421 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8422 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8423 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8425 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8427 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8429 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8430 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8431 <bits/fcntl-linux.h>.
8432 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8434 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8435 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8436 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8437 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8438 [__WORDSIZE != 64]: Likewise.
8440 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8442 * Makeconfig (run-built-tests): New variable.
8443 * Rules [$(cross-compiling) = yes]: Change condition to
8444 [$(run-built-tests) = no].
8445 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8446 to [$(run-built-tests) = yes].
8447 * elf/Makefile [$(cross-compiling) = no]: Likewise
8448 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8449 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8450 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8451 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8452 * io/Makefile [$(cross-compiling) = no]: Likewise.
8453 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8454 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8455 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8456 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8457 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8458 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8459 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8460 * string/Makefile [$(cross-compiling) = no]: Likewise.
8462 * posix/Makefile ($(objpfx)globtest.out): Pass
8463 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8464 $(rtld-installed-name).
8465 * posix/globtest.sh (elf_objpfx): Remove variable.
8466 (rtld_installed_name): Likewise.
8467 (library_path): Likewise.
8468 (run_program_prefix): New variable. Use for running globtest
8471 2012-10-23 Jim Blandy <jimb@codesourcery.com>
8472 Joseph Myers <joseph@codesourcery.com>
8474 * Makeconfig (host-built-program-cmd): New variable.
8475 * elf/Makefile (tst-stackguard1-ARGS): Use
8476 $(host-built-program-cmd).
8477 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8478 (tst-spawn-ARGS): Likewise.
8479 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8481 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8482 Jim Blandy <jimb@codesourcery.com>
8484 * Makeconfig (run-via-rtld-prefix): New variable.
8485 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8486 (built-program-cmd): Likewise.
8488 2012-10-22 Andreas Jaeger <aj@suse.de>
8490 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8491 __O_RSYNC if it exists, otherwise to O_SYNC.
8493 2012-10-22 Jim Blandy <jimb@codesourcery.com>
8494 Joseph Myers <joseph@codesourcery.com>
8496 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8498 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8500 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8503 2012-10-22 Andreas Jaeger <aj@suse.de>
8505 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8507 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8512 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8513 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8515 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8517 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8520 2012-10-21 Jim Blandy <jimb@codesourcery.com>
8521 Joseph Myers <joseph@codesourcery.com>
8523 * config.make.in (NM): New variable.
8525 2012-10-21 Andreas Jaeger <aj@suse.de>
8527 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8528 definitions and declarations that are provided by
8529 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8531 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8534 * elf/Makefile (tests-static): Add tst-leaks1-static.
8535 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8536 ($(objpfx)tst-leaks1-static): New rule.
8537 ($(objpfx)tst-leaks1-static-mem): Likewise.
8538 (tst-leaks1-static-ENV): New macro.
8539 * elf/dl-open.c (dl_open_worker): Check the main application
8540 only if SHARED is defined.
8541 * elf/tst-leaks1-static.c: New file.
8543 2012-10-20 Andreas Jaeger <aj@suse.de>
8545 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8546 generic values for Linux.
8547 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8548 and declarations that are provided by <bits/fcntl-linux.h> and
8549 include <bits/fcntl-linux.h>.
8550 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8551 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8553 2012-10-20 Roland McGrath <roland@hack.frob.com>
8555 * io/fcntl.h: Move include of <bits/types.h> to the top and
8556 include it unconditionally.
8558 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8560 * wcsmbs/Makefile (tests-ifunc): New variable.
8561 (tests): Add $(tests-ifunc).
8562 * wcsmbs/test-wcschr-ifunc.c: New file.
8563 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8564 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8565 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8566 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8567 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8569 * string/Makefile (tests-ifunc): New variable.
8570 (tests): Add $(tests-ifunc).
8571 * string/test-memccpy.c (TEST_NAME): New macro.
8572 * string/test-memchr.c (TEST_NAME): Likewise.
8573 * string/test-memcmp.c (TEST_NAME): Likewise.
8574 * string/test-memcpy.c (TEST_NAME): Likewise.
8575 * string/test-memmem.c (TEST_NAME): Likewise.
8576 * string/test-memmove.c (TEST_NAME): Likewise.
8577 * string/test-memset.c (TEST_NAME): Likewise.
8578 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8579 * string/test-stpcpy.c (TEST_NAME): Likewise.
8580 * string/test-stpncpy.c (TEST_NAME): Likewise.
8581 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8582 * string/test-strcasestr.c (TEST_NAME): Likewise.
8583 * string/test-strcat.c (TEST_NAME): Likewise.
8584 * string/test-strchr.c (TEST_NAME): Likewise.
8585 * string/test-strcmp.c(TEST_NAME): Likewise.
8586 * string/test-strcpy.c (TEST_NAME): Likewise.
8587 * string/test-strcspn.c (TEST_NAME): Likewise.
8588 * string/test-strlen.c (TEST_NAME): Likewise.
8589 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8590 * string/test-strncmp.c (TEST_NAME): Likewise.
8591 * string/test-strncpy.c (TEST_NAME): Likewise.
8592 * string/test-strnlen.c (TEST_NAME): Likewise.
8593 * string/test-strpbrk.c (TEST_NAME): Likewise.
8594 * string/test-strrchr.c (TEST_NAME): Likewise.
8595 * string/test-strspn.c (TEST_NAME): Likewise.
8596 * string/test-strstr.c (TEST_NAME): Likewise.
8597 * string/test-bcopy-ifunc.c: New file.
8598 * string/test-bzero-ifunc.c: Likewise.
8599 * string/test-memccpy-ifunc.c: Likewise.
8600 * string/test-memchr-ifunc.c: Likewise.
8601 * string/test-memcmp-ifunc.c: Likewise.
8602 * string/test-memcpy-ifunc.c: Likewise.
8603 * string/test-memmem-ifunc.c: Likewise.
8604 * string/test-memmove-ifunc.c: Likewise.
8605 * string/test-mempcpy-ifunc.c: Likewise.
8606 * string/test-memset-ifunc.c: Likewise.
8607 * string/test-rawmemchr-ifunc.c: Likewise.
8608 * string/test-stpcpy-ifunc.c: Likewise.
8609 * string/test-stpncpy-ifunc.c: Likewise.
8610 * string/test-strcasecmp-ifunc.c: Likewise.
8611 * string/test-strcasestr-ifunc.c: Likewise.
8612 * string/test-strcat-ifunc.c: Likewise.
8613 * string/test-strchr-ifunc.c: Likewise.
8614 * string/test-strchrnul-ifunc.c: Likewise.
8615 * string/test-strcmp-ifunc.c: Likewise.
8616 * string/test-strcpy-ifunc.c: Likewise.
8617 * string/test-strcspn-ifunc.c: Likewise.
8618 * string/test-strlen-ifunc.c: Likewise.
8619 * string/test-strncasecmp-ifunc.c: Likewise.
8620 * string/test-strncat-ifunc.c: Likewise.
8621 * string/test-strncmp-ifunc.c: Likewise.
8622 * string/test-strncpy-ifunc.c: Likewise.
8623 * string/test-strnlen-ifunc.c: Likewise.
8624 * string/test-strpbrk-ifunc.c: Likewise.
8625 * string/test-strrchr-ifunc.c: Likewise.
8626 * string/test-strspn-ifunc.c: Likewise.
8627 * string/test-strstr-ifunc.c: Likewise.
8629 * debug/Makefile (tests-ifunc): New variable.
8630 (tests): Add $(tests-ifunc).
8631 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8632 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8633 * debug/test-stpcpy_chk-ifunc.c: New file.
8634 * debug/test-strcpy_chk-ifunc.c: Likewise.
8636 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8639 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8640 header is not read in.
8642 2012-10-19 Joseph Myers <joseph@codesourcery.com>
8644 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8645 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8646 directly. Pass built executable to script as
8647 $(built-program-cmd).
8648 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8649 $testprogram without using LD_LIBRARY_PATH and $ldso.
8651 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8652 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8653 $(rtld-installed-name).
8654 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8655 (rtld_installed_name): Likewise.
8656 (library_path): Likewise.
8657 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8658 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8659 $(run-program-prefix) to tst-tables.sh.
8660 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8661 it to run tst-table-from and tst-table-to.
8662 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8663 Pass it to tst-table.sh.
8664 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8665 $(run-program-prefix) to tst-gettext.sh.
8666 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8668 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8670 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8672 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8673 to run tst-gettext2.
8674 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8675 to run tst-translit.
8676 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8677 $(run-program-prefix) to tst-mtrace.sh.
8678 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8680 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8681 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8682 $(rtld-installed-name).
8683 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8684 (rtld_installed_name): Likewise.
8685 (run_program_prefix): New variable. Use it to run wordexp-test.
8687 * Makeconfig (ARCH): Remove all definitions.
8688 (machine): Likewise.
8689 [ARCH]: Remove conditional code.
8690 [!objdir]: Give error.
8691 [!objdir] (objpfx): Remove.
8692 [!objdir] (common-objpfx): Likewise.
8693 [!objdir] (common-objdir): Likewise.
8694 * configure.in (config_makefile): Remove. Hardcode Makefile in
8695 AC_CONFIG_FILES call.
8696 * configure: Regenerated.
8699 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8701 (testout): Likewise.
8703 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8704 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8705 $(rtld-installed-name).
8706 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8707 (rtld_installed_name): Likwise.
8708 (runit): Remove function.
8709 (run_getconf): New variable, Use it for running getconf binary.
8711 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8714 * string/test-memmem.c (check_result): New function.
8715 (do_one_test): Use it.
8716 (check1): New function.
8717 (test_main): Use it.
8719 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8721 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8723 2012-10-18 Joseph Myers <joseph@codesourcery.com>
8725 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8726 (_G_LSEEK64): Likewise.
8727 (_G_MMAP64): Likewise.
8728 (_G_FSTAT64): Likewise.
8729 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8730 (_G_LSEEK64): Likewise.
8731 (_G_MMAP64): Likewise.
8732 (_G_FSTAT64): Likewise.
8733 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8734 unconditional. Call __mmap64 directly.
8735 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8736 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8738 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8739 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8741 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8742 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8744 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8745 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8747 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8748 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8750 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8751 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8752 __fxstat64 directly.
8753 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8754 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8756 (freopen64) [!_G_OPEN64]: Remove conditional code.
8757 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8759 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8760 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8762 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8763 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8765 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8766 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8768 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8769 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8771 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8772 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8774 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8775 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8777 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8779 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8782 * manual/memory.texi (Malloc Tunable Parameters): Add note
8783 about free list pointers overwriting some perturb bytes.
8784 Wording suggested by Roland McGrath.
8786 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8788 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8789 (lgamma_test): Likewise.
8790 (tgamma_test): Likewise.
8792 2012-10-16 Florian Weimer <fweimer@redhat.com>
8795 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8796 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8798 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8800 * NEWS: Mention BZ #14716.
8801 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8802 when removing AVAILABLE1_USES_J macro.
8804 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8806 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8807 (__bswap_64): __uint64_t for unsigned 64-bit int.
8809 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8811 * include/string.h (memmem): Declare libc hidden alias.
8812 * string/memmem.c (memmem): Define libc hidden alias.
8813 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8814 __read, __close instead of open, read, close.
8816 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8818 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8819 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8821 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8822 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8823 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8825 (__rawmemchr_sse2): Likewise.
8826 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8827 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8828 (__strchr_sse2): Likewise.
8829 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8830 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8831 (__strcasecmp_sse2): Likewise.
8832 (__strncasecmp_sse2): Likewise.
8833 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8834 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8835 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8836 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8837 (__strrchr_sse2): Likewise.
8838 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8840 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8841 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8842 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8843 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8844 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8845 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8846 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8847 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8848 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8849 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8850 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8851 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8852 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8853 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8854 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8855 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8856 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8857 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8858 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8859 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8860 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8861 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8862 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8863 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8864 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8865 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8866 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8867 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8868 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8869 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8871 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8873 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8874 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8875 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8876 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8878 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8880 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8881 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8882 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8883 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8885 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8886 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8887 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8888 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8889 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8890 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8891 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8892 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8893 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8894 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8895 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8896 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8897 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8898 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8899 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8900 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8901 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8902 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8903 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8904 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8905 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8906 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8907 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8908 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8909 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8910 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8911 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8912 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8913 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8914 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8915 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8916 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8917 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8918 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8919 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8920 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8921 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8922 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8923 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8924 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8925 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8927 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8928 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8929 * include/ifunc-impl-list.h: New file.
8930 * misc/ifunc-impl-list.c: Likewise.
8931 * misc/Makefile (routines): Add ifunc-impl-list.
8932 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8933 * string/test-string.h: Include <ifunc-impl-list.h>.
8934 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8935 impl_array): New variables.
8936 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8938 (test_init): Call __libc_ifunc_impl_list to initialize
8939 func_list if TEST_IFUNC and TEST_NAME are defined.
8941 * string/Makefile (strop-tests): Add bcopy and bzero.
8942 * string/test-bcopy.c: New file.
8943 * string/test-bzero.c: Likewise.
8944 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8946 * string/test-memset.c: Support bzero test if TEST_BZERO is
8948 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8950 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8952 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8955 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8957 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8958 * configure: Regenerated.
8960 * Makeconfig (+link-static-before-libc): Don't include
8961 $(link-static-libc).
8963 * libio/libio.h (_IO_pos_t): Remove.
8965 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8967 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8970 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8972 * crypt/crypt-entry.c: Include fips-private.h.
8973 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8974 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8975 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8976 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8978 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8980 * crypt/crypt-private.h: Include stdbool.h.
8981 (_ufc_setup_salt_r): Return bool.
8982 * crypt/crypt-entry.c: Include errno.h.
8983 (__crypt_r): Return NULL with EINVAL for bad salt.
8984 * crypt/crypt_util.c (bad_for_salt): New.
8985 (_ufc_setup_salt_r): Check that salt is long enough and within
8986 the specified alphabet.
8987 * crypt/badsalttest.c: New file.
8988 * crypt/Makefile (tests): Add it.
8989 ($(objpfx)badsalttest): New.
8991 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8993 * NEWS: Add entry for BZ #14602.
8995 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8997 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8999 * math/libm-test.inc: Update comment listing what functions and
9001 (isgreater_test): New function.
9002 (isgreaterequal_test): Likewise.
9003 (isless_test): Likewise.
9004 (islessequal_test): Likewise.
9005 (islessgreater_test): Likewise.
9006 (isunordered_test): Likewise.
9007 (main): Call the new functions.
9009 2012-10-09 Roland McGrath <roland@hack.frob.com>
9011 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9012 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9013 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9014 * sysdeps/i386/configure: Regenerated.
9015 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9016 * sysdeps/mach/configure: Regenerated.
9017 * sysdeps/mach/hurd/configure: Regenerated.
9018 * sysdeps/powerpc/configure: Regenerated.
9019 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9020 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9021 * sysdeps/s390/s390-32/configure: Regenerated.
9022 * sysdeps/s390/s390-64/configure: Regenerated.
9023 * sysdeps/sh/configure: Regenerated.
9024 * sysdeps/sparc/configure: Regenerated.
9025 * sysdeps/unix/sysv/linux/configure: Regenerated.
9026 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9027 * sysdeps/x86_64/configure: Regenerated.
9029 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9030 defined. Don't check if MAP is NULL.
9032 2012-10-09 Joseph Myers <joseph@codesourcery.com>
9034 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9035 (_G_stat64): Likewise.
9036 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9037 (_G_stat64): Likewise.
9038 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9039 instead of struct _G_stat64.
9040 * libio/fileops.c (mmap_remap_check): Likewise.
9041 (decide_maybe_mmap): Likewise.
9042 (_IO_new_file_seekoff): Likewise.
9043 (_IO_file_stat): Likewise.
9044 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9046 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9047 instead of struct _G_stat64.
9048 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9050 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9053 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9055 (CHECK_EOL): New macro.
9056 (two_way_short_needle): Check beginning of haystack for EOL. Use
9058 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9059 Replace with CHECK_EOL.
9060 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9061 Replace with CHECK_EOL.
9063 2012-10-08 Joseph Myers <joseph@codesourcery.com>
9065 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9067 * math/libm-test.inc: Update comment listing what functions and
9069 (finite_test): New function.
9070 (isinf_test): Likewise.
9071 (isnan_test): Likewise.
9072 (fpclassify_test): Test subnormal input.
9073 (isfinite_test): Likewise.
9074 (isnormal_test): Likewise.
9075 (main): Call the new functions.
9077 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9080 * Makerules (%.dynsym): Force C locale when running
9081 $(OBJDUMP) --dynamic-syms.
9083 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9085 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9088 2012-10-06 David S. Miller <davem@davemloft.net>
9090 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9091 upper 32-bits of the length value in %o2 since we use branch-on-register
9092 tests which consider the entire 64-bit register.
9094 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9096 * string/test-strstr.c (check2): Add a test for page boundary.
9098 2012-10-05 David S. Miller <davem@davemloft.net>
9100 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9101 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9103 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9105 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9106 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9107 and bzero when HWCAP_SPARC_CRYPTO is present.
9109 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9112 * string/test-strstr.c (check2): New function.
9113 (test_main): Call check2.
9115 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9117 * string/bug-strcasestr1.c (do_test): Moved to ...
9118 * string/test-strcasestr.c (check1): Here. New function.
9119 (do_one_test): Break out result checking code into ...
9120 (check_result): This. New function.
9121 (do_one_test): Call check_result.
9122 (test_main): Call check1.
9123 * string/bug-strchr1.c (do_test): Moved to ...
9124 * string/test-strchr.c (check1): Here. New function.
9125 (do_one_test): Break out result checking code into ...
9126 (check_result): This. New function.
9127 (do_one_test): Call check_result.
9128 (test_main): Call check1.
9129 * string/bug-strstr1.c (main): Moved to ...
9130 * string/test-strstr.c (check1): Here. New function.
9131 (do_one_test): Break out result checking code into ...
9132 (check_result): This. New function.
9133 (do_one_test): Call check_result.
9134 (test_main): Call check1.
9135 * string/bug-strcasestr1.c: Removed.
9136 * string/bug-strchr1.c: Likewise.
9137 * string/bug-strstr1.c: Likewise.
9139 * elf/Makefile (dl-routines): Add hwcaps.
9140 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9141 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9142 (_dl_important_hwcaps): Moved to ...
9143 * elf/dl-hwcaps.c: Here. New file.
9144 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9147 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9148 if IS_IN_rtld isn't defined.
9150 * elf/dl-support.c (_dl_sysinfo_map): New.
9151 Include "get-dynamic-info.h" and "setup-vdso.h".
9152 (_dl_non_dynamic_init): Call setup_vdso.
9153 * elf/dynamic-link.h: Don't include <assert.h>.
9154 (elf_get_dynamic_info): Moved to ...
9155 * elf/get-dynamic-info.h: Here. New file.
9156 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9157 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9158 * elf/setup-vdso.h: Here. New file.
9159 * elf/rtld.c: Include "setup-vdso.h".
9160 (dl_main): Call setup_vdso.
9162 2012-10-05 Joseph Myers <joseph@codesourcery.com>
9164 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9165 creal in comment listing functions tested. List finite, isinf,
9166 isnan, isless, islessequal, isgreater, isgreaterequal,
9167 islessgreater, isunordered, lgamma_r and pow10 as functions and
9168 macros not tested. Mention which functions not tested are aliases
9169 for other functions. Fix typo. Note that signs of NaNs are not
9172 * scripts/config.guess: Update from config.git.
9173 * scripts/config.sub: Likewise.
9175 2012-10-04 Roland McGrath <roland@hack.frob.com>
9177 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9178 * misc/madvise.c (madvise): Renamed to __madvise.
9179 Make madvise a weak alias.
9180 * include/sys/mman.h: Declare __madvise.
9181 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9182 * sysdeps/unix/syscalls.list
9183 (madvise): Make __madvise the strong name, and madvise a weak alias.
9184 * sysdeps/unix/sysv/linux/syscalls.list
9185 (madvise, mmap): Remove redundant entries.
9186 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9187 * malloc/malloc.c (mtrim): Likewise.
9188 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9190 2012-10-03 Roland McGrath <roland@hack.frob.com>
9192 * sysdeps/mach/hurd/dl-cache.c: File removed.
9193 * config.h.in (USE_LDCONFIG): New #undef.
9194 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9195 * configure: Regenerated.
9196 * elf/Makefile (dl-routines): Add dl-cache only under
9197 [$(use-ldconfig) = yes].
9198 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9199 cache on [USE_LDCONFIG].
9200 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9202 * elf/rtld.c (dl_main): Likewise.
9204 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9206 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9207 _SC_LEVEL4_CACHE_LINESIZE.
9209 2012-10-03 Roland McGrath <roland@hack.frob.com>
9211 * sysdeps/unix/bsd/confstr.h: File removed.
9213 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
9215 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9218 2012-10-02 Roland McGrath <roland@hack.frob.com>
9220 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9221 Make 'mapoff' field ElfW(Off) rather than off_t.
9223 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9225 * nscd/Makefile: Remove nscd-cflags and all its users.
9226 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9227 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9230 * malloc.c (malloc_printerr): Clarify error message.
9232 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9236 Set bit_FMA_Usable if FMA is supported.
9237 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9239 (bit_FMA4_Usable): Updated.
9240 (index_FMA_Usable): New macro.
9241 (CPUID_FMA): Likewise
9242 (HAS_FMA): Defined with bit_FMA_Usable.
9244 2012-10-01 Roland McGrath <roland@hack.frob.com>
9246 * bits/types.h (__swblk_t): Type removed.
9247 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9248 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9249 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9250 (__SWBLK_T_TYPE): Likewise.
9251 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9252 (__SWBLK_T_TYPE): Likewise.
9253 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9254 (__SWBLK_T_TYPE): Likewise.
9255 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9256 (__SWBLK_T_TYPE): Likewise.
9258 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
9259 Honza Horak <hhorak@redhat.com>
9261 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9262 (xdr_mapname): Use YPMAXMAP as maxsize.
9263 (xdr_peername): Use YPMAXPEER as maxsize.
9264 (xdr_keydat): Use YPAXRECORD as maxsize.
9265 (xdr_valdat): Use YPMAXRECORD as maxsize.
9267 2012-10-01 Roland McGrath <roland@hack.frob.com>
9269 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9271 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9272 * csu/init-first.c: ... here.
9273 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9274 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9275 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9276 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9277 * sysdeps/i386/init-first.c: File removed.
9278 * sysdeps/sh/init-first.c: File removed.
9280 2012-10-01 Joseph Myers <joseph@codesourcery.com>
9283 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9284 if x * y might underflow to zero and z is zero.
9285 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9286 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9287 * math/libm-test.inc (min_subnorm_value): New variable.
9288 (fma_test): Add more tests.
9289 (fma_test_towardzero): Likewise.
9290 (fma_test_downward): Likewise
9291 (fma_test_upward): Likewise.
9292 (initialize): Set min_subnorm_value.
9294 2012-09-29 Joseph Myers <joseph@codesourcery.com>
9297 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9299 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9300 mode for addition resulting in exact zero.
9301 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9302 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9304 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9305 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9306 * math/libm-test.inc (fma_test): Add more tests.
9307 (fma_test_towardzero): New function.
9308 (fma_test_downward): Likewise.
9309 (fma_test_upward): Likewise.
9310 (main): Call the new functions.
9312 2012-09-28 David S. Miller <davem@davemloft.net>
9314 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9316 2012-09-28 Roland McGrath <roland@hack.frob.com>
9318 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9321 * sysdeps/gnu/_G_config.h: Moved to ...
9322 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9323 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9324 * sysdeps/generic/_G_config.h: ... here.
9326 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9328 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9330 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9331 Conditionalize target on [libnss_test1.so-version].
9333 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9335 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9336 (elfobjdir): Move out of conditionals.
9338 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9339 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9340 (__nss_lookup_function): Conditionalize label remove_from_tree on
9341 [!DO_STATIC_NSS || SHARED], matching its only use.
9343 2012-09-28 David S. Miller <davem@davemloft.net>
9345 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9346 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9348 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9350 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9351 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9352 when HWCAP_SPARC_CRYPTO is present.
9354 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9356 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9358 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9361 * stdio-common/vfprintf.c (process_string_arg): Revert
9364 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9366 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9368 * stdio-common/tst-sprintf.c: Include <locale.h>
9369 (main): Test sprintf's handling of incomplete multibyte
9372 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9374 * elf/dl-runtime.c (VERSYMIDX): Removed.
9375 * elf/dl-version.c (VERSYMIDX): Likewise.
9376 * elf/do-rel.h (VERSYMIDX): Likewise.
9378 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9379 * elf/rtld.c (VALIDX): Likewise.
9380 (ADDRIDX): Likewise.
9381 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9382 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9383 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9384 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9386 (ADDRIDX): Likewise.
9388 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9390 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9392 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9395 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9397 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9398 addresses are in the same scope as 192.0.2/24.
9399 * posix/gai.conf: Document new scope table defaults.
9401 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9404 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9405 for ftell. Compute offsets from write pointers instead.
9406 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9408 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9411 * libio/Makefile (tests): New test case tst-fseek.
9412 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9413 combination works in wide mode.
9414 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9415 state when the external buffer state changes.
9417 2012-09-27 David S. Miller <davem@davemloft.net>
9420 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9421 pass reloc->r_addend in as the 'high' argument to
9422 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9426 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9428 * rt/tst-aio2.c: Include <pthread.h>.
9429 * rt/tst-aio3.c: Likewise.
9431 2012-09-27 Steve Ellcey <sellcey@mips.com>
9433 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9435 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9437 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9438 contents on [SHARED].
9440 2012-09-26 Marek Polacek <polacek@redhat.com>
9444 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9445 for C++ and GCC <4.3 as well as for non GCC compilers.
9447 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9451 2012-09-25 Roland McGrath <roland@hack.frob.com>
9453 * Makefile.in (all, install): Declare with .PHONY.
9454 Reported by Michael Hope <michael.hope@linaro.org>.
9456 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9458 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9459 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9461 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9463 (sydep_routines): Add the new and the internal functions.
9464 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9465 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9467 (GLIBC_2.17): Add the new function.
9468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9469 (GLIBC_2.17): Likewise.
9470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9471 (GLIBC_2.17): Likewise.
9472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9473 (GLIBC_2.17): Likewise.
9474 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9476 2012-09-25 Alan Modra <amodra@gmail.com>
9478 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9479 Add release barrier before setting once_control to say
9480 initialisation is done. Add hints on lwarx. Use macro in
9482 (clear_once_control): Add release barrier.
9484 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9487 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9489 * math/s_clog10.c (__clog10): Likewise.
9490 * math/s_clog10f.c (__clog10f): Likewise.
9491 * math/s_clog10l.c (__clog10l): Likewise.
9492 * math/s_clogf.c (__clogf): Likewise.
9493 * math/s_clogl.c (__clogl): Likewise.
9494 * math/Makefile (libm-calls): Add x2y2m1.
9495 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9496 (__x2y2m1): Likewise.
9497 (__x2y2m1l): Likewise.
9498 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9499 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9500 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9501 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9502 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9503 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9504 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9505 * sysdeps/i386/fpu/libm-test-ulps: Update.
9506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9509 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9510 int as type of variable DEPTH.
9511 (glob): Use size_t instead of int as type of variables NEWCOUNT
9514 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9516 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9518 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9519 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9520 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9521 macros for using routine as __sincosf_ia32.
9522 Use macro for function declaration and weak_alias.
9523 * sysdeps/i386/fpu/libm-test-ulps: Update.
9525 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9526 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9528 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
9530 * math/s_cexpf.c (__cexpf): Likewise.
9531 * math/s_csinf.c (__csinf): Likewise.
9532 * math/s_csinhf.c (__csinhf): Likewise.
9533 * math/s_ctanf.c (__ctanf): Likewise.
9534 * math/s_ctanhf.c (__ctanhf): Likewise.
9535 * math/s_ccosh.c (__ccoshf): Likewise.
9536 * math/s_cexp.c (__cexpl): Likewise.
9537 * math/s_csin.c (__csin): Likewise.
9538 * math/s_csinh.c (__csinh): Likewise.
9539 * math/s_ctan.c (__ctan): Likewise.
9540 * math/s_ctanh.c (ctanh): Likewise.
9541 * math/s_ccoshl.c (__ccoshl): Likewise.
9542 * math/s_cexpl.c (__cexpl): Likewise.
9543 * math/s_csinl.c (__csinl): Likewise.
9544 * math/s_csinhl.c (__csinhl): Likewise.
9545 * math/s_ctanl.c (__ctanl): Likewise.
9546 * math/s_ctanhl.c (__ctanhl): Likewise.
9548 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9550 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9551 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9552 (_IO_off_t): Define to __off_t, not _G_off_t.
9553 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9554 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9555 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9556 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9557 type of __dummy and __dummy2 fields.
9558 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9559 (_G_ssize_t): Likewise.
9560 (_G_off_t): Likewise.
9561 (_G_pid_t): Likewise.
9562 (_G_uid_t): Likewise.
9563 (_G_wchar_t): Likewise.
9564 (_G_wint_t): Likewise.
9565 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9566 (_G_ssize_t): Likewise.
9567 (_G_off_t): Likewise.
9568 (_G_pid_t): Likewise.
9569 (_G_uid_t): Likewise.
9570 (_G_wchar_t): Likewise.
9571 (_G_wint_t): Likewise.
9572 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9573 (_G_ssize_t): Likewise.
9574 (_G_off_t): Likewise.
9575 (_G_pid_t): Likewise.
9576 (_G_uid_t): Likewise.
9577 (_G_wchar_t): Likewise.
9578 (_G_wint_t): Likewise.
9580 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9582 * malloc/arena.c: Include malloc-sysdep.h.
9583 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9584 is sufficient to shrink the heap or an unmap is needed.
9585 * sysdeps/generic/malloc-sysdep.h: New file. Define
9586 new function check_may_shrink_heap.
9587 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9588 new function check_may_shrink_heap.
9590 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9592 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9595 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9597 * catgets/test-gencat.sh: Add "set -e".
9598 * elf/tst-pathopt.sh: Likewise.
9599 * grp/tst_fgetgrent.sh: Likewise.
9600 * iconvdata/run-iconv-test.sh: Likewise.
9601 * intl/tst-gettext.sh: Likewise.
9602 * intl/tst-gettext2.sh: Likewise.
9603 * intl/tst-gettext4.sh: Likewise.
9604 * intl/tst-gettext6.sh: Likewise.
9605 * intl/tst-translit.sh: Likewise.
9606 * io/ftwtest-sh: Likewise.
9607 * libio/test-freopen.sh: Likewise.
9608 * malloc/tst-mtrace.sh: Likewise.
9609 * posix/globtest.sh: Likewise.
9610 * posix/tst-getconf.sh: Likewise.
9611 * posix/wordexp-tst.sh: Likewise.
9612 * stdio-common/tst-printf.sh: Likewise.
9613 * stdio-common/tst-unbputc.sh: Likewise.
9614 * stdlib/tst-fmtmsg.sh: Likewise.
9615 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9616 * catgets/Makefile: Do not specify -e option when running
9617 testsuite shell scripts.
9618 * elf/Makefile: Likewise.
9619 * grp/Makefile: Likewise.
9620 * iconvdata/Makefile: Likewise.
9621 * intl/Makefile: Likewise.
9622 * io/Makefile: Likewise.
9623 * libio/Makefile: Likewise.
9624 * malloc/Makefile: Likewise.
9625 * posix/Makefile: Likewise.
9626 * stdio-common/Makefile: Likewise.
9627 * stdlib/Makefile: Likewise.
9628 * sysdeps/x86_64/Makefile: Likewise.
9630 * io/ftwtest-sh: Add copyright header.
9631 * posix/globtest.sh: Likewise.
9632 * posix/tst-getconf.sh: Likewise.
9633 * posix/wordexp-tst.sh: Likewise.
9634 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9636 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9639 * Makeconfig (+link): Defined as $(+link-static) if
9640 $(build-shared) isn't yes.
9641 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9643 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9645 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9648 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9649 new chunk size with MALLOC_ALIGN_MASK.
9651 2012-09-24 Joseph Myers <joseph@codesourcery.com>
9654 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9656 (__printf_fphex): Determine rounding using get_rounding_mode and
9658 * stdio-common/tst-printf-round.c (struct hex_test): New
9660 (hex_tests): New variable.
9661 (test_hex_in_one_mode): New function.
9662 (do_test): Also run tests for hex float output.
9664 2012-09-21 Joseph Myers <joseph@codesourcery.com>
9666 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9667 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9668 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9669 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9670 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9671 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9672 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9673 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9675 2012-09-20 Joseph Myers <joseph@codesourcery.com>
9677 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9678 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9679 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9680 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9682 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9685 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9687 * elf/tst-rtld-load-self.sh: New test.
9688 * elf/Makefile: Run it.
9690 2012-09-18 Joseph Myers <joseph@codesourcery.com>
9692 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9693 (tst-writev-ENV): Remove.
9694 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9696 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9698 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9700 2012-09-17 Joseph Myers <joseph@codesourcery.com>
9702 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9704 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9706 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9707 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9708 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9711 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9714 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9715 * config.make.in (have-cpp-asm-debuginfo): Removed.
9716 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9717 * configure: Regenerated.
9719 2012-09-14 Joseph Myers <joseph@codesourcery.com>
9722 * stdio-common/printf_fp.c: Include <stdbool.h> and
9724 (___printf_fp): Determine rounding using get_rounding_mode and
9726 * stdio-common/tst-printf-round.c: New file.
9727 * stdio-common/Makefile (tests): Add tst-printf-round.
9728 (link-libm): New variable.
9729 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9731 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9734 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9735 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9737 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9740 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9742 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9743 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9744 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9745 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9747 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9750 * include/rounding-mode.h: New file.
9751 * sysdeps/generic/get-rounding-mode.h: Likewise.
9752 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9753 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9754 (MAX_VALUE): New macro.
9755 (MIN_VALUE): Likewise.
9756 (overflow_value): New function.
9757 (underflow_value): Likewise.
9758 (round_and_return): Use overflow_value and underflow_value to
9759 determine return values in overflow and underflow cases. Use
9760 round_away to determine rounding depending on rounding mode.
9761 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9762 determine return values in overflow and underflow cases.
9763 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9764 (struct test_results): New structure.
9765 (struct test): Use struct test_results to store expected results
9766 for all rounding modes.
9767 (TEST): Include expected results for all rounding modes.
9768 (test_in_one_mode): New function.
9769 (do_test): Use test_in_one_mode to compute and check results.
9770 Check results for all rounding modes.
9771 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9774 2012-12-09 Allan McRae <allan@archlinux.org>
9776 * sysdeps/i386/fpu/libm-test-ulps: Update
9778 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9780 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9781 (_G_int32_t): Likewise.
9782 (_G_uint16_t): Likewise.
9783 (_G_uint32_t): Likewise.
9784 (_G_HAVE_BOOL): Likewise.
9785 (_G_HAVE_ATEXIT): Likewise.
9786 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9787 (_G_HAVE_IO_FILE_OPEN): Likewise.
9788 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9789 (_G_int32_t): Likewise.
9790 (_G_uint16_t): Likewise.
9791 (_G_uint32_t): Likewise.
9792 (_G_HAVE_BOOL): Likewise.
9793 (_G_HAVE_ATEXIT): Likewise.
9794 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9795 (_G_HAVE_IO_FILE_OPEN): Likewise.
9796 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9797 (_G_int32_t): Likewise.
9798 (_G_uint16_t): Likewise.
9799 (_G_uint32_t): Likewise.
9800 (_G_HAVE_BOOL): Likewise.
9801 (_G_HAVE_ATEXIT): Likewise.
9802 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9803 (_G_HAVE_IO_FILE_OPEN): Likewise.
9805 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9807 * csu/libc-tls.c: Update copyright years.
9809 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9811 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9812 [!_G_USING_THUNKS]: Remove conditional code.
9813 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9814 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9816 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9817 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9818 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9819 (_G_VTABLE_LABEL_PREFIX): Likewise.
9820 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9821 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9822 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9823 (_G_VTABLE_LABEL_PREFIX): Likewise.
9824 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9825 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9826 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9827 (_G_VTABLE_LABEL_PREFIX): Likewise.
9828 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9830 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9832 * libio/Makefile: Include ../Makeconfig before tests.
9833 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9834 only if $(build-shared) is yes.
9836 * iconv/gconv_db.c: Update copyright years.
9838 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9840 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9841 unwind info if defined PIC. Fix special cases description.
9842 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9844 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9846 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9848 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9850 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9852 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9855 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9856 (LDLIBS-tst-chk4): This.
9857 (LDFLAGS-tst-chk5): Renamed to ...
9858 (LDLIBS-tst-chk5): This.
9859 (LDFLAGS-tst-chk6): Renamed to ...
9860 (LDLIBS-tst-chk6): This.
9861 (LDFLAGS-tst-lfschk4): Renamed to ...
9862 (LDLIBS-tst-lfschk4): This.
9863 (LDFLAGS-tst-lfschk5): Renamed to ...
9864 (LDLIBS-tst-lfschk5): This.
9865 (LDFLAGS-tst-lfschk6): Renamed to ...
9866 (LDLIBS-tst-lfschk6): This.
9868 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9869 on $(common-objpfx)soversions.mk.
9871 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9874 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9877 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9879 * malloc/arena.c (arena_get_retry): New function that gets
9880 another arena for the caller to try its request on.
9881 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9882 current arena cannot fulfill the request.
9883 (__libc_memalign): Likewise.
9884 (__libc_memalign): Likewise.
9885 (__libc_pvalloc): Likewise.
9886 (__libc_calloc): Likewise.
9888 2012-09-05 John Tobey <john.tobey@gmail.com>
9891 * manual/arith.texi (Operations on Complex): Fix description
9894 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9897 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9901 * manual/memory.texi (Memory): Make order of menu items match
9904 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9906 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9907 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9908 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9910 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9912 * csu/libc-tls.c (static_dtv): Renamed to ...
9913 (_dl_static_dtv): This. Make it global.
9914 (_dl_initial_dtv): Removed.
9915 (__libc_setup_tls): Updated.
9916 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9917 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9920 2012-09-06 Petr Machata <pmachata@redhat.com>
9922 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9923 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9924 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9925 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9927 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9930 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9931 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9934 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9937 * Makeconfig (link-static-before-libc): Replace $(+prector)
9939 (link-static-after-libc): Replace $(+postctor) with
9941 (link-bounded): Replace $(+prector)/$(+postctor) with
9942 $(+prectorT)/$(+postctorT).
9943 (+prectorT): New macro.
9944 (+postctorT): Likewise.
9946 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9948 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9949 (round_str): Handle values above the maximum for IBM long double
9951 * stdlib/tst-strtod-round.c (tests): Regenerated.
9953 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9955 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9957 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9958 zarch_nohighgprs around the zarch optimized routines.
9959 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9960 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9961 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9964 2012-09-05 David S. Miller <davem@davemloft.net>
9966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9968 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9969 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9970 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9971 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9974 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9976 * malloc/arena.c: Fold copyright years.
9977 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9979 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9981 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9983 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9985 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9987 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9989 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9990 change internal state upon failure.
9992 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9994 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9995 * malloc/memusage.c (mmap): Likewise.
9996 (mmap64, mremap): Likewise. Adjust name in comment.
9998 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10000 * libio/fileops.c: Fix typos in comments.
10001 * libio/oldfileops.c: Likewise.
10002 * libio/wfileops.c: Likewise.
10004 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10007 * malloc/Makefile (tests): Add tst-malloc-usable test case.
10008 (tst-malloc-usable-ENV): Set environment for test case.
10009 * malloc/hooks.c (malloc_check_get_size): New function to get
10011 * malloc/malloc.c (musable): Use malloc_check_get_size.
10012 * malloc/tst-malloc-usable.c: New test case.
10014 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10016 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10018 2012-09-05 Allan McRae <allan@archlinux.org>
10021 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10022 determine header location.
10023 * configure: Regenerated.
10025 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10027 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10029 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
10030 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10032 (test): Regenerate.
10034 2012-09-04 David S. Miller <davem@davemloft.net>
10036 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10037 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10038 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10040 2012-09-04 Florian Weimer <fweimer@redhat.com>
10042 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10045 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10047 2012-09-04 Joseph Myers <joseph@codesourcery.com>
10050 * libio/iogetdelim.c: Include <limits.h>.
10051 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10052 + len + 1 would overflow.
10054 2012-09-03 Andreas Jaeger <aj@suse.de>
10056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10057 * sysdeps/i386/fpu/libm-test-ulps: Update.
10059 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10061 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10062 Add s_sinf-sse2, s_conf-sse2.
10064 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10065 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10066 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10067 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10069 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10070 for using routine as __sinf_ia32.
10071 Use macro for function declaration and weak_alias.
10072 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10073 for using routine as __cosf_ia32.
10074 Use macro for function declaration and weak_alias.
10076 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10077 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10079 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10080 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10081 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10083 * math/libm-test.inc (cos_test): Add more test cases.
10084 (sin_test): Likewise.
10085 (sincos_test): Likewise.
10087 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10089 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10090 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10092 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10094 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10097 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10098 first element of the GOT.
10099 (elf_machine_load_address): Return the difference between
10100 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10102 2012-09-01 Allan McRae <allan@archlinux.org>
10105 * configure.in (AWK): Require gawk version 3.0 or later.
10106 * configure: Regenerated.
10108 2012-09-01 Joseph Myers <joseph@codesourcery.com>
10110 * sysdeps/unix/sysv/linux/kernel-features.h
10111 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10112 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10113 [__NR_clock_getres]: Make code unconditional.
10114 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10115 (clock_getcpuclockid): Remove code left unreachable by removal of
10117 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10118 code unconditional.
10119 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10120 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10121 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10122 Make code unconditional.
10123 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10124 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10125 * sysdeps/unix/sysv/linux/clock_settime.c
10126 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10128 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10129 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10131 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10134 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10135 scripts/test-installation.pl.
10137 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10138 and $ld_so_version if it is set.
10140 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10143 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10144 failure if reading from procfs failed.
10145 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10147 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10149 * sysdeps/unix/sysv/linux/kernel-features.h
10150 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10151 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10152 Remove conditional code.
10153 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10154 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10155 Remove conditional code.
10156 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10157 * sysdeps/unix/sysv/linux/i386/fxstat.c
10158 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10159 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10160 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10161 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10162 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10163 * sysdeps/unix/sysv/linux/i386/lxstat.c
10164 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10165 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10166 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10167 Remove conditional code.
10168 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10169 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10170 Remove conditional code.
10171 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10172 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10173 <kernel-features.h>.
10174 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10176 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10177 Remove conditional code.
10178 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10179 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10180 Remove conditional.
10182 2012-08-27 Mike Frysinger <vapier@gentoo.org>
10185 * NEWS: Add fixed bug number.
10187 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10190 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10191 underflowing exponent in case of negative sign.
10192 * stdlib/tst-strtod-round-data: Add more tests.
10193 * stdlib/tst-strtod-round.c (tests): Regenerated.
10196 * stdlib/strtod_l.c (NDIG): Remove.
10197 (HEXNDIG): Likewise.
10198 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10199 smallest representable value.
10200 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10201 lie within an exact representation of 1/2 ulp of the result.
10202 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10204 (TENS_P9_IDX): Define unconditionally.
10205 (TENS_P9_SIZE): Likewise.
10206 (TENS_P10_IDX): Likewise.
10207 (TENS_P10_SIZE): Likewise.
10208 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10209 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10210 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10211 entries for 10^2^13 and 10^2^14.
10212 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10213 (TENS_P13_IDX): Define.
10214 (TENS_P13_SIZE): Likewise.
10215 (TENS_P14_IDX): Likewise.
10216 (TENS_P14_SIZE): Likewise.
10217 (_fpioconst_pow10): Change array size to
10218 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10220 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10221 1024]: Add entries for 10^2^13 and 10^2^14.
10222 [LAST_POW10 > _LAST_POW10]: Remove #error.
10223 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10224 (_fpioconst_pow10): Change array size to
10225 FPIOCONST_POW10_ARRAY_SIZE.
10226 * stdlib/gen-fpioconst.c: New file.
10227 * stdlib/gen-tst-strtod-round.c: Likewise.
10228 * stdlib/tst-strtod-round-data: Likewise.
10229 * stdlib/tst-strtod-round.c: Likewise.
10230 * stdlib/Makefile (tests): Add tst-strtod-round.
10233 * stdlib/strtod_l.c: Include <stdint.h>.
10234 (NDEBUG): Do not define.
10235 (round_and_return): Change EXPONENT parameter to type intmax_t.
10236 Rearrange calculations to avoid internal overflow possibilities.
10237 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10238 Rearrange calculations to avoid internal overflow possibilities.
10239 Assert that number fits inside MPNSIZE limbs.
10240 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10241 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10242 calculations and add assertions to avoid internal overflow
10243 possibilities. Add casts to avoid signed/unsigned operations.
10244 * stdlib/tst-strtod-overflow.c: New file.
10245 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10247 2012-08-25 Marek Polacek <polacek@redhat.com>
10249 * time/time.h: Fix some typos in comments.
10251 2012-08-23 Roland McGrath <roland@hack.frob.com>
10253 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10254 * posix/tst-rfc3484-2.c: Likewise.
10255 * posix/tst-rfc3484-3.c: Likewise.
10257 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10259 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10260 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10262 2012-08-23 Joseph Myers <joseph@codesourcery.com>
10264 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10265 #include of fxstatat64.c.
10267 2012-08-22 Roland McGrath <roland@hack.frob.com>
10269 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10270 * shadow/getspent_r.c: Likewise.
10271 * shadow/getspnam.c: Likewise.
10272 * shadow/getspnam_r.c: Likewise.
10273 * gshadow/getsgent.c: Likewise.
10274 * gshadow/getsgent_r.c: Likewise.
10275 * gshadow/getsgnam.c: Likewise.
10276 * gshadow/getsgnam_r.c: Likewise.
10277 * inet/getnetbyad.c: Likewise.
10278 * inet/getnetbyad_r.c: Likewise.
10279 * inet/getnetbynm.c: Likewise.
10280 * inet/getnetbynm_r.c: Likewise.
10281 * inet/getnetent.c: Likewise.
10282 * inet/getnetent_r.c: Likewise.
10283 * inet/getproto.c: Likewise.
10284 * inet/getproto_r.c: Likewise.
10285 * inet/getprtent.c: Likewise.
10286 * inet/getprtent_r.c: Likewise.
10287 * inet/getprtname.c: Likewise.
10288 * inet/getprtname_r.c: Likewise.
10289 * inet/getrpcbyname.c: Likewise.
10290 * inet/getrpcbyname_r.c: Likewise.
10291 * inet/getrpcbynumber.c: Likewise.
10292 * inet/getrpcbynumber_r.c: Likewise.
10293 * inet/getrpcent.c: Likewise.
10294 * inet/getrpcent_r.c: Likewise.
10295 * inet/getaliasent.c: Likewise.
10296 * inet/getaliasent_r.c: Likewise.
10297 * inet/getaliasname.c: Likewise.
10298 * inet/getaliasname_r.c: Likewise.
10299 * nscd/getgrgid_r.c: Likewise.
10300 * nscd/getgrnam_r.c: Likewise.
10301 * nscd/gethstbyad_r.c: Likewise.
10302 * nscd/gethstbynm3_r.c: Likewise.
10303 * nscd/getpwnam_r.c: Likewise.
10304 * nscd/getpwuid_r.c: Likewise.
10305 * nscd/getsrvbynm_r.c: Likewise.
10306 * nscd/getsrvbypt_r.c: Likewise.
10307 * nscd/gai.c: Likewise.
10309 * configure.in (build_nscd): New substituted variable, set
10310 by --disable-build-nscd and defaults to $use_nscd.
10311 * configure: Regenerated.
10312 * config.make.in (build-nscd): New substituted variable.
10313 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10314 Change conditional to require [$(build-nscd) = yes] as well.
10315 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10318 * configure.in (use_nscd): New substituted variable, set by
10319 --disable-nscd. If enabled, define USE_NSCD.
10320 * configure: Regenerated.
10321 * config.h.in: Add USE_NSCD.
10322 * config.make.in (use-nscd): New substituted variable.
10323 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10324 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10325 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10326 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10327 (CFLAGS-getgrnam_r.c): Likewise.
10328 (CFLAGS-initgroups.c): Likewise.
10329 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10330 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10332 * inet/getnetgrent_r.c
10333 (nscd_setnetgrent): New function, broken out of ...
10334 (setnetgrent): ... here. Call it.
10335 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10336 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10337 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10338 * nscd/Makefile (routines, aux): Move definitions after include of
10339 Makeconfig. Conditionalize on [$(use-nscd) != no].
10340 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10341 Conditionalize on [USE_NSCD].
10342 (is_nscd, nscd_init_cb): Likewise.
10343 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10344 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10345 * nss/nss_db/db-init.c: Likewise.
10346 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10348 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10349 (make_request): Use it.
10350 (cache_valid_p): New function.
10351 (__check_pf): Use it.
10352 * NEWS: Add item for --disable-nscd.
10354 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10356 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10357 to support sed >= 4.2.1-20-ga9bf076.
10358 * configure: Regenerated.
10360 2012-08-22 Roland McGrath <roland@hack.frob.com>
10362 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10363 Conditionalize whole body on [IREL].
10365 2012-08-22 Jeff Law <law@redhat.com>
10368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10369 if the family is PF_UNSPEC.
10371 2012-08-22 Mike Frysinger <vapier@gentoo.org>
10373 * Makerules (lib-version): Rename from V.
10374 (install-lib-nosubdir): Change V to lib-version.
10376 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10379 * powerpc32/power6/wcschr.c: New file.
10380 * powerpc32/power6/wcscpy.c: New file.
10381 * powerpc32/power6/wcsrchr.c: New file.
10382 * powerpc64/power6/wcschr.c: New file.
10383 * powerpc64/power6/wcscpy.c: New file.
10384 * powerpc64/power6/wcsrchr.c: New file.
10386 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10388 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10389 (two_way_short_needle): Use it.
10390 * string/strstr.c (AVAILABLE1_USES_J): Define.
10391 * string/strcasestr.c: Likewise.
10393 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10395 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10398 * NEWS: Add an entry.
10399 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10400 define their defaults.
10401 (two_way_short_needle): Detect end-of-string on-the-fly.
10402 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10403 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10404 * string/bug-strcasestr1.c: New test.
10405 * string/Makefile: Run it.
10407 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10410 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10411 the first character.
10413 2012-08-21 Roland McGrath <roland@hack.frob.com>
10415 * csu/elf-init.c (__libc_csu_irel): Function removed.
10416 * csu/libc-start.c (apply_irel): New function.
10417 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10419 2012-08-21 Joseph Myers <joseph@codesourcery.com>
10421 * sysdeps/unix/sysv/linux/kernel-features.h
10422 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10423 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10424 <kernel-features.h>.
10425 [__NR_fadvise64_64]: Make code unconditional.
10426 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10427 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10428 !__NR_fadvise64_64)]: Likewise.
10429 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10430 !__NR_fadvise64_64))]: Likewise.
10431 [__NR_fadvise64]: Make code unconditional.
10432 [!__NR_fadvise64]: Remove conditional code.
10433 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10434 <kernel-features.h>.
10435 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10437 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10440 not include <kernel-features.h>.
10441 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10443 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10445 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10446 include <kernel-features.h>.
10447 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10449 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10452 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10454 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10455 slight instruction rearrangements per scrollpipe analysis.
10456 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10458 2012-08-20 Roland McGrath <roland@hack.frob.com>
10460 * manual/syslog.texi (syslog; vsyslog, closelog):
10461 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10462 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10464 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10465 DSOCAPS to match condition on defining it.
10467 2012-08-20 Joseph Myers <joseph@codesourcery.com>
10469 * sysdeps/unix/sysv/linux/kernel-features.h
10470 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10472 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10473 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10475 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10476 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10478 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10479 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10481 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10482 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10484 * sysdeps/unix/sysv/linux/kernel-features.h
10485 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10486 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10488 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10489 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10490 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10491 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10492 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10493 Make code unconditional.
10494 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10495 (__mmap64) [!__NR_mmap2]: Likewise.
10496 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10497 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10498 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10499 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10500 [__NR_mmap2]: Make code unconditional.
10501 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10502 (__mmap64) [!__NR_mmap2]: Likewise.
10504 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10506 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10508 2012-08-18 Andreas Jaeger <aj@suse.de>
10510 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10512 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10514 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10515 * include/unistd.h (__have_sock_cloexec): Likewise.
10516 (__have_pipe2): Likewise.
10517 (__have_dup3): Likewise.
10519 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10522 * include/unistd.h (__have_pipe2): Change define into an extern int.
10523 (__have_dup3): Likewise.
10524 * socket/have_sock_cloexec.c: Include fcntl.h.
10525 (__have_pipe2): New variable.
10526 (__have_dup3): Likewise.
10528 2012-08-17 Mike Frysinger <vapier@gentoo.org>
10530 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10532 2012-08-17 Marek Polacek <polacek@redhat.com>
10534 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10535 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10537 2012-08-17 Roland McGrath <roland@hack.frob.com>
10539 * configure.in: Add AC_SUBST for sysheaders.
10540 * configure: Regenerated.
10541 * config.make.in (sysheaders): New substituted variable.
10543 * sysdeps/unix/mkfifo.c: Moved ...
10544 * sysdeps/posix/mkfifo.c: ... here.
10545 * sysdeps/unix/mkfifoat.c: Moved ...
10546 * sysdeps/posix/mkfifoat.c: ... here.
10548 * sysdeps/unix/utime.c: Moved ...
10549 * sysdeps/posix/utime.c: ... here.
10551 * sysdeps/unix/time.c: Moved ...
10552 * sysdeps/posix/time.c: ... here.
10553 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10554 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
10556 * sysdeps/unix/nice.c: Moved ...
10557 * sysdeps/posix/nice.c: ... here.
10559 * sysdeps/unix/alarm.c: Moved ...
10560 * sysdeps/posix/alarm.c: ... here.
10562 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10564 2012-08-17 Jeff Law <law@redhat.com>
10566 * intl/Makefile (codeset_mo): New variable.
10567 ($(codeset_mo)): New target.
10568 (tst-codeset.out): Depend on that. Remove explicit rule.
10569 (tst-gettext3.out, tst-gettext5.out): Likewise.
10570 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10571 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10572 * intl/tst-codeset.sh: Remove.
10573 * intl/tst-gettext3.sh: Likewise.
10574 * intl/tst-gettext5.sh: Likewise.
10576 2012-08-17 Roland McGrath <roland@hack.frob.com>
10578 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10579 * sysdeps/unix/syscalls.list: ... here.
10581 * sysdeps/posix/getaddrinfo.c
10582 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10583 (gaiconf_init, gaiconf_reload): Use them.
10584 [!_STATBUF_ST_NSEC]
10585 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10586 Define using time_t rather than struct timespec.
10588 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10589 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10591 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10593 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10594 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10597 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10598 __libc_cleanup_push argument.
10600 * bits/param.h: New file.
10601 * misc/sys/param.h: New file.
10602 * include/sys/param.h: New file.
10603 * misc/Makefile (headers): Add bits/param.h.
10604 * sysdeps/generic/sys/param.h: File removed.
10605 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10606 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10607 * sysdeps/mach/hurd/bits/param.h: New file.
10608 * sysdeps/mach/hurd/sys/param.h: File removed.
10610 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10613 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10615 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10616 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10619 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10620 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10621 rather than -D_IO_MTSAFE_IO conditionally.
10622 * stdio-common/Makefile (CPPFLAGS): Likewise.
10623 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10624 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10625 Use $(libio-mtsafe).
10626 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10627 of -D_IO_MTSAFE_IO.
10628 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10629 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10630 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10631 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10632 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10633 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10634 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10635 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10636 (CFLAGS-fread_u_chk.c): Likewise.
10637 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10638 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10639 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10640 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10641 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10642 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10643 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10644 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10645 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10647 * libio/Makefile: Test [$(libc-reentrant) = yes]
10648 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10651 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10652 * sysdeps/pthread/configure: File removed.
10653 * sysdeps/pthread/Makeconfig: New file.
10654 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10655 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10657 2012-08-16 Gary Benson <gbenson@redhat.com>
10659 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10660 unmapping the first object in a namespace.
10662 2012-08-16 Roland McGrath <roland@hack.frob.com>
10664 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10665 (__internal_setnetgrent): ... this. Add internal_function to
10666 definition. Add libc_hidden_def.
10667 (setnetgrent): Update caller.
10668 (internal_endnetgrent): Renamed to ...
10669 (__internal_endnetgrent): ... this. Add internal_function to
10670 definition. Add libc_hidden_def.
10671 (endnetgrent): Update caller.
10672 (internal_getnetgrent_r): Renamed to ...
10673 (__internal_getnetgrent_r): ... this. Add internal_function to
10674 definition. Add libc_hidden_def.
10675 (__getnetgrent_r): Update caller.
10676 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10678 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10680 * stdlib/longlong.h: Update from GCC.
10682 2012-08-16 Roland McGrath <roland@hack.frob.com>
10684 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10685 on _QL, which is set by umul_ppmm but never used.
10686 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10687 variables, which are set by GMP macros but never used.
10688 * stdio-common/_itowa.c (_itowa): Likewise.
10689 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10690 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10692 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10694 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10695 struct La_sh_regs is not constant.
10696 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10697 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10698 and struct La_sparc64_regs are not constant.
10700 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10702 * sysdeps/unix/sysv/linux/kernel-features.h
10703 (__ASSUME_POSIX_TIMERS): Remove.
10704 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10705 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10706 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10707 Make code unconditional.
10708 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10709 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10710 Make code unconditional.
10711 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10712 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10713 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10714 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10715 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10716 Make code unconditional.
10717 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10718 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10719 (__libc_missing_posix_timers): Remove.
10721 2012-08-15 Roland McGrath <roland@hack.frob.com>
10723 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10724 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10726 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10728 * elf/dl-sym.c: Include <stdlib.h>.
10730 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10731 constants, which avoids warnings in 32-bit builds.
10733 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10734 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10736 * misc/lseek.c: File moved to ...
10737 * io/lseek.c: ... here.
10739 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10741 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10742 shifting LEN more than 31 bits at once.
10744 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10747 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10748 segmentation fault for a case of two empty input strings.
10749 * string/test-strncasecmp.c (check1): Renamed to...
10750 (bz12205): ...this.
10751 (bz14195): Add new testcase for two empty input strings and N > 0.
10752 (test_main): Call new testcase, adapt for renamed function.
10754 2012-08-15 Andreas Jaeger <aj@suse.de>
10757 * crypt/md5test2.c: New test, based on test supplied by Serge
10758 Belyshev <belyshev@depni.sinp.msu.ru>.
10759 * crypt/Makefile (xtests): Add md5test-giant..
10760 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10762 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10765 * crypt/md5.c (md5_process_block): Don't assume the buffer
10766 length is less than 2**32.
10767 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10768 length is less than 2**64.
10770 2012-08-15 Roland McGrath <roland@hack.frob.com>
10772 * string/str-two-way.h: Include <sys/param.h>.
10773 (MAX): Macro removed.
10775 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10776 Move #define and #undef of memmove to just before and after
10777 including <string.h>.
10779 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10780 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10781 and after including <string.h>. Move declarations of
10782 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10783 to before #include "string/memmove.c".
10785 * include/dirent.h: Declare __getdirentries.
10787 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10788 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10790 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10792 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10793 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10794 * sysdeps/i386/configure: Regenerated.
10795 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10796 STABS_CURRENT_FILE, and STABS_FUN.
10797 (END): Remove call to STABS_FUN_END.
10798 (STABS_CURRENT_FILE1): Delete.
10799 (STABS_CURRENT_FILE): Likewise.
10800 (STABS_FUN): Likewise.
10801 (STABS_FUN_END): Likewise.
10802 (STABS_FUN2): Likewise.
10803 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10804 * sysdeps/x86_64/configure: Regenerated.
10806 2012-08-14 Roland McGrath <roland@hack.frob.com>
10808 * elf/dl-open.c: Include <atomic.h>.
10809 * elf/dl-lookup.c: Likewise.
10811 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10813 * sysdeps/unix/sysv/linux/kernel-features.h
10814 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10815 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10817 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10819 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10820 condition on __ASSUME_CLONE_THREAD_FLAGS.
10822 2012-08-14 Andreas Jaeger <aj@suse.de>
10824 * sysdeps/i386/fpu/libm-test-ulps: Update.
10826 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10828 * include/atomic.h (atomic_exchange_and_add): Split into ...
10829 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10832 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10836 2012-08-13 Jeff Law <law@redhat.com>
10838 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10839 null byte in the output string.
10841 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10843 * sysdeps/unix/sysv/linux/kernel-features.h
10844 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10845 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10846 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10847 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10848 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10849 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10850 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10852 2012-08-09 Jeff Law <law@redhat.com>
10855 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10856 When avoid_arena is set, don't retry in the that arena. Pick the
10857 next one, whatever it might be.
10858 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10859 (arena_lock): Pass in new parameter to arena_get2.
10860 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10862 (__libc_malloc): Unify retrying after main arena failure with
10863 __libc_memalign version.
10864 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10866 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10869 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10870 to __redirect_strstr.
10871 (__strstr_sse42): Use typeof __redirect_strstr.
10872 (__strstr_ia32): Likewise.
10873 (__libc_strstr): New prototype.
10874 (strstr): Renamed to ...
10875 (__libc_strstr): This.
10876 (strstr): New strong alias of __libc_strstr.
10877 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10878 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10881 (__libc_time): New prototype.
10882 (time_ifunc): Replace time with __libc_time.
10883 (time): New strong alias and hidden definition of __libc_time.
10884 (__GI_time): Remove strong alias.
10885 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10886 Include <stddef.h>.
10887 (memmove): Redefined to __redirect_memmove.
10888 (__memmove_sse2): Use typeof __redirect_memmove.
10889 (__memmove_ssse3): Likewise.
10890 (__memmove_ssse3_back): Likewise.
10891 (__libc_memmove): New prototype.
10892 (memmove): Renamed to ...
10893 (__libc_memmove): This.
10894 (memmove): New strong alias of __libc_memmove.
10896 2012-08-08 Mark Salter <msalter@redhat.com>
10899 (R_MN10300_TLS_GD): Define.
10900 (R_MN10300_TLS_LD): Likewise.
10901 (R_MN10300_TLS_LDO): Likewise.
10902 (R_MN10300_TLS_GOTIE): Likewise.
10903 (R_MN10300_TLS_IE): Likewise.
10904 (R_MN10300_TLS_LE): Likewise.
10905 (R_MN10300_TLS_DTPMOD): Likewise.
10906 (R_MN10300_TLS_DTPOFF): Likewise.
10907 (R_MN10300_TLS_TPOFF): Likewise.
10908 (R_MN10300_SYM_DIFF): Likewise.
10909 (R_MN10300_ALIGN): Likewise.
10910 (R_MN10300_NUM): Update.
10912 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10914 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10917 2012-08-08 Roland McGrath <roland@hack.frob.com>
10919 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10921 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10922 sysdeps/unix -> sysdeps/posix move.
10923 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10925 2012-08-07 Allan McRae <allan@archlinux.org>
10928 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10929 (SUNOS_CPP): Likewise.
10930 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10932 (open_input): Call CPP using execvp.
10934 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10936 * sysdeps/unix/sysv/linux/kernel-features.h
10937 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10938 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10939 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10940 (__ASSUME_WAITID_SYSCALL): Likewise.
10941 * sysdeps/unix/sysv/linux/dl-execstack.c
10942 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10943 code unconditional.
10944 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10946 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10947 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10948 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10950 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10952 [__ASSUME_WAITID_SYSCALL]: Likewise.
10953 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10955 2012-08-07 Roland McGrath <roland@hack.frob.com>
10957 * sysdeps/unix/closedir.c: Renamed to ...
10958 * sysdeps/posix/closedir.c: ... here.
10959 * sysdeps/unix/dirfd.c: Renamed to ...
10960 * sysdeps/posix/dirfd.c: ... here.
10961 * sysdeps/unix/dirstream.h: Renamed to ...
10962 * sysdeps/posix/dirstream.h: ... here.
10963 * sysdeps/unix/fdopendir.c: Renamed to ...
10964 * sysdeps/posix/fdopendir.c: ... here.
10965 * sysdeps/unix/opendir.c: Renamed to ...
10966 * sysdeps/posix/opendir.c: ... here.
10967 * sysdeps/unix/readdir.c: Renamed to ...
10968 * sysdeps/posix/readdir.c: ... here.
10969 * sysdeps/unix/readdir_r.c: Renamed to ...
10970 * sysdeps/posix/readdir_r.c: ... here.
10971 * sysdeps/unix/rewinddir.c: Renamed to ...
10972 * sysdeps/posix/rewinddir.c: ... here.
10973 * sysdeps/unix/seekdir.c: Renamed to ...
10974 * sysdeps/posix/seekdir.c: ... here.
10975 * sysdeps/unix/telldir.c: Renamed to ...
10976 * sysdeps/posix/telldir.c: ... here.
10977 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10978 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10979 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10980 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10982 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10983 * bits/fcntl.h: ... here.
10985 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10987 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10988 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10989 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10990 (struct flock): Move l_start, l_len to the beginning.
10991 Use __pid_t for l_pid.
10992 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10993 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10994 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10995 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10996 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10997 [__USE_LARGEFILE64] (struct flock64): New type.
10998 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
11000 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
11001 * bits/dirent.h: ... here.
11003 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
11004 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11006 2012-08-07 Joseph Myers <joseph@codesourcery.com>
11008 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11009 Change from 2.6.0 to 2.6.16.
11010 * sysdeps/unix/sysv/linux/configure: Regenerated.
11011 * sysdeps/unix/sysv/linux/kernel-features.h
11012 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11013 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11015 (__ASSUME_UTIMES): Likewise.
11016 (__ASSUME_CLONE_STOPPED): Remove.
11017 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11018 architectures, not kernel version.
11019 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11020 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11021 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11022 (__ASSUME_WAITID_SYSCALL): Likewise.
11023 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11024 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11025 * README: State 2.6.16 as minimum Linux kernel version. Do not
11026 refer to older versions.
11028 2012-08-06 Roland McGrath <roland@hack.frob.com>
11030 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11031 Define alphasort64 as an alias.
11032 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11033 Define versionsort64 as an alias.
11034 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11035 Define scandir64 as an alias.
11036 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11037 Define scandirat64 as an alias.
11038 * dirent/alphasort64.c (alphasort64):
11039 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11040 * dirent/versionsort64.c: Likewise.
11041 * dirent/scandir64.c: Likewise.
11042 * dirent/scandirat64.c: Likewise.
11043 * sysdeps/wordsize-64/alphasort.c: File removed.
11044 * sysdeps/wordsize-64/alphasort64.c: File removed.
11045 * sysdeps/wordsize-64/scandir.c: File removed.
11046 * sysdeps/wordsize-64/scandir64.c: File removed.
11047 * sysdeps/wordsize-64/scandirat.c: File removed.
11048 * sysdeps/wordsize-64/scandirat64.c: File removed.
11049 * sysdeps/wordsize-64/versionsort.c: File removed.
11050 * sysdeps/wordsize-64/versionsort64.c: File removed.
11051 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11052 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11053 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11054 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11055 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11056 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11057 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11058 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11060 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11061 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11062 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11063 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11064 [defined __arch64__ || defined __sparcv9]
11065 (__INO_T_MATCHES_INO64_T): New macro.
11066 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11067 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11068 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11069 * sysdeps/unix/sysv/linux/bits/dirent.h
11070 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11071 (_DIRENT_MATCHES_DIRENT64): New macro.
11073 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11074 Define lockf64 as an alias.
11075 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11076 Define fseeko64 as an alias.
11077 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11078 Define ftello64 as an alias.
11079 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11080 Define _IO_fgetpos64 and fgetpos64 as aliases.
11081 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11082 Define _IO_fsetpos64 and fsetpos64 as aliases.
11083 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11084 Conditionalize body on this.
11085 * libio/fseeko64.c: Likewise.
11086 * libio/ftello64.c: Likewise.
11087 * libio/iofgetpos64.c: Likewise.
11088 * libio/iofsetpos64.c: Likewise.
11089 * sysdeps/wordsize-64/lockf.c: File removed.
11090 * sysdeps/wordsize-64/lockf64.c: File removed.
11091 * sysdeps/wordsize-64/fseeko.c: File removed.
11092 * sysdeps/wordsize-64/fseeko64.c: File removed.
11093 * sysdeps/wordsize-64/ftello.c: File removed.
11094 * sysdeps/wordsize-64/ftello64.c: File removed.
11095 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11096 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11097 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11098 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11099 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11100 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11101 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11102 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11103 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11104 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11105 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11106 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11107 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11108 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11110 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11111 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11112 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11113 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11114 [defined __arch64__ || defined __sparcv9]
11115 (__OFF_T_MATCHES_OFF64_T): New macro.
11116 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11117 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11118 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11119 (__OFF_T_MATCHES_OFF64_T): New macro.
11121 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11123 * stdlib/secure-getenv.c (__secure_getenv): Replace
11124 GLIBC_2_16 with GLIBC_2_17.
11126 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11128 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11129 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11131 2012-08-03 David S. Miller <davem@davemloft.net>
11133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11135 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11137 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11139 (__ASSUME_CORRECT_SI_PID): Likewise.
11140 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11141 (__ASSUME_TMPFS_NAME): Likewise.
11142 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11143 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11144 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11145 (HAVE_AUX_SECURE): Make definition unconditional.
11146 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11147 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11149 2012-08-03 Roland McGrath <roland@hack.frob.com>
11151 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11152 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11153 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11154 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11155 __eloop_threshold instead of SYMLOOP_MAX.
11157 * sysdeps/generic/eloop-threshold.h: New file.
11158 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11160 * elf/chroot_canon.c (chroot_canon): Likewise.
11162 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11165 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11166 Change to 2.6.0 everywhere.
11167 * sysdeps/unix/sysv/linux/configure: Regenerated.
11168 * sysdeps/unix/sysv/linux/kernel-features.h
11169 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11170 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11172 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11173 (__ASSUME_FUTEX_REQUEUE): Remove.
11174 (__ASSUME_STATFS64): Define unconditionally.
11175 (__ASSUME_AT_SECURE): Likewise.
11176 (__ASSUME_CORRECT_SI_PID): Likewise.
11177 (__ASSUME_TGKILL): Define without depending on kernel version for
11179 (__ASSUME_UTIMES): Likewise.
11180 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11182 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11183 (__ASSUME_TMPFS_NAME): Likewise.
11184 * README: Update reference to Linux kernel versions.
11186 2012-08-02 Marek Polacek <polacek@redhat.com>
11189 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
11190 libc_cv_asm_type_prefix with %.
11191 * configure: Regenerated.
11192 * include/libc-symbols.h: Remove comment about
11193 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11194 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11195 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11196 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11197 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11198 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11199 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11200 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11201 * elf/tst-unique2mod1.c: Likewise.
11202 * elf/tst-unique1mod2.c: Likewise.
11203 * elf/tst-unique1mod1.c: Likewise.
11204 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11205 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11206 Replace ASM_TYPE_DIRECTIVE with .type.
11207 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11208 * sysdeps/i386/sysdep.h: Likewise.
11209 * sysdeps/x86_64/sysdep.h: Likewise.
11210 * sysdeps/sh/sysdep.h: Likewise.
11211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11212 Do not define ASM_TYPE_DIRECTIVE.
11213 * sysdeps/powerpc/sysdep.h: Likewise.
11214 * sysdeps/powerpc/powerpc32/sysdep.h:
11215 Replace ASM_TYPE_DIRECTIVE with .type.
11216 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11217 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11218 * sysdeps/i386/fpu/e_powf.S: Likewise.
11219 * sysdeps/i386/fpu/e_expl.S: Likewise.
11220 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11221 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11222 * sysdeps/i386/fpu/e_pow.S: Likewise.
11223 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11224 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11225 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11226 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11227 * sysdeps/i386/fpu/e_log2.S: Likewise.
11228 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11229 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11230 * sysdeps/i386/fpu/e_powl.S: Likewise.
11231 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11232 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11233 * sysdeps/i386/fpu/e_logl.S: Likewise.
11234 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11235 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11236 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11237 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11238 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11239 * sysdeps/i386/fpu/e_log.S: Likewise.
11240 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11241 * sysdeps/i386/fpu/e_logf.S: Likewise.
11242 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11243 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11244 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11245 * sysdeps/i386/fpu/e_log10.S: Likewise.
11246 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11247 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11248 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11249 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11250 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11251 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11252 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11253 * sysdeps/i386/i686/strtok.S: Likewise.
11254 * sysdeps/i386/i386-mcount.S: Likewise.
11255 * sysdeps/i386/strtok.S: Likewise.
11256 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11257 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11258 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11259 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11260 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11261 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11262 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11263 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11264 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11265 * sysdeps/x86_64/_mcount.S: Likewise.
11266 * sysdeps/x86_64/strtok.S: Likewise.
11267 * sysdeps/sh/_mcount.S: Likewise.
11269 2012-08-01 Roland McGrath <roland@hack.frob.com>
11271 * libio/iofopen.c: Include <fcntl.h>.
11272 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11273 (_IO_fopen64, fopen64): Define as aliases.
11274 * libio/iofopen64.c: Include <fcntl.h>.
11275 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11276 Conditionalize body on this.
11277 * sysdeps/wordsize-64/iofopen.c: File removed.
11278 * sysdeps/wordsize-64/iofopen64.c: File removed.
11280 2012-08-01 Marek Polacek <polacek@redhat.com>
11282 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11283 Use dlfcn directly instead of a variable.
11284 (binfmt-subdir): Do not define.
11287 2012-08-01 Joseph Myers <joseph@codesourcery.com>
11289 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11290 Remove all definitions.
11291 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11292 <kernel-features.h>.
11293 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11294 (miss_F_GETOWN_EX): Remove all definitions.
11295 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11297 [!__ASSUME_FCNTL64]: Remove conditional code.
11298 [__ASSUME_FCNTL64]: Make code unconditional.
11299 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11300 <kernel-features.h>.
11301 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11302 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11303 (lockf64) [__NR_fcntl64]: Make code unconditional.
11304 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11306 * sysdeps/unix/sysv/linux/kernel-features.h
11307 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11308 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11309 Make code unconditional.
11310 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11311 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11313 [__NR_vfork]: Make code unconditional.
11314 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11315 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11317 [__NR_vfork]: Make code unconditional.
11318 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11319 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11321 2012-08-01 Roland McGrath <roland@hack.frob.com>
11323 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11324 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11326 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11327 Define mkstemp64 as an alias.
11328 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11329 Define mkstemps64 as an alias.
11330 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11331 Define mkostemp64 as an alias.
11332 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11333 Define mkostemps64 as an alias.
11334 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11335 Conditionalize body on this.
11336 * misc/mkostemp64.c: Likewise.
11337 * misc/mkostemps64.c: Likewise.
11338 * misc/mkstemps64.c: Likewise.
11339 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11340 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11341 * sysdeps/wordsize-64/mkostemp.c: File removed.
11342 * sysdeps/wordsize-64/mkstemp.c: File removed.
11343 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11344 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11345 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11346 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11349 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11350 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11351 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11352 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11354 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11355 compat_symbol macros from <shlib-compat.h> rather than the underlying
11356 default_symbol_version and symbol_version macros, so that DEFAULT
11357 lines in shlib-versions are respected.
11358 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11360 2012-08-01 Florian Weimer <fweimer@redhat.com>
11362 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11363 Declare with warn_unused_result.
11364 (setgid, setregid, setegid, setresgid): Likewise.
11365 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11367 * WUR-REPORT: Remove set*id functions.
11369 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11371 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11373 2012-07-31 Roland McGrath <roland@hack.frob.com>
11376 * include/sys/socket.h (__libc_accept, __libc_accept4):
11377 Add attribute_hidden.
11378 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11380 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11382 * inet/getnetgrent_r.c (setup): Likewise.
11384 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11386 2012-07-31 David S. Miller <davem@davemloft.net>
11388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11390 2012-07-31 Joseph Myers <joseph@codesourcery.com>
11393 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11394 value between 1.0 and 2.0 and smaller part has absolute value less
11396 * math/s_clog10.c (__clog10): Likewise.
11397 * math/s_clog10f.c (__clog10f): Likewise.
11398 * math/s_clog10l.c (__clog10l): Likewise.
11399 * math/s_clogf.c (__clogf): Likewise.
11400 * math/s_clogl.c (__clogl): Likewise.
11401 * math/libm-test.inc (clog_test): Add more tests.
11402 (clog10_test): Likewise.
11403 * sysdeps/i386/fpu/libm-test-ulps: Update.
11404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11406 2012-07-31 Florian Weimer <fweimer@redhat.com>
11408 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11409 Exit with zero in case no suitable GID is found, and write a
11410 message to standard error.
11412 2012-07-30 Roland McGrath <roland@hack.frob.com>
11414 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11416 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11417 (MAXPATHLEN): Removed.
11418 (NOGROUP, NODEV): New macros.
11419 (setbit, clrbit, isset, isclr): New macros.
11420 (howmany, roundup, powerof2): New macros.
11421 (DEV_BSIZE): New macro.
11423 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11424 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11426 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11427 definition on [!__NO_LONG_DOUBLE_MATH].
11429 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11430 PTR_MANGLE and PTR_DEMANGLE.
11432 * socket/accept4.c (accept4): Rename to __libc_accept4.
11433 Define accept4 as a weak alias.
11435 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11436 on [_DIRENT_HAVE_D_TYPE].
11437 * io/ftw.c (ftw_dir): Likewise.
11439 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11441 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11443 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11444 Use the BSD numbers rather than the arbitrary ones we had.
11445 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11446 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11447 (SIGXCPU, SIGXFSZ): New macros.
11450 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11451 initializer on [_LIBC_REENTRANT].
11453 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11454 definitions inside [_POSIX_MAPPED_FILES].
11456 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11458 * dirent/opendir.c: Include <fcntl.h>.
11460 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11461 (__libc_getspecific): Likewise.
11462 (__libc_key_create): Likewise.
11464 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11465 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11466 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11467 (tmpfile64): Define as alias.
11468 * sysdeps/wordsize-64/tmpfile.c: File removed.
11469 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11470 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11471 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11473 * stdio-common/vfscanf.c: Include <stdbool.h>.
11474 * nss/makedb.c: Likewise.
11475 * stdio-common/_i18n_number.h: Likewise.
11476 * argp/argp-help.c: Likewise.
11477 * posix/wordexp.c: Likewise.
11478 * sysdeps/posix/spawni.c: Likewise.
11479 * nss/nss_files/files-initgroups.c: Likewise.
11480 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11481 * nss/nss_files/files-initgroups.c: Likewise.
11482 * nss/nss_db/db-netgrp.c: Likewise.
11483 * nss/nss_db/db-initgroups.c: Likewise.
11484 * io/fchmodat.c: Include <sys/stat.h>.
11486 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11487 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11489 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11492 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11493 Add multiple inclusion protection.
11495 2012-07-27 David S. Miller <davem@davemloft.net>
11497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11499 2012-07-27 Gary Benson <gbenson@redhat.com>
11502 * elf/rtld.c: Include <stap-probe.h>.
11503 (dl_main): Added static probes "init_start" and "init_complete".
11504 * elf/dl-load.c: Include <stap-probe.h>.
11505 (lose): Take new parameter "nsid".
11506 Added static probe "map_failed".
11507 (_dl_map_object_from_fd): Pass namespace id to lose.
11508 Added static probe "map_start".
11509 (open_verify): Pass namespace id to lose.
11510 * elf/dl-open.c: Include <stap-probe.h>.
11511 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11512 and "reloc_complete".
11513 * elf/dl-close.c: Include <stap-probe.h>.
11514 (_dl_close_worker): Added static probes "unmap_start" and
11516 * elf/rtld-debugger-interface.txt: New file documenting the above.
11518 2012-07-26 Roland McGrath <roland@hack.frob.com>
11520 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11521 rather than a string variable.
11522 * sunrpc/rpc_main.c (h_output): Likewise.
11523 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11525 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11527 * inet/check_native.c: New file.
11529 2012-07-26 Joseph Myers <joseph@codesourcery.com>
11532 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11533 if larger part has absolute value 1.0.
11534 * math/s_clog10.c (__clog10): Likewise.
11535 * math/s_clog10f.c (__clog10f): Likewise.
11536 * math/s_clog10l.c (__clog10l): Likewise.
11537 * math/s_clogf.c (__clogf): Likewise.
11538 * math/s_clogl.c (__clogl): Likewise.
11539 * math/libm-test.inc (clog_test): Add more tests.
11540 (clog10_test): Likewise.
11541 * sysdeps/i386/fpu/libm-test-ulps: Update.
11542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11544 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11545 (pltexit): Likewise.
11546 (La_regs): Likewise.
11547 (La_retval): Likewise.
11548 (int_retval): Likewise.
11549 Update #error for removed macros to refer only to definitions in
11551 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11553 (pltexit): Likewise.
11554 (La_regs): Likewise.
11555 (La_retval): Likewise.
11556 (int_retval): Likewise.
11557 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11559 (pltexit): Likewise.
11560 (La_regs): Likewise.
11561 (La_retval): Likewise.
11562 (int_retval): Likewise.
11563 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11565 (pltexit): Likewise.
11566 (La_regs): Likewise.
11567 (La_retval): Likewise.
11568 (int_retval): Likewise.
11569 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11571 (pltexit): Likewise.
11572 (La_regs): Likewise.
11573 (La_retval): Likewise.
11574 (int_retval): Likewise.
11575 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11577 (pltexit): Likewise.
11578 (La_regs): Likewise.
11579 (La_retval): Likewise.
11580 (int_retval): Likewise.
11581 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11583 (pltexit): Likewise.
11584 (La_regs): Likewise.
11585 (La_retval): Likewise.
11586 (int_retval): Likewise.
11587 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11588 macro definitions in tst-audit.h.
11589 * sysdeps/i386/tst-audit.h: New file.
11590 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11591 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11592 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11593 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11594 * sysdeps/sh/tst-audit.h: Likewise.
11595 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11596 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11597 * sysdeps/x86_64/tst-audit.h: Likewise.
11599 2012-07-26 Andreas Jaeger <aj@suse.de>
11601 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11604 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11605 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11606 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11608 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11609 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11610 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11612 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11615 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11617 (si_call_addr, si_syscall, si_arch): Define new macro.
11618 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11620 (si_call_addr, si_syscall, si_arch): Define new marcro.
11621 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11623 (si_call_addr, si_syscall, si_arch): Define new macro.
11624 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11626 (si_call_addr, si_syscall, si_arch): Define new macro.
11628 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11631 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11632 Change to 2.4.21 where previously 2.4.1.
11633 * sysdeps/unix/sysv/linux/configure: Regenerated.
11634 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11635 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11636 Linux kernel version.
11637 (__ASSUME_STD_AUXV): Remove.
11638 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11640 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11641 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11642 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11643 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11644 (__ASSUME_NETLINK_SUPPORT): Likewise.
11645 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11646 (__no_netlink_support): Remove conditional definition.
11647 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11649 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11650 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11651 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11652 (if_nameindex_ioctl): Remove.
11653 (if_nameindex_netlink): Do not handle __no_netlink_support.
11654 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11656 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11657 Remove conditional code.
11658 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11660 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11662 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11663 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11664 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11666 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11667 [!__ASSUME_STD_AUXV]: Remove conditional code.
11668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11669 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11670 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11672 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11673 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11675 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11677 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11678 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11680 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11682 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11685 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11688 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11689 code unconditional.
11690 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11692 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11694 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11697 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11699 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11702 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11703 code unconditional.
11704 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11706 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11708 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11711 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11712 code unconditional.
11713 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11715 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11717 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11720 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11722 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11723 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11724 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11725 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11726 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11727 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11728 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11729 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11730 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11731 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11732 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11733 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11734 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11735 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11736 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11737 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11738 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11739 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11740 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11742 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11743 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11744 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11746 2012-07-25 Florian Weimer <fweimer@redhat.com>
11748 * Versions.def: Add GLIBC_2.17.
11749 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11750 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11751 Introduce __libc_secure_getenv.
11752 * stdlib/Versions (2.17): Add secure_getenv
11753 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11754 * stdlib/secure-getenv.c: Rename __secure_getenv to
11755 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11756 symbol __secure_getenv for GLIBC_2.0.
11757 * stdlib/tst-secure-getenv.c: New.
11758 * stdlib/Makefile (tests): Add testcase.
11759 * manual/startup.texi (Environment Access): Document
11761 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11762 __libc_secure_getenv.
11763 * inet/ruserpass.c (ruserpass): Likewise.
11764 * malloc/mtrace.c (mtrace): Likewise.
11765 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11766 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11767 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11768 * sysdeps/posix/tempname.c: Likewise. Evaluate
11769 HAVE_SECURE_GETENV.
11770 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11771 __secure_getenv to __libc_secure_getenv.
11772 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11779 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11785 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11787 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11788 (struct La_i86_retval): Likewise.
11789 (struct La_x86_64_regs): Likewise.
11790 (struct La_x86_64_retval): Likewise.
11791 (struct La_x32_regs): Likewise.
11792 (struct La_x32_retval): Likewise.
11793 (struct La_ppc32_regs): Likewise.
11794 (struct La_ppc32_retval): Likewise.
11795 (struct La_ppc64_regs): Likewise.
11796 (struct La_ppc64_retval): Likewise.
11797 (struct La_sh_regs): Likewise.
11798 (struct La_sh_retval): Likewise.
11799 (struct La_s390_32_regs): Likewise.
11800 (struct La_s390_32_retval): Likewise.
11801 (struct La_s390_64_regs): Likewise.
11802 (struct La_s390_64_retval): Likewise.
11803 (struct La_sparc32_regs): Likewise.
11804 (struct La_sparc32_retval): Likewise.
11805 (struct La_sparc64_regs): Likewise.
11806 (struct La_sparc64_retval): Likewise.
11807 (struct audit_ifaces): Remove architecture-specific pltenter and
11809 * sysdeps/i386/ldsodefs.h: New file.
11810 * sysdeps/powerpc/ldsodefs.h: Likewise.
11811 * sysdeps/s390/ldsodefs.h: Likewise.
11812 * sysdeps/sh/ldsodefs.h: Likewise.
11813 * sysdeps/sparc/ldsodefs.h: Likewise.
11814 * sysdeps/x86_64/ldsodefs.h: Likewise.
11816 2012-07-25 Marek Polacek <polacek@redhat.com>
11819 * math/libm-test.inc (yn_test): Add another test.
11820 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11821 to ERANGE when the result is +-Inf.
11822 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11823 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11824 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11825 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11827 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11829 * conform/data/time.h-data (NULL): Use macro-constant. Require
11831 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11833 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11835 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11837 * configure.in <sysdeps resolving>: Correct printing
11839 * configure: Regenerate.
11841 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11843 * math/w_ilogb.c: Include <limits.h>.
11844 * math/w_ilogbl.c: Likewise.
11846 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11848 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11849 va_copy. Document allowing for unavailable va_copy only as
11850 pre-C99 compatibility.
11851 * manual/string.texi (Copying and Concatenation): Use va_copy
11852 instead of __va_copy in concat example.
11854 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11856 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11857 (__sendto): Use create_address_port. Initialize APORT and deallocate
11860 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11861 with O_NOLINK passed to __file_name_lookup.
11863 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11864 with O_NOLINK passed to __file_name_lookup.
11866 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11867 negative N or less than NGIDS.
11869 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11870 type to string_t. Set ERANGE as errno and return it if NAME is not big
11871 enough. Use memcpy instead of strncpy.
11873 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11875 * elf/Makefile (check-data): Remove.
11876 (localplt.data): New vpath directive.
11877 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11878 instead of $(check-data).
11879 * scripts/data/localplt-generic.data: Move to ...
11880 * sysdeps/generic/localplt.data: ... here.
11881 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11882 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11883 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11886 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11889 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11892 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11895 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11898 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11899 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11902 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11904 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11905 PPC32 and PPC64 files.
11906 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11907 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11909 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11911 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11912 __makecontext_ret to ...
11913 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11914 ... here and call exit if uc_link is NULL. New file.
11915 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11916 __makecontext_ret.S.
11917 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11918 __makecontext_ret to ...
11919 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11920 ... here and call exit if uc_link is NULL. New file.
11921 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11922 __makecontext_ret.S.
11924 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11926 * elf/elf.h (R_390_IRELATIVE): New definition.
11927 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11928 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11929 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11930 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11931 (elf_machine_lazy_rel): Likewise.
11932 * sysdeps/s390/dl-irel.h: New file.
11933 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11934 * sysdeps/s390/s390-64/memset.S: New asm code.
11935 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11936 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11937 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11938 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11939 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11940 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11941 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11942 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11943 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11944 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11945 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11946 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11947 * sysdeps/s390/s390-32/memset.S: New asm code.
11948 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11950 2012-07-17 Marek Polacek <polacek@redhat.com>
11953 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11954 * sysdeps/s390/s390-64/configure.in: Likewise.
11955 * sysdeps/sparc/configure.in: Likewise.
11956 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11957 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11958 * sysdeps/i386/configure.in: Likewise.
11959 * sysdeps/x86_64/configure.in: Likewise.
11960 * sysdeps/sh/configure.in: Likewise.
11961 * sysdeps/s390/s390-32/configure: Regenerated.
11962 * sysdeps/s390/s390-64/configure: Likewise.
11963 * sysdeps/x86_64/configure: Likewise.
11964 * sysdeps/sh/configure: Likewise.
11965 * sysdeps/powerpc/powerpc64/configure: Likewise.
11966 * sysdeps/powerpc/powerpc32/configure: Likewise.
11967 * sysdeps/sparc/configure: Likwise.
11968 * sysdeps/i386/configure: Likewise.
11970 * elf/dl-open.c: Comment fixes.
11972 2012-07-17 Joseph Myers <joseph@codesourcery.com>
11974 * Makefile [CXX] (check-data): Remove.
11975 [CXX] (c++-types.data): New vpath directive.
11976 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11977 vpath. Do not allow for C++ type data being missing.
11978 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11979 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11980 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11981 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11982 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11983 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11984 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11987 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11990 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11993 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11996 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11999 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
12000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
12002 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
12003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
12005 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12006 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12008 * elf/tls-macros.h (TLS_LE): Move architecture-specific
12009 definitions to architecture-specific files.
12010 (TLS_IE): Likewise.
12011 (TLS_LD): Likewise.
12012 (TLS_GD): Likewise.
12013 * sysdeps/i386/tls-macros.h: New file.
12014 * sysdeps/powerpc/tls-macros.h: Likewise.
12015 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12016 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12017 * sysdeps/sh/tls-macros.h: Likewise.
12018 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12019 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12020 * sysdeps/x86_64/tls-macros.h: Likewise.
12022 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12024 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12025 zero value for regular exit case.
12027 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12028 (__start_context): Preserve zero value for regular exit case.
12030 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12031 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12033 * manual/setjmp.texi (setcontext): Clarify normal process
12034 termination when uc_link is the null pointer.
12035 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12038 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12040 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12041 preprocessor. Test for each exception mask separately.
12043 2012-07-16 Andreas Jaeger <aj@suse.de>
12045 * po/ru.po: Update from translation team.
12047 2012-07-15 Joseph Myers <joseph@codesourcery.com>
12049 * conform/data/string.h-data (NULL): Use macro-constant. Require
12051 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12052 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12053 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12054 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12055 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12057 2012-07-13 Andreas Jaeger <aj@suse.de>
12059 * po/fr.po: Update from translation team.
12061 2012-07-12 Marek Polacek <polacek@redhat.com>
12064 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12065 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12068 2012-07-12 Joseph Myers <joseph@codesourcery.com>
12071 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12072 Change to 2.4.1 where previously 2.4.0.
12073 * sysdeps/unix/sysv/linux/configure: Regenerated.
12074 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12075 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12077 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12078 (__ASSUME_AT_CLKTCK): Remove.
12079 (__ASSUME_AT_PAGESIZE): Likewise.
12080 (__ASSUME_AT_XID): Likewise.
12081 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12082 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12083 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12085 (HAVE_AUX_PAGESIZE): Likewise.
12086 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12087 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12088 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12090 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12094 the temporary buffer used to invoke __gethostbyname2_r,
12095 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12096 host_data / struct gaih_addrtuple.
12097 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12098 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12099 header file nss/nsswitch.h.
12100 * nss/nsswitch.h (global scope): Add definition of implementation
12101 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12102 resolv/nss_dns/dns-host.c).
12104 2012-07-11 Andreas Jaeger <aj@suse.de>
12106 * po/fr.po: Update from translation team.
12108 * po/sv.po: Update from translation team
12109 * po/fr.po: Another update from translation team.
12111 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12113 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12114 for subnormals or multiply small sinh result by itself.
12115 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12118 2012-07-11 David S. Miller <davem@davemloft.net>
12120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12122 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12125 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12126 (INTERNAL_MARK): Shift it here.
12128 2012-07-10 Marek Polacek <polacek@redhat.com>
12131 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12132 libc_cv_asm_global_directive with .globl.
12133 * configure: Regenerated.
12134 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12136 * sysdeps/i386/configure: Regenerated.
12137 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12139 * sysdeps/x86_64/configure: Regenerated.
12140 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12141 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12142 * elf/tst-unique2mod2.c: Likewise.
12143 * elf/tst-unique2mod1.c: Likewise.
12144 * elf/tst-unique1mod2.c: Likewise.
12145 * elf/tst-unique1mod1.c: Likewise.
12146 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12147 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12148 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12149 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12150 * sysdeps/mach/sysdep.h: Likewise.
12151 * sysdeps/i386/sysdep.h: Likewise.
12152 * sysdeps/i386/i386-mcount.S: Likewise.
12153 * sysdeps/x86_64/_mcount.S: Likewise.
12154 * sysdeps/x86_64/sysdep.h: Likewise.
12155 * sysdeps/sh/_mcount.S: Likewise.
12156 * sysdeps/sh/sysdep.h: Likewise.
12157 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12158 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12159 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12160 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12161 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12162 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12163 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12164 * locale/localeinfo.h: Likewise.
12165 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12166 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12168 2012-07-09 Roland McGrath <roland@hack.frob.com>
12171 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12173 * manual/message.texi (The Uniforum approach): Likewise.
12174 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12175 (glibc iconv Implementation): Likewise.
12177 2012-07-09 Joseph Myers <joseph@codesourcery.com>
12180 * math/s_clog.c (__clog): Avoid scaling a value down where that
12181 could result in underflow.
12182 * math/s_clog10.c (__clog10): Likewise.
12183 * math/s_clog10f.c (__clog10f): Likewise.
12184 * math/s_clog10l.c (__clog10l): Likewise.
12185 * math/s_clogf.c (__clogf): Likewise.
12186 * math/s_clogl.c (__clogl): Likewise.
12187 * math/libm-test.inc (clog_test): Add more tests.
12188 (clog10_test): Likewise.
12189 * sysdeps/i386/fpu/libm-test-ulps: Update.
12190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12192 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12195 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12196 by 7 not 8 to examine high bit of fractional part.
12199 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12200 for call to __mcount_internal.
12201 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12202 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12203 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12205 2012-07-06 Joseph Myers <joseph@codesourcery.com>
12208 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12209 approximation for values within 0x1p-13f of an odd multiple of
12211 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12212 exception. Add more tests.
12213 * sysdeps/i386/fpu/libm-test-ulps: Update.
12216 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12217 inputs and return -1 for them. Do not check for +Inf in case not
12218 reachable for +Inf.
12219 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12220 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12221 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12222 and return -1 for them. Do not check for +Inf in case not
12223 reachable for +Inf.
12224 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12226 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12227 and return -1 for them. Do not check for +Inf in case not
12228 reachable for +Inf.
12229 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12230 spurious underflow.
12231 * sysdeps/i386/fpu/libm-test-ulps: Update.
12232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12234 2012-07-06 Mike Frysinger <vapier@gentoo.org>
12236 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12238 2012-07-05 Joseph Myers <joseph@codesourcery.com>
12242 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12243 could result in spurious underflow. Scale down values above
12244 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12245 * math/s_csqrtf.c (__csqrtf): Likewise.
12246 * math/s_csqrtl.c (__csqrtl): Likewise.
12247 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12248 spurious underflow.
12249 * sysdeps/i386/fpu/libm-test-ulps: Update.
12250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12252 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12254 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12256 * catgets/xopen-msg.awk: New file.
12257 * catgets/xopen-msg.sed: Removed.
12259 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12261 * intl/po2test.awk: New file.
12262 * intl/po2test.sed: Removed.
12264 2012-07-04 Joseph Myers <joseph@codesourcery.com>
12267 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12268 or multiply small sinh result by itself.
12269 * math/s_ctanf.c (__ctanf): Likewise.
12270 * math/s_ctanh.c (__ctanh): Likewise.
12271 * math/s_ctanhf.c (__ctanhf): Likewise.
12272 * math/s_ctanhl.c (__ctanhl): Likewise.
12273 * math/s_ctanl.c (__ctanl): Likewise.
12274 * math/libm-test.inc (ctan_test_tonearest): New function.
12275 (ctan_test_towardzero): Likewise.
12276 (ctan_test_downward): Likewise.
12277 (ctan_test_upward): Likewise.
12278 (ctanh_test_tonearest): Likewise.
12279 (ctanh_test_towardzero): Likewise.
12280 (ctanh_test_downward): Likewise.
12281 (ctanh_test_upward): Likewise.
12282 (main): Call these new functions.
12283 * sysdeps/i386/fpu/libm-test-ulps: Update.
12284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12286 2012-07-03 Mike Frysinger <vapier@gentoo.org>
12288 * .gitignore: Delete /ports entry.
12290 2012-07-03 Andreas Jaeger <aj@suse.de>
12292 * po/bg.po: Update from translation team.
12293 * po/cs.po: Likewise.
12294 * po/de.po: Likewise.
12295 * po/hr.po: Likewise.
12296 * po/nl.pl: Likewise.
12297 * po/pl.po: Likewise.
12298 * po/vi.po: Likewise.
12300 2012-07-03 Joseph Myers <joseph@codesourcery.com>
12302 * Makeconfig [!+link] (+link-before-libc): New variable.
12303 [!+link] (+link-after-libc): Likewise.
12304 [!+link] (+link-tests): Likewise.
12305 [!+link] (+link): Define in terms of $(+link-before-libc) and
12306 $(+link-after-libc).
12307 [!+link-static] (+link-static-before-libc): New variable.
12308 [!+link-static] (+link-static-after-libc): Likewise.
12309 [!+link-static] (+link-static-tests): Likewise.
12310 [!+link-static] (+link-static): Define in terms of
12311 $(+link-static-before-libc) and $(+link-static-after-libc).
12312 [build-shared] (link-libc-before-gnulib): New variable.
12313 [build-shared] (link-libc-tests): Likewise.
12314 [build-shared] (link-libc): Define in terms of
12315 $(link-libc-before-gnulib).
12316 [!build-shared] (link-libc-tests): New variable.
12317 (link-libc-static-tests): New variable.
12318 [!gnulib] (gnulib-arch): New variable.
12319 [!gnulib] (gnulib-tests): Likewise.
12320 [!gnulib] (static-gnulib-arch): Likewise.
12321 [!gnulib] (static-gnulib-tests): Likewise.
12322 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12323 Define with "=" instead of ":=".
12324 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12325 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12326 * Rules (binaries-all-notests): New variable.
12327 (binaries-all-tests): Likewise.
12328 (binaries-static-notests): Likewise.
12329 (binaries-static-tests): Likewise.
12330 (binaries-all): Define using $(binaries-all-notests) and
12331 $(binaries-all-tests).
12332 (binaries-static): Define using $(binaries-static-notests) and
12333 $(binaries-static-tests).
12334 (binaries-shared-tests): New variable.
12335 (binaries-shared-notests): Likewise.
12336 (binaries-shared): Remove variable.
12337 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12338 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12339 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12340 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12341 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12342 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12343 * elf/Makefile (sln-modules): New variable.
12344 (extra-objs): Add $(sln-modules:=.o).
12345 (ldconfig-modules): Add static-stubs.
12346 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12347 * elf/static-stubs.c: New file.
12350 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12351 by 7 not 8 to examine high bit of fractional part. Use volatile
12352 variables when splitting into final array of floats if
12353 __FLT_EVAL_METHOD__ != 0.
12354 * math/libm-test.inc (cos_test): Add another test.
12355 (sin_test): Likewise.
12356 * sysdeps/i386/fpu/libm-test-ulps: Update.
12359 * math/libm-test.inc (cosh_test): Add more tests.
12361 * version.h (RELEASE): Set to "development".
12362 (VERSION): Set to "2.16.90".
12364 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12366 * NEWS: Update copyright. Remove last-updated date.
12367 Mention math library bug fixes and timezone data changes.
12368 * README: Mention GNU/Hurd, x32, and HPPA support status.
12370 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12372 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12374 2012-06-27 Andreas Jaeger <aj@suse.de>
12376 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12378 2012-06-25 Andreas Jaeger <aj@suse.de>
12380 * sysdeps/s390/fpu/libm-test-ulps: Update.
12382 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12383 Thomas Schwinge <thomas@codesourcery.com>
12385 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12386 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12387 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12390 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12392 * sysdeps/mach/start.c: Remove file.
12393 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12394 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12395 * sysdeps/sh/init-first.c: Likewise.
12397 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12398 registers for frame unwinding purposes, add CFI directives.
12399 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12400 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12401 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12404 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12405 __fortify_fail returning.
12406 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12408 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12409 sysdeps/sh/____longjmp_chk.S.
12410 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12411 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12412 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12413 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12415 * sysdeps/sh/abort-instr.h: New file.
12416 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12417 process in case exit returns.
12419 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12420 initialize the GOT register before use.
12422 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12423 calculation of ARGC > 4.
12425 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12426 meaningful names to some local labels.
12428 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12429 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12431 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12432 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12433 (__arch_compare_and_exchange_val_16_acq): Likewise.
12434 (__arch_compare_and_exchange_val_32_acq): Likewise.
12435 (atomic_exchange_and_add): Fix gUSA sequence.
12436 (atomic_add): Likewise.
12437 (atomic_add_negative): Likewise.
12438 (atomic_add_zero): Likewise.
12439 (atomic_bit_test_set): Likewise.
12441 2012-06-22 Andreas Schwab <schwab@redhat.com>
12444 * include/link.h (struct link_map): Add l_free_initfini.
12445 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12447 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12448 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12449 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12452 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12454 * configure.in: Use AC_LANG_SOURCE.
12455 * configure: Regenerate.
12457 2012-06-22 Roland McGrath <roland@hack.frob.com>
12459 * configure.in (libc_cv_localstatedir): New substituted variable.
12460 * configure: Regenerated.
12461 * config.make.in (localstatedir): New variable, substituted from
12462 libc_cv_localstatedir.
12463 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12464 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12465 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12466 * sysdeps/gnu/configure: Regenerated.
12468 2012-06-21 Jeff Law <law@redhat.com>
12471 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12472 free. Simplify list management for _LIBC case.
12474 2012-06-21 Joseph Myers <joseph@codesourcery.com>
12477 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12478 Clear sign bit of 64-bit integer value before comparing against
12481 * sysdeps/mach/configure: Regenerated.
12483 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12486 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12488 2012-06-21 Jeff Law <law@redhat.com>
12491 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12492 uint16_t for elements in the "seen" array to avoid char overflows.
12493 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12494 * elf/dl-open.c (dl_open_worker): Likewise.
12496 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12498 * scripts/list-sources.sh: Scan PORTS for translations.
12499 * po/libc.pot: Regenerated.
12501 2012-06-21 Andreas Jaeger <aj@suse.de>
12504 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12506 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12507 * bits/byteswap-16.h (__bswap_16): Likewise.
12508 * bits/byteswap.h (__bswap_constant_16): Likewise.
12510 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12513 * sysdeps/i386/fpu_control.h: Removed.
12514 * sysdeps/x86_64/fpu_control.h: Moved to ...
12515 * sysdeps/x86/fpu_control.h: Here.
12517 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12518 (_FPU_SETCW): Likewise.
12520 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12523 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12524 * sysdeps/x86/fpu/bits/mathinline.h: This.
12525 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12529 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12530 functions if __x86_64__ is defined.
12532 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12534 * string/endian.h: Add !__ASSEMBLER__ condition for including
12535 conversion interfaces.
12537 2012-06-15 Joseph Myers <joseph@codesourcery.com>
12540 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12541 of ABS(x) in calculating zero to negative powers other than odd
12543 * math/libm-test.inc (pow_test): Add more tests.
12545 2012-06-15 Andreas Jaeger <aj@suse.de>
12547 * manual/contrib.texi (Contributors): Update entry of Liubov
12548 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12551 2012-06-15 Cyril Hrubis <metan@ucw.cz>
12553 * string/string.h: Add __wur to GNU version of strerror_r.
12555 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12558 * string/Makefile (tests): Add tst-strtok_r.
12559 * string/tst-strtok_r.c: New file.
12560 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12561 RAX_LP/RDX_LP on SAVE_PTR.
12563 2012-06-14 Roland McGrath <roland@hack.frob.com>
12565 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12567 2012-06-14 Joseph Myers <joseph@codesourcery.com>
12569 * libm_test.inc (csqrt_test): Allow more spurious underflow
12571 (j0_test): Likewise.
12572 (j1_test): Likewise.
12573 (y0_test): Likewise.
12574 (y1_test): Likewise.
12576 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12578 * po/Makefile (libc.pot): Use UTF-8 charset.
12580 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12583 Suppress sign-conversion warning from FD_SET.
12584 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12585 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12586 not unsigned long int.
12587 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12589 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12593 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12594 __extern_always_inline instead of __extern_inline.
12595 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12596 (__signbit): Likewise.
12597 (__signbitl): Support C++ namespace.
12598 (lrintf): New inline function.
12600 (llrintf): Likewise.
12601 (llrint): Likewise.
12611 (floorf): Likewise.
12612 (nearbyint): Likewise.
12613 (nearbyintf): Likewise.
12615 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12617 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12618 non-default versions.
12620 2012-06-11 Roland McGrath <roland@hack.frob.com>
12623 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12625 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12627 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12628 (FE_UPWARD, FE_DOWNWARD): Don't define.
12629 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12630 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12632 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12634 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12635 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12637 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12639 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12640 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12641 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12642 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12644 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12647 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12648 * sysdeps/i386/fpu/Implies: New file.
12649 * sysdeps/x86_64/fpu/Implies: Likewise.
12650 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12651 * sysdeps/x86/fpu/bits/fenv.h: This.
12653 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12656 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12659 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12660 character 0xffff that matches the last element of the
12663 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12665 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12668 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12670 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12671 values higher than 25.6283.
12673 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12675 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12676 subnormal exponent extraction and add some __builtin_expect.
12677 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12678 Fix for subnormal mantissa calculation.
12680 2012-06-04 Mike Frysinger <vapier@gentoo.org>
12682 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12683 cpu2 is -1 and errno is not ENOSYS.
12685 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12688 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12689 * sysdeps/x86/bits/string.h: This.
12690 * sysdeps/x86_64/bits/string.h: Removed.
12692 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12693 if not compiling for x86-64, but compiling for >= i486.
12695 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12696 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12698 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12699 New macro from Linux kernel 3.4.0.
12700 (FP_XSTATE_MAGIC2): Likewise.
12701 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12702 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12703 (struct _fpx_sw_bytes): New struct.
12704 (struct _xsave_hdr): Likewise.
12705 (struct _ymmh_state): Likewise.
12706 (struct _xstate): Likewise.
12708 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12709 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12710 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12711 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12712 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12713 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12715 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12716 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12717 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12718 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12719 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12720 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12722 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12725 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12726 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12727 (sysdep_headers): Include sys/platform/ppc.h.
12728 * sysdeps/powerpc/test-gettimebase.c: Test for
12729 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12730 * manual/Makefile (appendices): Include platform.texi.
12731 * manual/contrib.texi (Contributors): Update @node pointers.
12732 * manual/maint.texi (Maintenance): Likewise.
12733 (Platform): New node.
12734 * manual/platform.texi: New file. Document the new features.
12736 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12737 Jakub Jelinek <jakub@redhat.com>
12740 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12741 where __builtin_expect is unavailable.
12743 2012-06-03 David S. Miller <davem@davemloft.net>
12745 * stdlib/longlong.h: Updated from GCC.
12747 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12750 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12751 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12754 (GLIBC_2.16): Likewise.
12756 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12758 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12760 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12763 (default-abi): New variable.
12764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12765 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12767 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12769 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12771 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12774 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12775 definition. Document in comment.
12777 2012-06-01 David S. Miller <davem@davemloft.net>
12779 * stdlib/longlong.h: Updated from GCC.
12781 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12784 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12785 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12786 sys/debugreg.h sys/io.h here.
12787 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12788 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12790 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12791 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12792 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12793 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12794 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12795 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12797 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12798 Define only if __x86_64__ is defined.
12800 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12803 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12804 Use int64_t for variable i.
12805 * math/libm-test.inc (fmod_test): Add more tests.
12807 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12808 z computation is not scheduled after fetestexcept.
12809 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12810 Use math_force_eval instead of asm to ensure calculation scheduled
12811 before exception test.
12812 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12813 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12815 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12818 computation is not scheduled after fetestexcept.
12820 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12823 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12824 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12826 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12828 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12829 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12831 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12834 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12836 (__WCHAR_MIN): Support __WORDSIZE == 64.
12837 (__WCHAR_MAX): Likewise.
12839 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12840 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12843 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12844 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12847 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12848 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12850 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12851 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12853 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12854 Defined to 1 if __x86_64__ isn't defined.
12855 (_STAT_VER_LINUX_OLD): New.
12856 (st_atime): Remove duplicate.
12857 (st_mtime): Likewise.
12858 (st_ctime): Likewise.
12860 2012-05-31 David S. Miller <davem@davemloft.net>
12862 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12865 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12867 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12871 * elf/dl-reloc.c: Include <_itoa.h>.
12872 (_dl_reloc_bad_type): Remove use of INTUSE.
12873 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12874 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12875 * stdio-common/psiginfo.c (psiginfo): Likewise.
12876 * stdio-common/psignal.c (psignal): Likewise.
12877 * string/strsignal.c (strsignal): Likewise.
12878 * include/signal.h (_sys_siglist): Declare hidden proto.
12879 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12880 INTVARDEF with libc_hidden_data_def.
12881 * stdio-common/itoa-udigits.c: Likewise.
12882 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12883 (_itoa_lower_digits_internal): Remove declaration.
12884 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12885 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12886 (_sys_sigabbrev_internal): Remove aliases.
12887 (_sys_siglist): Define hidden alias.
12889 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12891 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12894 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12897 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12898 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12900 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12901 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12902 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12903 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12904 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12905 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12907 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12908 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12909 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12911 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12919 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12920 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12921 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12923 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12924 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12925 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12926 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12927 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12928 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12930 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12931 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12933 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12934 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12936 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12937 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12938 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12940 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12941 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12943 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12945 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12946 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12947 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12949 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12951 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12953 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12955 * math/math.h (M_El): Use two more decimal places.
12956 (M_LOG2El): Likewise.
12957 (M_LOG10El): Likewise.
12958 (M_LN2l): Likewise.
12959 (M_LN10l): Likewise.
12961 (M_PI_2l): Likewise.
12962 (M_PI_4l): Likewise.
12963 (M_1_PIl): Likewise.
12964 (M_2_PIl): Likewise.
12965 (M_2_SQRTPIl): Likewise.
12966 (M_SQRT2l): Likewise.
12967 (M_SQRT1_2l): Likewise.
12969 2012-05-31 David S. Miller <davem@davemloft.net>
12971 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12972 values between float registers.
12973 * sysdeps/sparc/sparc64/memset.S: Likewise.
12974 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12976 2012-05-31 Mike Frysinger <vapier@gentoo.org>
12978 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12979 -D_FORTIFY_SOURCE=1.
12980 (CPPFLAGS-tst-longjmp_chk.c): Define.
12981 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12982 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12983 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12984 CFLAGS-tst-wchar-h.c.
12986 2012-05-31 Marek Polacek <polacek@redhat.com>
12989 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12990 __endmntent_internal): Remove declaration.
12991 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12992 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12993 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12995 2012-05-30 David S. Miller <davem@davemloft.net>
12997 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12998 (___Q_simulate_exceptions): Use real FP ops rather than writing
13000 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
13003 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13006 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13007 * sysdeps/x86/bits/xtitypes.h: This.
13009 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13010 * sysdeps/x86/bits/wordsize.h: This.
13012 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13013 * sysdeps/x86/bits/huge_vall.h: This.
13015 * sysdeps/i386/bits/select.h: Removed.
13016 * sysdeps/x86_64/bits/select.h: Renamed to ...
13017 * sysdeps/x86/bits/select.h: This.
13019 * sysdeps/i386/bits/setjmp.h: Removed.
13020 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13021 * sysdeps/x86/bits/setjmp.h: This.
13023 * sysdeps/i386/bits/mathdef.h: Removed.
13024 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13025 * sysdeps/x86/bits/mathdef.h: This.
13027 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13030 * include/sys/socket.h (__connect_internal)
13031 (__libc_sa_len_internal): Remove declaration.
13032 (__connect, __libc_sa_len): Declare hidden_proto.
13033 (SA_LEN): Remove use of INTUSE.
13034 * socket/connect.c: Add libc_hidden_def.
13035 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13036 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13037 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13039 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13040 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13041 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13042 of adding _internal alias.
13044 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13047 * sysdeps/i386/bits/link.h: Removed.
13048 * sysdeps/i386/bits/linkmap.h: Likewise.
13049 * sysdeps/x86_64/bits/link.h: Renamed to ...
13050 * sysdeps/x86/bits/link.h: This.
13051 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13052 * sysdeps/x86/bits/linkmap.h: This.
13054 * sysdeps/i386/bits/endian.h: Removed.
13055 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13056 * sysdeps/x86/bits/endian.h: This.
13058 * sysdeps/i386/bits/byteswap.h: Removed.
13059 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13060 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13061 * sysdeps/x86/bits/byteswap.h: This.
13062 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13063 * sysdeps/x86/bits/byteswap-16.h: This.
13064 * sysdeps/i386/Implies: Add x86.
13065 * sysdeps/x86_64/Implies: Likewise.
13067 2012-05-30 David S. Miller <davem@davemloft.net>
13069 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13070 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13071 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13072 (FP_TRAPPING_EXCEPTIONS): Define.
13073 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13074 (FP_TRAPPING_EXCEPTIONS): Define.
13075 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13076 subnormals only when inexact has been signalled or underflow
13077 exceptions are enabled.
13078 (_FP_PACK_CANONICAL): Likewise.
13080 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13083 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13084 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13086 2012-05-30 Richard Henderson <rth@twiddle.net>
13088 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13089 with #ifndef NOT_IN_libc.
13091 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13092 marked to avoid plt entry.
13094 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13097 * Makeconfig (default-abi): New macro.
13098 (abi-includes): Likewise.
13099 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13100 $(abi-$(default-abi)-lib-soname) for soname if defined.
13101 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13103 * Makefile (installed-stubs): Likewise.
13104 * include/stubs-biarch.h: Removed.
13105 * scripts/lib-names.awk: Only handle one library at a time.
13106 * scripts/soversions.awk: Remove WORDSIZE support.
13107 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13109 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13111 (syscall-list-default-condition): Likewise.
13112 (syscall-list-default-condition): Likewise.
13113 (syscall-list-includes): Likewise.
13114 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13115 syscall-list-* with abi-*. Handle undefined abi-variants.
13116 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13117 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13118 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13119 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13120 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13121 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13123 (syscall-list-32-options): Likewise.
13124 (syscall-list-32-condition): Likewise.
13125 (syscall-list-64-options): Likewise.
13126 (syscall-list-64-condition): Likewise.
13127 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13129 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13132 (abi-64-ld-soname): New macro.
13133 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13134 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13137 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13138 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13140 2012-05-30 Joseph Myers <joseph@codesourcery.com>
13142 * sysdeps/unix/sysv/linux/kernel-features.h
13143 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13144 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13145 include <kernel-features.h>.
13146 [!__NR_ftruncate64]: Remove conditional code.
13147 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13148 [__NR_ftruncate64]: Make code unconditional.
13149 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13150 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13151 include <kernel-features.h>.
13152 [!__NR_ftruncate64]: Remove conditional code.
13153 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13154 [__NR_ftruncate64]: Make code unconditional.
13155 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13157 include <kernel-features.h>.
13158 [!__NR_ftruncate64]: Remove conditional code.
13159 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13160 [__NR_ftruncate64]: Make code unconditional.
13161 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13163 include <kernel-features.h>.
13164 [!__NR_ftruncate64]: Remove conditional code.
13165 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13166 [__NR_ftruncate64]: Make code unconditional.
13167 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13169 * configure.in (libc_cv_fpie): Weaken to a compile test using
13170 LIBC_TRY_CC_OPTION.
13171 * configure: Regenerated.
13173 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13188 2012-05-27 David S. Miller <davem@davemloft.net>
13190 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13192 (__Q_simulate_exceptions): Return void. Change to simulate
13193 exceptions by writing into the %fsr.
13194 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13195 (__Qp_handle_exceptions): Likewise.
13197 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13198 __Qp_handle_exceptions.
13199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13200 __Qp_handle_exceptions.
13201 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13202 as unused and give dummy FP_RND_NEAREST initializer.
13203 (FP_INHIBIT_RESULTS): Define.
13204 (___Q_simulate_exceptions): Update declaration.
13205 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13207 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13208 as unused and give dummy FP_RND_NEAREST initializer.
13209 (__Qp_handle_exceptions): Update declaration.
13210 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13213 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13215 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13216 the temporary FPU control word.
13217 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13218 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13219 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13220 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13221 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13222 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13223 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13224 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13225 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13226 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13227 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13229 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13231 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13234 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13236 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13237 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13238 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13239 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13241 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13242 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13245 2012-05-27 Ulrich Drepper <drepper@gmail.com>
13247 * po/h.po: Update from translation team.
13249 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13251 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13253 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13254 handling of denormals.
13255 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13256 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13257 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13258 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13259 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13260 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13261 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13264 2012-05-26 Marek Polacek <polacek@redhat.com>
13267 * math/libm-test.inc (fma_test): Don't always expect underflow
13270 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13273 * elf/tst-execstack.c: Include stackinfo.h.
13274 (do_test): Adjust test case to ensure that pthread_getattr_np
13275 behaviour remains the same after marking stack executable.
13277 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13279 * sysdeps/unix/sysv/linux/kernel-features.h
13280 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13281 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13283 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13284 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13285 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13287 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13288 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13290 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13292 * configure.in: Define the default includes to being none.
13293 * configure: Regenerated.
13295 2012-05-25 Roland McGrath <roland@hack.frob.com>
13297 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13298 * sysdeps/x86_64/setjmp.S: Likewise.
13299 * sysdeps/i386/bsd-setjmp.S: Likewise.
13300 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13301 * sysdeps/i386/setjmp.S: Likewise.
13302 * sysdeps/i386/__longjmp.S: Likewise.
13303 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13304 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13306 * include/stap-probe.h: New file.
13307 * configure.in: Handle --enable-systemtap.
13308 * configure: Regenerated.
13309 * config.h.in (USE_STAP_PROBE): New #undef.
13310 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13311 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13312 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13314 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13317 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13318 to 2.4.0 where earlier.
13319 * sysdeps/unix/sysv/linux/configure: Regenerated.
13320 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13321 <kernel-features.h>.
13322 [__ASSUME_32BITUIDS]: Make code unconditional.
13323 [!__ASSUME_32BITUIDS]: Remove conditional code.
13324 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
13325 <kernel-features.h>.
13326 [__ASSUME_32BITUIDS]: Make code unconditional.
13327 [!__ASSUME_32BITUIDS]: Remove conditional code.
13328 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
13329 [__ASSUME_32BITUIDS]: Make code unconditional.
13330 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13331 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13332 <kernel-features.h>.
13333 [__ASSUME_32BITUIDS]: Make code unconditional.
13334 [!__ASSUME_32BITUIDS]: Remove conditional code.
13335 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13336 <kernel-features.h>.
13337 [__ASSUME_32BITUIDS]: Make code unconditional.
13338 [!__ASSUME_32BITUIDS]: Remove conditional code.
13339 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13340 <kernel-features.h>.
13341 [__ASSUME_32BITUIDS]: Make code unconditional.
13342 [!__ASSUME_32BITUIDS]: Remove conditional code.
13343 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13344 <kernel-features.h>.
13345 [__ASSUME_32BITUIDS]: Make code unconditional.
13346 [!__ASSUME_32BITUIDS]: Remove conditional code.
13347 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13348 <kernel-features.h>.
13349 [__ASSUME_32BITUIDS]: Make code unconditional.
13350 [!__ASSUME_32BITUIDS]: Remove conditional code.
13351 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13352 <kernel-features.h>.
13353 [__ASSUME_32BITUIDS]: Make code unconditional.
13354 [!__ASSUME_32BITUIDS]: Remove conditional code.
13355 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13356 <kernel-features.h>.
13357 [__ASSUME_32BITUIDS]: Make code unconditional.
13358 [!__ASSUME_32BITUIDS]: Remove conditional code.
13359 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13360 <kernel-features.h>.
13361 [__ASSUME_32BITUIDS]: Make code unconditional.
13362 [!__ASSUME_32BITUIDS]: Remove conditional code.
13363 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13364 <kernel-features.h>.
13365 [__ASSUME_32BITUIDS]: Make code unconditional.
13366 [!__ASSUME_32BITUIDS]: Remove conditional code.
13367 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13368 <kernel-features.h>.
13369 [__ASSUME_32BITUIDS]: Make code unconditional.
13370 [!__ASSUME_32BITUIDS]: Remove conditional code.
13371 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13372 <kernel-features.h>.
13373 [__NR_setresgid] (__setresgid): Do not declare.
13374 [__ASSUME_32BITUIDS]: Make code unconditional.
13375 [!__ASSUME_32BITUIDS]: Remove conditional code.
13376 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13377 <kernel-features.h>.
13378 [__NR_setresuid] (__setresuid): Do not declare.
13379 [__ASSUME_32BITUIDS]: Make code unconditional.
13380 [!__ASSUME_32BITUIDS]: Remove conditional code.
13381 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13382 <kernel-features.h>.
13383 [__ASSUME_32BITUIDS]: Make code unconditional.
13384 [!__ASSUME_32BITUIDS]: Remove conditional code.
13385 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13386 <kernel-features.h>.
13387 [__ASSUME_32BITUIDS]: Make code unconditional.
13388 [!__ASSUME_32BITUIDS]: Remove conditional code.
13389 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13390 <kernel-features.h>.
13391 [__ASSUME_32BITUIDS]: Make code unconditional.
13392 [!__ASSUME_32BITUIDS]: Remove conditional code.
13393 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13394 <kernel-features.h>.
13395 [__ASSUME_32BITUIDS]: Make code unconditional.
13396 [!__ASSUME_32BITUIDS]: Remove conditional code.
13397 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13398 <kernel-features.h>.
13399 [__ASSUME_32BITUIDS]: Make code unconditional.
13400 [!__ASSUME_32BITUIDS]: Remove conditional code.
13401 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13402 <kernel-features.h>.
13403 [__ASSUME_32BITUIDS]: Make code unconditional.
13404 [!__ASSUME_32BITUIDS]: Remove conditional code.
13405 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13406 <kernel-features.h>.
13407 [__ASSUME_32BITUIDS]: Make code unconditional.
13408 [!__ASSUME_32BITUIDS]: Remove conditional code.
13409 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13410 <kernel-features.h>.
13411 [__ASSUME_32BITUIDS]: Make code unconditional.
13412 [!__ASSUME_32BITUIDS]: Remove conditional code.
13413 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13414 <kernel-features.h>.
13415 [__ASSUME_32BITUIDS]: Make code unconditional.
13416 [!__ASSUME_32BITUIDS]: Remove conditional code.
13417 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13418 <kernel-features.h>.
13419 [__ASSUME_32BITUIDS]: Make code unconditional.
13420 [!__ASSUME_32BITUIDS]: Remove conditional code.
13421 * sysdeps/unix/sysv/linux/kernel-features.h
13422 (__ASSUME_SETRESUID_SYSCALL): Remove.
13423 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13424 (__ASSUME_32BITUIDS): Likewise.
13425 (__ASSUME_LDT_WORKS): Likewise.
13426 (__ASSUME_O_DIRECTORY): Likewise.
13427 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13428 architecture but not kernel version.
13429 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13430 (__ASSUME_MMAP2_SYSCALL): Likewise.
13431 (__ASSUME_STAT64_SYSCALL): Likewise.
13432 (__ASSUME_IPC64): Likewise.
13433 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13434 <kernel-features.h>.
13435 [__ASSUME_32BITUIDS]: Make code unconditional.
13436 [!__ASSUME_32BITUIDS]: Remove conditional code.
13437 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13438 <kernel-features.h>.
13439 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13440 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13441 132096]: Remove conditional code.
13442 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13443 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13444 <kernel-features.h>.
13445 [__ASSUME_32BITUIDS]: Make code unconditional.
13446 [!__ASSUME_32BITUIDS]: Remove conditional code.
13447 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13448 <kernel-features.h>.
13449 [__ASSUME_32BITUIDS]: Make code unconditional.
13450 [!__ASSUME_32BITUIDS]: Remove conditional code.
13451 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13452 <kernel-features.h>.
13453 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13455 (__setresgid): Do not declare.
13456 [__ASSUME_32BITUIDS]: Make code unconditional.
13457 [!__ASSUME_32BITUIDS]: Remove conditional code.
13458 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13459 <kernel-features.h>.
13460 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13462 (__setresuid): Do not declare.
13463 [__ASSUME_32BITUIDS]: Make code unconditional.
13464 [!__ASSUME_32BITUIDS]: Remove conditional code.
13465 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13466 <kernel-features.h>.
13467 [__ASSUME_32BITUIDS]: Make code unconditional.
13468 [!__ASSUME_32BITUIDS]: Remove conditional code.
13469 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13470 <kernel-features.h>.
13471 [__ASSUME_32BITUIDS]: Make code unconditional.
13472 [!__ASSUME_32BITUIDS]: Remove conditional code.
13474 2012-05-25 Richard Henderson <rth@twiddle.net>
13476 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13477 dl_hwcap to ifunc resolver.
13478 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13480 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13481 dl_hwcap to ifunc resolver.
13482 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13484 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13487 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13488 for |x| <= 2**-26, not 2**-57.
13489 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13492 2012-05-24 Jeff Law <law@redhat.com>
13494 * stdio-common/Makefile (tests): Add bug25.
13495 * stdio-common/bug25.c: New test.
13497 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13500 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13501 multiple of MALLOC_ALIGNMENT in size.
13502 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13504 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13506 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13508 (FILENAME_MAX): Use macro-int-constant.
13509 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13510 (_IOFBF): Use macro-int-constant.
13511 (_IOLBF): Likewise.
13512 (_IONBF): Likewise.
13513 (SEEK_CUR): Likewise.
13514 (SEEK_END): Likewise.
13515 (SEEK_SET): Likewise.
13516 (TMP_MAX): Likewise.
13517 (EOF): Use macro-int-constant. Require < 0.
13518 (NULL): Use macro-constant. Require == 0.
13519 (stdin): Require type to be FILE *.
13520 (stdout): Likewise.
13521 (stderr): Likewise.
13522 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13523 macro-int-constant.
13524 (EXIT_SUCCESS): Likewise.
13525 (NULL): Use macro-constant. Require == 0.
13526 (RAND_MAX): Use macro-int-constant.
13527 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13528 [C99-based standards] (strtof): Require function.
13529 [C99-based standards] (strtold): Likewise.
13530 [C99-based standards] (strtoll): Likewise.
13531 [C99-based standards] (strtoull): Likewise.
13532 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13533 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13534 [ISO || ISO99 || ISO11] (math.h): Likewise.
13535 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13536 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13537 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13539 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13542 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13543 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13544 * intl/dgettext.c (DCGETTEXT): Likewise.
13545 * intl/gettext.c (DCGETTEXT): Likewise.
13546 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13547 * posix/regex_internal.h (gettext): Likewise.
13548 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13549 Remove declaration.
13550 * include/argz.h (__argz_count_internal)
13551 (__argz_stringify_internal): Remove declaration.
13552 (__argz_count, __argz_stringify): Declare hidden proto.
13553 * intl/dcgettext.c: Remove use of INTDEF.
13554 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13555 * string/argz-stringify.c: Likewise.
13556 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13557 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13558 Declare hidden proto.
13559 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13560 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13561 Declare hidden proto.
13562 * include/stdio.h (__asprintf_internal): Don't declare.
13563 (__asprintf): Don't define as macro. Declare hidden proto.
13564 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13565 (__fsetlocking): Declare hidden proto.
13566 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13567 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13569 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13570 (_IO_setlinebuf): Remove use of INTUSE.
13571 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13572 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13573 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13574 Remove declaration.
13575 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13576 (_IO_do_flush): Remove use of INTUSE.
13577 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13578 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13579 (_IO_adjust_column, _IO_least_wmarker)
13580 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13581 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13582 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13583 (_IO_default_doallocate, _IO_wdefault_doallocate)
13584 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13585 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13586 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13587 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13588 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13589 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13590 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13591 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13592 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13593 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13594 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13595 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13596 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13598 (_IO_flush_all_internal, _IO_adjust_column_internal)
13599 (_IO_default_uflow_internal, _IO_default_finish_internal)
13600 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13601 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13602 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13603 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13604 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13605 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13606 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13607 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13608 (_IO_file_close_internal, _IO_file_close_it_internal)
13609 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13610 (_IO_file_init_internal, _IO_file_attach_internal)
13611 (_IO_file_fopen_internal, _IO_file_read_internal)
13612 (_IO_file_sync_internal, _IO_file_seek_internal)
13613 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13614 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13615 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13616 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13617 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13618 (_IO_list_all_internal, _IO_link_in_internal)
13619 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13620 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13621 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13622 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13623 (_IO_do_write_internal, _IO_padn_internal)
13624 (_IO_getline_info_internal, _IO_getline_internal)
13625 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13626 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13627 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13628 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13629 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13630 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13631 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13632 with libc_hidden_ver, remove use of INTUSE.
13633 * libio/genops.c: Likewise.
13634 * libio/freopen.c: Likewise.
13635 * libio/freopen64.c: Likewise.
13636 * libio/iofclose.c: Likewise.
13637 * libio/iofdopen.c: Likewise.
13638 * libio/iofflush.c: Likewise.
13639 * libio/iofflush_u.c: Likewise.
13640 * libio/iofgets.c: Likewise.
13641 * libio/iofgets_u.c: Likewise.
13642 * libio/iofopen.c: Likewise.
13643 * libio/iofopncook.c: Likewise.
13644 * libio/iofread.c: Likewise.
13645 * libio/iofread_u.c: Likewise.
13646 * libio/ioftell.c: Likewise.
13647 * libio/iofwrite.c: Likewise.
13648 * libio/iogetline.c: Likewise.
13649 * libio/iogets.c: Likewise.
13650 * libio/iogetwline.c: Likewise.
13651 * libio/iopadn.c: Likewise.
13652 * libio/iopopen.c: Likewise.
13653 * libio/ioseekoff.c: Likewise.
13654 * libio/ioseekpos.c: Likewise.
13655 * libio/iosetbuffer.c: Likewise.
13656 * libio/iosetvbuf.c: Likewise.
13657 * libio/ioungetc.c: Likewise.
13658 * libio/ioungetwc.c: Likewise.
13659 * libio/iovdprintf.c: Likewise.
13660 * libio/iovsprintf.c: Likewise.
13661 * libio/iovsscanf.c: Likewise.
13662 * libio/memstream.c: Likewise.
13663 * libio/obprintf.c: Likewise.
13664 * libio/oldfileops.c: Likewise.
13665 * libio/oldiofclose.c: Likewise.
13666 * libio/oldiofdopen.c: Likewise.
13667 * libio/oldiofopen.c: Likewise.
13668 * libio/oldiopopen.c: Likewise.
13669 * libio/oldstdfiles.c: Likewise.
13670 * libio/putc.c: Likewise.
13671 * libio/setbuf.c: Likewise.
13672 * libio/setlinebuf.c: Likewise.
13673 * libio/stdfiles.c: Likewise.
13674 * libio/strops.c: Likewise.
13675 * libio/vasprintf.c: Likewise.
13676 * libio/vscanf.c: Likewise.
13677 * libio/vsnprintf.c: Likewise.
13678 * libio/vswprintf.c: Likewise.
13679 * libio/wfiledoalloc.c: Likewise.
13680 * libio/wfileops.c: Likewise.
13681 * libio/wgenops.c: Likewise.
13682 * libio/wmemstream.c: Likewise.
13683 * libio/wstrops.c: Likewise.
13684 * libio/__fpurge.c: Likewise.
13685 * libio/__fsetlocking.c: Likewise.
13686 * assert/assert.c: Likewise.
13687 * debug/fgets_chk.c: Likewise.
13688 * debug/fgets_u_chk.c: Likewise.
13689 * debug/fread_chk.c: Likewise.
13690 * debug/fread_u_chk.c: Likewise.
13691 * debug/gets_chk.c: Likewise.
13692 * debug/obprintf_chk.c: Likewise.
13693 * debug/vasprintf_chk.c: Likewise.
13694 * debug/vdprintf_chk.c: Likewise.
13695 * debug/vsnprintf_chk.c: Likewise.
13696 * debug/vsprintf_chk.c: Likewise.
13697 * malloc/mtrace.c: Likewise.
13698 * misc/error.c: Likewise.
13699 * misc/syslog.c: Likewise.
13700 * stdio-common/asprintf.c: Likewise.
13701 * stdio-common/fxprintf.c: Likewise.
13702 * stdio-common/getw.c: Likewise.
13703 * stdio-common/isoc99_fscanf.c: Likewise.
13704 * stdio-common/isoc99_scanf.c: Likewise.
13705 * stdio-common/isoc99_vfscanf.c: Likewise.
13706 * stdio-common/isoc99_vscanf.c: Likewise.
13707 * stdio-common/isoc99_vsscanf.c: Likewise.
13708 * stdio-common/printf-prs.c: Likewise.
13709 * stdio-common/printf_fp.c: Likewise.
13710 * stdio-common/printf_fphex.c: Likewise.
13711 * stdio-common/printf_size.c: Likewise.
13712 * stdio-common/putw.c: Likewise.
13713 * stdio-common/scanf.c: Likewise.
13714 * stdio-common/sprintf.c: Likewise.
13715 * stdio-common/tmpfile.c: Likewise.
13716 * stdio-common/vfprintf.c: Likewise.
13717 * stdio-common/vfscanf.c: Likewise.
13718 * stdlib/strfmon_l.c: Likewise.
13719 * sunrpc/openchild.c: Likewise.
13720 * sunrpc/xdr_stdio.c: Likewise.
13721 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13722 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13724 2012-05-24 Roland McGrath <roland@hack.frob.com>
13726 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13728 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13729 in the third column, to generate for the shared library an IFUNC
13730 that uses _dl_vdso_vsym.
13731 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13732 * Makeconfig (object-suffixes-noshared): New variable.
13734 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13735 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13736 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13737 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13740 * include/sys/time.h (__gettimeofday): Remove macro.
13741 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13742 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13744 (__gettimeofday): Add libc_hidden_def.
13745 (gettimeofday): Add libc_hidden_weak.
13746 * sysdeps/mach/gettimeofday.c: Likewise.
13747 * sysdeps/posix/gettimeofday.c: Likewise.
13748 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13749 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13750 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13751 (__gettimeofday_internal): Remove strong_alias.
13752 (__gettimeofday): Add libc_hidden_def.
13753 (gettimeofday): Add libc_hidden_weak.
13754 * sysdeps/unix/syscalls.list (gettimeofday):
13755 Remove __gettimeofday_internal alias.
13757 2012-05-24 Daniel Jacobowitz <drow@false.org>
13758 H.J. Lu <hongjiu.lu@intel.com>
13761 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13762 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13763 (largebin_index_32_big): New.
13764 (largebin_index): Use it for 16-byte alignment.
13765 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13766 correction with front_misalign.
13768 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13771 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13773 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13796 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13797 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13799 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13803 * math/libm-test.inc (exp_test): Add test from bug 14036.
13804 (pow_test): Add test from bug 10846.
13806 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13808 (special_function): Do not include flags in test name.
13809 (parse_args): Likewise.
13810 * sysdeps/i386/fpu/libm-test-ulps: Update.
13811 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13812 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13813 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13816 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13818 * math/libm-test.inc ("Philosophy"): Update comment about
13820 (UNDERFLOW_EXCEPTION): New macro.
13821 (UNDERFLOW_EXCEPTION_OK): Likewise.
13822 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13823 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13824 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13825 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13826 (INVALID_EXCEPTION_OK): Update value.
13827 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13828 (OVERFLOW_EXCEPTION_OK): Likewise.
13829 (IGNORE_ZERO_INF_SIGN): Likewise.
13830 (test_exceptions): Handle underflow exceptions.
13831 (acos_test): Update for underflow exception expectations.
13832 (cexp_test): Likewise.
13833 (clog_test): Likewise.
13834 (clog10_test): Likewise.
13835 (csqrt_test): Likewise.
13836 (ctan_test): Likewise.
13837 (ctanh_test): Likewise.
13838 (exp_test): Likewise.
13839 (exp10_test): Likewise.
13840 (exp2_test): Likewise.
13841 (expm1_test): Likewise.
13842 (fma_test): Likewise.
13843 (j0_test): Likewise.
13844 (jn_test): Likewise.
13845 (nexttoward_test): Likewise.
13846 (pow_test): Likewise.
13847 (scalbn_test): Likewise.
13848 (scalbln_test): Likewise.
13849 (tan_test): Likewise.
13850 (y1_test): Likewise.
13851 * sysdeps/i386/fpu/libm-test-ulps: Update.
13852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13854 2012-05-23 David S. Miller <davem@davemloft.net>
13856 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13857 (__libc_sigaction): Remove unused local variables.
13859 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13861 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13863 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13865 mktime: avoid signed integer overflow
13866 * time/mktime.c (__mktime_internal): Do not mishandle the case
13867 where diff == INT_MIN.
13869 mktime: simplify computation of average
13870 * time/mktime.c (ranged_convert): Use new time_t_avg function
13871 instead of rolling our own (probably-slower) code.
13873 mktime: do not assume signed right shift propagates sign bit
13874 * time/mktime.c (isdst_differ): New static function.
13875 (__mktime_internal): No need to normalize tm_isdst now.
13876 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13879 mktime: merge another wrapv change from gnulib
13880 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13881 from some compilers.
13883 mktime: remove incorrect attempt at unusual arithmetics
13884 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13885 The code didn't really work on such machines anyway.
13886 (TYPE_MINIMUM): Assume two's complement.
13887 (twos_complement_arithmetic): Verify that long_int and time_t
13888 are two's complement (or unsigned, in the latter case).
13890 mktime: check signed shifts on long_int and time_t, too
13891 * time/mktime.c (SHR): Check that shifts work as desired
13892 on the types long_int and time_t too, as SHR is used on
13895 mktime: do not assume 'long' is wide enough
13896 * time/mktime.c (verify): Move decl up.
13897 (long_int): New type.
13898 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13899 to remove assumption in the code that 'long' is wide enough to
13900 store year values. This assumption is not true on x32 and on
13901 some non-glibc platforms.
13903 mktime: merge wrapv change from gnulib
13904 * time/mktime.c (WRAPV): New macro.
13905 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13906 (guess_time_tm, __mktime_internal): Do not assume that signed
13907 integer overflow wraps around; modern compilers generate code
13908 where this assumption is no longer valid.
13910 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13912 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13913 Replace "jmp L(pseudo_end)" with "ret".
13914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13917 2012-05-23 Andreas Jaeger <aj@suse.de>
13919 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13920 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13922 2012-05-23 Andreas Jaeger <aj@suse.de>
13923 Maximilian Attems <max@stro.at>
13925 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13928 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13930 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13931 code so that pseudo_end is just ret and the stack pointer is
13932 correct also for static library in error case.
13934 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13936 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13937 move to syscalls.list.
13938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13943 * manual/install.texi (Running make install): Do not mention Linux
13944 kernel version for which pt_chown is not needed.
13945 (Linux): Do not mention problems with nscd with 2.0 kernels.
13946 * INSTALL: Regenerated.
13948 2012-05-23 Andreas Jaeger <aj@suse.de>
13950 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13951 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13953 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13954 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13955 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13956 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13957 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13958 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13959 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13960 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13961 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13962 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13963 * sysdeps/unix/sysv/linux/bits/in.h
13964 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13966 2012-05-22 Roland McGrath <roland@hack.frob.com>
13968 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13969 (PREPARE_VERSION): Just use assert instead, it will be elided
13970 under [NDEBUG] anyway.
13972 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13974 * sysdeps/unix/sysv/linux/Makefile: Include
13975 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13976 (sysdep_routines): Remove sysctl.
13977 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13978 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13979 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13980 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13981 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13983 2012-05-22 Andreas Jaeger <aj@suse.de>
13985 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13986 that pseudo_end is just ret and the stack pointer is correct also
13987 for static library in error case.
13989 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13992 * nss/nsswitch.c (defconfig_entries): New variable.
13993 (__nss_database_lookup): Don't leak defconfig entries.
13994 (nss_parse_service_list): Don't leak on error paths.
13995 (free_database_entries): New function.
13996 (free_defconfig): New function.
13997 (free_mem): Move common code to free_database_entries.
13999 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14001 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
14003 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
14005 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14006 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14007 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14009 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14010 (INTERNAL_SYSCALL_TYPES): Likewise.
14011 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14012 (LOAD_REGS_TYPES_[1-6]): Likewise.
14013 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14014 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14016 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14018 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14019 copysignl for GLIBC_2_0.
14020 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14021 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14022 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14023 logbl for GLIBC_2_0.
14024 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14025 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14027 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14029 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14030 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14032 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14035 * time/mktime.c: Update copyright years.
14037 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14039 mktime: merge comment-quoting-style change from gnulib
14040 * time/mktime.c: Quote 'like this' in comments.
14041 The GNU coding standards suggest that we no longer quote `like this',
14042 as "`" and "'" are typically rendered asymmetrically nowadays.
14043 The typical gnulib style is to quote 'like this' when quoting
14044 code, and "like this" when quoting English.
14046 * time/mktime.c (compile-command): Add "-I.".
14048 mktime: merge mktime-internal.h change from gnulib
14049 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14051 mktime: merge time_r change from gnulib
14052 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14054 mktime: merge DEBUG change from gnulib
14055 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14056 case system <time.h> has a #define.
14058 mktime: merge <sys/types.h> change from gnulib
14059 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14060 since <time.t> is now guaranteed to define time_t.
14062 mktime: merge HAVE_CONFIG_H change from gnulib
14063 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14065 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14067 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14070 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14072 (struct rusage): Use anonymous union to pad each field to
14075 2012-05-21 David S. Miller <davem@davemloft.net>
14077 * Makefules (o-iterator): Remove .s cases.
14078 (compile-command.s): Delete.
14079 (COMPILE.s): Delete.
14080 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14082 2012-05-21 Joseph Myers <joseph@codesourcery.com>
14084 * configure.in (libc_cv_predef_stack_protector): Only consider
14085 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14086 * configure: Regenerated.
14088 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14090 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14091 New macro. Use R*LP on int and pointer.
14092 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
14093 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14094 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
14095 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14097 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14098 [__WORDSIZE_TIME64_COMPAT32] instead of
14099 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14100 (struct utmp): Likewise.
14101 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14102 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14104 (__WORDSIZE_TIME64_COMPAT32): This.
14105 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14106 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14107 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14108 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14109 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14110 (__WORDSIZE_TIME64_COMPAT32): New macro.
14112 2012-05-21 Andreas Jaeger <aj@suse.de>
14114 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14115 only if [SHARED]. Add prototype for __wcschr_ia32.
14117 2012-05-21 Roland McGrath <roland@hack.frob.com>
14119 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14120 of %rbp unmolested in the jmp_buf while mangling the low bits.
14121 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14122 unmolested high bits of %rbp while demangling the low bits.
14123 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14125 2012-05-21 Andreas Jaeger <aj@suse.de>
14127 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14128 * sunrpc/svc_simple.c: Use it for registerrpc.
14129 * sunrpc/xcrypt.c: Use it for passwd2des.
14131 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14133 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14135 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14136 Don't define if [__SYSCALL_WORDSIZE != 32].
14137 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14140 2012-05-21 Bruno Haible <bruno@clisp.org>
14141 Andreas Jaeger <aj@suse.de>
14143 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14144 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14145 inptr and inend for must_buffer_ch.
14146 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14147 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14148 * stdio-common/Makefile (tests): Remove bug15.
14149 (bug15-ENV): Remove macro.
14150 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14153 2012-05-19 Andreas Jaeger <aj@suse.de>
14154 Roland McGrath <roland@hack.frob.com>
14156 * manual/contrib.texi: Completely rewritten. It contains now an
14157 alphabetical list of contributors and their contributions.
14159 2012-05-21 Richard Henderson <rth@twiddle.net>
14161 * misc/getauxval.c (__getauxval): Use unsigned long int.
14162 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14163 (getauxval): Use unsigned long int.
14165 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14167 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14169 2012-05-21 Roland McGrath <roland@hack.frob.com>
14171 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14172 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14173 __alignof__ (long double).
14175 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14179 2012-05-20 Richard Henderson <rth@twiddle.net>
14181 * misc/getauxval.c: New file.
14182 * misc/sys/auxv.h: New file.
14183 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14184 (routines): Add getauxval.
14185 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14186 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14187 * elf/dl-sysdep.c (_dl_auxv): Remove.
14188 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14189 * elf/dl-support.c (_dl_auxv): New variable.
14190 (_dl_aux_init): Initialize it.
14191 * manual/startup.texi (Auxiliary Vector): New node.
14192 * sysdeps/generic/bits/hwcap.h: New file.
14193 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14194 * sysdeps/powerpc/sysdep.h: ... here. Include it.
14195 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14196 * sysdeps/sparc/sysdep.h: ... here. Include it.
14197 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14198 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
14199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14204 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14210 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14214 2012-05-19 David S. Miller <davem@davemloft.net>
14216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14218 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14221 * math/s_ccosh.c: Include <float.h>
14222 (__ccosh): Avoid internal overflow calculating sinh and cosh
14223 values before multiplying by sin and cos values.
14224 * math/s_ccoshf.c: Likewise.
14225 * math/s_ccoshl.c: Likewise.
14226 * math/s_csin.c: Likewise.
14227 * math/s_csinf.c: Likewise.
14228 * math/s_csinl.c: Likewise.
14229 * math/s_csinh.c: Likewise.
14230 * math/s_csinhf.c: Likewise.
14231 * math/s_csinhl.c: Likewise.
14232 * math/libm-test.inc (ccos_test): Add more tests.
14233 (ccosh_test): Likewise.
14234 (csin_test): Likewise.
14235 (csinh_test): Likewise.
14236 * sysdeps/i386/fpu/libm-test-ulps: Update.
14237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14239 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14241 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14242 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14244 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14246 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14248 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14249 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14250 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14251 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14252 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14253 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14254 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14255 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14256 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14257 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14258 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14259 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14260 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14261 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14262 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14263 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14264 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14265 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14266 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14267 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14268 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14269 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14270 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14271 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14272 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14273 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14274 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14275 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14276 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14277 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14278 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14280 2012-05-18 Andreas Jaeger <aj@suse.de>
14282 * csu/.gitignore: Delete.
14284 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14286 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14287 (timex): Use __syscall_slong_t.
14289 2012-05-18 Andreas Jaeger <aj@suse.de>
14290 Carlos O'Donell <carlos_odonell@mentor.com>
14292 * manual/install.texi (Configuring and compiling): Update
14293 description about files modified in the source directory.
14294 * INSTALL: Regenerated.
14296 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14298 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14299 value. Use "or" to set return value to -1.
14300 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14301 negate return value.
14303 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14305 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14306 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14307 failure if the compiler has Graphite support disabled.
14308 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14310 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14311 CFLAGS-memmove.c): Likewise.
14312 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14315 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14317 * sysdeps/x86_64/x32/_itoa.h: New file.
14319 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14320 getdents system call only if kernel and user dirents have the
14321 same d_ino and d_off.
14323 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14324 LLONG_MAX != LONG_MAX.
14325 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14326 (_fitoa_word): Likewise.
14328 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14330 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14331 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14332 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14334 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14335 include <bits/wordsize.h>. Check __x86_64__ instead of
14337 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14338 if __x86_64__ is defined. Use anonymous union on fpstate.
14340 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14343 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14345 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14346 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14347 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14348 Refer to _rtld_local_ro instead of _rtld_global_ro.
14349 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14351 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14353 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14355 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14356 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14357 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14359 * sysdeps/powerpc/powerpc32/dl-machine.c
14360 (__elf_machine_runtime_setup) [PROF]: Don't reference
14363 2012-05-18 Andreas Jaeger <aj@suse.de>
14365 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14366 function only available for GCCs before 3.4 since GCC 3.4
14367 introduced a builtin.
14369 (llrintf): Likewise.
14370 (llrint): Likewise.
14377 (nearbyint): Likewise.
14378 (nearbyintf): Likewise.
14382 (floorf): Likewise.
14384 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14386 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14387 on both fields and cast pointer to __syscall_ulong_t.
14389 * bits/types.h (__fsword_t): New type.
14390 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14391 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14392 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14393 (__FSWORD_T_TYPE): Likewise.
14394 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14395 (__FSWORD_T_TYPE): Likewise.
14396 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14397 (__FSWORD_T_TYPE): Likewise.
14398 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14399 (__FSWORD_T_TYPE): Likewise.
14400 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14401 __SWORD_TYPE with __fsword_t.
14402 (statfs64): Likewise.
14404 2012-05-17 David S. Miller <davem@davemloft.net>
14406 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14408 2012-05-17 Andreas Jaeger <aj@suse.de>
14410 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14413 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14415 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14417 2012-05-17 Andreas Jaeger <aj@suse.de>
14419 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14422 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14424 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14426 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14428 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14429 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14431 2012-05-17 Andreas Jaeger <aj@suse.de>
14432 Carlos O'Donell <carlos_odonell@mentor.com>
14435 * sysdeps/x86_64/multiarch/init-arch.h
14436 (bit_YMM_Usable): Rename to...
14437 (bit_AVX_Usable): ... this.
14438 (bit_FMA4_Usable): New macro.
14439 (bit_XMM_state): New macro.
14440 (bit_YMM_state): New macro.
14441 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14442 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14443 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14444 (CPUID_OSXSAVE): New macro.
14445 (CPUID_AVX): New macro.
14446 (CPUID_FMA4): New macro.
14447 (index_YMM_Usable): Rename to...
14448 (index_AVX_Usable): ... this.
14449 (HAS_AVX): Use HAS_ARCH_FEATURE.
14450 (HAS_FMA4): Likewise.
14451 (HAS_YMM_USABLE): Remove.
14452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14453 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14455 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14456 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14457 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14458 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14459 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14461 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14463 * math/libm-test.c: Support platforms without multiple rounding modes.
14464 * math/bug-nextafter.c: Support platforms without FP exceptions.
14465 * math/bug-nexttoward.c: Likewise.
14466 * math/test-fenv.c: Likewise.
14467 * math/test-misc.c: Likewise.
14468 * stdlib/bug-getcontext.c: Likewise.
14470 2012-05-17 Andreas Jaeger <aj@suse.de>
14472 * manual/examples/search.c (critter_cmp): Change signature to
14474 * manual/string.texi (Collation Functions): Likewise.
14476 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14478 * bits/types.h: Fold copyright years.
14479 * bits/typesizes.h: Likewise.
14480 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14481 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14482 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14483 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14484 * time/time.h: Likewise.
14486 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14489 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14490 in instead of returning them. Return void.
14491 (__libc_mallinfo): Accumulate over all arenas.
14492 (__malloc_stats): Adjust for change in int_mallinfo interface.
14494 2012-05-16 Roland McGrath <roland@hack.frob.com>
14497 * configure.in (NM): Add AC_CHECK_TOOL for it.
14498 (libc_extra_cflags): New substituted variable.
14499 Check for -fstack-protector being used implicitly.
14500 * configure: Regenerated.
14501 * config.make.in (config-extra-cflags): New variable,
14502 gets @libc_extra_cflags@.
14503 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14506 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14507 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14508 * configure: Regenerated.
14509 * config.make.in (CPPUNDEFS): New substituted variable.
14510 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14511 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14512 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14514 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14516 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14517 (mq_attr): Use __syscall_slong_t.
14519 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14521 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14522 Check __x86_64__ instead of __WORDSIZE.
14523 (_STAT_VER_LINUX): Likewise.
14524 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14525 __syscall_ulong_t and __syscall_slong_t.
14526 (stat64): Likewise.
14528 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14530 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14532 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14534 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14536 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14538 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14541 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14542 include <bits/wordsize.h>. Check __x86_64__ instead of
14544 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14546 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14548 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14549 include <bits/wordsize.h>. Check __x86_64__ instead of
14551 (user_regs_struct): Use "__extension__ unsigned long long"
14552 instead of "unsigned long" if __x86_64__ is defined.
14553 (user): Likewise. Pad after pointer field if __ILP32__ is
14556 2012-05-16 Joseph Myers <joseph@codesourcery.com>
14558 * configure.in (makeinfo): Require version 4.5 or later. Allow
14560 * configure: Regenerated.
14561 * manual/install.texi (texinfo): Increase version requirement to
14563 * INSTALL: Regenerated.
14565 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14567 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14569 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14571 * sysdeps/x86_64/x32/ffs.c: New file.
14573 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14575 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14576 defined. Use __syscall_ulong_t.
14577 (shminfo): Use __syscall_ulong_t.
14578 (shm_info): Likewise.
14580 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14583 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14585 (msgqnum_t): Use __syscall_ulong_t.
14586 (msglen_t): Likewise.
14587 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14590 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14591 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14593 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14595 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14596 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14598 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14601 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14602 include <bits/wordsize.h>. Check __x86_64__ instead of
14605 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14606 "unsigned long long int" if __x86_64__ is defined.
14607 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14609 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14610 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14611 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14613 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14615 (GET_PC): Cast to uintptr_t first.
14616 (GET_FRAME): Likewise.
14617 (GET_STACK): Likewise.
14619 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14620 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14621 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14622 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14623 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14624 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14625 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14626 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14627 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14628 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14629 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14630 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14631 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14632 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14633 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14634 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14635 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14636 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14637 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14638 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14639 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14640 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14641 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14642 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14643 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14644 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14645 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14646 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14647 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14649 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14651 * Makerules (+depfiles): Also collect depfiles from .oS in
14653 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14654 .oS, $(libnldbl-routines)).
14656 * Makerules (native-compile-mkdep-flags): Define.
14657 * sunrpc/Makefile (extra-objs): Add $(addprefix
14658 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14659 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14660 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14661 calling $(make-target-directory).
14663 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14665 * bits/types.h (__snseconds_t): Removed.
14666 * time/time.h (struct timespec): Replace __snseconds_t with
14668 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14669 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14671 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14672 (__SNSECONDS_T_TYPE): Likewise.
14673 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14674 (__SNSECONDS_T_TYPE): Likewise.
14675 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14676 (__SNSECONDS_T_TYPE): Likewise.
14678 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14680 * sysdeps/mach/hurd/bits/typesizes.h
14681 (__SYSCALL_SLONG_TYPE): New macro.
14682 (__SYSCALL_ULONG_TYPE): Likewise.
14684 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14686 * bits/types.h (__syscall_slong_t): New type.
14687 (__syscall_ulong_t): Likewise.
14689 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14690 (__SYSCALL_ULONG_TYPE): Likewise.
14691 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14692 (__SYSCALL_SLONG_TYPE): Likewise.
14693 (__SYSCALL_ULONG_TYPE): Likewise.
14694 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14695 (__SYSCALL_SLONG_TYPE): Likewise.
14696 (__SYSCALL_ULONG_TYPE): Likewise.
14697 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14698 (__SYSCALL_SLONG_TYPE): Likewise.
14699 (__SYSCALL_ULONG_TYPE): Likewise.
14701 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14703 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14704 Add sigaltstack-offsets.sym.
14705 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14706 <sigaltstack-offsets.h>.
14707 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14708 longjmp_msg pointer.
14709 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14710 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14712 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14714 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14716 * elf/stackguard-macros.h: Remove file.
14717 * sysdeps/generic/stackguard-macros.h: New file.
14718 * sysdeps/i386/stackguard-macros.h: Likewise.
14719 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14720 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14721 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14722 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14723 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14724 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14725 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14726 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14727 <elf/stackguard-macros.h>.
14730 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14731 __aligned__ in attribute.
14732 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14733 (gregset_t): Likewise.
14735 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14737 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14738 * sysdeps/x86_64/64/Implies-after: Here. New file.
14739 * sysdeps/x86_64/x32/Implies-after: New file.
14741 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14743 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14744 and access return value for _dl_profile_fixup. Use R10_LP to
14747 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14749 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14751 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14753 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14754 * sysdeps/x86_64/x32/sysdep.h: New file.
14756 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14758 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14759 * sysdeps/x86_64/setjmp.S: Likewise.
14761 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14763 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14764 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14765 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14766 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14767 remove unused global constant.
14769 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14771 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14772 include of <not-cancel.h>.
14774 2012-05-15 Roland McGrath <roland@hack.frob.com>
14776 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14778 2012-05-15 Jeff Law <law@redhat.com>
14779 Andreas Jaeger <aj@suse.de>
14782 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14784 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14785 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14786 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14787 code changing __hst_map_handle.map.
14789 2012-05-15 Roland McGrath <roland@hack.frob.com>
14791 * configure.in (sysnames): Look for Implies-before and Implies-after
14793 * configure: Regenerated.
14795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14797 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14798 8-byte data alignment with LP_SIZE alignment.
14800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14802 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14805 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14807 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14809 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14811 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14812 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14813 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14815 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14817 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14819 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14820 (stackinfo_sub_sp): Likewise.
14822 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14824 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14827 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14829 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14832 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14834 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14837 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14839 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14841 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14843 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14844 into R11_LP and load __x86_64_shared_cache_size_half into
14847 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14849 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14852 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14854 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14856 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14858 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14860 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14861 powerpc32/power7/fpu/s_logb.c via #include.
14862 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14863 powerpc32/power7/fpu/s_logbf.c via #include.
14864 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14865 powerpc32/power7/fpu/s_logbl.c via #include.
14867 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14869 * README.libm: Remove file.
14871 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14873 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14874 count for x32. Use R*_LP and omit operand-size suffix.
14876 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14878 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14879 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14880 * sysdeps/x86_64/x32/shlib-versions: New file.
14882 2012-05-14 Roland McGrath <roland@hack.frob.com>
14884 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14885 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14886 Use _dl_fatal_printf instead.
14888 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14890 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14891 set if not set by the user. Do not allow for being unset.
14892 * sysdeps/unix/sysv/linux/configure: Regenerated.
14894 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14896 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14897 the `q' suffix from lea and replace .quad with ASM_ADDR.
14899 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14901 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14902 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14904 (PTR_DEMANGLE): Likewise.
14906 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14908 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14910 (ASM_ADDR): Likewise.
14911 (RAX_LP): Likewise.
14912 (RBP_LP): Likewise.
14913 (RBX_LP): Likewise.
14914 (RCX_LP): Likewise.
14915 (RDI_LP): Likewise.
14916 (RSI_LP): Likewise.
14917 (RSP_LP): Likewise.
14920 (R10_LP): Likewise.
14921 (R10_LP): Likewise.
14922 (R11_LP): Likewise.
14923 (R12_LP): Likewise.
14924 (R13_LP): Likewise.
14925 (R14_LP): Likewise.
14926 (R15_LP): Likewise.
14928 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14930 * sysdeps/x86_64/x32/dl-machine.h: New file.
14932 2012-05-14 Andreas Jaeger <aj@suse.de>
14934 * manual/Makefile (subdir): Remove export of subdir.
14935 (all): Remove target.
14936 (.PHONY): Remove all from list.
14937 (mkinstalldirs): Remove.
14938 (.PHONY): Remove installdirs from list.
14939 ($(inst_infodir)/libc.info): Use make-target-directory.
14940 (installdirs): Remove.
14941 (subdir_%): Remove.
14942 (glibc-targets): Remove.
14945 ($(objpfx)stubs ../po/manual.pot): Remove.
14946 ($(objpfx)stamp%): Remove.
14947 (make-target-directory): Remove.
14948 (subdir_install): Remove.
14949 (routines): Remove.
14956 * manual/.gitignore: Remove, it's not needed anymore.
14957 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14959 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14961 (texis): Renamed to $(objpfx)texis.
14962 (texis-path): New, contains path to generated files.
14963 (chapters.%): Use texis-path for complete path, add extra argument
14965 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14966 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14967 (summary,texi, stamp-summary): Use complete path of
14968 files. Generate files in build dir.
14969 (dir-add.texi): Build in build dir.
14970 (libm-err.texi,stamp-libm-err): Likewise.
14971 (version.texi, stamp-version): Likewise.
14972 (.%c.texi): Likewise.
14973 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14974 (mostlyclean): Remove target.
14975 (realclean): Remove target.
14976 (generated): Add new variable with contents from mostlyclean and
14977 realclean, remove entries duplicated in common-mostlyclean, add
14978 stamp-libm-err and stamp-version.
14979 (generated-dirs): Add libc directory.
14980 ($(inst_infodir)/libc.info): Install files from build dir.
14982 * manual/install.texi (Configuring and compiling): Adjust since
14983 the info files are not part of the tar ball anymore.
14985 2012-05-14 Andreas Jaeger <aj@suse.de>
14987 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14990 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14993 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14994 to 2.2.0 where earlier.
14995 * sysdeps/unix/sysv/linux/configure: Regenerated.
14996 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14997 Remove conditional code.
14998 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14999 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
15000 Remove conditional code.
15001 [!__NR_lchown]: Likewise.
15002 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15003 [__NR_lchown]: Likewise.
15004 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15005 comment referencing __ASSUME_LCHOWN_SYSCALL.
15006 * sysdeps/unix/sysv/linux/i386/sigaction.c
15007 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15008 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15009 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15010 Remove conditional code.
15011 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15012 (__protocol_available): Remove #if 0 code.
15013 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15015 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15016 * sysdeps/unix/sysv/linux/kernel-features.h
15017 (__ASSUME_GETCWD_SYSCALL): Don't define.
15018 (__ASSUME_REALTIME_SIGNALS): Likewise.
15019 (__ASSUME_PREAD_SYSCALL): Likewise.
15020 (__ASSUME_PWRITE_SYSCALL): Likewise.
15021 (__ASSUME_POLL_SYSCALL): Likewise.
15022 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15023 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15025 (__ASSUME_SIOCGIFNAME): Don't define.
15026 (__ASSUME_MSG_NOSIGNAL): Likewise.
15027 (__ASSUME_SENDFILE): Define unconditionally.
15028 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15029 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15031 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15032 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15033 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15034 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15035 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15036 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15037 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15039 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15040 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15042 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15043 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15045 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15046 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15048 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15049 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15051 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15052 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15054 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15055 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15057 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15058 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15060 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15061 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15062 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15063 Remove conditional code.
15064 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15065 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15066 Remove conditional code.
15067 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15068 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15069 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15070 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15071 Remove conditional code.
15072 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15073 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15074 Remove conditional code.
15075 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15076 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15077 Remove conditional code.
15078 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15079 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15080 Remove conditional code.
15081 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15082 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15083 Remove conditional code.
15084 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15085 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15086 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15087 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15088 * sysdeps/unix/sysv/linux/sigaction.c
15089 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15090 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15091 * sysdeps/unix/sysv/linux/sigpending.c
15092 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15093 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15094 * sysdeps/unix/sysv/linux/sigprocmask.c
15095 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15096 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15097 * sysdeps/unix/sysv/linux/sigsuspend.c
15098 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15099 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15100 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15101 (__libc_missing_rt_sigs): Remove.
15102 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15103 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15104 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15105 Remove conditional code.
15106 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15107 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15109 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15110 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15111 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15112 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15114 2012-05-14 Andreas Jaeger <aj@suse.de>
15116 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15117 it's not used in glibc.
15118 (__coshm1): Likewise.
15119 (__acosh1p): Likewise.
15122 * manual/string.texi (Copying and Concatenation): Add missing
15123 variable in concat example.
15124 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15126 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15129 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15130 __builtin_clzl with __builtin_clzll.
15132 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15135 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15138 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15140 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15141 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15142 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15143 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15145 2012-05-14 Mike Frysinger <vapier@gentoo.org>
15147 * NEWS: Update ia64 info.
15149 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15151 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15154 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15156 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15157 * sysdeps/unix/syscalls.list (dup3): Likewise.
15158 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15159 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15161 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15163 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15164 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15166 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15168 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15170 (TLS_IE): Use mov/add instead of movq/addq to load thread
15172 (TLS_GD_PREFIX): New.
15175 2012-05-11 David S. Miller <davem@davemloft.net>
15177 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15178 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15179 (_FPU_SETCW): Likewise.
15181 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15183 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15184 is 32-byte aligned.
15186 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
15189 * iconvdata/gb18030.c: Update tables.
15190 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
15191 characters specially.
15192 (BODY for TO_LOOP): Add encoding of missing ranges.
15194 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
15197 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15198 * sysdeps/mach/hurd/dup3.c: Likewise.
15199 * sysdeps/mach/hurd/readlinkat.c: Likewise.
15200 * sysdeps/powerpc/memmove.c:: Likewise.
15202 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15204 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15205 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15207 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15209 * elf/elf.h (R_X86_64_RELATIVE64): New.
15210 (R_X86_64_NUM): Updated.
15211 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15212 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15213 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15214 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15215 tst-quad1pie tst-quad2pie
15216 (modules-names): Add tst-quadmod1 tst-quadmod2.
15217 ($(objpfx)tst-quad1): New dependency.
15218 ($(objpfx)tst-quad2): Likewise.
15219 ($(objpfx)tst-quad1pie): Likewise.
15220 ($(objpfx)tst-quad2pie): Likewise.
15221 * sysdeps/x86_64/tst-quad1.c: New file.
15222 * sysdeps/x86_64/tst-quad1pie.c: New file.
15223 * sysdeps/x86_64/tst-quad2.c: Likewise.
15224 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15225 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15226 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15227 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15228 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15230 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15232 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15233 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15234 * streams/stropts.h (t_scalar_t): Define type.
15236 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15237 (_PATH_PRESERVE): Set to "/var/lib".
15238 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15240 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15243 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15244 if __dir_mkfile succeeded.
15246 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15247 checking for _hurd_dtablesize. Unlock it right after having
15248 finished _hurd_dtable allocation.
15250 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15252 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15253 * sysdeps/mach/hurd/configure: Regenerated.
15254 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15255 special-casing to...
15256 * sysdeps/gnu/configure.in: ... this new file.
15257 * sysdeps/unix/sysv/linux/configure: Regenerated.
15258 * sysdeps/gnu/configure: New generated file.
15260 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15261 for Linux: use nsec instead of usec, as well as:
15262 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15263 members of type struct timespec.
15264 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15266 (struct stat64): Likewise.
15267 (_STATBUF_ST_NSEC): New macro.
15268 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15270 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15271 __strtoul_internal rather than strtoul.
15273 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15275 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15278 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15280 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15281 which preserves existing values.
15282 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15284 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15286 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15287 TIMEOUT values. Return EINVAL for NFDS values either negative or
15288 greater than FD_SETSIZE.
15290 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15292 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15293 allocated, call __vm_protect to finish enabling the existing space, and
15294 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15295 allocate the remainder.
15297 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15299 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15300 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15302 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15304 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15305 sysdeps/mach/hurd/readlink.c.
15307 * posix/tst-sysconf.c (posix_options): Only use
15308 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15309 _POSIX_SYNCHRONIZED_IO when they are defined
15310 * sysdeps/mach/hurd/bits/posix_opt.h:
15311 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15312 (_XOPEN_REALTIME): Undefine macro.
15313 (_XOPEN_REALTIME_THREADS): Undefine macro.
15314 (_XOPEN_SHM): Undefine macro.
15315 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15317 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15319 (_POSIX_ASYNC_IO): Undefine macro.
15320 (_POSIX_PRIORITIZED_IO): Undefine macro.
15321 (_POSIX_SPIN_LOCKS): Define macro to -1.
15323 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15324 SA_NODEFER, SA_RESETHAND.
15325 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15326 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15329 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15331 * elf/Makefile (pldd-modules): Define unconditionally.
15333 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15335 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15337 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15339 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15340 Return ENOENT when name is empty.
15341 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15343 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15345 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15347 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15349 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15351 Fix mlock in all cases except non-readable pages.
15352 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15353 instead of VM_PROT_ALL as parameter to __vm_wire function.
15355 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15356 (__mkdir): When path is `/', just fail with EEXIST.
15357 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15359 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15361 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15362 <sys/uio.h> (for writev).
15363 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15364 and <sys/param.h> (for MIN).
15366 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15368 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15369 REQUESTED_TIME. Properly set the remaining time and return EINTR
15372 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15374 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15375 Depend on against $(link-rpcuserlibs).
15377 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15379 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15380 (__libc_stack_end): Do not use attribute_relro.
15381 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15382 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
15383 to libthread-provided value.
15384 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15387 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15390 * bits/libc-lock.h (__libc_once_get): New macro.
15391 * sysdeps/mach/bits/libc-lock.h: Likewise.
15392 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15393 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15394 instead of using implementation details.
15396 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15397 * libio/freopen.c: Likewise.
15398 * libio/freopen64.c: Likewise.
15399 * misc/syslog.c: Likewise.
15400 * nscd/connections.c: Likewise.
15401 * nscd/netgroupcache.c: Likewise.
15402 * sysdeps/posix/getcwd.c: Likewise.
15404 2012-05-10 Roland McGrath <roland@hack.frob.com>
15406 * math/w_ilogbf.c: Add #include <limits.h>.
15408 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15410 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
15411 path instead of returning without unlocking.
15413 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15414 immediate-write ioctls.
15415 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15417 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15419 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15420 __builtin_frame_address instead of making assumptions about the
15421 location of the return address relative to DATA. Force early load of
15422 the return address.
15423 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15424 __builtin_frame_address.
15427 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15428 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15429 implement dup3 and do some further code clean-ups.
15430 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15431 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15433 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15435 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15437 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15438 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15439 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15440 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15441 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15444 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15445 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15446 when handler == SIG_ERR, not when handler != SIG_ERR.
15448 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15450 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15451 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15454 accept4 for GNU Hurd.
15455 * include/sys/socket.h (__libc_accept4): New prototype.
15456 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15457 to implement __libc_accept4.
15458 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15460 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15462 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15463 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15464 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15465 signal-defines.sym.
15467 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15469 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
15471 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15473 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15474 assertion on O_CLOEXEC flag.
15475 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15476 * hurd/intern-fd.c: Likewise.
15477 * hurd/port2fd.c: Likewise.
15479 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15482 * bits/in.h (IPV6_PKTINFO): Define new macro.
15483 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15485 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15490 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15491 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15492 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15493 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15494 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15495 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15496 * math/libm-test.inc (logb_test) : Additional logb tests.
15498 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15499 Andreas Jaeger <aj@suse.de>
15501 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15502 * configure: Regenerated.
15503 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15504 * config.make.in (link-obsolete-rpc): New substituted variable.
15505 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15506 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15507 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15508 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15509 so that libc.a contains the symbols.
15510 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15511 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15512 * sunrpc/auth_none.c: Likewise.
15513 * sunrpc/auth_unix.c: Likewise.
15514 * sunrpc/authdes_prot.c: Likewise.
15515 * sunrpc/authuxprot.c: Likewise.
15516 * sunrpc/clnt_gen.c: Likewise.
15517 * sunrpc/clnt_perr.c: Likewise.
15518 * sunrpc/clnt_raw.c: Likewise.
15519 * sunrpc/clnt_simp.c: Likewise.
15520 * sunrpc/clnt_tcp.c: Likewise.
15521 * sunrpc/clnt_udp.c: Likewise.
15522 * sunrpc/clnt_unix.c: Likewise.
15523 * sunrpc/des_crypt.c: Likewise.
15524 * sunrpc/des_soft.c: Likewise.
15525 * sunrpc/get_myaddr.c: Likewise.
15526 * sunrpc/key_call.c: Likewise.
15527 * sunrpc/key_prot.c: Likewise.
15528 * sunrpc/netname.c: Likewise.
15529 * sunrpc/pm_getmaps.c: Likewise.
15530 * sunrpc/pm_getport.c: Likewise.
15531 * sunrpc/pmap_clnt.c: Likewise.
15532 * sunrpc/pmap_prot.c: Likewise.
15533 * sunrpc/pmap_prot2.c: Likewise.
15534 * sunrpc/pmap_rmt.c: Likewise.
15535 * sunrpc/publickey.c: Likewise.
15536 * sunrpc/rpc_cmsg.c: Likewise.
15537 * sunrpc/rpc_common.c: Likewise.
15538 * sunrpc/rpc_dtable.c: Likewise.
15539 * sunrpc/rpc_prot.c: Likewise.
15540 * sunrpc/rpc_thread.c: Likewise.
15541 * sunrpc/rtime.c: Likewise.
15542 * sunrpc/svc.c: Likewise.
15543 * sunrpc/svc_auth.c: Likewise.
15544 * sunrpc/svc_raw.c: Likewise.
15545 * sunrpc/svc_run.c: Likewise.
15546 * sunrpc/svc_tcp.c: Likewise.
15547 * sunrpc/svc_udp.c: Likewise.
15548 * sunrpc/svc_unix.c: Likewise.
15549 * sunrpc/svcauth_des.c: Likewise.
15550 * sunrpc/xcrypt.c: Likewise.
15551 * sunrpc/xdr.c: Likewise.
15552 * sunrpc/xdr_array.c: Likewise.
15553 * sunrpc/xdr_float.c: Likewise.
15554 * sunrpc/xdr_intXX_t.c: Likewise.
15555 * sunrpc/xdr_mem.c: Likewise.
15556 * sunrpc/xdr_rec.c: Likewise.
15557 * sunrpc/xdr_ref.c: Likewise.
15558 * sunrpc/xdr_sizeof.c: Likewise.
15559 * sunrpc/xdr_stdio.c: Likewise.
15561 2012-05-10 Roland McGrath <roland@hack.frob.com>
15563 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15564 change. Update copyright years.
15566 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15568 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15570 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15571 Joseph Myers <joseph@codesourcery.com>
15572 Paul Pluzhnikov <ppluzhnikov@google.com>
15575 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15577 [cross-compiling] (extra-libs): Likewise.
15578 [cross-compiling] (extra-libs-others): Likewise.
15579 [cross-compiling] (librpcsvc-routines): Likewise.
15580 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15581 [cross-compiling] (omit-deps): Likewise.
15582 (sunrpc-CPPFLAGS): New variable.
15583 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15584 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15585 (cross-rpcgen-objs): New variable.
15586 (extra-objs): Append $(cross-rpcgen-objs).
15587 ($(cross-rpcgen-objs)): New rule.
15588 ($(objpfx)cross-rpcgen): Likewise.
15589 (rpcgen-cmd): Define to use $(built-program-file). Expand
15591 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15592 ($(objpfx)x%.stmp): Likewise.
15593 * sunrpc/proto.h [IS_IN_build] (_): Define.
15594 [IS_IN_build] (_libc_intl_domainname): Likewise.
15596 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15598 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15599 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15600 and R_X86_64_TPOFF64.
15602 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15604 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15605 sysdeps/unix/sysv/syscalls.list.
15608 * sysdeps/unix/sysv/syscalls.list: Remove file.
15610 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15613 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15614 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15615 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15616 (__LC_IDENTIFICATION): Make these macros useful in #if
15617 expressions, as required by C99.
15619 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15621 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15622 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15625 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15627 * stdlib/longlong.h: Updated from GCC.
15629 2012-05-09 Andreas Jaeger <aj@suse.de>
15631 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15632 default is first entry.
15633 (run_mode): Set type.
15634 (main): Remove informal message about syslog.
15635 (options): Fix typo.
15638 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15641 (llrintf): Likewise.
15642 (llrint): Likewise.
15645 (nearbyint): Likewise.
15646 (nearbyintf): Likewise.
15648 2012-05-09 Andreas Jaeger <aj@suse.de>
15649 Pedro Alves <palves@redhat.com>
15651 * nscd/nscd.c (run_mode): Use enum.
15652 (main): Cleanup coding style issue.
15654 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
15655 Andreas Jaeger <aj@suse.de>
15657 * nscd/nscd.c (go_background): Replaced with...
15658 (run_mode): ... this.
15659 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15660 (options): Add -F --foreground.
15661 (main): Implement it.
15662 (parse_opt): Parse it.
15664 2012-05-09 Andreas Jaeger <aj@suse.de>
15667 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15668 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15669 -Wconversion warning.
15670 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15673 2012-05-09 Joseph Myers <joseph@codesourcery.com>
15675 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15677 (LC_ALL): Use macro-int-constant.
15678 (LC_COLLATE): Likewise.
15679 (LC_CTYPE): Likewise.
15680 (LC_MESSAGES): Likewise.
15681 (LC_MONETARY): Likewise.
15682 (LC_NUMERIC): Likewise.
15683 (LC_TIME): Likewise.
15684 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15685 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15686 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15687 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15689 [C99-based standards] (float_t): Expect type.
15690 [C99-based standards] (double_t): Expect type.
15691 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15693 [C99-based standards] (HUGE_VALL): Likewise.
15694 [C99-based standards] (INFINITY): Likewise.
15695 [C99-based standards] (NAN): Likewise.
15696 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15697 [C99-based standards] (FP_NAN): Likewise.
15698 [C99-based standards] (FP_NORMAL): Likewise.
15699 [C99-based standards] (FP_SUBNORMAL): Likewise.
15700 [C99-based standards] (FP_ZERO): Likewise.
15701 [C99-based standards] (FP_FAST_FMA): Use
15702 optional-macro-int-constant. Specify type. Require == 1.
15703 [C99-based standards] (FP_FAST_FMAF): Likewise.
15704 [C99-based standards] (FP_FAST_FMAL): Likewise.
15705 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15706 [C99-based standards] (FP_ILOGBNAN): Likewise.
15707 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15709 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15710 [C99-based standards] (math_errhandling): Specify type.
15711 [ISO99 || ISO11] (signgam): Do not allow.
15712 [non-C99-based standards] (copysignf): Do not allow.
15713 [non-C99-based standards] (exp2f): Likewise.
15714 [non-C99-based standards] (log2f): Likewise.
15715 [non-C99-based standards] (modff): Allow.
15716 [non-C99-based standards] (erff): Do not allow.
15717 [non-C99-based standards] (erfcf): Likewise.
15718 [non-C99-based standards] (gammaf): Likewise.
15719 [non-C99-based standards] (hypotf): Likewise.
15720 [non-C99-based standards] (j0f): Likewise.
15721 [non-C99-based standards] (j1f): Likewise.
15722 [non-C99-based standards] (jnf): Likewise.
15723 [non-C99-based standards] (lgammaf): Likewise.
15724 [non-C99-based standards] (tgammaf): Likewise.
15725 [non-C99-based standards] (y0f): Likewise.
15726 [non-C99-based standards] (y1f): Likewise.
15727 [non-C99-based standards] (ynf): Likewise.
15728 [non-C99-based standards] (isnanf): Likewise.
15729 [non-C99-based standards] (acoshf): Likewise.
15730 [non-C99-based standards] (asinhf): Likewise.
15731 [non-C99-based standards] (atanhf): Likewise.
15732 [non-C99-based standards] (cbrtf): Likewise.
15733 [non-C99-based standards] (expm1f): Likewise.
15734 [non-C99-based standards] (ilogbf): Likewise.
15735 [non-C99-based standards] (log1pf): Likewise.
15736 [non-C99-based standards] (logbf): Likewise.
15737 [non-C99-based standards] (nextafterf): Likewise.
15738 [non-C99-based standards] (remainderf): Likewise.
15739 [non-C99-based standards] (rintf): Likewise.
15740 [non-C99-based standards] (scalbf): Likewise.
15741 [non-C99-based standards] (copysignl): Likewise.
15742 [non-C99-based standards] (exp2l): Likewise.
15743 [non-C99-based standards] (log2l): Likewise.
15744 [non-C99-based standards] (modfl): Allow.
15745 [non-C99-based standards] (erfl): Do not allow.
15746 [non-C99-based standards] (erfcl): Likewise.
15747 [non-C99-based standards] (gammal): Likewise.
15748 [non-C99-based standards] (hypotl): Likewise.
15749 [non-C99-based standards] (j0l): Likewise.
15750 [non-C99-based standards] (j1l): Likewise.
15751 [non-C99-based standards] (jnl): Likewise.
15752 [non-C99-based standards] (lgammal): Likewise.
15753 [non-C99-based standards] (tgammal): Likewise.
15754 [non-C99-based standards] (y0l): Likewise.
15755 [non-C99-based standards] (y1l): Likewise.
15756 [non-C99-based standards] (ynl): Likewise.
15757 [non-C99-based standards] (isnanl): Likewise.
15758 [non-C99-based standards] (acoshl): Likewise.
15759 [non-C99-based standards] (asinhl): Likewise.
15760 [non-C99-based standards] (atanhl): Likewise.
15761 [non-C99-based standards] (cbrtl): Likewise.
15762 [non-C99-based standards] (expm1l): Likewise.
15763 [non-C99-based standards] (ilogbl): Likewise.
15764 [non-C99-based standards] (log1pl): Likewise.
15765 [non-C99-based standards] (logbl): Likewise.
15766 [non-C99-based standards] (nextafterl): Likewise.
15767 [non-C99-based standards] (remainderl): Likewise.
15768 [non-C99-based standards] (rintl): Likewise.
15769 [non-C99-based standards] (scalbl): Likewise.
15770 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15771 [non-C99-based standards] (FP_*): Do not allow.
15772 [C99-based standards] (FP_*): Change to
15773 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15774 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15776 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15777 (SIG_ERR): Likewise.
15778 [X/Open-based standards] (SIG_HOLD): Likewise.
15779 (SIG_IGN): Likewise.
15780 (SIGABRT): Use macro-int-constant. Specify type. Require
15782 (SIGFPE): Likewise.
15783 (SIGILL): Likewise.
15784 (SIGINT): Likewise.
15785 (SIGSEGV): Likewise.
15786 (SIGTER): Likewise.
15787 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15788 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15789 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15790 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15791 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15792 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15793 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15794 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15795 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15796 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15797 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15798 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15799 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15800 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15801 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15802 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15803 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15804 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15805 [X/Open-based standards] (SIGTRAP): Likewise.
15806 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15807 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15808 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15809 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15810 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15813 2012-05-08 Ian Wienand <ianw@vmware.com>
15816 * time/tzset.c (__tzset_parse_tz): Update default rules for
15817 daylight time changes in the Energy Policy Act of 2005.
15819 2012-05-09 Andreas Jaeger <aj@suse.de>
15822 * elf/ldconfig.c (parse_conf): Change string to make clear that
15823 ldconfig only issued a warning if ld.so.conf does not exist.
15825 2012-05-08 David S. Miller <davem@davemloft.net>
15827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15828 movxtod instead of popping the value on the stack.
15830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15832 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15834 * config.h.in: Add HAVE_ARM_PCS_VFP.
15836 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15839 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15840 checking but the checks are disabled for any reason.
15842 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15844 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15845 and ELF64_R_TYPE with ELFW(R_TYPE).
15847 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15849 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15850 (ulimit): Likewise.
15852 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15853 (settimeofday): Likewise.
15855 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15857 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15858 a struct th_u2 inside the union, and move tu_block/tu_code into
15859 a new th_u3 union of tu_block/tu_code inside of that. Move
15860 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15861 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15862 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15863 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15864 (th_stuff): Change to th_u1.tu_stuff.
15866 (th_msg): Change to th_u1.th_u2.tu_data.
15868 2012-05-07 David S. Miller <davem@davemloft.net>
15870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15873 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15874 (SETUP_PIC_REG): Use it.
15875 (SETUP_PIC_REG_LEAF): Use it.
15877 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15881 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15883 (EXPL_FINITE): Likewise.
15884 (FLDLOG): Likewise.
15885 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15886 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15888 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15890 (EXPL_FINITE): Likewise.
15891 (FLDLOG): Likewise.
15892 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15893 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15895 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15896 test of -max_value argument for long double.
15897 * sysdeps/i386/fpu/libm-test-ulps: Update.
15898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15900 2012-05-06 David S. Miller <davem@davemloft.net>
15902 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15903 quad soft-float symbols whose references which are compiler
15905 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15907 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15911 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15913 (EXPL_FINITE): Likewise.
15914 (FLDLOG): Likewise.
15917 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15918 Adjust comments for base varying.
15919 (__expl_finite): Change alias to EXPL_FINITE.
15920 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15922 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15923 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15924 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15925 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15926 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15928 (EXPL_FINITE): Likewise.
15929 (FLDLOG): Likewise.
15932 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15933 Adjust comments for base varying.
15934 (__expl_finite): Change alias to EXPL_FINITE.
15935 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15937 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15940 * math/libm-test.inc (check_float_internal): Correct ulp
15941 calculation for subnormal expected results.
15943 2012-05-06 Andreas Jaeger <aj@suse.de>
15945 * Makeconfig (+math-flags): New, set to -frounding-math.
15946 (+cflags): Add +math-flags so that all of glibc gets compiled with
15949 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15951 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15953 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15959 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15960 (__ieee754_expl): Allow for and saturate large arguments.
15961 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15962 (u_threshold): Likewise.
15963 (__exp): Call __ieee754_exp before checking for overflow and
15965 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15966 (u_threshold): Likewise.
15967 (__expf): Call __ieee754_expf before checking for overflow and
15969 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15970 (u_threshold): Likewise.
15971 (__expl): Call __ieee754_expl before checking for overflow and
15973 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15974 (__ieee754_expl): Allow for and saturate large arguments.
15975 * math/libm-test.inc (exp_test): Add another test. Do not allow
15976 missing overflow exception on overflow.
15977 (expm1_test): Do not allow missing overflow exception on overflow.
15979 * sysdeps/i386/fpu/e_expl.c: Move to ...
15980 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15981 rather than using inline asm.
15982 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15983 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15984 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15986 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15989 (signal): Likewise.
15993 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15995 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15996 sysdeps/unix/common/syscalls.list.
15997 (fchmod): Likewise.
15998 (fchown): Likewise.
15999 (ftruncate): Likewise.
16000 (getrusage): Likewise.
16001 (gettimeofday): Likewise.
16002 (setpgid): Likewise.
16003 (setregid): Likewise.
16004 (setreuid): Likewise.
16005 (sigaction): Likewise.
16006 (truncate): Likewise.
16007 (vhangup): Likewise.
16008 * sysdeps/unix/common/syscalls.list: Remove file.
16009 * sysdeps/unix/bsd/Implies: Don't include unix/common.
16010 * sysdeps/unix/sysv/linux/Implies: Likewise.
16012 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
16014 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16016 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16020 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16023 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16026 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16029 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16032 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16035 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16038 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16042 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16046 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16049 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16053 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16057 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16059 * sysdeps/unix/common/bits/dirent.h: Remove file.
16060 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16062 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16063 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16064 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16065 * sysdeps/unix/bsd/isatty.c: Likewise.
16066 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16067 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16068 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16070 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16073 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16074 long double comparison inaccuracies.
16075 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16078 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16080 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16081 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16083 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16086 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16087 nonzero digits before rounding a hex value.
16088 * stdlib/tst-strtod.c (tests): Add another test.
16090 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16092 * sysdeps/s390/fpu/libm-test-ulps: Update.
16094 2012-05-03 Andreas Jaeger <aj@suse.de>
16096 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16097 does not get optimized out.
16098 (malloc_opt_barrier): New.
16100 2012-05-03 Andreas Jaeger <aj@suse.de>
16101 Roland McGrath <roland@hack.frob.com>
16103 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
16104 intermediate file deletion.
16105 (generated): Add .symlist files.
16107 2012-05-03 Joseph Myers <joseph@codesourcery.com>
16110 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16111 Redirect under this condition.
16112 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16113 [__USE_GNU] (__dprintf_chk): Not under this condition.
16114 [__USE_GNU] (__vdprintf_chk): Likewise.
16115 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16116 under this condition.
16117 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16118 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16119 [__USE_XOPEN2K8] (vdprintf): Likewise.
16120 [__USE_GNU] (__dprintf_chk): Not under this condition.
16121 [__USE_GNU] (__vdprintf_chk): Likewise.
16122 [__USE_GNU] (dprintf): Likewise.
16123 [__USE_GNU] (vdprintf): Likewise.
16125 2012-05-03 Roland McGrath <roland@hack.frob.com>
16127 * elf/Makefile (common-generated): Set this instead of generated for
16128 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16129 $(all-built-dso)-derived lists.
16131 2012-05-03 Andreas Jaeger <aj@suse.de>
16133 * sysdeps/i386/fpu/libm-test-ulps: Update.
16136 * FAQ.in: Likewise.
16137 * scripts/gen-FAQ.pl: Likewise.
16138 * manual/install.texi (Installation): Point to online location of
16140 * Makefile (files-for-dist): Remove FAQ.
16143 2012-05-02 Allan McRae <allan@archlinux.org>
16145 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16146 (LDFLAGS-reldepmod5.so): Likewise.
16147 (LDFLAGS-reldep6mod1.so): Likewise.
16148 (LDFLAGS-reldep6mod4.so): Likewise.
16149 (LDFLAGS-reldep8mod3.so): Likewise.
16150 (LDFLAGS-unload4mod1.so): Likewise.
16151 (LDFLAGS-unload4mod2.so): Likewise.
16152 (LDFLAGS-tst-initorder): Likewise.
16153 (LDFLAGS-tst-initordera2.so): Likewise.
16154 (LDFLAGS-tst-initordera3.so): Likewise.
16155 (LDFLAGS-tst-initordera4.so): Likewise.
16156 (LDFLAGS-tst-initorderb2.so): Likewise.
16157 (LDFLAGS-noload): Likewise.
16158 (LDFLAGS-next): Likewise.
16159 (LDFLAGS-order2mod1.so): Likewise.
16160 (LDFLAGS-order2mod2.so): Likewise.
16161 (LDFLAGS-tst-initorder2): Likewise.
16162 (LDFLAGS-tst-initorder2a.so): Likewise.
16163 (LDFLAGS-tst-initorder2b.so): Likewise.
16164 (LDFLAGS-tst-initorder2c.so): Likewise.
16165 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16167 2012-05-02 David S. Miller <davem@davemloft.net>
16169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16171 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16174 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16176 2012-05-02 Andreas Jaeger <aj@suse.de>
16178 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16179 since we manipulate rounding mode.
16180 (CPPFLAGS-test-idouble.c): Likewise.
16181 (CPPFLAGS-test-ifloat.c): Likewise.
16182 (CFLAGS-test-ldouble.c): Likewise.
16183 (CFLAGS-test-double.c): Likewise.
16184 (CFLAGS-test-float.c): Likewise.
16185 (CFLAGS-test-misc.c): Likewise.
16186 (CFLAGS-test-test-fenv.c): Likewise.
16188 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16192 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16193 comparisons to determine direction to adjust input.
16195 2012-05-01 Roland McGrath <roland@hack.frob.com>
16197 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16198 output to the target.
16200 * scripts/localplt.awk: New file.
16201 * elf/Makefile ($(objpfx)check-localplt): Target removed.
16202 (check-localplt-CFLAGS): Variable removed.
16203 ($(all-built-dso:=.jmprel)): New static pattern rule.
16204 (generated): Add those targets.
16205 (localplt-built-dso): New variable.
16206 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16208 * elf/check-localplt.c: File removed.
16210 * scripts/check-execstack.awk: New file.
16211 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16212 (check-execstack-CFLAGS): Variable removed.
16213 ($(objpfx)check-execstack.h): Target removed.
16214 ($(objpfx)execstack-default): New target.
16215 (generated): Add that instead of check-execstack.h.
16216 ($(all-built-dso:=.phdr)): New static pattern rule.
16217 (generated): Add those targets.
16218 * elf/check-execstack.c: File removed.
16220 * scripts/check-textrel.awk: New file.
16221 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16222 (check-textrel-CFLAGS): Variable removed.
16223 (all-built-dso): Use := to define.o
16224 ($(all-built-dso:=.dyn)): New static pattern rule.
16225 (generated): Add those targets.
16226 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16227 * config.make.in (READELF): New substituted variable.
16228 * elf/check-textrel.c: File removed.
16230 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16232 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16234 * conform/data/ctype.h-data [C99-based standards] (isblank):
16236 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16237 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16238 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16239 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16240 Specify type. Require positive value.
16241 (EILSEQ): Likewise.
16242 (ERANGE): Likewise.
16243 [ISO || POSIX] (EILSEQ): Do not expect.
16244 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16245 Specify type. Require positive value.
16246 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16247 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16248 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16249 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16250 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16251 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16252 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16253 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16254 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16255 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16256 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16257 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16258 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16259 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16260 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16261 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16262 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16263 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16264 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16265 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16266 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16267 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16268 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16269 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16270 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16271 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16272 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16273 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16274 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16275 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16276 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16277 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16278 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16279 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16280 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16281 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16282 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16283 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16284 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16285 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16286 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16287 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16288 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16289 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16290 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16291 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16292 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16293 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16294 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16295 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16296 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16297 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16298 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16299 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16300 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16301 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16302 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16303 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16304 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16305 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16306 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16307 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16308 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16309 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16310 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16311 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16312 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16313 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16314 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16315 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16316 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16317 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16318 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16319 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16320 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16321 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16322 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16324 (FLT_ROUNDS): Expect as macro, not constant.
16325 (FLT_MANT_DIG): Use macro-int-constant.
16326 (DBL_MANT_DIG): Likewise.
16327 (LDBL_MANT_DIG): Likewise.
16328 (FLT_DIG): Likewise.
16329 (DBL_DIG): Likewise.
16330 (LDBL_DIG): Likewise.
16331 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16332 (DBL_MIN_EXP): Likewise.
16333 (LDBL_MIN_EXP): Likewise.
16334 (FLT_MAX_EXP): Use macro-int-constant.
16335 (DBL_MAX_EXP): Likewise.
16336 (LDBL_MAX_EXP): Likewise.
16337 (FLT_MAX_10_EXP): Likewise.
16338 (DBL_MAX_10_EXP): Likewise.
16339 (LDBL_MAX_10_EXP): Likewise.
16340 (FLT_MAX): Use macro-constant.
16341 (DBL_MAX): Likewise.
16342 (LDBL_MAX): Likewise.
16343 (FLT_EPSILON): Use macro-constant. Give upper bound.
16344 (DBL_EPSILON): Likewise.
16345 (LDBL_EPSILON): Likewise.
16346 (FLT_MIN): Likewise.
16347 (DBL_MIN): Likewise.
16348 (LDBL_MIN): Likewise.
16349 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16350 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16351 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16352 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16353 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16354 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16355 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16356 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16357 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16358 [ISO11] (FLT_TRUE_MIN): Likewise.
16359 [ISO11] (LDBL_TRUE_MIN): Likewise.
16360 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16361 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16362 (SCHAR_MIN): Use macro-int-constant. Specify type.
16363 (SCHAR_MAX): Likewise.
16364 (UCHAR_MAX): Likewise.
16365 (CHAR_MIN): Likewise.
16366 (CHAR_MAX): Likewise.
16367 (MB_LEN_MAX): Use macro-int-constant.
16368 (SHRT_MIN): Use macro-int-constant. Specify type.
16369 (SHRT_MAX): Likewise.
16370 (USHRT_MAX): Likewise.
16371 (INT_MAX): Likewise.
16372 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16374 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16376 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16378 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16379 bound negative. Suffix upper bound with "L".
16380 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16382 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16384 [C99-based standards] (LLONG_MAX): Likewise.
16385 [C99-based standards] (ULLONG_MAX): Likewise.
16386 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16388 [ISO11] (max_align_t): Require type.
16389 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16391 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16392 from $CFLAGS, without defining away __attribute__ calls.
16393 (checknamespace): Use $CFLAGS_namespace.
16395 * conform/conformtest.pl (@keywords): Only include C99 keywords
16396 for standards based on C99 or C11.
16398 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16400 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16403 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16404 usability of symbols in #if.
16406 * conform/conformtest.pl: If macro or constant types start
16407 "promoted:", expect the symbol to be of the following type
16408 promoted by the integer promotions.
16410 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16411 in one place. Also handle "macro-constant".
16413 * conform/conformtest.pl: Only accept expected macro values with
16414 "==". Parse all "macro" lines in one place.
16415 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16417 * conform/conformtest.pl: Handle braced types on "constant" lines
16418 instead of handling "typed-constant".
16419 * conform/data/signal.h-data: Use "constant" instead of
16422 * conform/conformtest.pl: Handle "optional-" at start of lines in
16423 one place rather than duplicating several cases. Handle each
16424 format of "macro" line with initial "optional-".
16426 * conform/conformtest.pl: Only accept expected constant or
16427 optional-constant values with "==". Parse all "constant" lines in
16428 one place. Parse all "optional-constant" lines in one place.
16429 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16430 * conform/data/fmtmsg.h-data: Likewise.
16431 * conform/data/netinet/in.h-data: Likewise.
16432 * conform/data/tar.h-data: Likewise.
16433 * conform/data/limits.h-data: Use "==" form on "constant" and
16434 "optional-constant" lines.
16436 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16437 Use -std=c99 for XOPEN2K.
16438 (@knownproblems): Remove.
16439 (newtoken): Don't check %isknown.
16441 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16442 Do not expect macro.
16443 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16444 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16445 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16446 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16447 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16448 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16449 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16450 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16451 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16452 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16453 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16454 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16455 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16456 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16457 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16458 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16459 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16460 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16461 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16462 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16463 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16464 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16465 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16466 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16467 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16468 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16469 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16470 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16471 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16472 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16473 [XPG3] (acosh): Likewise.
16474 [XPG3] (asinh): Likewise.
16475 [XPG3] (atanh): Likewise.
16476 [XPG3] (cbrt): Likewise.
16477 [XPG3] (expm1): Likewise.
16478 [XPG3] (ilogb): Likewise.
16479 [XPG3] (log1p): Likewise.
16480 [XPG3] (logb): Likewise.
16481 [XPG3] (nextafter): Likewise.
16482 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16483 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16484 [XPG3] (remainder): Likewise.
16485 [XPG3] (rint): Likewise.
16486 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16487 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16488 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16489 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16490 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16491 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16492 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16493 [UNIX98 || XOPEN2K] (scalb): Expect.
16494 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16495 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16496 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16497 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16498 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16499 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16500 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16501 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16502 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16503 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16504 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16505 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16506 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16507 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16508 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16509 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16510 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16511 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16512 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16513 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16514 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16515 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16516 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16517 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16518 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16519 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16520 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16521 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16522 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16523 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16524 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16525 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16526 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16527 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16528 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16529 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16530 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16531 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16532 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16533 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16534 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16535 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16536 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16537 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16538 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16539 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16540 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16541 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16542 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16543 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16544 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16545 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16546 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16547 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16548 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16549 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16550 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16551 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16552 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16553 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16554 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16555 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16556 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16557 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16558 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16559 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16560 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16561 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16562 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16563 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16564 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16565 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16566 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16567 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16568 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16569 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16570 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16571 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16572 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16573 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16574 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16575 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16576 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16577 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16578 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16579 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16580 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16581 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16582 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16583 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16584 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16585 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16586 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16587 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16588 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16589 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16590 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16591 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16592 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16593 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16594 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16595 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16596 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16597 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16598 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16599 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16600 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16601 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16602 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16603 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16604 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16605 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16606 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16607 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16608 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16609 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16610 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16611 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16612 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16613 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16614 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16615 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16616 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16617 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16618 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16619 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16620 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16621 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16622 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16623 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16624 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16625 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16626 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16627 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16628 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16629 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16630 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16632 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16633 _XOPEN_SOURCE_EXTENDED for XPG4.
16635 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16637 * Makeconfig (localtime): Remove variable.
16638 (inst_localtime-file): Likewise.
16640 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16661 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16665 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16666 comparisons to determine direction to adjust input.
16667 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16668 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16669 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16671 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16673 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16675 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16676 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16678 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16680 * math/libm-test.inc (nexttoward_test): Add more tests.
16682 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16685 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16686 in version GLIBC_2.1, not GLIBC_2.0.
16687 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16690 2012-04-30 Joseph Myers <joseph@codesourcery.com>
16693 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16695 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16696 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16697 * math/libm-test.inc (acos_test): Add more tests.
16698 (asin_test): Likewise.
16699 * sysdeps/i386/fpu/libm-test-ulps: Update.
16700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16703 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16705 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16706 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16707 * math/libm-test.inc (acos_test_tonearest): New function.
16708 (acos_test_towardzero): Likewise.
16709 (acos_test_downward): Likewise.
16710 (acos_test_upward): Likewise.
16711 (asin_test_tonearest): Likewise.
16712 (asin_test_towardzero): Likewise.
16713 (asin_test_downward): Likewise.
16714 (asin_test_upward): Likewise.
16715 (main): Call the new functions.
16716 * sysdeps/i386/fpu/libm-test-ulps: Update.
16717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16721 * math/e_exp10.c: Include <float.h>.
16722 (__ieee754_exp10): Handle underflow here rather than multiplying
16723 large negative argument by M_LN10.
16724 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16726 * math/e_exp10l.c: Include <float.h>.
16727 (__ieee754_exp10l): Handle underflow here rather than multiplying
16728 large negative argument by M_LN10l.
16729 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16730 spurious overflow exception on underflow.
16732 2012-04-29 Marek Polacek <polacek@redhat.com>
16734 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16735 (__fortify_function): New macro.
16736 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16737 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16738 __extern_always_inline.
16739 * libio/bits/stdio2.h: Likewise.
16740 * libio/bits/stdio.h: Likewise.
16741 * string/string.h: Likewise.
16742 * string/bits/string3.h: Likewise.
16743 * include/stdio.h: Likewise.
16744 * stdlib/bits/stdlib.h: Likewise.
16745 * stdlib/stdlib.h: Likewise.
16746 * rt/bits/mqueue2.h: Likewise.
16747 * rt/mqueue.h: Likewise.
16748 * posix/bits/unistd.h: Likewise.
16749 * posix/unistd.h: Likewise.
16750 * io/bits/poll2.h: Likewise.
16751 * io/bits/fcntl2.h: Likewise.
16752 * io/fcntl.h: Likewise.
16753 * io/sys/poll.h: Likewise.
16754 * misc/bits/syslog.h: Likewise.
16755 * misc/bits/syslog-ldbl.h: Likewise.
16756 * misc/sys/syslog.h: Likewise.
16757 * socket/bits/socket2.h: Likewise.
16758 * socket/sys/socket.h: Likewise.
16759 * debug/tst-chk1.c: Likewise.
16760 * wcsmbs/bits/wchar2.h: Likewise.
16761 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16762 * wcsmbs/wchar.h: Likewise.
16764 2012-04-29 Andreas Jaeger <aj@suse.de>
16766 * Makerules (tests): Remove enable-check-abi protection.
16767 (check-abi-warn): Remove.
16768 (check-abi-%): Remove check-abi-warn usage.
16770 * configure.in: Remove check-abi configure option.
16771 * configure: Regenerated.
16772 * config.make.in (enable-check-abi): Remove.
16774 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16777 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16778 double functions to double *_finite functions.
16781 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16782 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16784 * stdio-common/Makefile (tests): Add tst-sprintf3.
16785 * stdio-common/tst-sprintf3.c: New file.
16787 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16788 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16790 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16792 * conform/conformtest.pl: Remove duplicate typed-constant
16795 2012-04-28 David S. Miller <davem@davemloft.net>
16797 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16798 (check-abi-%): Remove AWK script prerequisite and explicit
16800 (check-abi): Rewrite to just diff the symlist with the abilist.
16801 (config-tls, config-abi-config): Delete, no longer used.
16802 (update-abi-%): Remove AWK script and explicit abilist directory.
16803 (update-abi): Rewrite to simply compare and conditionally copy the
16804 symlist and the sysdep abilist file. Remove update-abi-config
16806 * abilist/ld.abilist: Remove.
16807 * abilist/libBrokenLocale.abilist: Remove.
16808 * abilist/libanl.abilist: Remove.
16809 * abilist/libcrypt.abilist: Remove.
16810 * abilist/libdl.abilist: Remove.
16811 * abilist/librt.abilist: Remove.
16812 * abilist/libthread_db.abilist: Remove.
16813 * abilist/libutil.abilist: Remove.
16814 * scripts/extract-abilist.awk: Remove.
16815 * scripts/merge-abilist.awk: Remove.
16816 * sysdeps/generic/libcidn.abilist: New file.
16817 * sysdeps/generic/libnss_compat.abilist: New file.
16818 * sysdeps/generic/libnss_db.abilist: New file.
16819 * sysdeps/generic/libnss_dns.abilist: New file.
16820 * sysdeps/generic/libnss_files.abilist: New file.
16821 * sysdeps/generic/libnss_hesiod.abilist: New file.
16822 * sysdeps/generic/libnss_nis.abilist: New file.
16823 * sysdeps/generic/libnss_nisplus.abilist: New file.
16824 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16825 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16826 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16828 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16829 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16830 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16831 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16832 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16833 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16834 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16835 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16836 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16838 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16839 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16840 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16841 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16843 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16844 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16845 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16846 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16847 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16848 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16850 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16851 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16852 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16854 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16855 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16857 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16859 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16867 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16869 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16871 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16873 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16875 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16877 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16879 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16933 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16957 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16958 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16959 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16961 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16962 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16963 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16964 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16965 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16966 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16967 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16968 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16969 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16970 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16999 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
17003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
17005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17022 2012-04-28 Joseph Myers <joseph@codesourcery.com>
17024 * conform/conformtest.pl: Fix typo in handling typed-constant from
17027 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17029 * README: Cut down references to pre-2.6 Linux kernels and
17030 Linuxthreads. Update lists of configurations in libc and ports
17031 and sort alphabetically. Say "or newer" with Linux kernel version
17034 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17036 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17039 * math/libm-test.inc (logb_test_downward): New test to expose
17040 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17043 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17046 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17048 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17049 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17051 2012-04-26 Joseph Myers <joseph@codesourcery.com>
17053 * sysdeps/unix/i386/brk.S: Remove file.
17054 * sysdeps/unix/i386/dl-brk.S: Likewise.
17055 * sysdeps/unix/i386/pipe.S: Likewise.
17056 * sysdeps/unix/i386/sigreturn.S: Likewise.
17057 * sysdeps/unix/i386/syscall.S: Likewise.
17058 * sysdeps/unix/i386/vfork.S: Likewise.
17059 * sysdeps/unix/i386/wait.S: Likewise.
17061 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17062 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17064 * configure.in (arm*-none*): Do not allow without
17065 --enable-hacker-mode.
17066 (netbsd*): Remove case setting base_os.
17067 (386bsd*): Likewise.
17068 (freebsd*): Likewise.
17071 (sunos*): Likewise.
17072 (ultrix*): Likewise.
17073 (newsos*): Likewise.
17074 (dynix*): Likewise.
17080 (minix*): Likewise.
17081 (irix4*): Likewise.
17082 (irix6*): Likewise.
17083 (solaris[2-9]*): Likewise.
17085 * configure: Regenerated.
17087 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17090 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17091 overflow or cancellation in calculating denominator.
17092 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17093 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17094 down expression to avoid unexpected rounding in newer GCCs.
17095 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17097 2012-04-26 David S. Miller <davem@davemloft.net>
17099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17100 long-double compat symbols.
17101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17115 2012-04-25 David S. Miller <davem@davemloft.net>
17117 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17118 HWCAP_* values only after the memory barriers have been defined.
17119 (atomic_full_barrier): Define.
17120 (atomic_read_barrier): Define.
17121 (atomic_write_barrier): Define.
17123 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17125 * shlib-versions: Add libgcc_s version information.
17126 * sysdeps/generic/libgcc_s.h: Remove.
17127 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17129 * sysdeps/gnu/unwind-resume.c: Likewise.
17130 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17132 2012-04-25 David S. Miller <davem@davemloft.net>
17134 * sysdeps/unix/sparc/brk.S: Delete.
17135 * sysdeps/unix/sparc/dl-brk.S: Delete.
17136 * sysdeps/unix/sparc/pipe.S: Delete.
17137 * sysdeps/unix/sparc/sysdep.S: Delete.
17138 * sysdeps/unix/sparc/sysdep.h: Delete.
17139 * sysdeps/unix/sparc/vfork.S: Delete.
17140 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17141 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17142 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17143 ret_ERRVAL, r0, r1, MOVE): Define.
17144 (JUMPTARGET): Remove.
17145 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17146 sysdeps/unix/sparc/sysdep.h
17147 (ENTRY, END): Remove.
17148 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17150 2012-04-25 Joseph Myers <joseph@codesourcery.com>
17152 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17153 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17156 * timezone/README: Update upstream location and email address for
17158 * timezone/zdump.c: Update from tzcode 2012b.
17159 * timezone/zic.c: Likewise.
17161 * configure.in (libc_cv_as_needed): Remove test.
17162 * configure: Regenerated.
17163 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17164 conditional definition.
17165 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17166 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17167 * config.make.in (have-as-needed): Remove variable.
17169 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17170 Paul Pluzhnikov <ppluzhnikov@google.com>
17172 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17175 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17177 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17178 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17179 * sysdeps/sh/strlen.S: Likewise.
17181 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17183 * sysdeps/unix/fork.S: Remove file.
17184 * sysdeps/unix/i386/fork.S: Likewise.
17185 * sysdeps/unix/sparc/fork.S: Likewise.
17187 * sysdeps/unix/system.c: Remove file.
17188 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17190 * sysdeps/unix/getegid.S: Remove file.
17191 * sysdeps/unix/geteuid.S: Likewise.
17193 2012-04-24 Roland McGrath <roland@hack.frob.com>
17195 * scripts/check-localplt.awk: New file.
17196 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17198 * scripts/data/localplt-generic.data: Add a comment.
17200 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17201 NODE when __dir_mkfile failed.
17202 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17203 Reported by Ludovic Courtès <ludo@gnu.org>.
17205 2012-04-24 Andreas Jaeger <aj@suse.de>
17207 * Makerules (common-clean): Also remove gen-as-const-headers
17210 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17212 * Makerules (native-compile): Do not change working directory for
17213 build. Use $(OUTPUT_OPTION) in command.
17214 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17216 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17219 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17220 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17221 * math/libm-test.inc (floor_test): Add more tests.
17222 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17224 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17226 * sysdeps/unix/getdents.c: Remove file.
17227 * sysdeps/unix/sysv/getdents.c: Likewise.
17228 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17230 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17231 sysdeps/unix/mman/syscalls.list.
17233 (mprotect): Likewise.
17235 (munmap): Likewise.
17236 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17237 * sysdeps/unix/mman/syscalls.list: Remove.
17238 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17240 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17241 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17242 * configure: Regenerated.
17243 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17244 $(libgcc_s_suffix).
17245 * config.make.in (libgcc_s_suffix): Remove variable.
17247 2012-04-23 Joseph Myers <joseph@codesourcery.com>
17249 * sysdeps/unix/sysv/gethostname.c: Move to ...
17250 * sysdeps/posix/gethostname.c: ... here.
17252 * sysdeps/unix/execve.S: Remove file.
17254 * sysdeps/unix/_exit.S: Remove file.
17256 2012-04-23 Andreas Jaeger <aj@suse.de>
17259 * manual/Makefile: Remove make dist support, there's no
17260 need for a stand-alone documentation tar ball.
17261 (TEXI2DVI): Define always, it's not in Makeconfig.
17264 (edition): Removed.
17265 (glibc-doc-$(edition).tar): Removed
17269 (ETAGS): Remove, it's in Makeconfig.
17270 (move-if-change): Remove, it's in Makeconfig.
17272 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
17275 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17276 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17277 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17278 (strtod_l, strtof_l, strtold_l): Remove __wur.
17279 It is not necessarily an error to ignore strtol's return value.
17280 One can reliably look at the stored endptr to decide whether
17281 the number had valid syntax.
17283 2012-04-21 Andreas Jaeger <aj@suse.de>
17286 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17288 2012-04-21 Joseph Myers <joseph@codesourcery.com>
17290 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17291 * sysdeps/unix/sysv/Versions: Remove file.
17293 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17298 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
17301 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17302 version from __vm86.
17304 2012-04-20 Joseph Myers <joseph@codesourcery.com>
17306 * sysdeps/unix/common/lxstat.c: Remove file.
17307 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17309 * sysdeps/unix/sysv/Makefile: Remove file.
17311 * sysdeps/unix/sysv/direct.h: Remove file.
17313 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17314 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17315 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17316 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17317 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17318 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17319 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17321 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17323 * sysdeps/unix/xmknod.c: Remove file.
17324 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17326 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17328 * sysdeps/unix/sysv/i386/time.S: Remove file.
17330 * sysdeps/unix/fxstat.c: Remove file.
17331 * sysdeps/unix/xstat.c: Likewise.
17332 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17334 * sysdeps/unix/sysv/sigaction.c: Remove file.
17336 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17337 (sysdep_headers): Remove variable.
17338 [termio.h not in sysdep_headers] (generated): Likewise.
17339 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17340 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17341 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17342 * sysdeps/unix/sysv/tcflow.c: Likewise.
17343 * sysdeps/unix/sysv/tcflush.c: Likewise.
17344 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17345 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17346 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17347 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17348 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17350 * sysdeps/unix/siglist.c: Remove file.
17352 * sysdeps/unix/getppid.S: Remove file.
17354 * sysdeps/unix/mkdir.c: Remove file.
17355 * sysdeps/unix/rmdir.c: Likewise.
17357 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17359 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17361 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17362 errlist-compat value.
17364 2012-04-18 David S. Miller <davem@davemloft.net>
17366 * sysdeps/generic/memcopy.h (reg_char): Delete.
17367 * debug/strcat_chk.c: Use char, not reg_char.
17368 * debug/strcpy_chk.c: Likewise.
17369 * debug/strncat_chk.c: Likewise.
17370 * debug/strncpy_chk.c: Likewise.
17371 * string/memchr.c: Likewise.
17372 * string/memrchr.c: Likewise.
17373 * string/rawmemchr.c: Likewise.
17374 * string/strcat.c: Likewise.
17375 * string/strchr.c: Likewise.
17376 * string/strchrnul.c: Likewise.
17377 * string/strcmp.c: Likewise.
17378 * string/strcpy.c: Likewise.
17379 * string/strncat.c: Likewise.
17380 * string/strncmp.c: Likewise.
17381 * string/strncpy.c: Likewise.
17383 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17385 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17386 __builtin_memcopy is called when src and dest ranges are known to not
17389 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17391 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17392 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17393 fwd_align_merge macro call.
17394 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17395 bwd_align_merge macro call.
17396 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17398 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17400 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17401 bwd_align_merge macros.
17402 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17403 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17404 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17406 2012-04-18 David S. Miller <davem@davemloft.net>
17408 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17410 2012-04-18 Andreas Jaeger <aj@suse.de>
17413 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17414 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17415 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17417 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17418 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17419 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17421 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17422 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17423 Adjust for changed ldbl-128 files.
17425 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17426 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17427 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17429 2012-04-17 David S. Miller <davem@davemloft.net>
17431 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17433 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17435 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17436 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17437 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17438 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17439 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17440 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17442 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17445 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17446 * math/libm-test.inc: Add ilogb errno and exception tests.
17447 * math/w_ilogb.c: New file: ilogb wrapper.
17448 * math/w_ilogbf.c: New file: ilogbf wrapper.
17449 * math/w_ilogbl.c: New file: ilogbl wrapper.
17450 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17451 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17452 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17453 exception being thrown with 0.0 as argument.
17454 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17455 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17456 exception being thrown with 0.0 as argument.
17457 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17458 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17459 exception being thrown with 0.0 as argument.
17460 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17461 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17462 exception being thrown with 0.0 as argument.
17463 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17464 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
17465 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
17466 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17467 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17468 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17469 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17470 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17471 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17473 2012-04-17 Petr Baudis <pasky@ucw.cz>
17475 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17478 2012-04-16 Marek Polacek <polacek@redhat.com>
17480 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17482 2012-04-16 Marek Polacek <polacek@redhat.com>
17484 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17485 operands of fdivp instruction.
17487 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17489 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17490 * elf/tst-auditmod3b.c: Likewise.
17491 * elf/tst-auditmod4b.c: Likewise.
17492 * elf/tst-auditmod5b.c: Likewise.
17493 * elf/tst-auditmod6b.c: Likewise.
17494 * elf/tst-auditmod6c.c: Likewise.
17495 * elf/tst-auditmod7b.c: Likewise.
17496 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17497 * sysdeps/x86_64/preconfigure.in: Likewise.
17498 * sysdeps/x86_64/preconfigure: Regenerated.
17500 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17502 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17505 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
17507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17508 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17510 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17513 * locale/iso-639.def: Fix gl language name. Spotted by
17516 2012-04-12 Roland McGrath <roland@hack.frob.com>
17519 * libio/libio.h (__io_write_fn): Update comment.
17521 2012-04-12 Petr Baudis <pasky@ucw.cz>
17524 * stdio.texi (Hook Functions): The user provided writer function
17525 is not allowed to return -1.
17527 2012-04-11 David S. Miller <davem@davemloft.net>
17529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17531 2012-04-11 Mike Frysinger <vapier@gentoo.org>
17533 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17534 Add a leading slash to rtkaio.
17536 2012-04-11 Jim Meyering <meyering@redhat.com>
17539 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17540 It is not necessarily an error to ignore fwrite's return
17541 value. One can reliably use ferror to test for errors after
17544 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17546 * bits/types.h (__snseconds_t): New type.
17547 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17549 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17550 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17551 (__SNSECONDS_T_TYPE): Likewise.
17552 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17553 (__SNSECONDS_T_TYPE): Likewise.
17554 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17555 (__SNSECONDS_T_TYPE): Likewise.
17557 2012-04-10 Andreas Jaeger <aj@suse.de>
17560 * manual/time.texi (Processor Time): Return type of times is
17561 elapsed real time since an arbitrary point in the past.
17562 (CPU Time): Move CLK_TCK from here...
17563 (Processor Time): ...to here. Correct description.
17564 * manual/conf.texi (Constants for Sysconf): Correct description of
17567 2012-04-10 David S. Miller <davem@davemloft.net>
17570 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17571 where the is a gap between DT_REL(A) and DT_JMPREL.
17573 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17575 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17576 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17577 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17579 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17581 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17582 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17583 (dl_main): Handle --inhibit-cache.
17584 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17586 * elf/dl-load.c (_dl_map_object): Use it.
17587 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17589 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17592 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17593 (__ieee754_powl): Saturate large exponents rather than testing for
17594 overflow of y*log2(x).
17595 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17596 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17600 * math/s_ctan.c: Include <float.h>.
17601 (__ctan): Avoid internal overflow or cancellation in calculating
17603 * math/s_ctanf.c: Likewise.
17604 * math/s_ctanl.c: Likewise.
17605 * math/s_ctanh.c: Likewise.
17606 * math/s_ctanhf.c: Likewise.
17607 * math/s_ctanhl.c: Likewise.
17608 * math/libm-test.inc (ctan_test): Add more tests.
17609 (ctanh_test): Likewise.
17610 * sysdeps/i386/fpu/libm-test-ulps: Update.
17611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17613 2012-04-09 Andreas Jaeger <aj@suse.de>
17616 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17617 is an optional BSD extension.
17620 * manual/stdio.texi (Opening Streams): Document additional fopen
17623 2012-04-09 Roland McGrath <roland@hack.frob.com>
17625 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17626 %eax without telling the compiler.
17628 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17631 * manual/install.texi: Use sourceware.org.
17633 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17636 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17637 (__ieee754_pow): Generate overflow and underflow using huge*huge
17638 and tiny*tiny rather than just returning constant infinity or zero
17639 for large exponents.
17640 * math/libm-test.inc (pow_test): Require overflow exceptions for
17641 applicable cases of large exponents.
17644 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17645 (__ieee754_pow): Use iterative multiplication algorithm only for
17646 integer exponents with absolute value below 1024. Check for odd
17647 integer exponents when using algorithm for real exponents.
17648 * math/libm-test.inc (pow_test): Add more tests.
17649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17651 2012-04-08 Joseph Myers <joseph@codesourcery.com>
17654 * math/libm-test.inc (exp_test): Do not allow overflow exception
17657 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17660 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17661 instead of __kernel_standard_f.
17663 2012-04-08 Mike Frysinger <vapier@gentoo.org>
17665 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17666 * sysdeps/x86_64/memset_chk.S: Likewise.
17668 2012-04-08 Andreas Jaeger <aj@suse.de>
17671 * manual/startup.texi (Environment Access): Describe return value
17672 for putenv and setenv.
17675 * manual/filesys.texi (Directory Entries): Add description for
17679 * manual/filesys.texi (Directory Entries): Clarify that it's file
17680 system not operating system in the description of DT_UNKNOWN.
17683 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17685 2012-04-08 Stephen Compall <s11@member.fsf.org>
17688 * manual/llio.texi (Opening and Closing Files): Add cross
17689 reference to explain mode argument.
17691 2012-04-07 Mike Frysinger <vapier@gentoo.org>
17693 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17694 * sysdeps/x86_64/memset_chk.S: Likewise.
17696 2012-04-07 David S. Miller <davem@davemloft.net>
17698 * elf/elf.h (R_SPARC_WDISP10): Define.
17699 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17701 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17702 R_SPARC_SIZE64 and R_SPARC_H34.
17704 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17706 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17707 conditions and remove no longer applicable assertion.
17709 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17711 * bits/byteswap.h: Include <features.h>.
17712 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17713 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17715 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17717 * bits/byteswap.h (__bswap_16): Removed.
17718 Include <bits/byteswap-16.h> to get __bswap_16.
17719 * sysdeps/i386/bits/byteswap.h: Likewise.
17720 * sysdeps/s390/bits/byteswap.h: Likewise.
17721 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17722 * bits/byteswap-16.h: New file.
17723 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17724 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17725 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17726 * string/Makefile (headers): Add bits/byteswap-16.h.
17728 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17731 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17733 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17734 * nss/tst-nss-static.c: New.
17736 2012-04-06 Robert Millan <rmh@gnu.org>
17739 * manual/llio.texi (File Position Primitive): lseek
17740 refers to WHENCE when it really means OFFSET.
17742 2012-04-06 Andreas Jaeger <aj@suse.de>
17744 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17745 strncmp declarations.
17747 * abilist/libc.abilist: Add __poll and __ppoll.
17749 2012-04-05 David S. Miller <davem@davemloft.net>
17751 * scripts/check-local-headers.sh: Accept a host triplet in the
17752 path matched by the exclude regexp.
17754 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17756 * sysdeps/powerpc/powerpc32/dl-machine.h
17757 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17758 * sysdeps/s390/s390-32/dl-machine.h
17759 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17760 * sysdeps/sparc/sparc32/dl-machine.h
17761 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17762 * sysdeps/sparc/sparc64/dl-machine.h
17763 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17765 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17767 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17768 undefined symbol errors.
17770 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17773 2012-04-05 Michael Matz <matz@suse.de>
17776 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17778 2012-04-05 Andreas Jaeger <aj@suse.de>
17781 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17784 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17786 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17787 which ROUND is no valid rounding mode.
17789 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17791 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17793 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17795 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17797 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17798 an exception using FPU order intentionally.
17800 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17802 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17803 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17804 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17805 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17807 2012-04-05 Simon Josefsson <simon@josefsson.org>
17810 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17811 EINVAL when BUFLEN is too smal.
17813 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17816 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17817 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17819 2012-04-03 Andreas Jaeger <aj@suse.de>
17822 * manual/setjmp.texi (System V contexts): Fix sentence.
17825 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17826 New macro for this case.
17827 [!__GNUC__] (__bswap_64): New inline function for this case.
17828 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17829 * bits/byteswap.h: Likewise.
17830 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17831 ull, guard with __GLIBC_HAVE_LONG_LONG.
17833 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17834 __GLIBC_HAVE_LONG_LONG.
17836 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17837 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17839 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17842 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17843 inptr and inend, rather than using last_ch.
17845 2012-04-02 David S. Miller <davem@davemloft.net>
17847 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17848 * stdio-common/printf-parse.h (read_int): Change return type to
17849 'int', return -1 on INT_MAX overflow.
17850 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17851 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17852 overflows INT_MAX. Check for overflow of in-format-string precision
17853 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17854 SIZE_MAX not INT_MAX for integer overflow test.
17855 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17856 skip the construct in the format string but do not record anything.
17857 * stdio-common/bug22.c: Adjust to test both width/prevision
17858 INT_MAX overflow as well as total length INT_MAX overflow. Check
17859 explicitly for proper errno values.
17861 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17863 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17865 * string/test-strcmp.c [! WIDE]: Likewise.
17866 * time/tst-mktime2.c: Likewise for INT_MAX.
17867 * string/test-string.h: #include <sys/param.h> for MIN.
17869 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17870 * sysdeps/i386/init-first.c (init): Likewise.
17871 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17872 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17873 * sysdeps/sh/init-first.c (init): Likewise.
17875 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17877 * po/ru.po: Update from translation team.
17878 * po/vi.po: Likewise.
17880 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17882 * resolv/nss_dns/dns-host.c: Merge copyright years.
17884 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17886 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17887 Optimize memcpy with prefetch if
17888 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17889 src, dst pointers have unequal 16 byte alignments.
17891 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17894 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17895 from a CNAME entry and return the minimum ttl for the query.
17896 (gaih_getanswer_slice): Likewise.
17898 2012-03-30 Jeff Law <law@redhat.com>
17900 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17902 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17903 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17905 * resolv/nss_dns/dns-host.c: Update copyright year.
17907 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17909 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17910 requests to save a system call. Fix check that all bytes are sent.
17912 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17913 comments for sendmmsg.
17915 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17918 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17919 with only 1 character between 0x0041 and 0x01b0.
17920 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17921 * wcsmbs/tst-mbsnrtowcs.c: New file.
17923 2012-03-29 David S. Miller <davem@davemloft.net>
17925 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17926 small copies by hand.
17928 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17931 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17932 _nss_compat_initgroups_dyn): Fall back to malloc/free
17933 for large group memberships.
17935 2012-03-28 David S. Miller <davem@davemloft.net>
17937 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17938 that branches into memcpy.
17939 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17940 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17941 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17942 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17943 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17945 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17946 implementation too.
17947 * sysdeps/sparc/mempcpy.S: New file.
17949 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17950 the IFUNC routine in the libc case.
17951 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17953 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17954 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17955 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17956 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17957 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17958 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17959 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17960 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17962 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17963 loop to 256 bytes instead of 64 bytes and fix test signedness.
17965 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17966 * sysdeps/sparc/sparc32/Makefile: rather than here...
17967 * sysdeps/sparc/sparc64/Makefile: and here.
17969 2012-03-28 Ulrich Drepper <drepper@gmail.com>
17971 * malloc/mallocbug.c: Avoid warnings about unused variables.
17973 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17976 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17977 in the right place. Discard and retry query if response is
17978 larger than input buffer size.
17980 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17985 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17986 x for large integer exponent.
17987 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17988 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17989 sign of result as needed afterwards.
17990 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17991 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17992 result for underflowing pow the same as for overflow.
17993 (__kernel_standard_l): Handle powl overflow and underflow here
17994 rather than calling __kernel_standard.
17995 * math/libm-test.inc (pow_test): Add more tests.
18010 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18011 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18012 (__kernel_standard_l): New function.
18013 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18015 * math/w_acosl.c (__acosl): Likewise.
18016 * math/w_asinl.c (__asinl): Likewise.
18017 * math/w_atan2l.c (__atan2l): Likewise.
18018 * math/w_atanhl.c (__atanhl): Likewise.
18019 * math/w_coshl.c (__coshl): Likewise.
18020 * math/w_exp10l.c (__exp10l): Likewise.
18021 * math/w_exp2l.c (__exp2l): Likewise.
18022 * math/w_fmodl.c (__fmodl): Likewise.
18023 * math/w_hypotl.c (__hypotl): Likewise.
18024 * math/w_j0l.c (__j0l, __y0l): Likewise.
18025 * math/w_j1l.c (__j1l, __y1l): Likewise.
18026 * math/w_jnl.c (__jnl, __ynl): Likewise.
18027 * math/w_lgammal.c (__lgammal): Likewise.
18028 * math/w_log10l.c (__log10l): Likewise.
18029 * math/w_log2l.c (__log2l): Likewise.
18030 * math/w_logl.c (__logl): Likewise.
18031 * math/w_powl.c (__powl): Likewise.
18032 * math/w_remainderl.c (__remainderl): Likewise.
18033 * math/w_scalbl.c (sysv_scalbl): Likewise.
18034 * math/w_sinhl.c (__sinhl): Likewise.
18035 * math/w_sqrtl.c (__sqrtl): Likewise.
18036 * math/w_tgammal.c (__tgammal): Likewise.
18037 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18038 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18039 * math/libm-test.inc (acos_test): Add more tests.
18040 (acosh_test): Likewise.
18041 (asin_test): Likewise.
18042 (atanh_test): Likewise.
18043 (exp_test): Likewise.
18044 (exp10_test): Likewise.
18045 (exp2_test): Likewise.
18046 (expm1_test): Likewise.
18047 (lgamma_test): Likewise.
18048 (log_test): Likewise.
18049 (log10_test): Likewise.
18050 (log1p_test): Likewise.
18051 (log2_test): Likewise.
18052 (pow_test): Do not allow some spurious overflow exceptions.
18053 (sqrt_test): Add more tests.
18054 (tgamma_test): Likewise.
18055 (y0_test): Likewise.
18056 (y1_test): Likewise.
18057 (yn_test): Likewise.
18059 2012-03-27 Anton Blanchard <anton@samba.org>
18061 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18063 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18064 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18065 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18067 2012-03-27 David S. Miller <davem@davemloft.net>
18069 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18071 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18072 have-as-vis3 check.
18074 2012-03-27 Andreas Jaeger <aj@suse.de>
18076 * sysdeps/x86_64/elf/configure.in: Moved to ...
18077 * sysdeps/x86_64/configure.in: ... here.
18078 * sysdeps/x86_64/elf/start.S: Moved to ...
18079 * sysdeps/x86_64/start.S: ... here.
18080 * sysdeps/x86_64/elf/configure: Delete.
18082 * sysdeps/x86_64/configure.in: Merge contents from
18083 sysdeps/i386/configure.in (without i686 check).
18085 * sysdeps/i386/elf/Versions: Merge into ...
18086 * sysdeps/i386/Versions: ... this.
18087 * sysdeps/i386/elf/Versions: Delete file.
18088 * sysdeps/i386/elf/start.S: Moved to ...
18089 * sysdeps/i386/start.S: ...here.
18090 * sysdeps/i386/elf/configure.in: Merge into...
18091 * sysdeps/i386/configure.in: ...here.
18092 * sysdeps/i386/elf/configure.in: Delete file.
18093 * sysdeps/i386/elf/configure: Delete file.
18095 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18096 * debug/backtracesyms.c: ... here.
18097 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18098 * debug/backtracesymsfd.c: ... here.
18099 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18100 * sysdeps/generic/ifunc-sel.h: ... here.
18102 * sysdeps/unix/i386/start.c: Delete file.
18103 * sysdeps/unix/sparc/start.c: Delete file.
18104 * sysdeps/unix/start.c: Delete file.
18106 * sysdeps/sh/elf/configure.in: Moved to ...
18107 * sysdeps/sh/configure.in: ... here.
18108 * sysdeps/sh/elf/start.S: Moved to ...
18109 * sysdeps/sh/start.S: ... here.
18110 * sysdeps/sh/elf/configure: Delete file.
18112 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18113 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18114 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18115 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18116 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18117 * sysdeps/powerpc/powerpc64/start.S: here.
18118 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18119 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18120 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18121 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18122 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18124 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18125 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18126 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18127 * sysdeps/powerpc/powerpc32/start.S: ... here.
18128 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18129 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18130 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18132 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18133 * sysdeps/powerpc/ifunc-sel.h: ... here.
18134 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18135 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18137 * sysdeps/sparc/elf/configure.in: Moved to ...
18138 * sysdeps/sparc/configure.in: ... here.
18139 * sysdeps/sparc/elf/configure: Delete file.
18140 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18141 * sysdeps/sparc/sparc32/start.S: ... here.
18142 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18143 * sysdeps/sparc/sparc64/start.S: ... here.
18144 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18145 * sysdeps/sparc/sparc32/Makefile: ... this.
18146 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18147 * sysdeps/sparc/sparc64/Makefile: ... this.
18149 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18150 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18151 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18152 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18153 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18154 * sysdeps/s390/s390-32/setjmp.S: ... here.
18155 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18156 * sysdeps/s390/s390-32/configure.in: ... here.
18157 * sysdeps/s390/s390-32/elf/configure: Delete file.
18158 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18159 * sysdeps/s390/s390-32/start.S: ... here.
18161 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18162 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18163 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18164 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18165 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18166 * sysdeps/s390/s390-64/setjmp.S: ... here.
18167 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18168 * sysdeps/s390/s390-64/configure.in: ... here
18169 * sysdeps/s390/s390-64/elf/configure: Delete file.
18170 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18171 * sysdeps/s390/s390-64/start.S: ... here.
18172 * sysdeps/s390/s390-64/elf/configure: Delete.
18174 * configure.in: Remove support for elf directories in sysdeps.
18176 * configure: Regenerated.
18177 * sysdeps/i386/configure: Regenerated.
18178 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18179 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18180 * sysdeps/s390/s390-32/configure: Regenerated.
18181 * sysdeps/s390/s390-64/configure: Regenerated.
18182 * sysdeps/sh/configure: Regenerated.
18183 * sysdeps/sparc/configure: Regenerated.
18184 * sysdeps/x86_64/configure: Regenerated.
18186 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
18188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18190 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18191 denormal result into account.
18193 2012-03-25 Roland McGrath <roland@hack.frob.com>
18195 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18196 Reported by Allan McRae <allan@archlinux.org>.
18198 2012-03-23 Jeff Law <law@redhat.com>
18200 * nss/getnssent.c (__nss_getent): Fix typo.
18202 2012-03-23 David S. Miller <davem@davemloft.net>
18204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18206 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18208 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18209 to pad to uint64_t for each field.
18210 (dl_tls_index): Replace unsigned long with uint64_t.
18212 2012-03-23 Daniel Jacobowitz <dmj@google.com>
18213 Paul Pluzhnikov <ppluzhnikov@google.com>
18216 * grp/Makefile (otherlibs): Don't set it.
18217 * inet/Makefile (otherlibs): Likewise.
18218 * login/Makefile (otherlibs): Likewise.
18219 * nscd/Makefile (otherlibs): Likewise.
18220 * posix/Makefile (otherlibs): Likewise.
18221 * pwd/Makefile (otherlibs): Likewise.
18222 * rt/Makefile (otherlibs): Likewise.
18223 * sunrpc/Makefile (otherlibs): Likewise.
18224 * nss/Makefile (otherlibs): Likewise.
18225 Add libnss_files to routines and static-only-routines.
18226 ($(objpfx)getent): Remove rule.
18227 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18228 static-only-routines.
18230 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18233 * math/s_cexp.c: Include <float.h>.
18234 (__cexp): Handle exp result overflowing not necessarily
18235 overflowing both real and imaginary parts of result.
18236 * math/s_cexpf.c: Likewise.
18237 * math/s_cexpl.c: Likewise.
18238 * math/libm-test.inc (cexp_test): Add more tests.
18239 * sysdeps/i386/fpu/libm-test-ulps: Update.
18240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18242 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18244 * include/link.h (ELFW): New macro.
18245 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18246 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18248 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18250 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18253 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18255 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18257 (struct La_x32_retval): Likewise.
18259 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18261 * sysdeps/x86_64/preconfigure.in: New file.
18262 * sysdeps/x86_64/preconfigure: New generated file.
18264 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18267 * math/e_exp2l.c: Include <float.h>.
18268 (__ieee754_exp2l): Handle overflow and underflow cases
18269 separately. Only pass fractional part of argument to
18271 * math/libm-test.inc (exp2_test): Add more tests.
18273 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18274 negating x to take absolute value.
18275 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18277 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18278 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18280 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18281 computing low part if x was negated.
18282 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18284 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18286 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18287 la_x32_gnu_pltexit.
18288 (pltexit): Cast int_retval to ptrdiff_t.
18289 * elf/tst-auditmod3b.c: Likewise.
18290 * elf/tst-auditmod4b.c: Likewise.
18291 * elf/tst-auditmod5b.c: Likewise.
18292 * elf/tst-auditmod6b.c: Likewise.
18293 * elf/tst-auditmod6c.c: Likewise.
18294 * elf/tst-auditmod7b.c: Likewise.
18296 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18297 and x32_gnu_pltexit.
18299 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18300 __ELF_NATIVE_CLASS.
18301 (La_x32_regs): New macro.
18302 (La_x32_retval): Likewise.
18303 (la_x32_gnu_pltenter): New function prototype.
18304 (la_x32_gnu_pltexit): Likewise.
18306 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18308 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18313 * configure.in (libc_cv_cc_nofma): Check for option to disable
18314 generation of FMA instructions.
18315 * configure: Regenerate.
18316 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18317 * sysdeps/ieee754/dbl-64/Makefile: New file.
18318 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18319 Remove brandred-fma4.
18320 (CFLAGS-brandred-fma4.c): Remove.
18321 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18322 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18324 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18327 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18329 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18330 LLONG_MAX != LONG_MAX.
18331 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18332 (_fitoa_word): Likewise.
18333 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18334 LLONG_MAX != LONG_MAX.
18335 * stdio-common/_itowa.h: Include <_itoa.h>.
18336 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18337 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18338 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18339 only if not defined.
18340 (_ITOA_WORD_TYPE): Likewise.
18341 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18342 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18344 2012-03-21 David S. Miller <davem@davemloft.net>
18346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18348 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18350 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18351 of x86_64 when setting libc_cv_slibdir, libdir and
18353 * sysdeps/unix/sysv/linux/configure: Regenerated.
18355 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18357 * manual/lang.texi (Old Varargs): Remove section.
18358 (How Variadic): Update menu.
18359 (va_start): Do not mention varargs.h.
18361 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18362 Joseph Myers <joseph@codesourcery.com>
18364 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18366 * configure: Regenerated.
18368 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18370 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18371 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18374 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18377 * Makefile (files-for-dist): Remove NOTES.
18378 (NOTES): Remove rule.
18379 * README: Don't refer to NOTES.
18380 * manual/creature.texi: Don't include macros.texi.
18381 * manual/intro.texi (creature.texi): Remove comment referring to
18384 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18385 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18386 * configure: Regenerated.
18387 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18388 LIBC_TRY_CC_OPTION.
18389 (libc_cv_as_i686): Likewise.
18390 (libc_cv_cc_avx): Likewise.
18391 (libc_cv_cc_sse2avx): Likewise.
18392 (libc_cv_cc_fma4): Likewise.
18393 (libc_cv_cc_novzeroupper): Likewise.
18394 * sysdeps/i386/configure: Regenerated.
18397 * sysdeps/i386/fpu/s_cexp.S: Remove.
18398 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18399 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18400 * math/libm-test.inc (cexp_test): Add more tests.
18401 * sysdeps/i386/fpu/libm-test-ulps: Update.
18402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18404 2012-03-21 Allan McRae <allan@archlinux.org>
18406 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18408 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18411 * math/w_exp2.c: Do not include <float.h>.
18412 (o_threshold, u_threshold): Remove.
18413 (__exp2): Calculate result before checking finiteness and calling
18415 * math/w_exp2f.c: Likewise.
18416 * math/w_exp2l.c: Likewise.
18417 * math/libm-test.inc (exp2_test): Require overflow exception for
18421 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18422 range of signed 64-bit integers before using fistpll. Remove
18423 checks for whether integers fit in mantissa bits.
18424 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18425 the range of signed 32-bit integers before using fistpl. Remove
18426 checks for whether integers fit in mantissa bits.
18427 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18428 (__ieee754_powl): Test for y outside the range of signed 64-bit
18429 integers before using fistpll. Reduce 64-bit values to 63-bit
18431 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18432 divide-by-zero is raised for zero to large negative powers.
18433 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18434 (__ieee754_powl): Test for y outside the range of signed 64-bit
18435 integers before using fistpll. Reduce 64-bit values to 63-bit
18437 * math/libm-test.inc (pow_test): Add more tests.
18439 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18441 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18442 <stdio-common/_itoa.h>.
18443 * debug/segfault.c: Likewise.
18444 * elf/dl-cache.c: Likewise.
18445 * elf/dl-minimal.c: Likewise.
18446 * elf/dl-misc.c: Likewise.
18447 * elf/dl-sysdep.c: Likewise.
18448 * elf/dl-version.c: Likewise.
18449 * elf/rtld.c: Likewise.
18450 * hurd/hurdsock.c: Likewise.
18451 * hurd/lookup-retry.c: Likewise.
18452 * malloc/malloc.c: Likewise.
18453 * malloc/mtrace.c: Likewise.
18454 * nscd/nscd_getgr_r.c: Likewise.
18455 * nscd/nscd_getpw_r.c: Likewise.
18456 * nscd/nscd_getserv_r.c: Likewise.
18457 * posix/getopt_init.c: Likewise.
18458 * posix/wordexp.c: Likewise.
18459 * stdio-common/_itoa.c: Likewise.
18460 * stdio-common/printf_fphex.c: Likewise.
18461 * stdio-common/vfprintf.c: Likewise.
18462 * string/_strerror.c: Likewise.
18463 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18464 * sysdeps/i386/i686/hp-timing.h: Likewise.
18465 * sysdeps/mach/_strerror.c: Likewise.
18466 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18467 * sysdeps/mach/hurd/sethostid.c: Likewise.
18468 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18469 * sysdeps/mach/xpg-strerror.c: Likewise.
18470 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18471 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18472 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18473 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18474 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18475 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18476 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18477 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18478 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18479 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18480 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18481 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18482 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18483 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18484 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18485 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18486 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18487 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18488 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18489 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18490 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18492 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18494 * stdio-common/_itoa.h: Moved to ...
18495 * sysdeps/generic/_itoa.h: Here.
18497 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18499 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18500 instead of "_itoa.h" and "_itowa.h".
18501 * stdio-common/vfprintf.: Likewise.
18503 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18505 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18507 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18508 (__signbit): Likwise.
18509 (llrintf): Likwise.
18512 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18514 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18517 2012-03-20 Joseph Myers <joseph@codesourcery.com>
18519 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18520 OVERFLOW_EXCEPTION_OK.
18521 * math/libm-test.inc ("Philosophy"): Update comment about
18523 (OVERFLOW_EXCEPTION): Define.
18524 (OVERFLOW_EXCEPTION_OK): Likewise.
18525 (INVALID_EXCEPTION_OK): Renumber.
18526 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18527 (IGNORE_ZERO_INF_SIGN): Likewise.
18528 (test_exceptions): Handle FE_OVERFLOW.
18529 (exp10_test): Expect overflow exceptions.
18530 (exp2_test): Likewise.
18531 (expm1_test): Likewise.
18532 (nextafter_test): Likewise.
18533 (pow_test): Likewise.
18534 (scalbn_test): Likewise.
18535 (scalbln_test): Likewise.
18537 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18539 * sysdeps/x86_64/bits/atomic.h
18540 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18542 (atomic_exchange_acq): Likewise.
18543 (__arch_exchange_and_add_body): Likewise.
18544 (__arch_add_body): Likewise.
18545 (atomic_add_negative): Likewise.
18546 (atomic_add_zero): Likewise.
18548 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18550 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
18551 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18553 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18555 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18556 Check __x86_64__ instead of __WORDSIZE.
18558 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18560 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18562 2012-03-19 David S. Miller <davem@davemloft.net>
18564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18566 * sysdeps/sparc/fpu/fenv_private.h: New file.
18567 * sysdeps/sparc/fpu/math_private.h: Use it.
18568 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18570 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18571 (libc_feholdexcept_setroundl): Remove.
18572 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18574 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18575 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18577 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18579 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18580 int64_t instead of long int.
18581 (INSERT_WORDS64): Likwise.
18583 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18585 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18586 _Unwind_GetCFA return to _Unwind_Ptr first.
18588 2012-03-19 Joseph Myers <joseph@codesourcery.com>
18591 * math/s_clog.c: Include <float.h>.
18592 (__clog): Scale large or subnormal inputs.
18593 * math/s_clogf.c: Likewise.
18594 * math/s_clogl.c: Likewise.
18595 * math/s_clog10.c: Include <float.h>.
18596 (M_LOG10_2): Define.
18597 (__clog10): Scale large or subnormal inputs.
18598 * math/s_clog10f.c: Likewise.
18599 * math/s_clog10l.c: Likewise.
18600 * math/libm-test.inc (clog_test): Add more tests.
18601 (clog10_test): Likewise.
18602 * sysdeps/i386/fpu/libm-test-ulps: Update.
18603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18606 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18608 * math/libm-test.inc (atan2_test): Add another test.
18610 * Makerules (common-objdir-compile): Remove.
18611 * sysdeps/unix/Makefile (config-generated): Do not add
18612 $(unix-generated) to variable.
18613 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18614 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18616 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18618 [generic bits/local_lim.h] (before-compile): Do not append to
18620 [generic bits/local_lim.h] (common-generated): Likewise.
18621 [generic sys/param.h] (before-compile): Do not append to variable.
18622 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18623 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18624 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18625 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18627 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18628 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18629 [generic sys/param.h] ($(addprefix
18630 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18631 [generic sys/param.h] (common-generated): Do not append to
18633 [generic sys/param.h] (sysdep_headers): Likewise.
18634 [generic bits/errno.h] (before-compile): Do not append to
18636 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18638 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18639 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18640 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18641 [generic bits/errno.h] (common-generated): Do not append to
18643 [generic bits/ioctls.h] (before-compile): Do not append to
18645 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18647 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18648 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18649 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18651 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18652 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18653 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18654 [generic bits/ioctls.h] (common-generated): Do not append to
18656 [generic sys/syscall.h] (syscall.h): Remove variable.
18657 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18659 [generic sys/syscall.h] (before-compile): Do not append to
18661 [generic sys/syscall.h] (common-generated): Likewise.
18662 * sysdeps/unix/errnos-tmpl.c: Remove file.
18663 * sysdeps/unix/errnos.awk: Likewise.
18664 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18665 * sysdeps/unix/ioctls.awk: Likewise.
18666 * sysdeps/unix/mk-local_lim.c: Likewise.
18667 * sysdeps/unix/snarf-ioctls: Likewise.
18669 2012-03-19 Richard Henderson <rth@twiddle.net>
18671 * sysdeps/i386/fpu/fenv_private.h: New file.
18672 * sysdeps/i386/fpu/math_private.h: Use it.
18673 (math_opt_barrier, math_force_eval): Remove.
18674 (libc_feholdexcept_setround_53bit): Remove.
18675 (libc_feupdateenv_53bit): Remove.
18676 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18677 (math_opt_barrier, math_force_eval): Remove.
18678 (libc_feholdexcept): Remove.
18679 (libc_feholdexcept_setround): Remove.
18680 (libc_fetestexcept, libc_fesetenv): Remove.
18681 (libc_feupdateenv_test): Remove.
18682 (libc_feupdateenv, libc_feholdsetround): Remove.
18683 (libc_feresetround): Remove.
18685 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18686 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18688 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18689 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18690 (libc_feupdateenv_testl): New.
18691 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18692 (libc_feupdateenv_testf): New.
18693 (libc_feupdateenv): Use libc_feupdateenv_test.
18694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18695 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18697 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18698 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18699 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18700 (libc_feresetround_noex): New.
18701 (libc_feresetround_noexf): New.
18702 (libc_feresetround_noexl): New.
18703 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18704 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18705 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18706 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18708 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18709 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18711 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18712 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18713 SET_RESTORE_ROUND_NOEX.
18714 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18715 SET_RESTORE_ROUND_NOEXF.
18716 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18717 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18718 (libc_feholdsetroundf): New.
18719 (libc_feresetround, libc_feresetroundf): New.
18721 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18722 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18723 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18725 * sysdeps/generic/math_private.h: Include <fenv.h>.
18726 (default_libc_feholdexcept): New.
18727 (default_libc_feholdexcept_setround): New.
18728 (default_libc_fesetenv, default_libc_feupdateenv): New.
18729 (libc_feholdexcept): Only define if undefined.
18730 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18731 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18732 (libc_feholdexcept_setroundl): Likewise.
18733 (libc_feholdexcept_setround_53bit): Likewise.
18734 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18735 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18736 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18737 (libc_feupdateenv_53bit): Likewise.
18738 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18739 (libc_feholdexcept): Convert from macro to inline function.
18740 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18741 (libc_fesetenv, libc_feupdateenv): Likewise.
18743 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18744 not previously defined.
18745 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18746 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18747 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18748 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18749 * sysdeps/ieee754/flt-32/math_private.h: New file.
18750 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18751 math_private.h below SET_FLOAT_WORD.
18752 (__isnan, __isinf_ns, __finite): Remove.
18753 (__isnanf, __isinf_nsf, __finitef): Remove.
18755 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18759 2012-03-17 David S. Miller <davem@davemloft.net>
18762 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18765 2012-03-16 David S. Miller <davem@davemloft.net>
18767 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18771 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18773 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18774 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18775 sysdep_routines when subdir is sysvipc.
18776 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18777 __getshmlba helper.
18779 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18781 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18783 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18786 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18788 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18789 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18790 (__lround): Renamed to ...
18791 (__llround): This. Replace long int with long long int.
18792 Define lround functions as aliases of llround functions.
18793 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18795 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18797 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18798 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18799 adresses to uintptr_t. Replace "long int" and "unsigned long
18800 int" with "greg_t" on va_arg.
18802 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18804 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18805 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18807 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18808 Move e_machine check before EI_CLASS check. Handle x32
18809 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18810 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18811 SKIP_EM_IA_64 and include
18812 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18814 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18815 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18816 (add_system_dir): New macro.
18818 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18819 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18821 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18832 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18834 * math/w_j0f.c (j0f): Likewise.
18836 * math/w_j0l.c (__j0l): Likewise.
18838 * math/w_j1.c (j1): Likewise.
18840 * math/w_j1f.c (j1f): Likewise.
18842 * math/w_j1l.c (__j1l): Likewise.
18844 * math/w_jn.c (jn): Likewise.
18846 * math/w_jnf.c (jnf): Likewise.
18848 * math/w_jnl.c (__jnl): Likewise.
18850 * math/libm-test.inc (j0_test): Add more tests.
18851 (j1_test): Likewise.
18852 (jn_test): Likewise. Add trailing semicolon to existing test.
18853 (y0_test): Likewise.
18854 (y1_test): Likewise.
18855 * sysdeps/i386/fpu/libm-test-ulps: Update.
18856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18860 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18861 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18862 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18863 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18864 (__tanl): Set errno for infinite argument.
18865 * sysdeps/i386/fpu/mptan.c: Remove.
18866 * sysdeps/i386/fpu/s_tan.S: Likewise.
18867 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18868 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18869 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18870 * math/libm-test.inc (tan_test): Add more tests and enable more
18871 tests for double and long double.
18872 * sysdeps/i386/fpu/libm-test-ulps: Update.
18873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18875 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18877 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18878 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18880 2012-03-16 Roland McGrath <roland@hack.frob.com>
18882 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18883 * configure.in: Use it for both main tree and add-ons.
18884 * configure: Regenerated.
18886 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18888 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18890 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18892 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18896 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18897 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18898 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18899 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18900 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18902 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18903 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18904 != 0 for prec == 2.
18905 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18906 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18907 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18908 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18909 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18910 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18911 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18912 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18913 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18914 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18915 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18916 * math/libm-test.inc (cos_test): Add more tests and enable more
18917 tests for long double.
18918 (sin_test): Likewise.
18919 (sincos_test): Likewise.
18920 * sysdeps/i386/fpu/libm-test-ulps: Update.
18921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18923 2012-03-16 David S. Miller <davem@davemloft.net>
18925 * sysdeps/sparc/fpu/math_private.h: New file.
18927 2012-03-15 David S. Miller <davem@davemloft.net>
18929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18935 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18939 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18943 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18944 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18946 * sysdeps/sparc/sparc-ifunc.h: New file.
18947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18972 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18973 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18974 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18975 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18976 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18977 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18978 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18979 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18980 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18981 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18982 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18985 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18986 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18987 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18988 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18989 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18990 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18992 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18994 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18998 2012-03-15 Andreas Jaeger <aj@suse.de>
19001 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
19002 ieee754/flt-32 implementation for sin, cos and sincos.
19003 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
19004 * sysdeps/i386/fpu/s_cosf.S: Likewise.
19005 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19006 * sysdeps/i386/fpu/s_sinf.S: Likewise.
19007 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19008 ieee754/flt-32 implementation for tan.
19010 * math/libm-test.inc (cos_test): Enable some large input tests for
19012 (sin_test): Likewise.
19013 (sincos_test): Likewise.
19014 (tan_test): Add tests for large input.
19016 * sysdeps/i386/fpu/libm-test-ulps: Update.
19018 2012-03-15 Andreas Jaeger <aj@suse.de>
19021 * math/libm-test.inc (cos_test): Add more test cases.
19022 (sin_test): Likewise.
19023 (sincos_test): Likewise.
19025 2012-03-15 Andreas Jaeger <aj@suse.de>
19028 * math/libm-test.inc (cos_test): Add a test case for large input
19030 (sin_test): Likewise.
19031 (sincos_test): Likewise.
19033 2012-03-15 Andreas Jaeger <aj@suse.de>,
19034 Joseph Myers <joseph@codesourcery.com>
19037 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
19038 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19039 * sysdeps/i386/fpu/branred.c: Likewise.
19040 * sysdeps/i386/fpu/dosincos.c: Likewise.
19041 * sysdeps/i386/fpu/mpa.c: Likewise.
19042 * sysdeps/i386/fpu/s_cos.S: Likewise.
19043 * sysdeps/i386/fpu/s_sin.S: Likewise.
19044 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19045 * sysdeps/i386/fpu/sincos32.c: Likewise.
19047 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19049 (libc_feupdateenv_53bit): Define.
19050 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19052 (libc_feupdateenv_53bit): Define.
19054 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19055 53 bit (without extend i386 double precision).
19057 * math/libm-test.inc (sincos_test): Add tests for large input.
19061 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19063 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19067 2012-03-15 David S. Miller <davem@davemloft.net>
19069 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19070 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19071 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19072 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
19084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
19087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
19090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
19093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19096 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19097 fmin/fmax sysdep routines.
19098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19100 2012-03-14 David S. Miller <davem@davemloft.net>
19102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19104 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19105 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19106 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19107 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19108 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19109 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19110 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19111 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19112 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19113 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19116 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19117 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19118 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19122 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19123 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19124 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19125 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19126 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19127 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19128 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19129 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
19130 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
19135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
19138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
19141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
19144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
19147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
19162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
19165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
19168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
19171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19174 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19179 * sysdeps/sparc/configure.in: New file.
19180 * sysdeps/sparc/configure: Generate.
19181 * configure.in (libc_cv_sparc_as_vis3): Substitute.
19182 * configure: Regenerate.
19183 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19184 * config.make.in (have-as-vis3): New.
19185 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19186 available use -Av9d instead of -Av9a.
19187 * sysdeps/sparc/sparc64/Makefile: Likewise.
19188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
19189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19197 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19198 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19199 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19200 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19201 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19203 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19204 fzeros/fnegs to load 0x80000000 into a float register instead of
19206 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19208 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19212 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19213 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19214 ($(inst_includedir)/bits/syscall.h): Remove rule.
19215 ($(objpfx)bits/syscall.d): Include instead of
19216 $(objpfx)syscall-list.d.
19217 (generated): Change syscall-list.h and syscall-list.d to
19218 bits/syscall.h and bits/syscall.d.
19220 2012-03-14 Roland McGrath <roland@hack.frob.com>
19223 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19225 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19228 * math/s_csqrt.c: Include <float.h>.
19229 (__csqrt): Scale large or subnormal inputs.
19230 * math/s_csqrtf.c: Likewise.
19231 * math/s_csqrtl.c: Likewise.
19232 * math/libm-test.inc (csqrt_test): Add more tests.
19233 * sysdeps/i386/fpu/libm-test-ulps: Update.
19234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19237 * math/libm-test.inc (hypot_test): Add more tests.
19239 2012-03-13 David S. Miller <davem@davemloft.net>
19242 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19243 double-precision for the calculation instead of scaling.
19245 2012-03-13 Joseph Myers <joseph@codesourcery.com>
19247 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19248 manipulate bits before adding and subtracting TWO52[sx].
19249 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19250 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19252 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19254 2012-03-13 David S. Miller <davem@davemloft.net>
19256 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19257 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19258 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19259 rtld-global-offsets.h
19260 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19262 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19265 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19267 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19268 'err' in the ifdef scope in which it is actually used.
19270 * nss/nss_db/db-init.c: Include string.h
19272 2012-03-12 David S. Miller <davem@davemloft.net>
19274 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19275 masking out of the most significant byte of random value used.
19276 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19277 Fix coding style in previous change.
19279 * sysdeps/unix/sysv/linux/kernel-features.h
19280 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19281 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19283 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19286 2012-03-11 David S. Miller <davem@davemloft.net>
19288 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19289 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19290 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19291 for 'resultvar' otherwise things get truncated on 64-bit.
19293 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19294 Fix masking out of the most significant byte of random value used.
19296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19298 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19302 2012-03-09 David S. Miller <davem@davemloft.net>
19304 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19305 variables with appropriate CPP guards.
19306 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19307 frame pointer, not the stack pointer. Correct layout comments. Fix test
19308 on resulting framesize and the management of the outregs buffer for pltexit.
19309 Preserve floating point return values across _dl_call_pltexit call.
19310 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19311 framesize and the management of the outregs buffer for pltexit.
19312 Preserve floating point return values across _dl_call_pltexit
19314 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19315 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19316 (print_exit): Fix format string for return register value.
19318 2012-03-10 Joseph Myers <joseph@codesourcery.com>
19320 * sunrpc/Makefile (others): Add rpcgen.
19321 ($(objpfx)rpcgen): Remove special build rule and dependency on
19323 * sunrpc/rpcgen.c: New file.
19325 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19328 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19329 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19330 * sysdeps/i386/crti.S: Likewise.
19331 * sysdeps/i386/crtn.S: Likewise.
19332 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19333 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19334 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19335 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19336 * sysdeps/sh/crti.S: Likewise.
19337 * sysdeps/sh/crtn.S: Likewise.
19338 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19341 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19343 * locale/programs/locfile-kw.gperf: Likewise.
19344 * locale/programs/charmap-kw.h: Regenerated.
19345 * locale/programs/locfile-kw.h: Likewise.
19348 * intl/plural.y: Replace FSF snail mail address with URL.
19349 * intl/plural.c: Regenerated.
19351 2012-03-09 Richard Henderson <rth@twiddle.net>
19353 * include/math_private.h: Remove file.
19354 * math/math_private.h: Move file ...
19355 * sysdeps/generic/math_private.h: ... here.
19357 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19358 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19359 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19361 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
19362 and <math_private.h>.
19363 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19364 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19365 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19366 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19367 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19368 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19369 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19370 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19371 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19372 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19373 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19374 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19375 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19376 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19377 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19378 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19379 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19380 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19381 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19382 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19383 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19384 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19385 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19386 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19387 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19388 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19389 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19390 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19391 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19392 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19393 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19394 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19395 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19396 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19397 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19398 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19399 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19400 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19401 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19402 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19403 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19404 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19405 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19406 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19407 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19408 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19409 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19410 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19411 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19412 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19413 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19414 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19415 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19416 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19417 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19418 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19421 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19422 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19424 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19425 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19426 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19427 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19428 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19429 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19430 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19431 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19432 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19433 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19434 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19435 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19436 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19437 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19438 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19439 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19440 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19441 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19442 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19443 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19444 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19445 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19446 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19447 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19448 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19449 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19450 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19451 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19452 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19453 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19454 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19455 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19456 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19457 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19458 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19459 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19460 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19461 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19462 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19463 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19464 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19465 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19466 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19467 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19468 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19469 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19470 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19471 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19472 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19473 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19474 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19475 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19476 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19477 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19478 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19479 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19480 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19481 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19482 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19483 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19484 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19485 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19486 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19487 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19488 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19489 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19490 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19491 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19492 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19493 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19494 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19495 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19496 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19497 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19498 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19499 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19500 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19501 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19502 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19503 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19504 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19505 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19506 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19507 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19508 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19509 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19510 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19511 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19512 * sysdeps/ieee754/k_standard.c: Likewise.
19513 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19514 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19515 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19516 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19517 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19518 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19519 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19520 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19521 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19522 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19523 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19524 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19525 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19526 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19527 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19528 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19529 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19530 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19531 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19532 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19533 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19534 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19535 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19536 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19537 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19538 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19539 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19540 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19541 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19542 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19543 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19544 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19545 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19546 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19547 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19548 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19549 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19550 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19551 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19552 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19553 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19554 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19555 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19558 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19559 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19560 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19561 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19562 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19563 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19564 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19565 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19566 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19567 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19568 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19569 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19570 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19571 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19572 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19573 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19574 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19575 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19576 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19577 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19578 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19579 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19580 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19581 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19582 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19583 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19584 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19585 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19586 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19587 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19588 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19589 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19590 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19591 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19592 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19593 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19594 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19595 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19596 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19597 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19598 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19599 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19600 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19601 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19602 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19603 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19604 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19605 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19606 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19607 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19608 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19609 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19610 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19611 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19612 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19613 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19614 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19615 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19616 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19617 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19618 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19619 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19620 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19621 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19622 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19623 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19624 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19625 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19626 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19627 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19628 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19629 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19630 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19631 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19632 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19633 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19634 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19635 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19636 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19637 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19638 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19639 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19640 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19641 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19642 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19643 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19644 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19645 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19646 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19647 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19648 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19649 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19650 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19651 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19652 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19653 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19654 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19655 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19656 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19657 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19658 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19659 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19660 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19661 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19662 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19663 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19664 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19665 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19666 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19667 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19668 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19669 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19670 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19671 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19672 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19673 * sysdeps/ieee754/s_lib_version.c: Likewise.
19674 * sysdeps/ieee754/s_matherr.c: Likewise.
19675 * sysdeps/ieee754/s_signgam.c: Likewise.
19676 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19677 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19678 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19679 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19680 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19681 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19682 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19683 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19684 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19685 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19686 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19687 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19688 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19689 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19690 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19691 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19692 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19693 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19694 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19695 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19696 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19698 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19700 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19701 * sunrpc/rpc_main.c: Likewise.
19702 * sunrpc/rpc_svcout.c: Likewise.
19704 2012-03-09 David S. Miller <davem@davemloft.net>
19706 * include/math_private.h: New file.
19708 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19710 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19711 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19712 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19713 from <bits/socket_type.h>.
19714 (enum __socket_type): Don't define here.
19715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19716 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19717 bits/socket_type.h.
19720 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19721 checking __USE_GNU.
19723 * Makerules ($(inst_includedir)/%.h): New rule.
19724 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19725 (install-others): Remove variable setting.
19726 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19728 2012-03-08 Richard Henderson <rth@twiddle.net>
19730 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19731 from macro to inline function; merge with the
19732 !__LIBC_INTERNAL_MATH_INLINES version.
19733 (__ieee754_sqrtf): Likewise.
19735 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19736 to inline function.
19737 (__rintf, __floor, __floorf): Likewise.
19739 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19740 macro to inline function.
19741 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19743 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19744 not <math/math_private.h>.
19746 2012-03-08 David S. Miller <davem@davemloft.net>
19748 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19750 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19752 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19754 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19756 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19757 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19759 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19761 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19762 be defined individually, they must be defined as a block. Define
19763 S for printing a string instead of hidint the different by using a
19764 macro for adding the 'l'.
19765 * stdio-common/tst-fphex-wide.c: Adjust.
19767 2012-03-07 Marek Polacek <polacek@redhat.com>
19769 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19771 2012-03-08 Marek Polacek <polacek@redhat.com>
19774 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19775 * stdio-common/tst-fphex.c: Define a few macros to make the
19776 test reusable. Use them.
19777 * stdio-common/tst-fphex-wide.c: New file.
19779 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19782 * manual/macros.texi (gnusystems): New macro.
19783 (nongnusystems): Likewise.
19784 (gnulinuxhurdsystems): Likewise.
19785 (gnuhurdsystems): Likewise..
19786 (gnulinuxsystems): Likewise.
19787 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19788 variants of the GNU system, not "GNU system".
19789 * manual/conf.texi: Likewise.
19790 * manual/errno.texi: Likewise. Update example of errno macro
19792 * manual/filesys.texi: Likewise.
19793 (getumask): Document as specific to GNU/Hurd.
19794 * manual/install.texi: Likewise. Reword some references to
19796 * manual/intro.texi: Likewise.
19797 * manual/io.texi: Likewise.
19798 (File Name Portability): Detail which constraints are inapplicable
19799 to all GNU systems and which are only inapplicable to GNU/Hurd.
19800 * manual/job.texi: Likewise.
19801 * manual/llio.texi: Likewise.
19802 (O_NOCTTY): Document as present on GNU/Linux.
19803 * manual/maint.texi: Likewise.
19804 * manual/memory.texi: Likewise.
19805 * manual/pattern.texi: Likewise.
19806 * manual/pipe.texi: Likewise.
19807 * manual/process.texi: Likewise.
19808 * manual/resource.texi: Likewise.
19809 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19811 * manual/setjmp.texi: Likewise.
19812 * manual/signal.texi: Likewise.
19813 * manual/startup.texi: Likewise.
19814 * manual/stdio.texi: Likewise.
19815 * manual/terminal.texi: Likewise.
19816 (ONLCR): Document as POSIX.
19817 (OXTABS): Document availability on GNU/Linux as XTABS.
19818 (ONOEOT): Document availability separately from other bits.
19819 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19820 * manual/time.texi: Likewise.
19821 * manual/users.texi: Likewise.
19822 * INSTALL: Regenerated.
19823 * sysdeps/gnu/errlist.c: Regenerated.
19825 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19826 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19827 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19829 * configure: Regenerated.
19831 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19833 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19834 default includes instead of AC_HEADER_CHECK.
19835 * sysdeps/i386/configure: Regenerated.
19838 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19839 * math/s_cacoshf.c (__cacoshf): Likewise.
19840 * math/s_cacoshl.c (__cacoshl): Likewise.
19841 * math/s_casinh.c (__casinh): Set signs of result from argument.
19842 * math/s_casinhf.c (__casinhf): Likewise.
19843 * math/s_casinhl.c (__casinhl): Likewise.
19844 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19845 (casinh_test): Add more tests.
19846 * sysdeps/i386/fpu/libm-test-ulps: Update.
19847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19849 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19851 * po/zh_TW.po: Update from translation team.
19853 * login/Makefile (distribute): Remove variable.
19854 * catgets/Makefile: Likewise.
19855 * mach/Makefile: Likewise.
19856 * malloc/Makefile: Likewise.
19857 * misc/Makefile: Likewise.
19858 * iconv/Makefile: Likewise.
19859 * nscd/Makefile: Likewise.
19860 * hurd/Makefile: Likewise.
19861 * manual/Makefile: Likewise.
19862 * locale/Makefile: Likewise.
19863 * intl/Makefile: Likewise.
19864 * conform/Makefile: Likewise.
19865 * nss/Makefile: Likewise.
19866 * time/Makefile: Likewise.
19867 * soft-fp/Makefile: Likewise.
19868 * dirent/Makefile: Likewise.
19869 * gmon/Makefile: Likewise.
19870 * po/Makefile: Likewise.
19871 * rt/Makefile: Likewise.
19872 * socket/Makefile: Likewise.
19873 * math/Makefile: Likewise.
19874 * signal/Makefile: Likewise.
19875 * debug/Makefile: Likewise.
19876 * elf/Makefile: Likewise.
19877 * timezone/Makefile: Likewise.
19878 * stdlib/Makefile: Likewise.
19879 * iconvdata/Makefile: Likewise.
19880 * sunrpc/Makefile: Likewise.
19881 * io/Makefile: Likewise.
19882 * argp/Makefile: Likewise.
19883 * inet/Makefile: Likewise.
19884 * hesiod/Makefile: Likewise.
19885 * grp/Makefile: Likewise.
19886 * csu/Makefile: Likewise.
19887 * wctype/Makefile: Likewise.
19888 * crypt/Makefile: Likewise.
19889 * libio/Makefile: Likewise.
19890 * string/Makefile: Likewise.
19891 * nis/Makefile: Likewise.
19892 * resolv/Makefile: Likewise.
19893 * stdio-common/Makefile: Likewise.
19894 * wcsmbs/Makefile: Likewise.
19895 * dlfcn/Makefile: Likewise.
19896 * posix/Makefile: Likewise.
19899 * timezone/Makefile: Don't install timezone files, just the programs
19902 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19904 * nss/databases.def: Add missing gshadow entry.
19906 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19908 2012-03-06 Marek Polacek <polacek@redhat.com>
19911 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19912 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19913 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19914 * stdio-common/tst-long-dbl-fphex.c: New file.
19916 2012-03-06 David S. Miller <davem@davemloft.net>
19918 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19919 (set_obp_int): New function.
19920 (get_obp_int): New function.
19921 (__get_clockfreq_via_dev_openprom): Likewise.
19922 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19923 Avoid unused variable warnings on 'val' and use builtin_expect.
19924 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19926 (INLINE_CLONE_SYSCALL): Likewise.
19928 2012-03-05 David S. Miller <davem@davemloft.net>
19930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19932 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19936 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19937 only for |x| >= 40.
19938 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19940 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19942 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19943 Replace gettimeofday with __vdso_gettimeofday.
19945 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19946 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19947 __vdso_clock_gettime and __vdso_getcpu.
19949 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19950 time with __vdso_time.
19952 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19954 * manual/lang.texi (size_t): Note types to which size_t may be
19955 equivalent with the GNU C Library, but do not describe when
19956 differences between them are significant.
19958 2012-03-05 Andreas Jaeger <aj@suse.de>
19960 * sysdeps/i386/fpu/libm-test-ulps: Update.
19962 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19965 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19966 (__ieee754_pow): Save and restore rounding mode and use
19967 round-to-nearest for main computations.
19968 * math/libm-test.inc (pow_test_tonearest): New function.
19969 (pow_test_towardzero): Likewise.
19970 (pow_test_downward): Likewise.
19971 (pow_test_upward): Likewise.
19972 (main): Call the new functions.
19973 * sysdeps/i386/fpu/libm-test-ulps: Update.
19974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19977 * math/libm-test.inc (cosh_test_tonearest): New function.
19978 (cosh_test_towardzero): Likewise.
19979 (cosh_test_downward): Likewise.
19980 (cosh_test_upward): Likewise.
19981 (sinh_test_tonearest): Likewise.
19982 (sinh_test_towardzero): Likewise.
19983 (sinh_test_downward): Likewise.
19984 (sinh_test_upward): Likewise.
19985 (main): Call the new functions.
19986 * sysdeps/i386/fpu/libm-test-ulps: Update.
19987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19989 2012-03-05 Tom de Vries <tom@codesourcery.com>
19991 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19992 default stack guard is set in last bytes.
19993 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19995 2012-03-05 Kees Cook <keescook@chromium.org>
19997 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
20000 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
20001 possibly allocate from heap instead of stack.
20002 * stdio-common/bug-vfprintf-nargs.c: New file.
20003 * stdio-common/Makefile (tests): Add nargs overflow test.
20005 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
20007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20009 2012-03-03 Marek Polacek <polacek@redhat.com>
20011 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20012 * math/math_private.h: Likewise.
20013 * stdlib/tst-strtod.c: Likewise.
20014 * sysdeps/i386/i486/bits/atomic.h: Likewise.
20015 * sysdeps/x86_64/bits/atomic.h: Likewise.
20017 2012-03-02 David S. Miller <davem@davemloft.net>
20019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20023 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20024 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20025 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20026 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20028 2012-03-02 Roland McGrath <roland@hack.frob.com>
20031 * manual/examples/README: New file, says the example source files
20032 can be used under GPL>=2.
20033 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20034 line containing just "*/".
20035 * manual/examples/add.c: Add copyright header (GPL>=2).
20036 * manual/examples/argp-ex1.c: Likewise.
20037 * manual/examples/argp-ex2.c: Likewise.
20038 * manual/examples/argp-ex3.c: Likewise.
20039 * manual/examples/argp-ex4.c: Likewise.
20040 * manual/examples/atexit.c: Likewise.
20041 * manual/examples/db.c: Likewise.
20042 * manual/examples/dir.c: Likewise.
20043 * manual/examples/dir2.c: Likewise.
20044 * manual/examples/execinfo.c: Likewise.
20045 * manual/examples/filecli.c: Likewise.
20046 * manual/examples/filesrv.c: Likewise.
20047 * manual/examples/fmtmsgexpl.c: Likewise.
20048 * manual/examples/genpass.c: Likewise.
20049 * manual/examples/inetcli.c: Likewise.
20050 * manual/examples/inetsrv.c: Likewise.
20051 * manual/examples/isockad.c: Likewise.
20052 * manual/examples/longopt.c: Likewise.
20053 * manual/examples/memopen.c: Likewise.
20054 * manual/examples/memstrm.c: Likewise.
20055 * manual/examples/mkfsock.c: Likewise.
20056 * manual/examples/mkisock.c: Likewise.
20057 * manual/examples/mygetpass.c: Likewise.
20058 * manual/examples/pipe.c: Likewise.
20059 * manual/examples/popen.c: Likewise.
20060 * manual/examples/rprintf.c: Likewise.
20061 * manual/examples/search.c: Likewise.
20062 * manual/examples/select.c: Likewise.
20063 * manual/examples/setjmp.c: Likewise.
20064 * manual/examples/sigh1.c: Likewise.
20065 * manual/examples/sigusr.c: Likewise.
20066 * manual/examples/stpcpy.c: Likewise.
20067 * manual/examples/strdupa.c: Likewise.
20068 * manual/examples/strftim.c: Likewise.
20069 * manual/examples/strncat.c: Likewise.
20070 * manual/examples/subopt.c: Likewise.
20071 * manual/examples/swapcontext.c: Likewise.
20072 * manual/examples/termios.c: Likewise.
20073 * manual/examples/testopt.c: Likewise.
20074 * manual/examples/testpass.c: Likewise.
20075 * manual/examples/timeval_subtract.c: Likewise.
20078 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20080 * manual/timeval_subtract.c.texi: ... here, new file.
20082 2012-03-02 David S. Miller <davem@davemloft.net>
20084 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20086 2012-03-02 Joseph Myers <joseph@codesourcery.com>
20089 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20090 (__sin): Save and restore rounding mode and use round-to-nearest
20091 for all computations.
20092 (__cos): Save and restore rounding mode and use round-to-nearest
20093 for all computations.
20094 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20096 (tan): Save and restore rounding mode and use round-to-nearest for
20098 * math/libm-test.inc (cos_test_tonearest): New function.
20099 (cos_test_towardzero): Likewise.
20100 (cos_test_downward): Likewise.
20101 (cos_test_upward): Likewise.
20102 (sin_test_tonearest): Likewise.
20103 (sin_test_towardzero): Likewise.
20104 (sin_test_downward): Likewise.
20105 (sin_test_upward): Likewise.
20106 (tan_test_tonearest): Likewise.
20107 (tan_test_towardzero): Likewise.
20108 (tan_test_downward): Likewise.
20109 (tan_test_upward): Likewise.
20110 (main): Call the new functions.
20111 * sysdeps/i386/fpu/libm-test-ulps: Update.
20112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20115 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20116 small n, then large n, before computing and testing k+n.
20117 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20118 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20120 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20122 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20123 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20124 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20125 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20126 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20127 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20128 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20129 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20130 * math/libm-test.inc (scalbn_test): Add more tests.
20131 (scalbln_test): Likewise.
20133 * manual/filesys.texi (mode_t): Describe constraints on size and
20134 signedness, not exact equivalence to a particular type.
20136 (ino64_t): Likewise.
20138 (nlink_t): Likewise.
20139 (blkcnt_t): Likewise.
20140 (blkcnt64_t): Likewise.
20141 * manual/llio.texi (off_t): Likewise.
20144 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20145 (__ieee754_exp): Save and restore rounding mode and use
20146 round-to-nearest for all computations.
20147 * math/libm-test.inc (exp_test_tonearest): New function.
20148 (exp_test_towardzero): Likewise.
20149 (exp_test_downward): Likewise.
20150 (exp_test_upward): Likewise.
20151 (main): Call the new functions.
20152 * sysdeps/i386/fpu/libm-test-ulps: Update.
20153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20155 2012-03-01 Chris Demetriou <cgd@google.com>
20157 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20158 have predictable order.
20160 2012-03-01 David S. Miller <davem@davemloft.net>
20162 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20164 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20165 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20166 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20167 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20169 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20170 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20171 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20173 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20174 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20175 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20176 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20177 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20181 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20182 * sysdeps/sparc/fpu/libm-test-ulps: to here.
20183 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20185 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20186 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20187 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20188 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20189 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20190 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20191 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20192 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20193 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20194 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20195 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20196 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20197 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20198 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20199 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20200 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20201 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20202 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20203 * sysdeps/sparc/elf/configure: Regenerated.
20205 2012-03-01 Joseph Myers <joseph@codesourcery.com>
20207 * configure.in (AS, LD): Require binutils 2.20 or later.
20208 * configure: Regenerated.
20209 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20210 as required minimum version.
20211 * INSTALL: Regenerated.
20215 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20216 before squaring exponent.
20217 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20218 bottom long double and 27 bits of top long double before squaring
20220 * math/libm-test.inc (erfc_test): Add more tests.
20221 * sysdeps/i386/fpu/libm-test-ulps: Update.
20222 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20225 2012-03-01 Kai Tietz <ktietz@redhat.com>
20227 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20228 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20229 containing bit-fields.
20230 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20231 * soft-fp/single.h (_FP_UNION_S): Likewise.
20232 * soft-fp/double.h (_FP_UNION_D): Likewise.
20234 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20237 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20238 not include ../strcmp.S.
20239 [USE_AS_STRNCASECMP_L]: Likewise.
20240 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20241 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20242 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20243 (__strncasecmp_l_ia32): Define as alias to
20244 __strncasecmp_l_nonascii.
20247 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20248 * sysdeps/i386/fpu/libm-test-ulps: Update.
20249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20251 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20254 2012-02-29 Jeff Law <law@redhat.com>
20256 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20257 out of bounds read.
20259 2012-02-29 Marek Polacek <polacek@redhat.com>
20262 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20263 * elf/Makefile: Add rules to run tst-unused-dep.out.
20265 2012-02-28 David S. Miller <davem@davemloft.net>
20267 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20268 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20269 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20270 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20271 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20272 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20274 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20276 * math/libm-test.inc (llround_test): Move one test from
20277 lround_test. Use TEST_f_L in moved test.
20278 (lround_test): Move misplaced test to llround_test. Add testcase
20281 2012-02-28 Ulrich Drepper <drepper@gmail.com>
20283 * sysdeps/x86_64/fpu/e_expf.S: New file.
20284 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20286 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20289 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20290 of remain_len that may cause incomplete multi-byte character and
20292 * posix/bug-regex33.c: New file.
20293 * posix/Makefile (tests): Add bug-regex33.
20295 2012-02-28 Joseph Myers <joseph@codesourcery.com>
20297 * manual/macros.texi: New file.
20298 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20299 * manual/libc.texinfo: Include macros.texi.
20300 * manual/creatute.texi: Likewise.
20301 * manual/install.texi: Likewise.
20302 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20303 @glibcadj{} in references to the GNU C Library.
20304 * manual/charset.texi: Likewise.
20305 * manual/conf.texi: Likewise.
20306 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20307 when not using those macros.
20308 * manual/creature.texi: Likewise.
20309 * manual/crypt.texi: Likewise.
20310 * manual/errno.texi: Likewise.
20311 * manual/filesys.texi: Likewise.
20312 * manual/header.texi: Likewise.
20313 * manual/install.texi: Likewise.
20314 * manual/intro.texi: Likewise.
20315 * manual/io.texi: Likewise.
20316 * manual/job.texi: Likewise.
20317 * manual/lang.texi: Likewise.
20318 * manual/libc.texiinfo: Likewise.
20319 * manual/llio.texi: Likewise.
20320 * manual/locale.texi: Likewise.
20321 * manual/maint.texi: Likewise.
20322 * manual/math.texi: Likewise.
20323 * manual/memory.texi: Likewise.
20324 * manual/message.texi: Likewise.
20325 * manual/nss.texi: Likewise.
20326 * manual/pattern.texi: Likewise.
20327 * manual/process.texi: Likewise.
20328 * manual/resource.texi: Likewise.
20329 * manual/search.texi: Likewise.
20330 * manual/setjmp.texi: Likewise.
20331 * manual/signal.texi: Likewise.
20332 * manual/socket.texi: Likewise.
20333 * manual/startup.texi: Likewise.
20334 * manual/stdio.texi: Likewise.
20335 * manual/string.texi: Likewise.
20336 * manual/sysinfo.texi: Likewise.
20337 * manual/syslog.texi: Likewise.
20338 * manual/terminal.texi: Likewise.
20339 * manual/time.texi: Likewise.
20340 * manual/users.texi: Likewise.
20341 * INSTALL: Regenerated.
20342 * NOTES: Regenerated.
20343 * sysdeps/gnu/errlist.c: Regenerated.
20345 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20347 * include/dirent.h: Include <dirstream.h> before
20350 2012-02-28 David S. Miller <davem@davemloft.net>
20352 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20353 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20354 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20355 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20357 2012-02-27 David S. Miller <davem@davemloft.net>
20359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20361 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20362 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20365 frame pointer instead of stack pointer relative arg slot.
20366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20367 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20368 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20370 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20373 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20375 2012-02-27 David S. Miller <davem@davemloft.net>
20377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20381 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20382 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20383 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20384 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20386 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20388 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20389 later. Allow versions 5-9.
20390 * configure: Regenerated.
20391 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20392 required minimum version and 4.6 as recommended version. Do not
20393 mention bugs in GCC 2.7 and 2.8.
20394 * INSTALL: Regenerated.
20396 2012-02-27 David S. Miller <davem@davemloft.net>
20398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20402 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20403 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20404 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20405 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20407 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20408 manipulate bits before adding and subtracting TWO112[sx].
20409 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20411 2012-02-27 Roland McGrath <roland@hack.frob.com>
20414 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20415 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20416 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20417 being in POSIX, because they are in 1003.1-2008.
20419 * rt/tst-aio.c: Include <fcntl.h>.
20420 * rt/tst-aio7.c: Likewise.
20421 * rt/tst-aio64.c: Likewise.
20423 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20425 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20427 * manual/install.texi (--with-headers): Describe headers as
20428 interface headers, not private headers.
20429 (Specific advice for GNU/Linux systems): Describe use of headers
20430 from "make headers_install", not private headers from older
20432 * INSTALL: Regenerated.
20433 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20435 * sysdeps/unix/sysv/linux/configure: Regenerated.
20437 * manual/llio.texi (fclean): Remove documentation.
20439 * manual/Makefile (libc-texi-generated): New variable. Include
20441 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20442 $(libc-texi-generated), not duplicated list of files.
20443 (version.texi, stamp-version): New rules.
20444 (realclean): Remove $(libc-texi-generated), not individual files
20445 from that list. Do not remove dir-add.texinfo.
20446 * manual/libc.texinfo: Comment out uses of edition numbers and
20447 references to printed manual. Remove last-updated dates.
20448 (EDITION): Comment out.
20450 (VERSION, UPDATED): Remove.
20451 (version.texi): Include.
20453 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20455 * sysdeps/posix/spawni.c: Include <signal.h>.
20456 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20457 * sysdeps/pthread/aio_fsync.c: Likewise.
20459 2012-02-26 Ulrich Drepper <drepper@gmail.com>
20461 * conform/Makefile (tests): Run only when not cross-compiling and
20462 when fast-check is not defined.
20464 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20465 * conform/data/limits.h-data: Fixes for POSIX2008.
20466 * conform/run-conformtest.sh: Run all tests.
20467 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20469 * include/bits/dlfcn.h: Likewise.
20470 * include/langinfo.h: Likewise.
20471 * include/monetary.h: Likewise.
20472 * include/sys/poll.h: Likewise.
20474 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20476 * posix/spawn.h: Define __need_sigset_t.
20477 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20478 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20479 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20480 to get sigevent_t only.
20481 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20482 only for __USE_GNU.
20483 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20484 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20485 process_vm_writev only for __USE_GNU.
20486 * termios/termios.h: Declare tcgetsid also for POSIX2008.
20488 * conform/Makefile: For now ignore errors from run-conformtest.
20489 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20490 POSIX to avoid namespace pollution. Don't prepend headers.
20491 * conform/data/aio.h-data: Fixes for POSIX testing.
20492 * conform/data/fcntl.h-data: Likewise.
20493 * conform/data/glob.h-data: Likewise.
20494 * conform/data/grp.h-data: Likewise.
20495 * conform/data/pthread.h-data: Likewise.
20496 * conform/data/pwd.h-data: Likewise.
20497 * conform/data/signal.h-data: Likewise.
20498 * conform/data/spawn.h-data: Likewise.
20499 * conform/data/stdio.h-data: Likewise.
20500 * conform/data/stdlib.h-data: Likewise.
20501 * conform/data/stropts.h-data: Likewise.
20502 * conform/data/sys/mman.h-data: Likewise.
20503 * conform/data/sys/stat.h-data: Likewise.
20504 * conform/data/sys/types.h-data: Likewise.
20505 * conform/data/sys/wait.h-data: Likewise.
20506 * conform/data/time.h-data: Likewise.
20507 * conform/data/unistd.h-data: Likewise.
20508 * conform/data/utime.h-data: Likewise.
20510 * io/sys/stat.h: fchmod was always in POSIX.
20511 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20512 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20513 * rt/aio.h: Define __need_timespec before including <time.h>.
20514 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20515 struct. Add forward declaration of pthread_attr_t and use it in
20517 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20518 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20519 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20520 always remove CLK_TCK definition.
20522 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20524 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20526 2012-02-25 Ulrich Drepper <drepper@gmail.com>
20528 * conform/run-conformtest.sh: New file.
20529 * conform/Makefile: Run run-conformtest for tests.
20530 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20533 * conform/data/uchar.h-data: New file.
20534 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20535 * conform/data/arpa/inet.h-data: Likewise.
20536 * conform/data/assert.h-data: Likewise.
20537 * conform/data/complex.h-data: Likewise.
20538 * conform/data/cpio.h-data: Likewise.
20539 * conform/data/ctype.h-data: Likewise.
20540 * conform/data/dirent.h-data: Likewise.
20541 * conform/data/dlfcn.h-data: Likewise.
20542 * conform/data/errno.h-data: Likewise.
20543 * conform/data/fcntl.h-data: Likewise.
20544 * conform/data/float.h-data: Likewise.
20545 * conform/data/fmtmsg.h-data: Likewise.
20546 * conform/data/fnmatch.h-data: Likewise.
20547 * conform/data/ftw.h-data: Likewise.
20548 * conform/data/glob.h-data: Likewise.
20549 * conform/data/grp.h-data: Likewise.
20550 * conform/data/iconv.h-data: Likewise.
20551 * conform/data/inttypes.h-data: Likewise.
20552 * conform/data/langinfo.h-data: Likewise.
20553 * conform/data/libgen.h-data: Likewise.
20554 * conform/data/limits.h-data: Likewise.
20555 * conform/data/locale.h-data: Likewise.
20556 * conform/data/math.h-data: Likewise.
20557 * conform/data/monetary.h-data: Likewise.
20558 * conform/data/mqueue.h-data: Likewise.
20559 * conform/data/ndbm.h-data: Likewise.
20560 * conform/data/net/if.h-data: Likewise.
20561 * conform/data/netdb.h-data: Likewise.
20562 * conform/data/netinet/in.h-data: Likewise.
20563 * conform/data/nl_types.h-data: Likewise.
20564 * conform/data/poll.h-data: Likewise.
20565 * conform/data/pthread.h-data: Likewise.
20566 * conform/data/pwd.h-data: Likewise.
20567 * conform/data/regex.h-data: Likewise.
20568 * conform/data/sched.h-data: Likewise.
20569 * conform/data/search.h-data: Likewise.
20570 * conform/data/semaphore.h-data: Likewise.
20571 * conform/data/setjmp.h-data: Likewise.
20572 * conform/data/signal.h-data: Likewise.
20573 * conform/data/spawn.h-data: Likewise.
20574 * conform/data/stdarg.h-data: Likewise.
20575 * conform/data/stdio.h-data: Likewise.
20576 * conform/data/stdlib.h-data: Likewise.
20577 * conform/data/string.h-data: Likewise.
20578 * conform/data/strings.h-data: Likewise.
20579 * conform/data/stropts.h-data: Likewise.
20580 * conform/data/sys/ipc.h-data: Likewise.
20581 * conform/data/sys/mman.h-data: Likewise.
20582 * conform/data/sys/msg.h-data: Likewise.
20583 * conform/data/sys/resource.h-data: Likewise.
20584 * conform/data/sys/select.h-data: Likewise.
20585 * conform/data/sys/sem.h-data: Likewise.
20586 * conform/data/sys/shm.h-data: Likewise.
20587 * conform/data/sys/socket.h-data: Likewise.
20588 * conform/data/sys/stat.h-data: Likewise.
20589 * conform/data/sys/statvfs.h-data: Likewise.
20590 * conform/data/sys/time.h-data: Likewise.
20591 * conform/data/sys/timeb.h-data: Likewise.
20592 * conform/data/sys/times.h-data: Likewise.
20593 * conform/data/sys/types.h-data: Likewise.
20594 * conform/data/sys/uio.h-data: Likewise.
20595 * conform/data/sys/un.h-data: Likewise.
20596 * conform/data/sys/utsname.h-data: Likewise.
20597 * conform/data/sys/wait.h-data: Likewise.
20598 * conform/data/syslog.h-data: Likewise.
20599 * conform/data/tar.h-data: Likewise.
20600 * conform/data/termios.h-data: Likewise.
20601 * conform/data/utime.h-data: Likewise.
20602 * conform/data/utmpx.h-data: Likewise.
20603 * conform/data/varargs.h-data: Likewise.
20604 * conform/data/wchar.h-data: Likewise.
20605 * conform/data/wctype.h-data: Likewise.
20606 * conform/data/wordexp.h-data: Likewise.
20608 * include/stropts.h: New file.
20609 * include/uchar.h: New file.
20610 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20611 * include/assert.h: Likewise.
20612 * include/ctype.h: Likewise.
20613 * include/dirent.h: Likewise.
20614 * include/dlfcn.h: Likewise.
20615 * include/fcntl.h: Likewise.
20616 * include/fnmatch.h: Likewise.
20617 * include/glob.h: Likewise.
20618 * include/grp.h: Likewise.
20619 * include/libio.h: Likewise.
20620 * include/locale.h: Likewise.
20621 * include/math.h: Likewise.
20622 * include/net/if.h: Likewise.
20623 * include/netdb.h: Likewise.
20624 * include/netinet/in.h: Likewise.
20625 * include/pthread.h: Likewise.
20626 * include/pwd.h: Likewise.
20627 * include/regex.h: Likewise.
20628 * include/sched.h: Likewise.
20629 * include/search.h: Likewise.
20630 * include/setjmp.h: Likewise.
20631 * include/signal.h: Likewise.
20632 * include/stdio.h: Likewise.
20633 * include/stdlib.h: Likewise.
20634 * include/string.h: Likewise.
20635 * include/sys/cdefs.h: Likewise.
20636 * include/sys/mman.h: Likewise.
20637 * include/sys/msg.h: Likewise.
20638 * include/sys/resource.h: Likewise.
20639 * include/sys/select.h: Likewise.
20640 * include/sys/socket.h: Likewise.
20641 * include/sys/stat.h: Likewise.
20642 * include/sys/statvfs.h: Likewise.
20643 * include/sys/time.h: Likewise.
20644 * include/sys/times.h: Likewise.
20645 * include/sys/uio.h: Likewise.
20646 * include/sys/utsname.h: Likewise.
20647 * include/sys/wait.h: Likewise.
20648 * include/termios.h: Likewise.
20649 * include/time.h: Likewise.
20650 * include/ulimit.h: Likewise.
20651 * include/unistd.h: Likewise.
20652 * include/utime.h: Likewise.
20653 * include/wchar.h: Likewise.
20654 * include/wctype.h: Likewise.
20655 * include/wordexp.h: Likewise.
20657 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20659 * time/time.h: TIME_UTC must be a macro.
20660 Make timespec_get available for ISO C11 only as well.
20662 2012-02-24 Ulrich Drepper <drepper@gmail.com>
20664 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20665 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20667 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20669 * configure.in: Use -o not -a in test for unsupported multi-arch.
20671 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20673 * manual/texinfo.tex: Update to version 2012-01-19.16.
20675 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20677 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20679 2012-02-24 Roland McGrath <roland@hack.frob.com>
20682 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20683 * manual/fdl-1.3.texi: New file.
20684 * manual/fdl-1.1.texi: File removed.
20687 * manual/libc.texinfo (FDL_VERSION): New @set.
20688 Use it for mention of FDL in cover text.
20689 (Documentation License): Use it in @include file name.
20691 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20692 Roland McGrath <roland@hack.frob.com>
20695 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20696 not LONG_LONG_MAX and LONG_LONG_MIN.
20697 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20698 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20700 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20702 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20706 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20707 manipulate bits before adding and subtracting TWO23[sx].
20708 * math/libm-test.inc (nearbyint_test): Add more tests.
20710 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20713 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20714 bits before adding and subtracting TWO23[sx].
20715 * math/libm-test.inc (rint_test): Add more tests.
20716 (rint_test_tonearest): Likewise.
20717 (rint_test_towardzero): Likewise.
20718 (rint_test_downward): Likewise.
20719 (rint_test_upward: Likewise.
20721 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20724 * include/stdc-predef.h: New file. Extracted from features.h.
20725 * include/features.h: Include stdc-predef.h.
20726 * Makefile (headers): Add stdc-predef.h.
20727 * CONFORMANCE (Compiler limitations): Update.
20729 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20731 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20733 2012-02-21 David S. Miller <davem@davemloft.net>
20735 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20736 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20738 2012-02-20 David S. Miller <davem@davemloft.net>
20740 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20741 using a normal save/restore sequence, rather than allocating a
20742 dummy stack frame just to store a frame pointer and restore.
20743 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20745 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20747 * manual/install.texi: Fix stray word in line-wrapped comment.
20749 2012-02-20 David S. Miller <davem@davemloft.net>
20751 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20752 both binutils and gcc support GOTDATA.
20754 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20755 "rd %pc" in the PIC register setup sequences.
20757 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20758 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20759 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20760 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20761 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20762 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20763 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20764 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20765 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20766 (SYSCALL_ERROR_HANDLER): Likewise.
20767 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20768 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20769 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20770 (SYSCALL_ERROR_HANDLER): Likewise.
20772 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20773 (HAVE_GCC_GOTDATA): New.
20774 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20775 relocation support in both binutils and gcc.
20776 * sysdeps/sparc/elf/configure: Regenerate.
20778 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20779 * sysdeps/sparc/sparc32/elf/configure: Delete.
20780 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20781 * sysdeps/sparc/sparc64/elf/configure: Delete.
20782 * sysdeps/sparc/elf/configure.in: New file.
20783 * sysdeps/sparc/elf/configure: Generate.
20785 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20786 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20787 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20788 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20789 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20791 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20793 * manual/install.texi: Do not mention specific glibc version
20795 * manual/libc.texinfo (VERSION, UPDATED): Update.
20796 (@copying): Use @copyright{} and range of years.
20798 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20801 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20802 [crti.S not in sysdirs] (generated): Do not append.
20803 [crti.S not in sysdirs] (omit-deps): Likewise.
20804 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20805 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20806 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20807 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20808 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20810 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20811 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20812 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20813 * csu/defs.awk: Remove file.
20814 * sysdeps/generic/initfini.c: Likewise.
20815 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20817 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20820 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20822 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20823 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20824 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20825 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20826 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20827 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20829 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20830 (__EPOLL_PACKED): Define to empty if not defined by
20832 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20836 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20838 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20839 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20840 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20841 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20843 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20844 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20847 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20849 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20851 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20852 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20853 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20856 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20858 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20859 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20861 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20863 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20864 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20866 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20868 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20871 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20873 * math/w_acos.c: Use non-signaling floating-point comparisons.
20874 * math/w_acosf.c: Likewise.
20875 * math/w_acosh.c: Likewise.
20876 * math/w_acoshf.c: Likewise.
20877 * math/w_acoshl.c: Likewise.
20878 * math/w_acosl.c: Likewise.
20879 * math/w_asin.c: Likewise.
20880 * math/w_asinf.c: Likewise.
20881 * math/w_asinl.c: Likewise.
20882 * math/w_atanh.c: Likewise.
20883 * math/w_atanhf.c: Likewise.
20884 * math/w_atanhl.c: Likewise.
20885 * math/w_exp2.c: Likewise.
20886 * math/w_exp2f.c: Likewise.
20887 * math/w_exp2l.c: Likewise.
20888 * math/w_j0.c: Likewise.
20889 * math/w_j0f.c: Likewise.
20890 * math/w_j0l.c: Likewise.
20891 * math/w_j1.c: Likewise.
20892 * math/w_j1f.c: Likewise.
20893 * math/w_j1l.c: Likewise.
20894 * math/w_jn.c: Likewise.
20895 * math/w_jnf.c: Likewise.
20896 * math/w_log.c: Likewise.
20897 * math/w_log10.c: Likewise.
20898 * math/w_log10f.c: Likewise.
20899 * math/w_log10l.c: Likewise.
20900 * math/w_log2.c: Likewise.
20901 * math/w_log2f.c: Likewise.
20902 * math/w_log2l.c: Likewise.
20903 * math/w_logf.c: Likewise.
20904 * math/w_logl.c: Likewise.
20905 * math/w_sqrt.c: Likewise.
20906 * math/w_sqrtf.c: Likewise.
20907 * math/w_sqrtl.c: Likewise.
20908 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20909 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20910 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20911 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20912 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20914 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20917 * manual/string.texi (strnlen): Use correct parameter name in
20918 equivalent expression.
20920 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20923 * manual/users.texi (seteuid): Consistently use neweuid for
20926 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20929 * manual/nss.texi (Services in the NSS configuration): Correct
20930 list of services in example configuration file.
20932 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20935 * manual/arith.texi: Remove statements about negative zero
20936 behaving identically to zero.
20938 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20941 * manual/install.texi: Do not document upgrading from libc5.
20943 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20946 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20948 2012-02-18 David S. Miller <davem@davemloft.net>
20950 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20951 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20952 %o7 across the call.
20953 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20955 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20956 SETUP_PIC_REG_LEAF.
20957 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20958 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20959 * sysdeps/sparc/crtn.S: Likewise.
20961 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20963 * aout/Makefile: Remove.
20965 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20968 * manual/examples/argp-ex1.c (main): Format definition in GNU
20970 * manual/examples/argp-ex2.c (main): Likewise.
20971 * manual/examples/argp-ex3.c (main): Likewise.
20972 * manual/examples/argp-ex4.c (main): Likewise.
20973 * manual/examples/longopt.c (main): Use new-style prototype
20975 * manual/examples/strncat.c (main): Specify return type and use
20976 (void) for arguments.
20977 * manual/examples/subopt.c (main): Use char **argv argument.
20979 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20982 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20985 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20988 * manual/string.texi (strchr): Change when strchrnul is
20991 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20994 * manual/locale.texi (setlocale): Document LOCPATH.
20996 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20999 * manual/process.texi (execle): Move @dots{} before last argument.
21001 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
21004 * manual/charset.texi (Generic Charset Conversion): Fix typo
21005 (LC_TYPE -> LC_CTYPE).
21007 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
21010 * manual/arith.texi (scalbn): Use @var{} on parameter names.
21011 (scalbnf): Likewise.
21012 (scalbnl): Likewise.
21013 (scalbln): Likewise.
21014 (scalblnf): Likewise.
21015 (scalblnl): Likewise.
21016 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21017 (vwarnx): Likewise.
21020 * manual/filesys.texi (telldir): Use braces around return type.
21021 * manual/llio.texi (mmap): Add space after comma.
21022 (mmap64): Likewise.
21023 * manual/math.texi (jn): Use @var{} on parameter names.
21029 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21031 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21033 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21034 (sched_get_priority_max): Likewise.
21035 * manual/signal.texi (sigvec): Add space after comma.
21036 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21038 (if_indextoname): Likewise.
21039 (if_freenameindex): Likewise.
21040 (sendto): Use ',' instead of '.' in prototype.
21041 * manual/startup.texi (syscall): Use @dots{} instead of literal
21043 * manual/stdio.texi (__fpending): Separate initial words of
21044 paragraph from @deftypefun line.
21045 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21047 (vsyslog): Use @var{} on parameter names.
21048 * manual/terminal.texi (stty): Use @var{} on parameter names.
21049 * manual/users.texi (getutmp): Use @var{} on parameter names.
21050 (getutmpx): Likewise.
21052 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21055 * manual/stdio.texi (fopen): Fix typos in description of
21058 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21061 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21062 get clock_id definition.
21064 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
21067 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21068 (madvise): Cast every argument to void on its own.
21070 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21073 * manual/startup.texi (Exit Status): Fix typo.
21075 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21078 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21079 * manual/examples/argp-ex2.c: Likewise.
21080 * manual/examples/argp-ex3.c: Likewise.
21082 2012-02-16 Richard Henderson <rth@redhat.com>
21084 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21085 * sysdeps/s390/s390-32/initfini.c: Remove.
21086 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21087 * sysdeps/s390/s390-64/initfini.c: Remove.
21089 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21091 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21092 compiler output for sysdeps/generic/initfini.c.
21093 * sysdeps/sh/elf/initfini.c: Remove file.
21095 2012-02-16 David S. Miller <davem@davemloft.net>
21098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21100 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21101 * sysdeps/sparc/crti.S: New file.
21102 * sysdeps/sparc/crtn.S: New file.
21103 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21104 * sysdeps/sparc/sparc64/Makefile: Likewise.
21106 2012-02-15 Mike Frysinger <vapier@gentoo.org>
21109 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21111 2012-02-15 Roland McGrath <roland@hack.frob.com>
21114 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21116 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21117 (write, read, close): Likewise.
21118 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21120 2012-02-15 Joseph Myers <joseph@codesourcery.com>
21122 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21123 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21124 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21125 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21127 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21128 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21131 2012-02-14 Marek Polacek <polacek@redhat.com>
21133 * sysdeps/x86_64/crti.S: New file.
21134 * sysdeps/x86_64/crtn.S: New file.
21135 * sysdeps/x86_64/elf/initfini.c: Remove file.
21137 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21139 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21140 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21141 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21142 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21144 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21148 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21150 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21151 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21152 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21153 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21155 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21156 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21159 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21161 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21162 __feraiseexcept instead of feraiseexcept.
21164 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21165 nanosleep invocations.
21166 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21167 strings, and add error checking for a nanosleep invocations.
21169 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21171 Replace FSF snail mail address with URLs, as per GNU coding standards.
21172 Most of the snail mail addresses were wrong anyway, and omitting
21173 them makes the source code easier to maintain. Almost all of the
21174 changes are to license notices and to locale LC_IDENTIFICATION
21175 addresses, except for this one:
21176 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21177 not its snail mail address.
21179 2012-02-09 Richard Henderson <rth@twiddle.net>
21181 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21182 of kernel-features.h.
21184 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21186 2012-02-08 Marek Polacek <polacek@redhat.com>
21188 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21189 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21190 * sysdeps/gnu/_G_config.h: Likewise.
21191 * sysdeps/generic/_G_config.h: Likewise.
21193 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
21195 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21199 * sysdeps/powerpc/powerpc32/crti.S: New file.
21200 * sysdeps/powerpc/powerpc32/crtn.S: New file.
21201 * sysdeps/powerpc/powerpc64/crti.S: New file.
21202 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21204 * Makeconfig (have-initfini): Don't set.
21205 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21206 * configure.in (nopic_initfini): Don't substitute.
21207 * config.h.in (HAVE_INITFINI): Don't #undef.
21208 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21209 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21211 2012-02-08 Joseph Myers <joseph@codesourcery.com>
21213 Support crti.S and crtn.S provided directly by architectures.
21214 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21215 [crti.S in sysdirs] (omit-deps): Likewise.
21216 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21217 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21218 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21219 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21220 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21221 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21222 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21223 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21224 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21225 compiler output for sysdeps/generic/initfini.c.
21226 * sysdeps/i386/elf/Makefile: Remove file.
21227 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21229 2012-02-07 Marek Polacek <polacek@redhat.com>
21231 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21232 * sysdeps/gnu/_G_config.h: Likewise.
21233 * sysdeps/mach/hurd/_G_config.h: Likewise.
21235 2012-02-07 Marek Polacek <polacek@redhat.com>
21237 * math/Makefile (tests): Add tst-CMPLX2.
21238 * math/tst-CMPLX2.c: New file.
21240 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21242 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21244 * math/libm-test.inc (jn_test): Add missing L suffix.
21246 2012-02-06 Marek Polacek <polacek@redhat.com>
21248 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21249 * sysdeps/i386/fpu/e_powf.S: Likewise.
21250 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21251 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21252 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21253 * sysdeps/i386/fpu/e_pow.S: Likewise.
21254 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21255 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21256 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21257 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21258 * sysdeps/i386/fpu/e_log2.S: Likewise.
21259 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21260 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21261 * sysdeps/i386/fpu/e_powl.S: Likewise.
21262 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21263 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21264 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21265 * sysdeps/i386/fpu/e_logl.S: Likewise.
21266 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21267 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21268 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21269 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21270 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21271 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21272 * sysdeps/i386/fpu/e_log.S: Likewise.
21273 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21274 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21275 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21276 * sysdeps/i386/fpu/e_logf.S: Likewise.
21277 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21278 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21279 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21280 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21281 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21282 * sysdeps/i386/fpu/e_log10.S: Likewise.
21283 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21284 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21285 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21286 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21287 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21288 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21289 * sysdeps/i386/asm-syntax.h: Likewise.
21290 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21291 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21292 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21293 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21294 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21295 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21296 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21297 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21298 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21299 * sysdeps/powerpc/sysdep.h: Likewise.
21300 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21301 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21303 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21306 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21308 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21310 * sysdeps/i386/sysdep.h: Include <features.h>.
21311 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21314 2012-02-05 Joseph Myers <joseph@codesourcery.com>
21316 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21318 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21321 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21323 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21324 (SETUP_PIC_REG): Use GET_PC_THUNK.
21325 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21328 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21330 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21331 for non-PIC compilation.
21332 (SETUP_PIC_REG): Add .p2align directive.
21333 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21334 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21335 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21336 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21337 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21338 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21339 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21340 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21341 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21342 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21343 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21344 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21345 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21346 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21347 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21348 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21349 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21350 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21351 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21352 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21353 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21354 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21355 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21356 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21357 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21358 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21359 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21360 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21361 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21362 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21363 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21364 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21365 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21366 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21367 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21368 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21369 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21370 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21371 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21372 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21373 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21375 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21377 * math/tst-CMPLX.c: Include <stdio.h>.
21379 2012-01-31 Joseph Myers <joseph@codesourcery.com>
21381 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21383 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21384 * sysdeps/sparc/bits/mathdef.h: Likewise.
21386 2012-01-31 Marek Polacek <polacek@redhat.com>
21388 * libio/libio.h: Don't define _PARAMS.
21389 * locale/programs/config.h: Don't define PARAMS.
21390 * stdlib/strtol_l.c: Likewise.
21391 (__strtol_l): Remove PARAMS from the prototype.
21393 2012-01-31 Ulrich Drepper <drepper@gmail.com>
21395 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21396 names. Just use the correct names. Remove unnecessary wrapper
21398 * malloc/arena.c: Likewise.
21399 * malloc/hooks.c: Likewise.
21401 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21402 ARENA_TEST says not to. Simplify test for creation of a new arena.
21403 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21405 2012-01-30 Ulrich Drepper <drepper@gmail.com>
21407 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21409 (update_get_addr): New function.
21410 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21411 GET_ADDR_MODULE parameter.
21413 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21415 * crypt/cert.c: Remove __STDC__ conditionals.
21416 * crypt/crypt-entry.c: Likewise.
21417 * crypt/crypt_util.c: Likewise.
21418 * libio/filedoalloc.c: Likewise.
21419 * libio/fileops.c: Likewise.
21420 * libio/genops.c: Likewise.
21421 * libio/iofclose.c: Likewise.
21422 * libio/iofdopen.c: Likewise.
21423 * libio/iofopen.c: Likewise.
21424 * libio/iofopen64.c: Likewise.
21425 * libio/iogetdelim.c: Likewise.
21426 * libio/iopopen.c: Likewise.
21427 * libio/obprintf.c: Likewise.
21428 * libio/oldfileops.c: Likewise.
21429 * libio/oldiofclose.c: Likewise.
21430 * libio/oldiofdopen.c: Likewise.
21431 * libio/oldiofopen.c: Likewise.
21432 * libio/oldiopopen.c: Likewise.
21433 * libio/wfiledoalloc.c: Likewise.
21434 * libio/wgenops.c: Likewise.
21435 * locale/programs/xmalloc.c: Likewise.
21436 * misc/syslog.c: Likewise.
21437 * stdio-common/xbug.c: Likewise.
21438 * string/memchr.c: Likewise.
21439 * string/memcmp.c: Likewise.
21440 * string/memrchr.c: Likewise.
21441 * string/rawmemchr.c: Likewise.
21442 * sysdeps/posix/getcwd.c: Likewise.
21443 * time/strftime_l.c: Likewise.
21445 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21447 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
21448 * config.make.in (config-cflags-sse2avx): Define.
21449 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21452 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21454 * scripts/config.guess: Update from upstream config git repository.
21455 * scripts/config.sub: Likewise.
21457 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21459 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21461 (R_TILEPRO_*, R_TILEGX_*): New macros.
21463 * scripts/firstversions.awk: Fix bug in version range handling.
21465 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21467 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21469 * include/sys/epoll.h: New file.
21470 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21473 2012-01-28 Ulrich Drepper <drepper@gmail.com>
21475 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21476 Avoid unnecessary __WORDSIZE == 64 test.
21477 (fmaxf): Use VEX format if possible.
21482 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21483 * math/math_private.h: Remove libc_fegetround* and
21485 * sysdeps/i386/configure.in: Check for -msse2avx.
21486 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21487 also if SSE2AVX is defined.
21488 Remove libc_fegetround* and libc_fesetround*.
21489 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21490 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21491 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21493 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21494 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21495 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21496 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21497 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21499 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21501 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21503 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21505 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21507 2012-01-27 Ulrich Drepper <drepper@gmail.com>
21510 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21512 * Makeconfig (libm): Define.
21513 * elf/Makefile: Add rules to build and run tst-relsort1.
21514 * elf/tst-relsort1.c: New file.
21515 * elf/tst-relsort1mod1.c: New file.
21516 * elf/tst-relsort1mod2.c: New file.
21518 2012-01-27 Joseph Myers <joseph@codesourcery.com>
21520 * math/s_ldexp.c: Remove __STDC__ conditionals.
21521 * math/s_ldexpf.c: Likewise.
21522 * math/s_ldexpl.c: Likewise.
21523 * math/s_nextafter.c: Likewise.
21524 * math/s_nexttowardf.c: Likewise.
21525 * math/s_significand.c: Likewise.
21526 * math/s_significandf.c: Likewise.
21527 * math/s_significandl.c: Likewise.
21528 * math/w_jnl.c: Likewise.
21529 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21530 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21531 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21532 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21533 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21534 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21535 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21536 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21537 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21538 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21539 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21540 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21541 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21542 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21543 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21544 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21545 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21546 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21547 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21548 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21549 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21550 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21551 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21552 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21553 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21554 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21555 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21556 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21557 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21558 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21559 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21560 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21561 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21562 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21563 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21564 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21565 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21566 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21567 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21568 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21569 * sysdeps/ieee754/k_standard.c: Likewise.
21570 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21571 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21572 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21573 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21574 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21575 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21576 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21577 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21578 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21579 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21580 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21581 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21582 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21583 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21584 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21585 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21586 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21587 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21588 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21589 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21590 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21591 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21592 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21593 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21594 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21595 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21596 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21597 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21598 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21599 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21600 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21601 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21602 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21603 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21604 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21605 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21606 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21607 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21608 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21609 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21610 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21611 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21612 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21613 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21614 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21615 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21616 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21617 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21618 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21619 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21620 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21621 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21622 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21623 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21624 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21625 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21626 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21627 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21628 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21629 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21630 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21631 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21632 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21633 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21634 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21635 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21636 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21637 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21638 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21639 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21640 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21641 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21642 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21643 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21644 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21645 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21646 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21647 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21648 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21649 * sysdeps/ieee754/s_matherr.c: Likewise.
21650 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21651 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21652 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21653 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21655 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21657 * crypt/md5.h: Remove __STDC__ conditionals.
21658 * libio/libioP.h: Likewise.
21659 * locale/programs/config.h: Likewise.
21660 * sysdeps/generic/sysdep.h: Likewise.
21661 * sysdeps/i386/asm-syntax.h: Likewise.
21662 * sysdeps/s390/asm-syntax.h: Likewise.
21663 * sysdeps/unix/sysdep.h: Likewise.
21664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21667 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21669 * libio/libio.h: Remove __STDC__ conditionals.
21670 * malloc/obstack.h: Likewise.
21671 * math/complex.h: Likewise.
21672 * math/math.h: Likewise.
21673 * sysdeps/generic/_G_config.h: Likewise.
21674 * sysdeps/gnu/_G_config.h: Likewise.
21675 * sysdeps/mach/hurd/_G_config.h: Likewise.
21676 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21677 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21678 * sysdeps/sparc/bits/mathdef.h: Likewise.
21680 2012-01-26 Ulrich Drepper <drepper@gmail.com>
21683 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21684 Clean up HAS_* macros.
21685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21686 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21688 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21690 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21691 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21692 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21693 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21694 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21696 2012-01-25 Joseph Myers <joseph@codesourcery.com>
21698 * elf/tst-unique3.cc (gets): Remove declaration.
21699 * elf/tst-unique3lib.cc (gets): Likewise.
21700 * elf/tst-unique3lib2.cc (gets): Likewise.
21701 * elf/tst-unique4.cc (gets): Likewise.
21703 2012-01-24 Ulrich Drepper <drepper@gmail.com>
21705 * include/stdio.h: Add C++ protection. Add gets declarations and
21707 * debug/tst-chk1.c: Don't declare gets here.
21708 * stdio-common/tst-gets.c: Likewise.
21710 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21712 * posix/glob: Remove directory.
21714 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21716 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21718 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21720 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21721 of the non-standard EPFNOSUPPORT.
21723 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21725 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21726 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21727 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21729 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21731 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21733 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21735 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21737 * nscd/grpcache.c (cache_addgr): Likewise.
21738 * nscd/hstcache.c (cache_addhst): Likewise.
21739 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21740 * nscd/pwdcache.c (cache_addpw): Likewise.
21741 * nscd/servicescache.c (cache_addserv): Likewise.
21743 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21745 * malloc/malloc.c: Various cleanups.
21746 * malloc/hooks.c: Likewise.
21748 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21749 * stdlib/bug-fmtmsg1.c: New file.
21751 * stdlib/fmtmsg.c (init): Add missing unlock.
21752 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21754 2012-01-12 Marek Polacek <polacek@redhat.com>
21756 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21759 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21761 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21762 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21763 macro to ensure uniqueness of label name.
21764 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21765 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21767 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21769 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21771 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21772 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21773 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21774 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21776 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21778 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21780 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21781 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21782 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21784 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21786 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21787 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21788 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21789 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21791 * math/bits/math-finite.h: Add ldexp support.
21793 2012-01-10 Marek Polacek <polacek@redhat.com>
21795 * locale/programs/localedef.h (show_archive_content): Add noreturn
21798 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21800 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21802 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21804 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21806 * io/Makefile (headers): Add bits/poll2.h.
21808 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21811 typo #include statement.
21813 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21815 * include/sys/cdefs.h: Define __attribute_alloc_size.
21816 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21817 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21818 * elf/pldd.c: Likewise.
21819 * iconv/iconv_charmap.c: Likewise.
21820 * iconv/iconvconfig.c: Likewise.
21821 * iconv/strtab.c: Likewise.
21822 * locale/programs/locale.c: Likewise.
21823 * locale/programs/localedef.h: Likewise.
21824 * locale/programs/simple-hash.c: Likewise.
21825 * nscd/nscd.h: Likewise.
21826 * nss/makedb.c: Likewise.
21827 * sysdeps/generic/ldconfig.h: Likewise.
21828 * locale/programs/localedef.c: Remove xmalloc prototype.
21829 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21831 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21833 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21836 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21838 * math/Makefile (tests): Add tst-CMPLX.
21839 * math/tst-CMPLX.c: New file.
21841 * math/complex.h (CMPLXL): Fix typo.
21843 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21844 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21846 * debug/tst-chk1.c: Add poll and ppoll tests.
21847 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21848 * include/sys/poll.h: Add hidden proto for ppoll.
21849 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21850 * sysdeps/mach/hurd/ppoll.c: Likewise.
21851 * io/ppoll.c: Likewise.
21852 * debug/poll_chk.c: New file.
21853 * debug/ppoll_chk.c: New file.
21854 * include/bits/poll2.h: New file.
21855 * io/bits/poll2.h: New file.
21858 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21860 * configure.in: static is always set to yes. Remove.
21861 * config.make.in: Don't set build-static.
21862 * Makeconfig: Remove use of build-static.
21863 * dlfcn/Makefile: Likewise.
21864 * elf/Makefile: Likewise.
21865 * math/Makefile: Likewise.
21866 * misc/Makefile: Likewise.
21867 * nptl/Makefile: Likewise.
21868 * sysdeps/mach/hurd/Makefile: Likewise.
21870 * configure.in: PWD_P is not used anymore.
21871 * config.make.in: Remove PWD_P entry.
21873 * configure.in: Remove last remnants of RANLIB.
21874 No need to check for signed size_t anymore.
21875 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21877 Remove __builtin_expect test because we require at least gcc 3.4.
21878 * aclocal.m4: Likewise.
21880 * wcsmbs/mbrtoc16.c: Implement using towc function.
21881 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21882 * wcsmbs/wcsmbsload.c: Likewise.
21883 * iconv/gconv_simple.c: Likewise.
21884 * iconv/gconv_int.h: Likewise.
21885 * iconv/gconv_builtin.h: Likewise.
21886 * iconv/iconv_prog.c: Remove CHAR16 handling.
21888 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21890 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21892 * configure.in: Remove --with-elf and --enable-bounded options.
21893 Dont set base_machine for ia64. More non-ELF conditions removed.
21894 Remove testing and setting of leading underscore information.
21895 * config.make.in (build-bounded): Set to no.
21896 * config.h.in: Remove NO_UNDERSCORES entry.
21897 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21899 * csu/start.c: Remove !NO_UNDERSCORE code.
21900 * locale/localeinfo.h: Likewise.
21901 * sysdeps/generic/machine-gmon.h: Likewise.
21902 * sysdeps/generic/sysdep.h: Likewise.
21903 * sysdeps/i386/sysdep.h: Likewise.
21904 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21905 * sysdeps/mach/sysdep.h: Likewise.
21906 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21907 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21908 * sysdeps/sh/sysdep.h: Likewise.
21909 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21910 * sysdeps/unix/i386/sysdep.S: Likewise.
21911 * sysdeps/unix/sparc/start.c: Likewise.
21912 * sysdeps/unix/sparc/sysdep.S: Likewise.
21913 * sysdeps/unix/sparc/sysdep.h: Likewise.
21914 * sysdeps/unix/start.c: Likewise.
21915 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21916 * sysdeps/x86_64/sysdep.h: Likewise.
21918 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21921 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21923 * argp/argp-fmtstream.h: Use const instead __const.
21924 * argp/argp.h: Likewise.
21925 * assert/assert.h: Likewise.
21926 * bits/fenv.h: Likewise.
21927 * bits/sched.h: Likewise.
21928 * bits/sigset.h: Likewise.
21929 * bits/sigthread.h: Likewise.
21930 * catgets/nl_types.h: Likewise.
21931 * conform/data/pthread.h-data: Likewise.
21932 * crypt/crypt-private.h: Likewise.
21933 * crypt/crypt.h: Likewise.
21934 * crypt/crypt_util.c: Likewise.
21935 * ctype/ctype.h: Likewise.
21936 * debug/execinfo.h: Likewise.
21937 * debug/mbsnrtowcs_chk.c: Likewise.
21938 * debug/mbsrtowcs_chk.c: Likewise.
21939 * debug/wcsnrtombs_chk.c: Likewise.
21940 * debug/wcsrtombs_chk.c: Likewise.
21941 * debug/wcstombs_chk.c: Likewise.
21942 * dirent/dirent.h: Likewise.
21943 * dlfcn/dlfcn.h: Likewise.
21944 * elf/neededtest4.c: Likewise.
21945 * grp/grp.h: Likewise.
21946 * gshadow/gshadow.h: Likewise.
21947 * iconv/gconv.h: Likewise.
21948 * iconv/gconv_int.h: Likewise.
21949 * iconv/gconv_simple.c: Likewise.
21950 * iconv/iconv.h: Likewise.
21951 * iconv/loop.c: Likewise.
21952 * iconv/skeleton.c: Likewise.
21953 * include/aio.h: Likewise.
21954 * include/aliases.h: Likewise.
21955 * include/argz.h: Likewise.
21956 * include/arpa/inet.h: Likewise.
21957 * include/assert.h: Likewise.
21958 * include/dirent.h: Likewise.
21959 * include/dlfcn.h: Likewise.
21960 * include/execinfo.h: Likewise.
21961 * include/fcntl.h: Likewise.
21962 * include/fenv.h: Likewise.
21963 * include/glob.h: Likewise.
21964 * include/grp.h: Likewise.
21965 * include/libintl.h: Likewise.
21966 * include/mntent.h: Likewise.
21967 * include/netdb.h: Likewise.
21968 * include/pwd.h: Likewise.
21969 * include/rpc/netdb.h: Likewise.
21970 * include/sched.h: Likewise.
21971 * include/search.h: Likewise.
21972 * include/shadow.h: Likewise.
21973 * include/signal.h: Likewise.
21974 * include/stdio.h: Likewise.
21975 * include/stdlib.h: Likewise.
21976 * include/string.h: Likewise.
21977 * include/sys/socket.h: Likewise.
21978 * include/sys/stat.h: Likewise.
21979 * include/sys/statfs.h: Likewise.
21980 * include/sys/statvfs.h: Likewise.
21981 * include/sys/syslog.h: Likewise.
21982 * include/sys/time.h: Likewise.
21983 * include/sys/uio.h: Likewise.
21984 * include/time.h: Likewise.
21985 * include/unistd.h: Likewise.
21986 * include/utmp.h: Likewise.
21987 * include/wchar.h: Likewise.
21988 * include/wctype.h: Likewise.
21989 * inet/aliases.h: Likewise.
21990 * inet/arpa/inet.h: Likewise.
21991 * inet/netinet/ether.h: Likewise.
21992 * inet/netinet/in.h: Likewise.
21993 * intl/libintl.h: Likewise.
21994 * io/bits/fcntl2.h: Likewise.
21995 * io/fcntl.h: Likewise.
21996 * io/ftw.h: Likewise.
21997 * io/sys/poll.h: Likewise.
21998 * io/sys/stat.h: Likewise.
21999 * io/sys/statfs.h: Likewise.
22000 * io/sys/statvfs.h: Likewise.
22001 * io/utime.h: Likewise.
22002 * libio/bits/stdio.h: Likewise.
22003 * libio/bits/stdio2.h: Likewise.
22004 * libio/libio.h: Likewise.
22005 * libio/libioP.h: Likewise.
22006 * libio/stdio.h: Likewise.
22007 * locale/lc-ctype.c: Likewise.
22008 * locale/locale.h: Likewise.
22009 * login/utmp.h: Likewise.
22010 * malloc/arena.c: Likewise.
22011 * malloc/malloc.c: Likewise.
22012 * malloc/malloc.h: Likewise.
22013 * malloc/mcheck.c: Likewise.
22014 * malloc/mtrace.c: Likewise.
22015 * math/bits/mathcalls.h: Likewise.
22016 * math/fenv.h: Likewise.
22017 * math/math_private.h: Likewise.
22018 * misc/bits/error.h: Likewise.
22019 * misc/bits/syslog.h: Likewise.
22020 * misc/err.h: Likewise.
22021 * misc/error.h: Likewise.
22022 * misc/fstab.h: Likewise.
22023 * misc/mntent.h: Likewise.
22024 * misc/regexp.h: Likewise.
22025 * misc/search.h: Likewise.
22026 * misc/sgtty.h: Likewise.
22027 * misc/sys/mman.h: Likewise.
22028 * misc/sys/syslog.h: Likewise.
22029 * misc/sys/uio.h: Likewise.
22030 * misc/sys/xattr.h: Likewise.
22031 * misc/ttyent.h: Likewise.
22032 * nis/rpcsvc/ypclnt.h: Likewise.
22033 * nss/nss.h: Likewise.
22034 * posix/bits/unistd.h: Likewise.
22035 * posix/fnmatch.h: Likewise.
22036 * posix/glob.h: Likewise.
22037 * posix/sched.h: Likewise.
22038 * posix/spawn.h: Likewise.
22039 * posix/sys/wait.h: Likewise.
22040 * posix/unistd.h: Likewise.
22041 * posix/wordexp.h: Likewise.
22042 * pwd/pwd.h: Likewise.
22043 * resolv/netdb.h: Likewise.
22044 * resource/sys/resource.h: Likewise.
22045 * rt/aio.h: Likewise.
22046 * rt/bits/mqueue2.h: Likewise.
22047 * rt/mqueue.h: Likewise.
22048 * shadow/shadow.h: Likewise.
22049 * signal/signal.h: Likewise.
22050 * socket/send.c: Likewise.
22051 * socket/sendto.c: Likewise.
22052 * socket/sys/socket.h: Likewise.
22053 * stdio-common/printf.h: Likewise.
22054 * stdlib/bits/stdlib.h: Likewise.
22055 * stdlib/fmtmsg.h: Likewise.
22056 * stdlib/monetary.h: Likewise.
22057 * stdlib/stdlib.h: Likewise.
22058 * stdlib/ucontext.h: Likewise.
22059 * streams/stropts.h: Likewise.
22060 * string/argz.h: Likewise.
22061 * string/bits/string2.h: Likewise.
22062 * string/string.h: Likewise.
22063 * string/strings.h: Likewise.
22064 * sunrpc/rpc/auth.h: Likewise.
22065 * sunrpc/rpc/auth_des.h: Likewise.
22066 * sunrpc/rpc/clnt.h: Likewise.
22067 * sunrpc/rpc/netdb.h: Likewise.
22068 * sunrpc/rpc/pmap_clnt.h: Likewise.
22069 * sunrpc/rpc/xdr.h: Likewise.
22070 * sysdeps/generic/inttypes.h: Likewise.
22071 * sysdeps/generic/net/if.h: Likewise.
22072 * sysdeps/generic/sys/swap.h: Likewise.
22073 * sysdeps/gnu/net/if.h: Likewise.
22074 * sysdeps/gnu/utmpx.h: Likewise.
22075 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22076 * sysdeps/i386/i486/bits/string.h: Likewise.
22077 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22078 * sysdeps/s390/bits/string.h: Likewise.
22079 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22080 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22081 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22082 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22083 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22084 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22085 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22086 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22087 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22088 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22089 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22090 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22091 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22092 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22093 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22094 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22095 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22097 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22098 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22099 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22100 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22101 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22102 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22103 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22104 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22105 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22106 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22107 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22108 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22109 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22110 * sysvipc/sys/ipc.h: Likewise.
22111 * sysvipc/sys/msg.h: Likewise.
22112 * sysvipc/sys/sem.h: Likewise.
22113 * sysvipc/sys/shm.h: Likewise.
22114 * termios/termios.h: Likewise.
22115 * time/sys/time.h: Likewise.
22116 * time/time.h: Likewise.
22117 * wcsmbs/bits/wchar2.h: Likewise.
22118 * wcsmbs/uchar.h: Likewise.
22119 * wcsmbs/wchar.h: Likewise.
22120 * wctype/wctype.h: Likewise.
22123 * Makeconfig: Remove all but ELF support including AIX support.
22124 * Makerules: Likewise.
22125 * config.h.in: Likewise.
22126 * config.make.in: Likewise.
22127 * configure: Likewise.
22128 * configure.in: Likewise.
22129 * csu/Makefile: Likewise.
22130 * csu/version.c: Likewise.
22131 * debug/Makefile: Likewise.
22132 * dlfcn/Makefile: Likewise.
22133 * elf/Makefile: Likewise.
22134 * extra-lib.mk: Likewise.
22135 * iconv/Makefile: Likewise.
22136 * include/libc-symbols.h: Likewise.
22137 * include/shlib-compat.h: Likewise.
22138 * resolv/Makefile: Likewise.
22139 * resolv/res_libc.c: Likewise.
22140 * rt/Makefile: Likewise.
22141 * sysdeps/i386/asm-syntax.h: Likewise.
22142 * sysdeps/i386/sysdep.h: Likewise.
22143 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22144 * sysdeps/mach/sysdep.h: Likewise.
22145 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22146 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22147 * sysdeps/s390/asm-syntax.h: Likewise.
22148 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22149 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22150 * sysdeps/sh/sysdep.h: Likewise.
22151 * sysdeps/unix/sparc/sysdep.h: Likewise.
22152 * sysdeps/wordsize-32/divdi3.c: Likewise.
22153 * sysdeps/x86_64/sysdep.h: Likewise.
22155 * argp/Versions: Remove _argp_unlock_xxx.
22158 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22159 * abilist/libBrokenLocale.abilist: Likewise.
22160 * abilist/libanl.abilist: Likewise.
22161 * abilist/libc.abilist: Likewise.
22162 * abilist/libcrypt.abilist: Likewise.
22163 * abilist/libdl.abilist: Likewise.
22164 * abilist/libm.abilist: Likewise.
22165 * abilist/libnsl.abilist: Likewise.
22166 * abilist/libpthread.abilist: Likewise.
22167 * abilist/libresolv.abilist: Likewise.
22168 * abilist/librt.abilist: Likewise.
22169 * abilist/libthread_db.abilist: Likewise.
22170 * abilist/libutil.abilist: Likewise.
22171 * abilist/libnss_db.abilist: New file.
22173 * scripts/abilist.awk: Add support for indirect functions.
22175 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22177 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22179 * shlib-versions: Remove entries for ports architectures.
22181 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
22183 * elf/stackguard-macros.h: Remove support for IA-64.
22184 * elf/tst-auditmod1.c: Likewise.
22185 * sysdeps/generic/ldsodefs.h: Likewise.
22187 * sysdeps/unix/sysv/linux/configure.in: Ports should define
22188 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22192 * configure.in: Remove --enable-omitfp support.
22194 * config.make.in: Likewise.
22195 * Makeconfig: Likewise.
22196 * manual/install.texi: Likewise.
22198 In case anyone cares, the IA-64 architecture could move to ports.
22199 * sysdeps/ia64/*: Removed.
22200 * sysdeps/unix/sysv/linux/ia64/*: Removed.
22201 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
22204 * configure.in: Remove entries for unsupported architectures.
22207 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22208 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22210 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22211 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22212 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22213 fall back to using wcrtomb.
22214 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22215 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22217 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22218 * wcsmbs/tst-c16c32-1.c: New file.
22220 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22223 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22225 * elf/tst-unique3.cc: Add explicit declaration of gets.
22226 * elf/tst-unique3lib.cc: Likewise.
22227 * elf/tst-unique3lib2.cc: Likewise.
22228 * elf/tst-unique4.cc: Likewise.
22230 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22232 2012-01-06 Joseph Myers <joseph@codesourcery.com>
22235 * assert/assert.h (static_assert): Don't define for C++.
22236 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22237 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22239 2012-01-03 Ulrich Drepper <drepper@gmail.com>
22241 * iconv/loop.c (single loop): Fix assertion in storing of
22244 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22246 2012-01-01 Ulrich Drepper <drepper@gmail.com>
22248 * posix/getconf.c: Update copyright year.
22249 * nss/getent.c: Likewise.
22250 * nss/makedb.c: Likewise.
22251 * iconv/iconvconfig.c: Likewise.
22252 * iconv/iconv_prog.c: Likewise.
22253 * elf/ldconfig.c: Likewise.
22254 * elf/pldd.c: Likewise.
22255 * elf/sotruss.ksh: Likewise.
22256 * catgets/gencat.c: Likewise.
22257 * csu/version.c: Likewise.
22258 * elf/ldd.bash.in: Likewise.
22259 * elf/sprof.c (print_version): Likewise.
22260 * locale/programs/locale.c: Likewise.
22261 * locale/programs/localedef.c: Likewise.
22262 * login/programs/pt_chown.c: Likewise.
22263 * nscd/nscd.c (print_version): Likewise.
22264 * debug/xtrace.sh: Likewise.
22265 * malloc/memusage.sh: Likewise.
22266 * malloc/mtrace.pl: Likewise.
22267 * debug/catchsegv.sh: Likewise.
22269 2011-12-30 Jakub Jelinek <jakub@redhat.com>
22271 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22274 2011-12-24 Ulrich Drepper <drepper@gmail.com>
22277 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22278 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22280 * iconv/gconv_int.h: Likewise.
22281 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22282 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22283 from libc for GLIBC_2.16.
22284 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22285 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22286 * wcsmbs/uchar.h: Really define mbstate_t.
22287 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22288 * wcsmbs/c16rtomb.c: New file.
22289 * wcsmbs/mbrtoc16.c: New file.
22290 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22291 for C/POSIX locale.
22292 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22293 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22295 * wcsmbs/wchar.h: Add missing __restrict.
22297 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22300 * time/Makefile (routines): Add timespec_get.
22301 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22302 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22303 timespec for ISO C11.
22304 * time/timespec_get.c: New file.
22305 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22306 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22309 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22310 * stdlib/stdlib.h: Declare aligned_alloc.
22311 * Versions.def: Add GLIBC_2.16 for libc.
22312 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22315 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22318 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
22322 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22325 * assert/assert.h (static_assert): Define.
22327 * version.h: Update for 2.16 development version.
22330 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22333 * version.h (RELEASE): Bump for 2.15 release.
22334 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22336 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22337 Patch by Marek Polacek <mpolacek@redhat.com>.
22339 * bits/byteswap.h: Protect long long constants with __extension__.
22340 * sysdeps/i386/bits/byteswap.h: Likewise.
22341 * sysdeps/ia64/bits/byteswap.h: Likewise.
22342 * sysdeps/s390/bits/byteswap.h: Likewise.
22343 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22345 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22348 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22349 destination buffer.
22350 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22352 2011-12-23 Marek Polacek <polacek@redhat.com>
22354 * elf/dl-addr.c (determine_info): Add inline keyword.
22355 * elf/tst-auditmod4b.c (check_avx): Likewise.
22356 * elf/tst-auditmod6b.c (check_avx): Likewise.
22357 * elf/tst-auditmod6c.c (check_avx): Likewise.
22358 * elf/tst-auditmod7b.c (check_avx): Likewise.
22360 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22362 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22365 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22368 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22369 processing for last bytes.
22371 2011-08-06 Bruno Haible <bruno@clisp.org>
22374 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22375 U+0385, not to U+1FEE.
22378 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22379 entry for U+00A5 U+0301.
22381 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22384 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22385 buffer for the output is too small.
22387 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22391 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22392 SSE flags if possible.
22394 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22397 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22398 processing for last bytes.
22400 2011-12-22 Joseph Myers <joseph@codesourcery.com>
22402 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22403 (syscall-list-default-options, syscall-list-default-condition)
22404 (syscall-list-includes): Define.
22405 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22406 list of ABIs and options and #if conditions for each ABI. Do not
22407 handle common syscalls between ABIs specially.
22408 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22410 (syscall-list-variants, syscall-list-32bit-options)
22411 (syscall-list-32bit-condition, syscall-list-64bit-options)
22412 (syscall-list-64bit-condition): Define.
22413 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22414 (syscall-list-variants, syscall-list-32bit-options)
22415 (syscall-list-32bit-condition, syscall-list-64bit-options)
22416 (syscall-list-64bit-condition): Define.
22417 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22419 (syscall-list-variants, syscall-list-32bit-options)
22420 (syscall-list-32bit-condition, syscall-list-64bit-options)
22421 (syscall-list-64bit-condition): Define.
22422 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22424 (syscall-list-variants, syscall-list-32bit-options)
22425 (syscall-list-32bit-condition, syscall-list-64bit-options)
22426 (syscall-list-64bit-condition): Define.
22428 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22430 * locale/iso-639.def: Add brx entry.
22433 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22434 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22436 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22437 __feraiseexcept_renamed.
22439 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22442 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22443 EPOLLET with unsigned values.
22444 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22445 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22447 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22448 to large cancellation.
22449 * math/s_cacoshf.c: Likewise.
22450 * math/s_cacoshl.c: Likewise.
22452 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22456 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22457 * math/s_cacoshf.c: Likewise.
22458 * math/s_cacoshl.c: Likewise.
22460 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22463 * iconv/gconv.h: Define __GCONV_SWAP.
22464 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22465 * iconvdata/utf-16.c: Likewise.
22466 * iconvdata/utf-32.c: Likewise.
22468 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22471 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22472 numerator after shifting it by one limb.
22474 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22476 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22477 under [__USE_EXTERN_INLINES].
22479 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22482 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22484 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22486 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22487 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22489 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22490 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22491 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22492 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22493 for strncasecmp/strncasecmp_l compilation.
22494 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22495 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22497 2011-12-08 Marek Polacek <mpolacek@redhat.com>
22500 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22503 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22506 * time/tzfile.c (__tzfile_read): Check values from file header.
22508 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22510 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22511 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22512 * powerpc/powerpc32/dl-start.S: Likewise.
22513 * powerpc/powerpc32/elf/start.S: Likewise.
22514 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22515 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22516 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22517 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22518 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22519 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22520 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22521 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22522 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22523 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22524 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22525 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22526 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22527 * powerpc/powerpc32/memset.S: Likewise.
22528 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22529 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22530 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22531 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22532 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22533 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22534 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22535 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22536 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22537 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22538 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22539 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22540 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22542 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22544 * math/libm-test.inc: Added more nearbyint tests.
22545 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22546 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22547 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22548 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22550 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22552 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22555 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22557 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22558 Add wcscpy-ssse3 wcscpy-c.
22559 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22560 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22561 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22562 * sysdeps/x86_64/wcschr.S: New file.
22563 * sysdeps/x86_64/wcsrchr.S: New file.
22564 * string/test-strcmp.c: Remove checking of wcscmp function for
22566 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22567 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22568 wcsrchr-sse2 wcsrchr-c.
22569 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22570 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22571 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22572 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22573 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22574 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22575 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22576 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22577 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22578 * wcsmbc/wcschr.c (WCSCHR): New macro.
22580 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22582 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22583 * wcsmbs/test-wcsrchr.c: New file.
22584 * string/test-strrchr.c: Add wcsrchr support.
22586 * wcsmbs/test-wcscpy.c: New file.
22587 * string/test-strcpy.c: Add wcscpy support.
22590 2011-12-10 Ulrich Drepper <drepper@gmail.com>
22592 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22595 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22598 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22600 2011-12-04 Ulrich Drepper <drepper@gmail.com>
22602 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
22603 Minor optimizations.
22605 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22606 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22607 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22609 2011-12-03 Ulrich Drepper <drepper@gmail.com>
22611 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22612 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22613 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22614 for gcc to avoid warnings.
22615 * inet/Makefile (tests): Add tst-checks.
22616 * inet/tst-checks.c: New file.
22618 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22621 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22624 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22625 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22627 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22629 2011-12-02 Ulrich Drepper <drepper@gmail.com>
22631 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22634 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22636 2011-11-29 Joseph Myers <joseph@codesourcery.com>
22638 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22639 conditional on GCC version.
22640 (__arch_compare_and_exchange_val_8_acq)
22641 (__arch_compare_and_exchange_val_16_acq)
22642 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22643 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22644 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22646 2011-12-02 Joseph Myers <joseph@codesourcery.com>
22648 * sysdeps/sh/backtrace.c: New file.
22650 2011-12-02 Andreas Schwab <schwab@redhat.com>
22652 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22655 2011-12-01 Andreas Schwab <schwab@redhat.com>
22657 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22658 falling back to utime.
22660 2011-11-30 Andreas Schwab <schwab@redhat.com>
22662 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22663 expectations for float.
22665 2011-11-29 Andreas Schwab <schwab@redhat.com>
22667 * locale/weight.h (findidx): Add parameter len.
22668 * locale/weightwc.h (findidx): Likewise.
22669 * posix/fnmatch_loop.c (FCT): Adjust caller.
22670 * posix/regcomp.c (build_equiv_class): Likewise.
22671 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22672 * posix/regexec.c (check_node_accept_bytes): Likewise.
22673 * string/strcoll_l.c (STRCOLL): Likewise.
22674 * string/strxfrm_l.c (STRXFRM): Likewise.
22676 2011-11-17 Ulrich Drepper <drepper@gmail.com>
22678 * Makefile.in: Remove CVSOPT handling.
22679 * configure.in: Remove use of AC_REVISION.
22680 * iconvdata/Makefile (distribute): No need to filter out CVS.
22681 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22684 2011-11-16 Andreas Schwab <schwab@redhat.com>
22686 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22687 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22688 [USE_AS_STRNCASECMP_L]: Likewise.
22689 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22690 NO_TLS_DIRECT_SEG_REFS.
22691 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22692 Fix argument offsets for non-PIC.
22693 [USE_AS_STRNCASECMP_L]: Likewise.
22694 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22695 NO_TLS_DIRECT_SEG_REFS.
22697 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22699 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22701 * locale/loadlocale.c (_nl_load_locale): Likewise.
22703 2011-11-15 Andreas Schwab <schwab@redhat.com>
22705 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22706 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22707 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22708 (SYSCALL_GETTIME): Set errno on error.
22710 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22711 count references to noai6ai_cached.
22713 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22715 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22717 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22718 FD_CLOEXEC for /proc/self/maps.
22720 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22721 FD_CLOEXEC for /proc/meminfo.
22723 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22726 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22727 FD_CLOEXEC for given file.
22729 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22731 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22732 FD_CLOEXEC for /etc/hosts.
22733 (_gethtent): Likewise.
22735 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22737 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22738 cancellation and set FD_CLOEXEC for /etc/netgroup.
22740 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22741 reading /etc/publickey.
22743 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22744 allow cancellation when reading /etc/group.
22746 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22748 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22750 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22751 when using data file.
22753 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22755 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22756 (write_nis_obj): Use "c" and "e" in fopen.
22758 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22760 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22762 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22764 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22766 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22769 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22771 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22773 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22775 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22776 file parsing and set FD_CLOEXEC.
22778 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22780 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22782 2011-11-14 Andreas Schwab <schwab@redhat.com>
22784 * malloc/arena.c (arena_get2): Don't call reused_arena when
22785 _int_new_arena failed.
22787 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22789 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22790 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22791 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22792 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22793 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22794 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22795 to compile strcasecmp and strncasecmp.
22796 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22797 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22799 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22801 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22803 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22804 locale-defines.sym to gen-as-const-headers.
22805 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22806 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22807 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22808 to compile strcasecmp and strncasecmp.
22809 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22810 strcasecmp_l and strncasecmp_l.
22811 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22812 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22813 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22814 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22815 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22816 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22817 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22818 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22819 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22820 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22821 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22823 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22825 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22826 result of SYSDEP_GETTIME_CPU to retval.
22827 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22828 parameter list to macro. Remove trailing semicolon. Adjust users.
22830 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22833 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22835 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22837 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22838 from unused variable.
22840 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22842 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22845 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22848 * sunrpc/rpc_prot.c (rejected): Fix case value.
22850 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22851 unsigned long long int to avoid warnings in shift.
22853 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22855 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22858 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22859 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22860 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22862 * nis/nis_table.c (nis_list): Use variable of correct type for
22863 result of __follow_path call.
22865 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22867 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22868 of math functions ceil, trunc, floor, round, and sqrt, when
22869 avaliable on the platform.
22870 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22872 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22873 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22874 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22876 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22878 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22879 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22881 2011-11-11 Roland McGrath <roland@hack.frob.com>
22883 * include/unistd.h: Fix __readlink return type.
22884 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22886 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22888 * stdlib/ucontext.h: Undo last change for makecontext.
22890 2011-11-11 Andreas Schwab <schwab@redhat.com>
22892 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22894 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22895 * setjmp/setjmp.h: Mark functions as non-leaf.
22896 * setjmp/bits/setjmp2.h: Likewise.
22897 * stdlib/ucontext.h: Likewise.
22899 2011-11-10 Andreas Schwab <schwab@redhat.com>
22901 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22902 (reused_arena): Don't check arena limit.
22903 (arena_get2): Atomically check arena limit.
22905 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22907 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22908 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22910 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22913 2011-11-07 Andreas Schwab <schwab@redhat.com>
22915 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22916 handler when locking.
22918 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22919 Fix size of allocated buffer.
22921 2011-11-04 Andreas Schwab <schwab@redhat.com>
22924 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22925 declarations for long double functions.
22926 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22928 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22930 2011-11-03 Andreas Schwab <schwab@redhat.com>
22932 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22935 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22938 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22940 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22942 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22944 * include/alloca.h (stackinfo_alloca_round): Define.
22945 (extend_alloca): Use it.
22946 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22947 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22950 * scripts/check-local-headers.sh: Ignore libaudit.h.
22952 * nscd/Makefile (extra-objs): Make recursively expanded.
22954 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22956 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22957 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22959 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22960 * posix/tst-rfc3484-2.c: Likewise.
22961 * posix/tst-rfc3484-3.c: Likewise.
22963 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22965 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22967 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22968 process_vm_writev from libc using GLIBC_2.15 version.
22970 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22972 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22974 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22977 2011-10-31 Ulrich Drepper <drepper@gmail.com>
22980 * nss/getent.c (initgroups_keys): Show error message in case no group
22983 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22984 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22985 __bump_nl_timestamp.
22986 * nscd/connections (nscd_init): When host database is served open
22987 netlink socket and request notification about configuration changes.
22988 (main_loop_poll): Track netlink file descriptor and bump timestamp
22989 in case data becomes available.
22990 (main_loop_epoll): Likewise.
22991 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22992 (database_pers_head): Add extra_data fileds.
22993 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22994 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22995 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22997 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22998 in6ai data, call __free_in6ai.
22999 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
23000 Add -DHAVE_NETLINK.
23001 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
23002 interface information. Reuse previous data if netlink timestamp
23004 (__bump_nl_timestamp): New function.
23005 (__free_in6ai): New function.
23007 2011-10-30 Ulrich Drepper <drepper@gmail.com>
23009 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23010 close_not_cancel_no_status here.
23011 (__check_pf): Reorganize code a bit to not call close twice if OOM.
23013 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23016 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23019 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
23020 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23021 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23023 2011-07-03 Andreas Jaeger <aj@suse.de>
23026 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23027 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23028 * math/libm-test.inc (sin_test): Add test case.
23030 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23033 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23034 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23036 * elf/chroot_canon.c (chroot_canon): Cleanups.
23038 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23041 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23042 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23044 * string/test-strchr.c: Make usable for strchrnul testing.
23045 * string/test-strchrnul.c: New file.
23046 * string/Makefile (strop-tests): Add strchrnul.
23048 * po/it.po: Update from translation team.
23049 * po/es.po: Likewise.
23051 2011-10-28 Ulrich Drepper <drepper@gmail.com>
23053 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23054 the three constants needed as parameters. Drop the others.
23055 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23056 __m128i_strloadu_tolower.
23057 Create and initialize variable zero and use it in all the places
23058 where _mm_setzero_si128 was used.
23060 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23061 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23062 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23063 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23065 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23066 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23067 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23068 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23069 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23070 __mpranred, __mptan.
23071 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23072 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23073 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23074 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23075 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23076 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23077 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23078 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23079 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23081 2011-10-28 Andreas Schwab <schwab@redhat.com>
23083 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23084 redefine if SHARED.
23085 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23087 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23088 wide char related routines to wcsmbs subdir.
23090 2011-10-27 Andreas Schwab <schwab@redhat.com>
23093 * misc/sys/cdefs.h (__THROWNL): Define.
23094 * posix/unistd.h: Use __THREADNL instead of __THREAD
23095 for memory synchronization functions.
23097 2011-10-26 Roland McGrath <roland@hack.frob.com>
23100 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23102 * manual/stdio.texi (Obstack Streams): Node removed.
23104 2011-10-26 Andreas Schwab <schwab@redhat.com>
23106 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23107 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23108 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23110 * math/math_private.h (math_force_eval): Allow non-addressable
23112 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23114 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23116 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23117 file is not needed.
23119 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23120 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23121 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23122 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23123 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23124 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23125 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23126 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23128 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23129 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23130 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23131 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23132 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23133 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23134 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23135 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23136 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23137 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23138 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23139 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23140 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23141 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23142 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23143 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23144 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23145 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23146 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23148 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23149 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23151 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23152 place. Use VEX encoding when compiling for AVX.
23154 2011-10-25 Andreas Schwab <schwab@redhat.com>
23156 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23157 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23159 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23161 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23163 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
23164 useless if() expression.
23165 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23166 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23167 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23168 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23169 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23170 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23171 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23172 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23173 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23174 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23175 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23176 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23177 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23178 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23179 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23180 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23181 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23182 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23183 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23185 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23187 2011-10-25 Andreas Schwab <schwab@redhat.com>
23189 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23191 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23193 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23195 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23196 .text section. Avoid duplicate constants.
23197 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23198 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23199 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23200 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23201 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23202 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23203 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23204 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23206 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23207 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23208 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23209 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23210 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23211 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23212 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23213 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23214 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23215 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23216 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23217 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23218 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23219 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23220 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23221 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23222 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23223 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23224 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23225 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23226 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23227 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23228 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23229 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23230 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23231 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23232 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23233 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23234 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23235 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23236 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23237 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23238 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23239 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23240 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23241 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23243 2011-10-24 Ulrich Drepper <drepper@gmail.com>
23245 * sysdeps/x86_64/dla.h: Move to ...
23246 * sysdeps/x86_64/fpu/dla.h: ...here.
23247 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23248 situations. Use __builtin_fma only for gcc 4.6 and up.
23250 * config.make.in: Add have-mfma4 entry.
23251 * configure.in: Substitute libc_cv_cc_fma4.
23252 * math/Makefile (dbl-only-routines): Add sincostab.
23253 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23254 Use __sincostab not sincos.
23255 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23257 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23258 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23259 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23260 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23262 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23263 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23264 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23265 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23267 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23268 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23270 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23271 define aliases when function name is a macro.
23272 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23273 sysdeps/ieee754/dbl-64/sincos.tbl.
23274 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23275 fma4-enabled routines.
23276 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23277 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23278 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23279 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23280 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23281 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23282 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23283 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23284 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23285 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23286 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23287 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23288 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23289 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23290 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23291 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23292 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23293 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23294 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23295 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23296 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23297 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23298 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23299 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23300 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23301 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23302 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23303 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23304 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23305 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23307 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23309 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23310 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23311 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23312 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23313 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23314 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23315 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23318 2011-10-24 Andreas Schwab <schwab@redhat.com>
23320 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23322 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23324 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23326 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23328 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23330 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23331 Remove unused variable magic_bits.
23332 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23334 * string/strnlen.c: Define and use STRNLEN macro.
23335 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23336 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23337 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23338 * wcsmbs/wcslen.c: Define and use WCSLEN.
23339 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23340 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23341 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23342 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23343 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23344 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23345 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23347 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23349 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23350 strnlen-sse2-no-bsf.
23351 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23352 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23353 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23354 Add strnlen support.
23355 (USE_AS_STRNLEN): New macro.
23356 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23357 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23358 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23359 * sysdeps/x86_64/wcslen.S: New file.
23361 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23363 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23364 XMM-moves are used for copying on small sizes.
23366 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23368 * wcsmbs/Makefile (strop-tests): Add wcschr.
23369 * wcsmbs/test-wcschr.c: New file.
23370 * string/test-strchr.c: Update.
23371 Add wcschr support.
23374 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23376 * wcsmbs/Makefile (strop-tests): Add wcslen.
23377 * wcsmbs/test-wcslen.c: New file.
23378 * string/test-strlen.c: Update.
23379 Add wcslen support.
23382 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23384 * po/it.po: Update from translation team.
23386 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23388 * sysdeps/x86_64/wcscmp.S: Update.
23389 Fix wrong comparison semantics.
23390 wcscmp shall use signed comparison not unsigned.
23391 Don't use substraction to avoid overflow bug.
23392 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23393 * wcsmbc/wcscmp.c: Likewise.
23394 * string/test-strcmp.c: Likewise.
23395 Add new tests to check cases with negative values.
23397 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23399 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23400 * sysdeps/x86_64/dla.h: ...here. New file.
23401 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23402 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23403 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23404 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23405 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23406 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23407 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23408 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23409 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23411 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23413 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23414 __ynl_finite aliases.
23416 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23420 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23422 [DLA_FMA] (EMULV): Use DLA_FMA.
23423 [DLA_FMA] (MUL12): Use EMULV.
23424 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23425 that are not needed.
23426 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23427 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23428 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23429 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23430 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23431 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23432 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23434 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23436 * math/s_nan.c: Undef __nan.
23437 * math/s_nanf.c: Undef __nanf.
23438 * math/s_nanl.c: Undef __nanl.
23439 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23442 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23444 * math/s_catan.c: Add branch predictions.
23445 * math/s_catanf.c: Likewise.
23446 * math/s_catanh.c: Likewise.
23447 * math/s_catanhf.c: Likewise.
23448 * math/s_catanhl.c: Likewise.
23449 * math/s_catanl.c: Likewise.
23450 * math/s_cexp.c: Likewise.
23451 * math/s_cexpf.c: Likewise.
23452 * math/s_cexpl.c: Likewise.
23453 * math/s_clog.c: Likewise.
23454 * math/s_clog10.c: Likewise.
23455 * math/s_clog10f.c: Likewise.
23456 * math/s_clog10l.c: Likewise.
23457 * math/s_clogf.c: Likewise.
23458 * math/s_clogl.c: Likewise.
23459 * math/s_csqrt.c: Likewise.
23460 * math/s_csqrtf.c: Likewise.
23461 * math/s_csqrtl.c: Likewise.
23462 * math/s_ctanf.c: Likewise.
23463 * math/s_ctanh.c: Likewise.
23464 * math/s_ctanhf.c: Likewise.
23465 * math/s_ctanhl.c: Likewise.
23466 * math/s_ctanl.c: Likewise.
23468 * math/math_private.h: Define __nan, __nanf, __nanl.
23469 * math/s_cacosh.c: Include <math_private.h>.
23470 * math/s_cacoshl.c: Likewise.
23471 * math/s_casinh.c: Likewise.
23472 * math/s_casinhf.c: Likewise.
23473 * math/s_casinhl.c: Likewise.
23474 * math/s_ccos.c: Rely entire on ccosh.
23475 * math/s_ccosf.c: Rely entire on ccoshf.
23476 * math/s_ccosl.c: Rely entirely on ccoshl.
23477 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23478 Remove tests for FE_INVALID.
23479 * math/s_ccoshf.c: Likewise.
23480 * math/s_ccoshl.c: Likewise.
23481 * math/s_csin.c: Likewise.
23482 * math/s_csinf.c: Likewise.
23483 * math/s_csinh.c Likewise.
23484 * math/s_csinhf.c: Likewise.
23485 * math/s_csinhl.c: Likewise.
23486 * math/s_csinl.c: Likewise.
23487 * math/s_ctan.c: Likewise.
23488 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23489 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23490 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23492 2011-10-21 Ulrich Drepper <drepper@gmail.com>
23494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23495 compilation problems.
23497 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23500 2011-10-20 Ulrich Drepper <drepper@gmail.com>
23502 * sysdeps/i386/configure.in: Test for -mfma4 option.
23503 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23504 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23505 COMMON_CPUID_INDEX_80000001.
23506 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23507 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23508 use it if FMA3 is not supported.
23509 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23511 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23512 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23514 2011-10-20 Andreas Schwab <schwab@redhat.com>
23517 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23518 it would create a cycle with a link time dependency.
23520 2011-10-19 Ulrich Drepper <drepper@gmail.com>
23522 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23524 * string/Makefile (strop-tests): Add rawmemchr.
23525 * string/test-rawmemchr.c: New file.
23527 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23528 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23529 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23530 when compiling str{,n}casecmp and when AVX is available. Hook up
23531 new optimized code in initializers.
23533 2011-10-19 Andreas Schwab <schwab@redhat.com>
23535 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23536 __feraiseexcept instead of feraiseexcept.
23538 2011-10-18 Ulrich Drepper <drepper@gmail.com>
23540 * math/math_private.h: Define defaults for libc_fetestexcept and
23542 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23543 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23544 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23545 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23546 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23547 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23548 libc_fetestexcept and libc_feupdateenv.
23550 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23551 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23552 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23553 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23554 libc_feholdexcept_setround.
23556 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23557 Add s_nearbyint-c and s_nearbyintf-c.
23558 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23559 nearbyintf inlines.
23560 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23561 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23562 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23563 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23565 * math/math_private.h: Define defaults for libc_fegetround,
23566 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23567 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23568 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23569 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23570 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23571 standard functions.
23572 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23573 Remove comments and hacks for old compiler versions.
23574 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23575 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23576 libc_feholdexceptl.
23578 2011-10-18 Andreas Schwab <schwab@redhat.com>
23580 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
23581 (__feraiseexcept_renamed): Add __NTH.
23582 (feraiseexcept): Add __NTH. Rename local variables to fix
23583 namespace violations.
23585 2011-10-17 Ulrich Drepper <drepper@gmail.com>
23587 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23589 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23591 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23592 recently added interfaces.
23593 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23595 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23596 about macro parameter expansion.
23598 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23599 __NO_MATH_INLINES is defined. Cleanups.
23601 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23602 and __floorf is target has SSE4.1.
23603 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23604 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23605 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23606 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23608 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23610 (floorf): Likewise.
23612 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23614 2011-10-17 Andreas Schwab <schwab@redhat.com>
23616 * misc/sys/cdefs.h: Fix last change.
23618 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23621 2011-10-16 Ulrich Drepper <drepper@gmail.com>
23623 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23625 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23626 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23627 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23628 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23629 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23630 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23631 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23632 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23633 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23634 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23635 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23636 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23637 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23638 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23639 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23640 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23641 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23642 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23643 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23644 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23645 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23646 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23648 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23649 ceil, ceilf, floor, floorf.
23651 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23652 Perform IRELATIVE relocations last.
23654 * elf/do-rel.h: Add another parameter nrelative, replacing the
23655 local variable with the same name. Change name of the function
23656 to end in Rel or Rela (uppercase).
23657 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23658 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23659 elf_dynamic_do_##reloc function.
23661 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23663 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23664 is sufficient, at least on modern CPUs.
23666 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23668 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23669 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23671 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23673 * math/bits/math-finite.h: Add entries for exp.
23674 * math/e_expl.c: Add __*_finite alias.
23675 * sysdeps/i386/fpu/e_exp.S: Likewise.
23676 * sysdeps/i386/fpu/e_expf.S: Likewise.
23677 * sysdeps/i386/fpu/e_expl.c: Likewise.
23678 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23679 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23680 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23681 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23682 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23683 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23684 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23686 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23687 is sufficient, at least on modern CPUs.
23689 * ctype/ctype-info.c (__ctype_init): Define.
23690 * include/ctype.h (__ctype_init): Declare.
23691 (__ctype_b_loc): The variable is always initialized.
23692 (__ctype_toupper_loc): Likewise.
23693 (__ctype_tolower_loc): Likewise.
23694 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23695 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23697 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23699 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23701 * configure.in: Also look in $cxxmachine/include for C++ system
23704 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23706 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23707 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23708 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23709 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23710 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23711 (USE_AS_WMEMCMP): New macro.
23713 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23714 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23715 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23716 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23717 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23718 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23719 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23720 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23721 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23722 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23723 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23724 (USE_AS_WMEMCMP): New macro.
23725 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23726 * sysdeps/string/test-memcmp.c: Update.
23727 Fix simple_wmemcmp.
23729 * wcsmbs/wmemcmp.c: Update.
23730 (WMEMCMP): New macro.
23733 2011-10-12 Andreas Jaeger <aj@suse.de>
23736 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23738 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23740 * libio/iofwide.c (do_length): Avoid warning.
23742 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23744 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23746 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23748 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23749 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23750 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23751 * sysdeps/i386/i686/fpu/e_log.S: New file.
23752 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23753 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23755 * ctype/ctype.h: Add support for inlined isXXX functions when
23756 compiling C++ code.
23758 2011-10-14 Andreas Schwab <schwab@redhat.com>
23760 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23762 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23764 2011-10-13 Roland McGrath <roland@hack.frob.com>
23767 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23769 2011-10-13 Andreas Schwab <schwab@redhat.com>
23771 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23772 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23775 * sysdeps/x86_64/memrchr.S: Check for zero size.
23777 * string/stratcliff.c: Add memrchr tests.
23779 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23781 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23782 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23783 rawmemchr-sse2 rawmemchr-sse2-bsf.
23784 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23785 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23786 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23787 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23788 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23789 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23790 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23791 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23792 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23793 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23794 * string/memrchr.c (MEMRCHR): New macro.
23796 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23798 Add integration with gcc's -ffinite-math-only and optimize wrapper
23800 * Versions.def: Define GLIBC_2.15 version for libm.
23801 * math/Makefile (headers): Add bits/math-finite.h.
23802 * math/bits/math-finite.h: New file.
23803 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23804 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23805 * math/e_acoshl.c: Add __*_finite alias.
23806 * math/e_acosl.c: Likewise.
23807 * math/e_asinl.c: Likewise.
23808 * math/e_atan2l.c: Likewise.
23809 * math/e_atanhl.c: Likewise.
23810 * math/e_coshl.c: Likewise.
23811 * math/e_exp10.c: Likewise.
23812 * math/e_exp10f.c: Likewise.
23813 * math/e_exp10l.c: Likewise.
23814 * math/e_exp2l.c: Likewise.
23815 * math/e_fmodl.c: Likewise.
23816 * math/e_gammal_r.c: Likewise.
23817 * math/e_hypotl.c: Likewise.
23818 * math/e_j0l.c: Likewise.
23819 * math/e_j1l.c: Likewise.
23820 * math/e_jnl.c: Likewise.
23821 * math/e_lgammal_r.c: Likewise.
23822 * math/e_log10l.c: Likewise.
23823 * math/e_log2l.c: Likewise.
23824 * math/e_logl.c: Likewise.
23825 * math/e_powl.c: Likewise.
23826 * math/e_sinhl.c: Likewise.
23827 * math/e_sqrtl.c: Likewise.
23828 * math/e_scalb.c: Completely rewritten and optimized.
23829 * math/e_scalbf.c: Likewise.
23830 * math/e_scalbl.c: Likewise.
23831 * math/w_acos.c: Likewise.
23832 * math/w_acosf.c: Likewise.
23833 * math/w_acosl.c: Likewise.
23834 * math/w_acosh.c: Likewise.
23835 * math/w_acoshf.c: Likewise.
23836 * math/w_acoshl.c: Likewise.
23837 * math/w_asin.c: Likewise.
23838 * math/w_asinf.c: Likewise.
23839 * math/w_asinl.c: Likewise.
23840 * math/w_atan2.c: Likewise.
23841 * math/w_atan2f.c: Likewise.
23842 * math/w_atan2l.c: Likewise.
23843 * math/w_atanh.c: Likewise.
23844 * math/w_atanhf.c: Likewise.
23845 * math/w_atanhl.c: Likewise.
23846 * math/w_exp10.c: Likewise.
23847 * math/w_exp10f.c: Likewise.
23848 * math/w_exp10l.c: Likewise.
23849 * math/w_fmod.c: Likewise.
23850 * math/w_fmodf.c: Likewise.
23851 * math/w_fmodl.c: Likewise.
23852 * math/w_j0.c: Likewise.
23853 * math/w_j0f.c: Likewise.
23854 * math/w_j0l.c: Likewise.
23855 * math/w_j1.c: Likewise.
23856 * math/w_j1f.c: Likewise.
23857 * math/w_j1l.c: Likewise.
23858 * math/w_jn.c: Likewise.
23859 * math/w_jnf.c: Likewise.
23860 * math/w_log.c: Likewise.
23861 * math/w_logf.c: Likewise.
23862 * math/w_logl.c: Likewise.
23863 * math/w_log10.c: Likewise.
23864 * math/w_log10f.c: Likewise.
23865 * math/w_log10l.c: Likewise.
23866 * math/w_log2.c: Likewise.
23867 * math/w_log2f.c: Likewise.
23868 * math/w_log2l.c: Likewise.
23869 * math/w_pow.c: Likewise.
23870 * math/w_powf.c: Likewise.
23871 * math/w_powl.c: Likewise.
23872 * math/w_remainder.c: Likewise.
23873 * math/w_remainderf.c: Likewise.
23874 * math/w_remainderl.c: Likewise.
23875 * math/w_scalb.c: Likewise.
23876 * math/w_scalbf.c: Likewise.
23877 * math/w_scalbl.c: Likewise.
23878 * math/w_sqrt.c: Likewise.
23879 * math/w_sqrtf.c: Likewise.
23880 * math/w_sqrtl.c: Likewise.
23881 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23882 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23884 * math/math_private.h: Declare __kernel_standard_f.
23885 * math/w_cosh.c: Remove cruft and optimize a bit.
23886 * math/w_coshf.c: Likewise.
23887 * math/w_coshl.c: Likewise.
23888 * math/w_exp2.c: Likewise.
23889 * math/w_exp2f.c: Likewise.
23890 * math/w_exp2l.c: Likewise.
23891 * math/w_hypot.c: Likewise.
23892 * math/w_hypotf.c: Likewise.
23893 * math/w_hypotl.c: Likewise.
23894 * math/w_lgamma.c: Likewise.
23895 * math/w_lgamma_r.c: Likewise.
23896 * math/w_lgammaf.c: Likewise.
23897 * math/w_lgammaf_r.c: Likewise.
23898 * math/w_lgammal.c: Likewise.
23899 * math/w_lgammal_r.c: Likewise.
23900 * math/w_sinh.c: Likewise.
23901 * math/w_sinhf.c: Likewise.
23902 * math/w_sinhl.c: Likewise.
23903 * math/w_tgamma.c: Likewise.
23904 * math/w_tgammaf.c: Likewise.
23905 * math/w_tgammal.c: Likewise.
23906 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23907 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23908 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23909 Minor optimizations. Pretty printing. Remove cruft.
23910 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23911 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23912 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23913 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23914 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23915 * sysdeps/i386/fpu/e_asin.S: Likewise.
23916 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23917 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23918 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23919 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23920 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23921 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23922 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23923 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23924 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23925 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23926 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23927 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23928 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23929 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23930 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23931 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23932 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23933 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23934 * sysdeps/i386/fpu/e_log.S: Likewise.
23935 * sysdeps/i386/fpu/e_log10.S: Likewise.
23936 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23937 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23938 * sysdeps/i386/fpu/e_log2.S: Likewise.
23939 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23940 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23941 * sysdeps/i386/fpu/e_logf.S: Likewise.
23942 * sysdeps/i386/fpu/e_logl.S: Likewise.
23943 * sysdeps/i386/fpu/e_pow.S: Likewise.
23944 * sysdeps/i386/fpu/e_powf.S: Likewise.
23945 * sysdeps/i386/fpu/e_powl.S: Likewise.
23946 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23947 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23948 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23949 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23950 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23951 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23952 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23953 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23954 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23955 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23956 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23957 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23958 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23959 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23960 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23961 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23962 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23963 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23964 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23965 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23966 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23967 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23968 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23969 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23970 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23971 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23972 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23973 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23974 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23975 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23976 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23977 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23978 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23979 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23980 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23981 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23982 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23983 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23984 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23985 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23986 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23987 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23988 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23989 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23990 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23991 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23992 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23993 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23994 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23995 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23996 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23997 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23998 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23999 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24000 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24001 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24002 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24003 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24004 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24005 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24006 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24007 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24008 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24009 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24010 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24011 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24012 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24013 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24014 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24015 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24016 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24017 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24018 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24019 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24020 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24021 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24022 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24023 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24024 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24025 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24026 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24027 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24028 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24029 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24030 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24031 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24032 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24033 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24034 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24035 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24036 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24037 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24038 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24039 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24040 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24041 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24042 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24043 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24044 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24045 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24046 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24047 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24048 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24049 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24050 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24051 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24052 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24053 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24054 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24055 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24056 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24057 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24058 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24059 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24060 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24061 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24062 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24063 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24064 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24065 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24066 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24067 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24068 (__isnanf): Likewise.
24069 (__isinf_ns): Likewise.
24070 (__isinf_nsf): Likewise.
24071 (__finite): Likewise.
24072 (__finitef): Likewise.
24073 (__ieee754_sqrt): Define as macro.
24074 (__ieee754_sqrtf): Define as macro.
24075 (__ieee754_sqrtl): Define as macro.
24076 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24078 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24079 __FINITE_MATH_ONLY__ consistent.
24080 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24082 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24084 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24087 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24089 2011-10-09 Ulrich Drepper <drepper@gmail.com>
24091 * po/ja.po: Update from translation team.
24093 2011-10-08 Roland McGrath <roland@hack.frob.com>
24095 * locale/programs/locarchive.c (prepare_address_space): New function.
24096 (create_archive, enlarge_archive, open_archive): Use it.
24098 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24099 inside [SHARED], where it is used.
24101 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24103 * nss/getent.c (netgroup_keys): Remove unused variable.
24104 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24106 2011-10-08 Ulrich Drepper <drepper@gmail.com>
24108 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24109 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24110 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24111 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24112 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24113 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24114 * math/Makefile (libm-calls): Add s_isinf_ns.
24115 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24116 * math/multc3.c: Likewise.
24117 * math/s_casin.c: Likewise.
24118 * math/s_casinf.c: Likewise.
24119 * math/s_casinl.c: Likewise.
24120 * math/s_ccos.c: Likewise.
24121 * math/s_ccosf.c: Likewise.
24122 * math/s_ccosl.c: Likewise.
24123 * math/s_ctan.c: Likewise.
24124 * math/s_ctanf.c: Likewise.
24125 * math/s_ctanh.c: Likewise.
24126 * math/s_ctanhf.c: Likewise.
24127 * math/s_ctanhl.c: Likewise.
24128 * math/s_ctanl.c: Likewise.
24129 * math/w_fmod.c: Likewise.
24130 * math/w_fmodf.c: Likewise.
24131 * math/w_fmodl.c: Likewise.
24132 * math/w_remainder.c: Likewise.
24133 * math/w_remainderf.c: Likewise.
24134 * math/w_remainderl.c: Likewise.
24135 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24136 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24137 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24138 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24139 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24140 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24141 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24142 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24144 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24146 * stdio-common/printf_fphex.c: Likewise.
24147 * stdio-common/printf_size.c: Likewise.
24149 * math/e_exp10.c: Include math_private.h using <...> not "...".
24150 * math/e_exp10f.c: Likewise.
24151 * math/e_exp10l.c: Likewise.
24152 * math/e_exp2l.c: Likewise.
24153 * math/e_j0l.c: Likewise.
24154 * math/e_j1l.c: Likewise.
24155 * math/e_jnl.c: Likewise.
24156 * math/e_lgammal_r.c: Likewise.
24157 * math/e_rem_pio2l.c: Likewise.
24158 * math/e_scalb.c: Likewise.
24159 * math/e_scalbf.c: Likewise.
24160 * math/e_scalbl.c: Likewise.
24161 * math/k_cosl.c: Likewise.
24162 * math/k_sinl.c: Likewise.
24163 * math/k_tanl.c: Likewise.
24164 * math/s_cacoshf.c: Likewise.
24165 * math/s_catan.c: Likewise.
24166 * math/s_catanf.c: Likewise.
24167 * math/s_catanh.c: Likewise.
24168 * math/s_catanhf.c: Likewise.
24169 * math/s_catanhl.c: Likewise.
24170 * math/s_catanl.c: Likewise.
24171 * math/s_ccosh.c: Likewise.
24172 * math/s_ccoshf.c: Likewise.
24173 * math/s_ccoshl.c: Likewise.
24174 * math/s_cexp.c: Likewise.
24175 * math/s_cexpf.c: Likewise.
24176 * math/s_cexpl.c: Likewise.
24177 * math/s_clog.c: Likewise.
24178 * math/s_clog10.c: Likewise.
24179 * math/s_clog10f.c: Likewise.
24180 * math/s_clog10l.c: Likewise.
24181 * math/s_clogf.c: Likewise.
24182 * math/s_clogl.c: Likewise.
24183 * math/s_csin.c: Likewise.
24184 * math/s_csinf.c: Likewise.
24185 * math/s_csinh.c: Likewise.
24186 * math/s_csinhf.c: Likewise.
24187 * math/s_csinhl.c: Likewise.
24188 * math/s_csinl.c: Likewise.
24189 * math/s_csqrt.c: Likewise.
24190 * math/s_csqrtf.c: Likewise.
24191 * math/s_csqrtl.c: Likewise.
24192 * math/s_ctan.c: Likewise.
24193 * math/s_ctanf.c: Likewise.
24194 * math/s_ctanh.c: Likewise.
24195 * math/s_ctanhf.c: Likewise.
24196 * math/s_ctanhl.c: Likewise.
24197 * math/s_ctanl.c: Likewise.
24198 * math/s_ldexp.c: Likewise.
24199 * math/s_ldexpf.c: Likewise.
24200 * math/s_ldexpl.c: Likewise.
24201 * math/s_significand.c: Likewise.
24202 * math/s_significandf.c: Likewise.
24203 * math/s_significandl.c: Likewise.
24204 * math/w_acos.c: Likewise.
24205 * math/w_acosf.c: Likewise.
24206 * math/w_acosh.c: Likewise.
24207 * math/w_acoshf.c: Likewise.
24208 * math/w_acoshl.c: Likewise.
24209 * math/w_acosl.c: Likewise.
24210 * math/w_asin.c: Likewise.
24211 * math/w_asinf.c: Likewise.
24212 * math/w_asinl.c: Likewise.
24213 * math/w_atan2.c: Likewise.
24214 * math/w_atan2f.c: Likewise.
24215 * math/w_atan2l.c: Likewise.
24216 * math/w_atanh.c: Likewise.
24217 * math/w_atanhf.c: Likewise.
24218 * math/w_atanhl.c: Likewise.
24219 * math/w_cosh.c: Likewise.
24220 * math/w_coshf.c: Likewise.
24221 * math/w_coshl.c: Likewise.
24222 * math/w_dremf.c: Likewise.
24223 * math/w_exp10.c: Likewise.
24224 * math/w_exp10f.c: Likewise.
24225 * math/w_exp10l.c: Likewise.
24226 * math/w_exp2.c: Likewise.
24227 * math/w_exp2f.c: Likewise.
24228 * math/w_fmod.c: Likewise.
24229 * math/w_fmodf.c: Likewise.
24230 * math/w_fmodl.c: Likewise.
24231 * math/w_hypot.c: Likewise.
24232 * math/w_hypotf.c: Likewise.
24233 * math/w_hypotl.c: Likewise.
24234 * math/w_j0.c: Likewise.
24235 * math/w_j0f.c: Likewise.
24236 * math/w_j0l.c: Likewise.
24237 * math/w_j1.c: Likewise.
24238 * math/w_j1f.c: Likewise.
24239 * math/w_j1l.c: Likewise.
24240 * math/w_jn.c: Likewise.
24241 * math/w_jnf.c: Likewise.
24242 * math/w_jnl.c: Likewise.
24243 * math/w_lgamma.c: Likewise.
24244 * math/w_lgamma_r.c: Likewise.
24245 * math/w_lgammaf.c: Likewise.
24246 * math/w_lgammaf_r.c: Likewise.
24247 * math/w_lgammal.c: Likewise.
24248 * math/w_lgammal_r.c: Likewise.
24249 * math/w_log.c: Likewise.
24250 * math/w_log10.c: Likewise.
24251 * math/w_log10f.c: Likewise.
24252 * math/w_log10l.c: Likewise.
24253 * math/w_log2.c: Likewise.
24254 * math/w_log2f.c: Likewise.
24255 * math/w_log2l.c: Likewise.
24256 * math/w_logf.c: Likewise.
24257 * math/w_logl.c: Likewise.
24258 * math/w_pow.c: Likewise.
24259 * math/w_powf.c: Likewise.
24260 * math/w_powl.c: Likewise.
24261 * math/w_remainder.c: Likewise.
24262 * math/w_remainderf.c: Likewise.
24263 * math/w_remainderl.c: Likewise.
24264 * math/w_scalb.c: Likewise.
24265 * math/w_scalbf.c: Likewise.
24266 * math/w_scalbl.c: Likewise.
24267 * math/w_sinh.c: Likewise.
24268 * math/w_sinhf.c: Likewise.
24269 * math/w_sinhl.c: Likewise.
24270 * math/w_sqrt.c: Likewise.
24271 * math/w_sqrtf.c: Likewise.
24272 * math/w_sqrtl.c: Likewise.
24273 * math/w_tgamma.c: Likewise.
24274 * math/w_tgammaf.c: Likewise.
24275 * math/w_tgammal.c: Likewise.
24277 * po/ja.po: Update from translation team.
24279 2011-09-29 Andreas Jaeger <aj@suse.de>
24282 * sunrpc/netname.c (netname2host): Fix logic.
24286 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24288 * math/w_remainder.c (__remainder): Likewise.
24289 * math/w_remainderf.c (__remainderf): Likewise.
24290 * math/libm-test.inc (remainder_test): Add test cases.
24292 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24294 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24297 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24299 * string/test-memcmp.c: Avoid unncessary #defines.
24300 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24302 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24304 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24305 Use new sse2 version for core i3 - i7 as it's faster
24306 than sse42 version.
24307 (bit_Prefer_PMINUB_for_stringop): New.
24308 * sysdeps/x86_64/rawmemchr.S: Update.
24309 Replace with faster SSE2 version.
24310 * sysdeps/x86_64/memrchr.S: New file.
24311 * sysdeps/x86_64/memchr.S: Update.
24312 Replace with faster SSE2 version.
24314 2011-09-12 Marek Polacek <mpolacek@redhat.com>
24316 * elf/dl-load.c (lose): Add cast to avoid warning.
24318 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24320 * po/ca.po: Update from translation team.
24322 * inet/getnetgrent_r.c: Hook up nscd.
24323 * nscd/Makefile (routines): Add nscd_netgroup.
24324 (nscd-modules): Add netgroupcache.
24325 (CFLAGS-netgroupcache.c): Define.
24326 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24327 (cache_search): Add const to second parameter.
24328 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24330 (dbs): Add netgrdb entry.
24331 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24332 (verify_persistent_db): Handle netgrdb.
24333 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24334 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24336 (netgroup_response_header): Define.
24337 (innetgroup_response_header): Define.
24338 (datahead): Add netgroup_response_header and innetgroup_response_header
24340 * nscd/nscd.conf: Add entries for netgroup cache.
24341 * nscd/nscd.h (dbtype): Add netgrdb.
24342 (_PATH_NSCD_NETGROUP_DB): Define.
24343 (netgroup_iov_disabled): Declare.
24344 (xmalloc, xcalloc, xrealloc): Move declarations here.
24345 (cache_search): Adjust prototype.
24346 Add netgroup-related prototypes.
24347 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24348 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24349 (__nscd_innetgr): Declare.
24350 * nscd/selinux.c (perms): Use access_vector_t as element type and
24351 add netgroup-related initializers.
24352 * nscd/netgroupcache.c: New file.
24353 * nscd/nscd_netgroup.c: New file.
24354 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24355 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24356 For four parameters use innetgr.
24357 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24358 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24359 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24360 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24362 * nscd/connections.c (register_traced_file): Don't register file
24363 for disabled databases.
24365 2011-10-06 Ulrich Drepper <drepper@gmail.com>
24367 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24369 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24370 from tree and freeing node.
24372 2011-09-25 Jiri Olsa <jolsa@redhat.com>
24374 * nss/nsswitch.c (__nss_database_lookup): Handle
24375 nss_parse_service_list out of memory case.
24377 2011-09-15 Jiri Olsa <jolsa@redhat.com>
24379 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24380 out of memory case.
24382 2011-10-04 Andreas Schwab <schwab@redhat.com>
24384 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24385 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24387 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24388 elf_machine_rela, elf_machine_lazy_rel.
24389 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24390 (ELF_DYNAMIC_DO_REL): Likewise.
24391 (ELF_DYNAMIC_DO_RELA): Likewise.
24392 (ELF_DYNAMIC_RELOCATE): Likewise.
24393 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24394 to ELF_DYNAMIC_DO_REL.
24395 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24396 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24397 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24399 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24400 skip_ifunc, don't call ifunc function if non-zero.
24401 (elf_machine_rela): Likewise.
24402 (elf_machine_lazy_rel): Likewise.
24403 (elf_machine_lazy_rela): Likewise.
24404 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24405 (elf_machine_lazy_rel): Likewise.
24406 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24408 (elf_machine_lazy_rel): Likewise.
24409 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24411 (elf_machine_lazy_rel): Likewise.
24412 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24413 (elf_machine_lazy_rel): Likewise.
24414 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24415 (elf_machine_lazy_rel): Likewise.
24416 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24417 (elf_machine_lazy_rel): Likewise.
24418 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24419 (elf_machine_lazy_rel): Likewise.
24420 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24421 (elf_machine_lazy_rel): Likewise.
24422 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24423 (elf_machine_lazy_rel): Likewise.
24425 2011-09-28 Ulrich Drepper <drepper@gmail.com>
24427 * nss/nss_files/files-init.c (_nss_files_init): Use static
24428 initialization for all the *_traced_file variables.
24430 2011-09-28 Andreas Schwab <schwab@redhat.com>
24432 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24434 2011-09-27 Roland McGrath <roland@hack.frob.com>
24437 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24439 2011-09-27 Andreas Schwab <schwab@redhat.com>
24441 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24442 Reread the line before reparsing it.
24444 2011-09-26 Andreas Schwab <schwab@redhat.com>
24446 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24448 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24449 Maxim Kuvyrkov <maxim@codesourcery.com>
24450 Joseph Myers <joseph@codesourcery.com>
24452 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24453 if needed for __stack_chk_guard.
24455 2011-09-19 Roland McGrath <roland@hack.frob.com>
24457 * sysdeps/posix/spawni.c (script_execute): Always define it.
24458 It will be optimized away if unused.
24459 (maybe_script_execute): New function.
24460 (__spawni): Call it.
24462 * Makerules: Don't include tls.make.
24463 (config-tls): Always set to thread.
24464 * tls.make.c: File removed.
24466 2011-09-19 Mike Frysinger <vapier@gentoo.org>
24468 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24469 * config.make.in (CPPFLAGS-config): New substituted variable.
24471 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24473 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24476 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24477 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24479 2011-09-15 Roland McGrath <roland@hack.frob.com>
24481 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24482 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24483 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24484 (CALL_FAIL): Likewise.
24485 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24486 (CALL_FAIL): Macro removed.
24487 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24489 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24491 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24492 for __FINITE_MATH_ONLY__ == 1.
24494 2011-09-15 Andreas Schwab <schwab@redhat.com>
24496 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24497 __ieee754_sqrt instead of sqrt.
24498 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24499 __ieee754_sqrtf instead of sqrtf.
24500 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24501 __floorf instead of floorf.
24502 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24503 __floorf, __truncf instead of floorf, truncf.
24505 2011-09-14 Ulrich Drepper <drepper@gmail.com>
24507 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24509 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24510 __extern_always_inline.
24511 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24514 2011-09-14 Andreas Schwab <schwab@redhat.com>
24516 * elf/rtld.c (dl_main): Also relocate in dependency order when
24517 doing symbol dependency testing.
24519 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24521 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24522 Always define `refsym'.
24524 2011-09-13 Andreas Schwab <schwab@redhat.com>
24526 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24527 (__FD_ELT): Renamed from __FDELT.
24528 * misc/bits/select2.h (__FD_ELT): Likewise.
24529 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24530 __FD_MASK instead of __FDELT, __FDMASK.
24531 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24533 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24536 * elf/Makefile (gen-ldd): Fix pattern.
24538 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24539 (init_tls): Likewise.
24541 2011-09-12 Ulrich Drepper <drepper@gmail.com>
24543 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24545 2011-09-12 Andreas Schwab <schwab@redhat.com>
24547 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24548 `struct cmsghdr *' instead of `void *'.
24549 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24552 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24554 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24556 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24557 ldd_rewrite_script.
24559 2011-09-11 Ulrich Drepper <drepper@gmail.com>
24561 * configure.in: Remove --with-tls option.
24562 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24563 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24564 out in case it is missing.
24565 * sysdeps/ia64/elf/configure.in: Likewise.
24566 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24567 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24568 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24569 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24570 * sysdeps/sh/elf/configure.in: Likewise.
24571 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24572 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24573 * sysdeps/x86_64/elf/configure.in: Likewise.
24574 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24575 * sysdeps/mach/hurd/tls.h: Likewise.
24578 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24581 * configure.in: Fix use of AC_INIT.
24583 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24585 2011-09-10 Ulrich Drepper <drepper@gmail.com>
24587 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24589 * malloc/hooks.c: Likewise.
24592 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24593 variables statically.
24594 (narenas): Initialize.
24595 (list_lock): Initialize.
24596 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24597 initializtion of main_arena and list_lock. Small cleanups.
24598 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24599 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24600 Add initializers to main_arena and mp_.
24601 (malloc_state): Remove pagesize member. Change all users to use
24604 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24605 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24606 is always initialized.
24608 * malloc/malloc.c: Removed unused configurations and dead code.
24609 * malloc/arena.c: Likewise.
24610 * malloc/hooks.c: Likewise.
24611 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
24613 * include/tls.h: Removed. USE___THREAD must always be defined.
24614 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24615 * elf/dl-libc.c: Likewise.
24616 * elf/dl-tsd.c: Likewise.
24617 * include/errno.h: Likewise.
24618 * include/netdb.h: Likewise.
24619 * include/resolv.h: Likewise.
24620 * inet/herrno-loc.c: Likewise.
24621 * inet/herrno.c: Likewise.
24622 * malloc/arena.c: Likewise.
24623 * malloc/hooks.c: Likewise.
24624 * malloc/malloc.c: Likewise.
24625 * resolv/res-state.c: Likewise.
24626 * resolv/res_libc.c: Likewise.
24627 * sysdeps/i386/dl-machine.h: Likewise.
24628 * sysdeps/ia64/dl-machine.h: Likewise.
24629 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24630 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24631 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24632 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24633 * sysdeps/sh/dl-machine.h: Likewise.
24634 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24635 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24636 * sysdeps/unix/i386/sysdep.S: Likewise.
24637 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24638 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24639 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24640 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24641 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24642 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24643 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24644 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24645 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24646 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24647 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24648 * sysdeps/x86_64/dl-machine.h: Likewise.
24649 * tls.make.c: Likewise.
24651 * configure.in: Remove --with-__thread option. Make tests for
24652 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24653 tls_model attribute fail if no support is available. Remove
24655 * Makeconfig: Adjust for dropped configure option. All features are
24657 * Makerules: Likewise.
24658 * Versions.def: Likewise.
24659 * argp/argp-fmtstream.c: Likewise.
24660 * argp/argp-fmtstream.h: Likewise.
24661 * argp/argp-help.c: Likewise.
24662 * assert/assert.c: Likewise.
24663 * config.h.in: Likewise.
24664 * config.make.in: Likewise.
24665 * configure: Likewise.
24666 * configure.in: Likewise.
24667 * csu/Versions: Likewise.
24668 * csu/init.c: Likewise.
24669 * elf/tst-audit2.c: Likewise.
24670 * elf/tst-tls10.c: Likewise.
24671 * elf/tst-tls10.h: Likewise.
24672 * elf/tst-tls11.c: Likewise.
24673 * elf/tst-tls12.c: Likewise.
24674 * elf/tst-tls14.c: Likewise.
24675 * elf/tst-tlsmod11.c: Likewise.
24676 * elf/tst-tlsmod12.c: Likewise.
24677 * elf/tst-tlsmod13.c: Likewise.
24678 * elf/tst-tlsmod13a.c: Likewise.
24679 * elf/tst-tlsmod14a.c: Likewise.
24680 * elf/tst-tlsmod15b.c: Likewise.
24681 * elf/tst-tlsmod16a.c: Likewise.
24682 * elf/tst-tlsmod16b.c: Likewise.
24683 * elf/tst-tlsmod7.c: Likewise.
24684 * elf/tst-tlsmod8.c: Likewise.
24685 * elf/tst-tlsmod9.c: Likewise.
24686 * gmon/gmon.c: Likewise.
24687 * grp/fgetgrent_r.c: Likewise.
24688 * grp/putgrent.c: Likewise.
24689 * hurd/fopenport.c: Likewise.
24690 * include/libc-symbols.h: Likewise.
24691 * include/tls.h: Likewise.
24692 * intl/gettextP.h: Likewise.
24693 * intl/loadinfo.h: Likewise.
24694 * locale/global-locale.c: Likewise.
24695 * locale/localeinfo.h: Likewise.
24696 * mach/devstream.c: Likewise.
24697 * malloc/arena.c: Likewise.
24698 * malloc/set-freeres.c: Likewise.
24699 * misc/err.c: Likewise.
24700 * misc/getttyent.c: Likewise.
24701 * misc/mntent_r.c: Likewise.
24702 * posix/getopt.c: Likewise.
24703 * posix/wordexp.c: Likewise.
24704 * pwd/fgetpwent_r.c: Likewise.
24705 * resolv/Versions: Likewise.
24706 * resolv/res_hconf.c: Likewise.
24707 * shadow/fgetspent_r.c: Likewise.
24708 * shadow/putspent.c: Likewise.
24709 * stdio-common/printf_fphex.c: Likewise.
24710 * stdio-common/tmpfile.c: Likewise.
24711 * stdlib/abort.c: Likewise.
24712 * stdlib/fmtmsg.c: Likewise.
24713 * sunrpc/auth_unix.c: Likewise.
24714 * sunrpc/clnt_perr.c: Likewise.
24715 * sunrpc/clnt_tcp.c: Likewise.
24716 * sunrpc/clnt_udp.c: Likewise.
24717 * sunrpc/clnt_unix.c: Likewise.
24718 * sunrpc/openchild.c: Likewise.
24719 * sunrpc/svc_simple.c: Likewise.
24720 * sunrpc/svc_tcp.c: Likewise.
24721 * sunrpc/svc_udp.c: Likewise.
24722 * sunrpc/svc_unix.c: Likewise.
24723 * sunrpc/xdr.c: Likewise.
24724 * sunrpc/xdr_array.c: Likewise.
24725 * sunrpc/xdr_rec.c: Likewise.
24726 * sunrpc/xdr_ref.c: Likewise.
24727 * sunrpc/xdr_stdio.c: Likewise.
24729 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24731 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24733 2011-07-03 Andreas Jaeger <aj@suse.de>
24735 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24736 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24737 regenerate with gen-libm-tests.pl.
24739 2010-05-12 Petr Baudis <pasky@suse.cz>
24742 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24743 around j0() zero points by switching to j1().
24744 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24745 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24746 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24747 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24749 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24751 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24753 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24755 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24756 Patch in part by Pavel Roskin <proski@gnu.org>.
24759 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24761 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24762 Free memory block if necessary.
24765 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24766 be NULL. Don't lock in this case.
24768 2011-09-09 Roland McGrath <roland@hack.frob.com>
24770 * elf/elf.h (ELFOSABI_GNU): New macro.
24771 (ELFOSABI_LINUX): Define to that.
24773 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24775 * string/strncat.c (strncat): Undef the symbol in case it has been
24776 defined in bits/string.h.
24778 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24780 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24782 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24785 2011-08-17 Andreas Jaeger <aj@suse.de>
24787 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24789 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24790 Ian Lance Taylor <iant@google.com>
24792 * math/libm-test.inc (lround_test): New testcase.
24793 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24795 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24797 * Makefile: Remove support for automatic cvs check-ins.
24798 * Makerules: Likewise.
24799 * config.make.in: Likewise.
24800 * configure.in: Likewise.
24801 * intl/Makefile: Likewise.
24802 * locale/Makefile: Likewise.
24803 * po/Makefile: Likewise.
24804 * posix/Makefile: Likewise.
24805 * sysdeps/gnu/Makefile: Likewise.
24806 * sysdeps/mach/hurd/Makefile: Likewise.
24807 * sysdeps/sparc/sparc32/Makefile: Likewise.
24810 * posix/Makefile (bug-regex32-ENV): Define.
24811 Patch by John Stanley <jpsinthemix@verizon.net>.
24813 * misc/Makefile (headers): Add bits/select2.h.
24814 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24815 * misc/bits/select2.h: New file.
24816 * include/bits/select2.h: New file.
24817 * debug/Makefile (routines): Add fdelt_chk.
24818 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24819 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24821 * debug/fdelt_chk.c: New file.
24823 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24824 * wcsmbs/test-wmemcmp.c: Likewise.
24825 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24826 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24828 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24830 * string/Makefile (strop-tests): Add memcmp.
24831 * string/test-wmemcmp.c: New file.
24832 * string/test-memcmp.c: Add wmemcmp support.
24834 2011-09-08 Roland McGrath <roland@hack.frob.com>
24837 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24840 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24841 garbage value in a __mach_port_mod_refs call in the cases of the
24842 task-self and thread-self ports.
24844 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24846 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24848 2011-09-08 Andreas Schwab <schwab@redhat.com>
24850 * elf/dl-load.c (lose): Check for non-null L.
24852 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24854 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24856 * elf/dl-libc.c (dlerror_run): Pass back error code from
24860 * elf/dl-load.c (lose): Free l_origin if it is valid.
24862 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24864 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24865 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24866 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24867 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24868 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24869 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24871 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24873 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24874 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24875 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24876 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24877 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24878 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24879 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24880 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24881 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24882 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24884 2011-08-15 Alan Modra <amodra@gmail.com>
24887 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24888 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24889 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24890 ppc_mcount to static-only-routines.
24891 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24893 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24894 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24896 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24898 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24899 for finite and infinity parameters.
24901 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24903 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24904 and add nop instructions for throughput optimization.
24905 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24907 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24909 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24910 aligned copy for power7 with vector-scalar instructions.
24911 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24913 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24915 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24918 2011-09-07 Andreas Schwab <schwab@redhat.com>
24921 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24924 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24926 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24927 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24928 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24929 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24932 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24934 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24935 Forgot to demangle the pointer.
24937 * sysdeps/i386/sysdep.h: Define atom_text_section.
24938 * sysdeps/x86_64/sysdep.h: Likewise.
24939 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24940 section with atom_text_section.
24941 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24942 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24943 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24944 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24945 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24947 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24948 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24949 already be defined. Change to take two parameters and don't assign
24950 result to variable. Adjust all users.
24951 Define INTERNAL_GETTIME if not already defined.
24952 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24955 HAVE_CLOCK_GETTIME_VSYSCALL.
24956 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24958 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24959 gettimeofday vsyscall, just use time.
24961 2011-09-06 Andreas Schwab <schwab@redhat.com>
24963 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24966 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24968 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24970 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24972 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24973 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24974 syscall if possible.
24976 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24978 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24979 e_ident. Don't pass to find_mapsXX.
24980 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24982 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24984 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24985 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24986 * sysdeps/x86_64/multiarch/strchr.S: Update.
24987 Check bit_slow_BSF bit.
24988 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24989 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24990 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24992 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24995 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24997 (tryshell): Define.
24998 (__spawni): Change last parameter to be flag. Test
24999 SPAWN_XFLAGS_USE_PATH flag to use path or not.
25000 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
25001 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
25002 * posix/spawni.c: Likewise.
25003 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
25004 * posix/spawnp.c: Likewise. Change normal version to use
25005 SPAWN_XFLAGS_USE_PATH.
25006 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25007 SPAWN_XFLAGS_TRY_SHELL.
25010 * posix/glob.h: Remove gcc 1.x support.
25013 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25015 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25018 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25020 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25021 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25022 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25023 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25024 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25025 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25027 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25029 * sysdeps/x86_64/wcscmp.S: New file.
25031 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25032 wcscmp-c wcscmp-sse2
25033 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25034 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25035 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25036 * wcsmbs/wcscmp.c: Allow renaming.
25038 2011-09-05 David S. Miller <davem@davemloft.net>
25040 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25041 stack slot, rather than the struct return pointer slot.
25042 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25043 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25045 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25047 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25049 * po/ja.po: Update from translation team.
25052 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25053 kernel in 64-bit binaries.
25055 2011-09-01 David S. Miller <davem@davemloft.net>
25057 * elf/elf.h (HWCAP_SPARC_*): Move to..
25058 * sysdeps/sparc/sysdep.h: this new file and add new values.
25059 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25060 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25061 _DL_HWCAP_COUNT to 24.
25062 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25064 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25065 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25066 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25067 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25068 instead of magic constants.
25069 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25071 2011-08-31 David S. Miller <davem@davemloft.net>
25073 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25074 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25075 Reimplement to do errno handling inline.
25076 (SYSCALL_ERROR_HANDLER): New macro.
25077 (__SYSCALL_STRING): Do not do errno handling in asm.
25078 (__CLONE_SYSCALL_STRING): Delete.
25079 (__INTERNAL_SYSCALL_STRING): Delete.
25080 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25081 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25082 (PSEUDO): Reimplement to do errno handling inline.
25083 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25084 (SYSCALL_ERROR_HANDLER): New macro.
25085 (__SYSCALL_STRING): Do not do errno handling in asm.
25086 (__CLONE_SYSCALL_STRING): Delete.
25087 (__INTERNAL_SYSCALL_STRING): Delete.
25088 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25089 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25091 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25092 (inline_syscall*): Add 'err' argument.
25093 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25094 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25095 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25096 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25098 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25099 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25101 2011-08-30 Andreas Schwab <schwab@redhat.com>
25103 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25105 2011-08-29 Jiri Olsa <jolsa@redhat.com>
25107 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25110 2011-08-24 David S. Miller <davem@davemloft.net>
25112 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25114 2011-08-24 Andreas Schwab <schwab@redhat.com>
25116 * elf/Makefile: Add rules to build and run unload8 test.
25117 * elf/unload8.c: New file.
25118 * elf/unload8mod1.c: New file.
25119 * elf/unload8mod1x.c: New file.
25120 * elf/unload8mod2.c: New file.
25121 * elf/unload8mod3.c: New file.
25123 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25126 2011-08-23 David S. Miller <davem@davemloft.net>
25128 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25129 subtract stack bias.
25130 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25131 %sp not %fp in calculations.
25132 (_JMPBUF_UNWINDS_ADJ): Likewise.
25134 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25135 (aio_suspend): Call it to force an exception region around the
25136 AIO_MISC_WAIT() invocation.
25138 2011-08-23 Andreas Schwab <schwab@redhat.com>
25140 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25143 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25145 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25147 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25148 and <dl-machine.h>.
25149 (Elf64_FuncDesc): Remove.
25151 2011-08-22 David S. Miller <davem@davemloft.net>
25153 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25154 sigaltstack check, add missing cfi directives.
25155 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25156 missing cfi directives, and sigaltstack handling.
25158 2011-08-16 Andreas Schwab <schwab@redhat.com>
25161 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25162 object is seen twice.
25163 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25165 * elf/Makefile (distribute): Add tst-initorder2.c.
25166 (tests): Add tst-initorder2.
25167 (modules-names): Add tst-initorder2a tst-initorder2b
25168 tst-initorder2c tst-initorder2d. Add rules to build them.
25169 ($(objpfx)tst-initorder2.out): New rule.
25170 * elf/tst-initorder2.c: New file.
25171 * elf/tst-initorder2.exp: New file.
25173 2011-08-22 Andreas Schwab <schwab@redhat.com>
25175 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25177 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25178 dependencies back to end of function.
25180 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25181 $(elfobjdir)/ld.so.
25183 2011-08-21 Ulrich Drepper <drepper@gmail.com>
25185 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25186 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25187 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25188 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25189 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25190 of __vdso_gettimeofday.
25191 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25192 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
25194 (_libc_vdso_platform_setup): Remove initialization of
25195 __vdso_gettimeofday and __vdso_time.
25197 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25199 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25200 and fgetc_unlocked.
25201 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25204 * elf/dl-open.c (add_to_global): Report additions to the global scope
25205 for LD_DEBUG=scopes.
25206 (dl_open_worker): Also print scope of newly loaded dependencies.
25207 (_dl_show_scope): Indicate if there is no scope.
25210 * stdio-common/Makefile (tests): Add bug24.
25211 * stdio-common/bug24.c: New file.
25213 2011-08-19 Andreas Jaeger <aj@suse.de>
25216 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25217 non-existant file when using close-on-exec mode.
25219 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25221 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25222 the very first instruction.
25224 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25225 the CFI state in the end.
25226 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25227 inclusion of dl-trampoline.h.
25228 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25230 2011-08-19 Andreas Schwab <schwab@redhat.com>
25232 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25233 expectations for long double.
25235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25236 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25238 2011-08-14 David S. Miller <davem@davemloft.net>
25240 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25241 artificual limit depends upon the system page size.
25243 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25245 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25246 * resolv/Makefile: Define CFLAGS-libresolv.
25248 2011-08-17 Andreas Schwab <schwab@redhat.com>
25250 * nss/makedb.c (compute_tables): Make variables used in nested
25253 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25255 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25256 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25257 if buffer was too small.
25259 * elf/pldd.c (main): Attach to all threads in the process.
25260 Rewrite /proc handling to use *at functions.
25262 2011-08-16 Ulrich Drepper <drepper@gmail.com>
25264 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25265 specifies first scope to show.
25266 (dl_open_worker): Update callers. Move printing scope of new
25267 object to before the relocation.
25268 * elf/rtld.c (dl_main): Update _dl_show_scope call.
25269 * sysdeps/generic/ldsodefs.h: Update declaration.
25271 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25272 string for the scope number.
25274 2011-08-14 Ulrich Drepper <drepper@gmail.com>
25276 * nscd/servicescache.c (cache_addserv): Make sure written is always
25279 2011-08-14 Roland McGrath <roland@hack.frob.com>
25281 * sysdeps/i386/i486/bits/atomic.h
25282 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25283 statement expression, so as to suppress "set but not used" warning.
25284 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25286 * string/strncat.c (STRNCAT): Use prototype definition.
25288 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25289 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25291 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25292 (localedef-modules): Add localedef.
25293 (locale-modules): Add locale.
25295 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25296 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25297 to avoid a warning.
25299 2011-08-14 David S. Miller <davem@davemloft.net>
25301 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25302 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25304 2011-08-13 Ulrich Drepper <drepper@gmail.com>
25306 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
25307 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25308 * elf/rtld.c (dl_main): Set l_name of vDSO.
25309 Call _dl_show_scope when DL_DEBUG_SCOPES.
25310 (process_dl_debug): Recognize scopes flag and also set it for all.
25311 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25312 Declare _dl_show_scope.
25314 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25315 (do_dlopen): Pass caller_dlopen to dl_open.
25316 (__libc_dlopen_mode): Initialize caller_dlopen.
25318 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25319 of libc. Make tolower call locale-independent. Optimize a bit by
25320 using isdigit instead of isalnum.
25321 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25323 2011-08-12 Ulrich Drepper <drepper@gmail.com>
25325 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25326 was a dependency or dynamically loaded.
25328 2011-08-11 Ulrich Drepper <drepper@gmail.com>
25330 * intl/l10nflist.c: Allow architecture-specific pop function.
25331 * sysdeps/x86_64/l10nflist.c: New file.
25333 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25336 2011-08-10 Andreas Schwab <schwab@redhat.com>
25338 * include/dirent.h: Add libc_hidden_proto for scandirat and
25339 scandirat64. Don't declare __scandirat64.
25340 * dirent/scandirat.c: Add libc_hidden_def.
25341 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25342 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25344 2011-08-10 David S. Miller <davem@davemloft.net>
25346 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25348 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25349 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25350 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25352 2011-08-09 Ulrich Drepper <drepper@gmail.com>
25354 * Versions.def [libc]: Add GLIBC_2.15.
25355 * dirent/Makefile (routines): Add scandirat and scandirat64.
25356 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25358 * dirent/dirent.h: Declare scandirat and scandirat64.
25359 * dirent/scandirat.c: New file.
25360 * dirent/scandirat64.c: New file.
25361 * sysdeps/wordsize-64/scandirat.c: New file.
25362 * sysdeps/wordsize-64/scandirat64.c: New file.
25363 * dirent/opendir.c: Define opendirat.
25364 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25366 * dirent/scandir64.c: Adjust for scandir.c change.
25367 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25368 __scandirat64, and __scandir_cancel_handler.
25369 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25370 additional parameter and use openat instead of open (outside of ld.so).
25371 Add new __opendir as wrapper around __opendirat.
25372 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25373 here without requiring old scandirat implementation.
25375 2011-08-08 Ulrich Drepper <drepper@gmail.com>
25377 * dirent/scandir.c (cancel_handler): Renamed to
25378 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25379 defined. Adjust users.
25380 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25381 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25383 2011-08-04 Ulrich Drepper <drepper@gmail.com>
25385 * string/test-string.h (IMPL): Use __STRING to expand name and then
25388 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25391 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25393 * string/Makefile: Update.
25394 (strop-tests): Append strncat.
25395 * string/test-wcscmp.c: New file.
25396 New comprehensive test for wcscmp.
25397 * string/test-strcmp.c: Update.
25398 (WIDE): New define.
25400 2011-07-22 Andreas Schwab <schwab@redhat.com>
25402 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25405 2011-07-26 Andreas Schwab <schwab@redhat.com>
25407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25408 encoding to ACE if AI_IDN.
25410 2011-08-01 Jakub Jelinek <jakub@redhat.com>
25412 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25413 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25415 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25417 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25418 Fix overflow bug in strncat.
25419 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25421 * string/test-strncat.c: Update.
25422 Add new tests for checking overflow bugs.
25424 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25426 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25427 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25428 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25429 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25430 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25431 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25432 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25433 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25434 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25436 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25437 (USE_AS_STRCAT): Define.
25438 Add strcat and strncat support.
25439 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25441 2011-07-25 Andreas Schwab <schwab@redhat.com>
25443 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25444 __n bigger than INT_MAX+1.
25445 (__strncmp_g): Likewise.
25447 2011-07-23 Ulrich Drepper <drepper@gmail.com>
25449 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25450 * libio/stido.h: Likewise.
25452 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25454 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25457 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25458 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25459 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25460 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25461 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25464 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25467 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25469 (_dl_x86_64_save_sse): Likewise.
25471 2011-07-22 Ulrich Drepper <drepper@gmail.com>
25473 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25475 (_dl_x86_64_save_sse): Likewise.
25477 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25479 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25481 2011-07-21 Andreas Schwab <schwab@redhat.com>
25483 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25485 (_dl_x86_64_save_sse): Use correct AVX check.
25487 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25489 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25490 bug in strncpy/strncat.
25491 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25493 2011-07-21 Ulrich Drepper <drepper@gmail.com>
25495 * string/tester.c (test_strcat): Add tests for different alignments
25496 of source and destination.
25497 (test_strncat): Likewise.
25499 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25502 * posix/glob.c (glob): Check passed in values before using them in
25503 expressions to avoid some overflows.
25504 (glob_in_dir): Likewise.
25507 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25508 check for AVX enablement so that we don't crash with old kernels and
25510 * elf/tst-audit4.c: Add same checks here.
25511 * elf/tst-audit6.c: Likewise.
25513 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
25515 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25517 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25519 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25521 * po/cs.po: Update from translation team.
25522 * po/bg.po: Likewise.
25524 2011-07-12 Marek Polacek <mpolacek@redhat.com>
25526 * misc/sys/cdefs.h: Add support for const attribute.
25527 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25528 to gnu_dev_{major,minor,makedev} functions.
25530 2011-07-20 Marek Polacek <mpolacek@redhat.com>
25532 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25534 2011-07-20 Andreas Schwab <schwab@redhat.com>
25536 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25539 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25541 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25542 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25543 register in order to avoid conflicts with the soft frame pointer
25544 being held in r11 when necessary.
25545 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25546 (INTERNAL_VSYSCALL_NCS): Likewise.
25548 2011-07-14 Marek Polacek <mpolacek@redhat.com>
25550 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25551 * elf/dl-fini.c (_dl_fini): Adjust caller.
25552 * elf/dl-close.c (_dl_close_worker): Likewise.
25553 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25555 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25557 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25558 "aux_cache->nlibs < 0".
25560 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25561 in the reload-count case.
25563 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25566 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25567 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25568 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25569 * sysdeps/x86_64/multiarch/strcat.S: New file.
25570 * sysdeps/x86_64/multiarch/strncat.S: New file.
25571 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25572 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25573 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25574 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25575 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25576 (USE_AS_STRCAT): Define.
25577 Add strcat and strncat support.
25578 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25579 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25580 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25581 * string/strncat.c: Update.
25582 (USE_AS_STRNCAT): Define.
25583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25584 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25586 * sysdeps/x86_64/multiarch/init-arch.h
25587 (bit_Prefer_PMINUB_for_stringop): New.
25588 (index_Prefer_PMINUB_for_stringop): Likewise.
25589 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25590 bit_Prefer_PMINUB_for_stringop.
25592 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25594 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25596 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25597 of casting of buffer.
25598 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25599 buffer32 and buffer64.
25600 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25601 writes instead of casting of buffer.
25602 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25604 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25607 2011-07-19 Andreas Schwab <schwab@redhat.com>
25609 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25611 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25613 * nscd/nscd.c (termination_handler): Don't do anything for a database
25614 if it has not yet been initialized.
25616 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25618 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25620 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25622 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25624 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25626 * po/nl.po: Update from translation team.
25627 * po/sv.po: Likewise.
25629 2011-07-16 Roland McGrath <roland@hack.frob.com>
25631 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25632 now disallowed by GCC.
25634 * configure.in (use-default-link): Default to yes if a test -shared
25635 link meets our qualifications.
25636 * configure: Regenerated.
25638 * config.make.in (output-format): New variable.
25639 * configure.in: Check for ld --print-output-format support.
25640 * configure: Regenerated.
25641 * Makerules ($(common-objpfx)format.lds)
25642 [$(output-format) != unknown]: Just use $(output-format),
25643 instead of the linker-script munging.
25645 2011-07-14 Roland McGrath <roland@hack.frob.com>
25647 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25648 of $(common-objpfx)shlib.lds.
25649 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25651 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25652 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25654 * configure.in (-z relro check): Adjust test code to add a large
25655 writable data section after it.
25656 * configure: Regenerated.
25658 2011-07-11 Roland McGrath <roland@hack.frob.com>
25660 * configure.in (-z relro check): Fix test code to make the variable
25662 * configure: Regenerated.
25664 2011-07-11 Ulrich Drepper <drepper@gmail.com>
25666 * nscd/nscd.h (struct traced_file): Define.
25667 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25668 elements. Add traced_files.
25669 (inotify_fd): Declare.
25670 (register_traced_file): Declare.
25671 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25672 (inotify_fd): Export.
25673 (resolv_conf_descr): Remove.
25674 (nscd_init): Move inotify descriptor creation to main.
25675 Don't register files for notification here.
25676 (register_traced_file): New function.
25677 (invalidate_cache): Don't use reset_res to determine whether to call
25678 res_init, go through the list of registered files.
25679 (main_loop_poll): The inotify descriptors are now stored in the
25680 structures for the traced files.
25681 (main_loop_epoll): Likewise
25682 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25683 to __nss_disable_nscd.
25684 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25685 for a database anymore. Check the records for all the registered
25687 * nss/Makefile (libnss_files-routines): Add files-init.
25688 (libnss_db-routines): Add db-init.
25689 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25690 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25691 * nss/nss_db/db-init.c: New file.
25692 * nss/nss_files/files-init.c: New file.
25693 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25694 __nss_lookup_function.
25695 (__nss_lookup_function): Call nss_load_library.
25696 (nss_load_all_libraries): New function.
25697 (__nss_disable_nscd): Take parameter with callback function for files
25698 to register. Set is_nscd. Load all the DSOs for the NSS modules
25699 used for the cached services.
25700 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25701 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25702 options for features to all the files in nscd.
25704 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25706 2011-07-10 Roland McGrath <roland@hack.frob.com>
25708 * csu/elf-init.c (__libc_csu_init): Comment typo.
25710 2011-07-09 Ulrich Drepper <drepper@gmail.com>
25712 * po/pl.po: Update from translation team.
25713 * po/ja.po: Likewise.
25714 * po/ru.po: Likewise.
25715 * po/ko.po: Likewise.
25716 * po/fr.po: Likewise.
25718 2011-07-09 Roland McGrath <roland@hack.frob.com>
25720 * configure.in (.ctors/.dtors header and trailer check):
25721 Use an empirical test on a built program.
25722 * configure: Regenerated.
25724 * configure.in (-z relro check): Use an empirical test on a built DSO.
25725 Detect, but do not require, on ia64.
25726 * configure: Regenerated.
25728 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25729 Update tests that use readelf to use $READELF instead.
25730 * configure: Regenerated.
25732 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25734 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25735 if the result is not used.
25737 2011-07-05 Andreas Jaeger <aj@suse.de>
25740 * stdlib/tst-strtod.c: Add testcase.
25742 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25744 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25745 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25746 The latter has a higher limit. Take additional parameter to pass to
25748 (__pathconf): Pass file to __statfs_link_max.
25749 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25751 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25755 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25756 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25758 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25759 (__statfs_filesize_max): Likewise.
25760 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25762 2011-07-05 Andreas Jaeger <aj@suse.de>
25764 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25766 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25768 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25770 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25773 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25775 * Makefile (strop-tests): Add strncat.
25776 * string/test-strncat.c: New file.
25778 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25780 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25782 2011-06-21 Andreas Jaeger <aj@suse.de>
25784 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25785 Copy rule from iconvdata/Makefile.
25787 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25790 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25791 but no long options are defined, just return 'W'.
25793 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25796 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25798 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25800 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25802 (innetgr): Likewise.
25804 2011-07-05 Roland McGrath <roland@hack.frob.com>
25806 * config.make.in (install_root): Default to $(DESTDIR).
25808 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25810 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25812 2011-07-02 Roland McGrath <roland@hack.frob.com>
25814 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25816 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25817 containing directory rather than embedding absolute directory names.
25819 * scripts/check-local-headers.sh: Rewritten using awk.
25820 Match by word, not by line. Print error messages for matches.
25821 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25823 * Makerules [shlib-lds-flags empty]:
25824 ($(common-objpfx)libc_pic.opts): New target.
25825 ($(common-objpfx)libc_pic.os.clean): New target.
25826 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25828 * config.make.in (OBJCOPY): New variable.
25829 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25830 * configure: Regenerated.
25832 * config.make.in (use-default-link): New variable.
25833 * configure.in (use_default_link): Grok --with-default-link to set it.
25834 * configure: Regenerated.
25835 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25836 (shlib-lds, shlib-lds-flags): Define to empty.
25838 * Makerules (shlib-lds): New variable.
25839 (shlib-lds-flags): New variable.
25840 (build-shlib, build-moduile, build-module-asneeded): Use it.
25841 ($(common-objpfx)libc.so): Use $(shlib-lds).
25842 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25843 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25845 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25846 DT_FLAGS/DT_FLAGS_1 with zero flags.
25848 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25849 linker script munging.
25851 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25853 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25855 * crypt/sha512.c (sha512_process_block): Perform total addition using
25856 128-bit if possible.
25857 (__sha512_finish_ctx): Likewise.
25858 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25860 * crypt/sha256.c (SWAP64): Define.
25861 (sha256_process_block): Perform total addition using 64-bit if
25863 (__sha256_finish_ctx): Likewise.
25865 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25867 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25868 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25869 * nscd/hstcache.c (cache_addhst): Likewise.
25870 * nscd/grpcache.c (cache_addgr): Likewise.
25871 * nscd/aicache.c (addhstaiX): Likewise
25872 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25874 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25876 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25877 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25878 * nscd/hstcache.c (cache_addhst): Likewise.
25879 * nscd/grpcache.c (cache_addgr): Likewise.
25880 * nscd/aicache.c (addhstaiX): Likewise
25882 2011-07-01 Andreas Schwab <schwab@redhat.com>
25884 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25885 domain only when needed.
25887 2011-06-30 Andreas Schwab <schwab@redhat.com>
25889 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25890 is always restored.
25892 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25894 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25895 are re-adding the entry.
25896 * nscd/servicescache.c (cache_addserv): Likewise.
25898 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25900 * sysdeps/generic/dl-irel.h: fix protection against multiple
25902 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25904 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25907 * malloc/memusage.sh: Fix quoting in message.
25908 * debug/xtrace.sh: Likewise.
25910 * configure.in: Remove support for --experimental-malloc option, make
25912 * config.make.in: Likewise.
25913 * malloc/Makefile: Likewise.
25915 2011-06-27 Andreas Schwab <schwab@redhat.com>
25917 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25918 two-byte characters.
25920 2011-06-27 Roland McGrath <roland@hack.frob.com>
25922 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25923 AC_CACHE_CHECK invocation.
25924 * configure: Regenerated.
25926 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25928 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25931 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25932 bit from old_res_options.
25934 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25936 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25937 value type for setfct.
25939 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25941 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25942 __gettimeofday instead of gettimeofday.
25944 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25946 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25948 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25950 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25952 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25955 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25958 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25959 strcpy-sse2-unaligned strncpy-sse2-unaligned
25960 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25961 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25962 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25963 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25964 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25965 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25966 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25967 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25968 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25969 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25970 (STRCPY): Support SSE2 and SSSE3 versions.
25972 2011-06-24 Ulrich Drepper <drepper@gmail.com>
25975 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25976 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25977 kernels which artificially limit size of requests.
25979 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25981 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25982 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25983 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25984 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25985 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25986 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25987 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25988 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25989 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25990 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25991 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25992 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25993 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25994 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25995 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25997 Enable unaligned load optimization for Intel Core i3, i5 and i7
25999 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
26001 (index_Fast_Unaligned_Load): Define.
26002 (HAS_FAST_UNALIGNED_LOAD): Define.
26004 2011-06-23 Marek Polacek <mpolacek@redhat.com>
26006 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26008 2011-06-22 Ulrich Drepper <drepper@gmail.com>
26011 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26012 until it is clear that the information is realy needed.
26013 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26015 2011-06-22 Andreas Schwab <schwab@redhat.com>
26017 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26019 2011-06-22 Ulrich Drepper <drepper@gmail.com>
26021 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26022 /sys/devices/system/cpu/online if it is usable.
26024 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26025 reading the information from the /proc filesystem to once a second.
26027 2011-06-21 Andreas Jaeger <aj@suse.de>
26029 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26030 NULL after inclusion of kernel headers.
26032 2011-06-21 Ulrich Drepper <drepper@gmail.com>
26034 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26035 calls to internal_setent.
26038 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26039 addresses using gethostbyname4_r ignore IPv4 addresses.
26041 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26042 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26044 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26046 2011-06-20 David S. Miller <davem@davemloft.net>
26048 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26050 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26052 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26053 (elf_irel): Use it.
26054 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26055 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26056 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26057 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26058 * sysdeps/x86_64/dl-irel.h: Likewise.
26060 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26061 * elf/dl-sym.c: Likewise.
26063 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26065 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26066 need to dereference resplen2.
26068 2011-06-14 Andreas Schwab <schwab@redhat.com>
26070 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26072 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26074 * Makeconfig: Define vardbdir and inst_vardbdir.
26075 * nss/Makefile: Add rules to install db-Makefile.
26077 * nss/nss_db/db-XXX.c: Cleanup.
26079 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26080 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26082 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26083 * nss/makedb.c: Implement -g option to specify that value strings
26084 are generated and should not be added to table iterated over for
26086 * nss/nss_db/db-initgroups.c: New file.
26088 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26091 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26092 (internal_getgrouplist): Adjust to name change.
26093 Update use_initgroups_entry if this is not the first call.
26094 * nss/databases.def: Add initgroups entry.
26096 * nss/makedb.c (compute_tables): Check result of multiple hash table
26097 sizes to minimize maximum chain length.
26099 2011-06-14 Ulrich Drepper <drepper@gmail.com>
26101 * Versions.def: Add entry for libnss_db.
26102 * shlib-versions: Likewise.
26103 * nss/Makefile: Add rules to build libnss_db.
26104 * nss/Versions: Add libnss_db information. Organize libnss_files
26106 * nss/db-Makefile: Add gshadow support. Change rules for the new
26107 makedb progra. Some minor improvements to generate smaller files.
26108 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26110 * nss/makedb.c: ...here.
26111 Improve database format to be smaller and require less memory at
26113 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26115 * nss/nss_db/db-netgrp.c: Likewise.
26116 * nss/nss_db/db-open.c: Likewise.
26117 * nss/nss_files/flies-XXX.x: Adjust comments.
26118 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26119 * nss/nss_files/files-grp.c: Likewise.
26120 * nss/nss_files/files-hosts.c: Likewise.
26121 * nss/nss_files/files-network.c: Likewise.
26122 * nss/nss_files/files-proto.c: Likewise.
26123 * nss/nss_files/files-pwd.c: Likewise.
26124 * nss/nss_files/files-rpc.c: Likewise.
26125 * nss/nss_files/files-service.c: Likewise.
26126 * nss/nss_files/files-sgrp.c: Likewise.
26127 * nss/nss_files/files-spwd.c: Likewise.
26128 * nss/nss_db/db-alias.c: Removed.
26129 * nss/nss_db/dummy-db.h: Removed.
26131 2011-06-02 Ulrich Drepper <drepper@gmail.com>
26133 * nss/makedb.c: Rewritten to not use database library.
26134 * nss/Makefile: Update to build new makedb program.
26136 2011-06-14 Andreas Jaeger <aj@suse.de>
26138 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26139 memset declaration.
26141 2011-06-10 Andreas Schwab <schwab@redhat.com>
26143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26146 2011-06-10 Roland McGrath <roland@hack.frob.com>
26148 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26149 * elf/Makefile ($(objpfx)ld.so): Likewise.
26151 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26152 Don't list ld.so twice in dependencies.
26154 * posix/bug-regex31.c: Include <stdlib.h>.
26156 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26158 * nis/nss_compat/compat-spwd.c
26159 (getspent_next_nss_netgr): Remove unused variable.
26160 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26162 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26163 nonmembers" output to use the right array.
26165 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26167 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26169 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26170 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26171 * catgets/gencat.c (read_input_file): Likewise.
26172 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26174 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26175 variable definition inside #if's controlling its use.
26177 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26179 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26181 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26183 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26186 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26188 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26189 * configure: Regenerated.
26191 * Makerules: Revert last change.
26192 * elf/Makefile: Likewise.
26194 2011-06-09 Roland McGrath <roland@hack.frob.com>
26196 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26197 * elf/Makefile ($(objpfx)librtld.os): Likewise.
26198 (reloc-link): Likewise.
26200 2011-06-09 Ulrich Drepper <drepper@gmail.com>
26202 * elf/Makefile: Add rules to build pldd.
26203 * elf/pldd.c: New file.
26204 * elf/pldd-xx.c: New file.
26206 2011-06-07 Ulrich Drepper <drepper@gmail.com>
26208 * version.h: Update for 2.15 development version.
26210 2011-06-07 David S. Miller <davem@davemloft.net>
26212 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26214 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26215 elf_machine_lazy_rel): Likewise.
26216 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26217 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26218 elf_machine_lazy_rel): Likewise.
26219 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26220 dl_hwcap via passed in argument.
26221 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26224 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26226 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26228 2011-06-06 Roland McGrath <roland@hack.frob.com>
26231 * manual/fdl-1.1.texi: New file, verbatim from:
26232 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26233 * manual/lgpl-2.1.texi: New file, verbatim from:
26234 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26235 * manual/Makefile (licenses): New variable, list those new file names.
26237 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26239 * manual/fdl.texi: File removed.
26240 * manual/lesser.texi: File removed.
26241 * manual/libc.texinfo (Copying, Documentation License):
26242 Use new @include file names, put @appendix directive before @include.
26244 2011-06-04 Jakub Jelinek <jakub@redhat.com>
26247 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26248 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26249 (mq_open): Add __NTH.
26251 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26254 Assume Intel Core i3/i5/i7 processor if AVX is available.
26256 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26258 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26261 2011-05-31 Andreas Schwab <schwab@redhat.com>
26263 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26264 memory. Use alloca_account. Fix memory leak when retrying.
26266 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26268 * version.h (RELEASE): Bump for 2.14 release.
26269 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26271 * config.make.in (RANLIB): Remove entry.
26273 2011-05-30 Ulrich Drepper <drepper@gmail.com>
26275 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26276 (libc.pot): Work around missing support for .ksh extension in xgettext.
26279 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26280 if both request failed.
26281 (send_dg): In case of server errors clear resplen or *resplen2.
26284 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26285 when there are multiple maps.
26286 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26287 (_dl_fini): Remove test here.
26289 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26291 2011-05-29 Ulrich Drepper <drepper@gmail.com>
26294 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26295 bit from old_res_options.
26296 (gaih_inet): Likewise.
26299 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
26302 * resolv/res_init.c (res_setoptions): Make the code more compact.
26305 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26309 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26311 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26314 * malloc/malloc.h: Declare malloc hook variables as volatile.
26316 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26320 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
26321 raise in the comment.
26322 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26323 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26324 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
26326 2011-05-28 Ulrich Drepper <drepper@gmail.com>
26329 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26330 grow the buffers more if it already has to be sufficient.
26331 (build_wcs_upper_buffer): Likewise.
26332 * posix/regexec.c (check_matching): Likewise.
26333 (clean_state_log_if_needed): Likewise.
26334 (extend_buffers): Don't enlarge buffers beyond size of the input
26336 Patches mostly by Emil Wojak <emil@wojak.eu>.
26337 * posix/bug-regex32.c: New file.
26338 * posix/Makefile (tests): Add bug-regex32.
26340 * locale/findlocale.c (_nl_find_locale): Return right away if
26341 _nl_explode_name failed.
26342 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26344 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26346 * debug/xtrace.sh: Unify messages.
26347 * malloc/memusage.sh: Likewise.
26350 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26351 time symbol from vDSO. Substitute with vsyscall if not available.
26352 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26355 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26356 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26357 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26358 Add sendmmsg and internal_sendmmsg.
26359 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26360 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26361 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26363 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26364 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26365 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26367 2011-05-27 Ulrich Drepper <drepper@gmail.com>
26370 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26371 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26373 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26377 * iconvdata/Makefile (tests): Add bug-iconv9.
26378 * iconvdata/bug-iconv9.c: New file.
26380 2011-05-27 Andreas Schwab <schwab@redhat.com>
26383 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26385 2011-05-25 Jakub Jelinek <jakub@redhat.com>
26387 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26388 (struct user_regs_struct): Change intcs field back to cs.
26390 2011-05-25 Ulrich Drepper <drepper@gmail.com>
26392 * po/ja.po: Update from translation team.
26394 2011-05-23 Ulrich Drepper <drepper@gmail.com>
26397 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26398 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26400 2011-05-20 Andreas Schwab <schwab@redhat.com>
26402 * stdlib/longlong.h: Update from GCC.
26404 2011-05-23 Andreas Schwab <schwab@redhat.com>
26406 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26408 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26409 Add parameter name.
26410 (__sysconf): Pass it down.
26412 2011-05-22 Ulrich Drepper <drepper@gmail.com>
26415 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26417 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26418 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26419 add in in __libc_use_alloca calls. Adjust callers.
26420 (glob): Use malloc in some situations.
26422 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26423 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26426 2011-05-21 Ulrich Drepper <drepper@gmail.com>
26428 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26429 and CLOCK_BOOTTIME_ALARM.
26432 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26435 * string/_strerror.c (__strerror_r): Print negative errors as signed
26439 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26440 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26441 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26443 * configure.in: Fix typo in redirection and correct removal of test
26444 files in two cases.
26447 * locale/setlocale.c (new_composite_name): Fix test to check for
26448 identical name of all categories.
26451 * libio/filedoalloc.c (local_isatty): New function.
26452 (_IO_file_doallocate): Use local_isatty.
26453 * stdio-common/perror.c (perror): In case a new stream is used
26454 forward the stream error.
26455 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26458 2011-05-20 Ulrich Drepper <drepper@gmail.com>
26461 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26463 * include/alloca.h (extend_alloca_account): Define.
26466 * posix/regex.h: Fix comments with documentation of user-accessible
26467 fields after compilation and describe correct free'ing of pattern
26468 after re_compile_pattern.
26469 Patch by Reuben Thomas <rrt@sc3d.org>.
26471 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26473 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26474 and -mno-altivec to prevent the compiler from using Altivec and/or
26475 VSX instructions when the corresponding registers are not available.
26477 2011-05-19 Andreas Schwab <schwab@redhat.com>
26479 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26481 2011-05-19 Ulrich Drepper <drepper@gmail.com>
26483 * libio/freopen.c (freopen): Use __dup2, not dup2.
26484 * libio/freopen64.c (freopen64): Likewise.
26486 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26489 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26490 * math/Makefile (tests): Add test-powl.
26491 (CFLAGS-test-powl.c): Define.
26492 * math/test-powl.c: New file.
26494 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26496 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26498 2011-05-17 Ulrich Drepper <drepper@gmail.com>
26501 * iconvdata/gb18030.c: Update to GB18020-2005.
26503 2011-05-16 Ulrich Drepper <drepper@gmail.com>
26505 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26506 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26507 Patch by Aharon Robbins <arnold@skeeve.com>.
26510 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26514 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26515 through underflows.
26518 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26519 point to strings before performing equality test for error_one_per_line
26523 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26526 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26527 (struct user_fpregs_struct): Avoid __uint*_t types.
26530 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26531 symbol info. Use it instead of calling _dl_addr locally.
26532 (lock_and_info): New function.
26533 (tr_freehook): Call lock_and_info and pass symbol info as additional
26534 parameter to tr_where.
26535 (tr_mallochook): Likewise.
26536 (tr_reallochook): Likewise.
26537 (tr_memalignhook): Likewise.
26539 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26540 used and couldn't be at all thread-safe.
26542 2011-05-15 Ulrich Drepper <drepper@gmail.com>
26544 * libio/freopen.c (freopen): Don't close old file descriptor
26545 before the new one is opened. Instead dup the new file descriptor
26546 to the old one after the new stream is created.
26547 * libio/freopen64.c (freopen64): Likewise.
26548 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26549 * libio/fileops.c (_IO_new_file_close_it): Handle new
26550 _IO_FLAGS2_NOCLOSE flag.
26551 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26552 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26553 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26554 _IO_FLAGS2_NOCLOSE flag.
26555 * include/unistd.h: Add hidden_proto for dup3.
26556 Define __have_dup3.
26557 * io/dup3.c: Define hidden symbol.
26558 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26561 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26562 when an incomplete long option is used.
26563 * posix/tst-getopt_long1.c: New file.
26564 * posix/Makefile (tests): Add tst-getopt_long1.
26567 * scripts/config.guess: Update from autoconf-2.68.
26568 * scripts/config.sub: Likewise.
26571 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26573 (has_cpuclock): ...this. New function.
26574 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26575 macro here based on has_cpuclock code.
26578 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26579 First byte (not low byte) is now always NUL.
26580 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26582 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26583 Use non-cancelable interfaces.
26586 * locale/iso-639.def: Add entry for Sorani.
26589 * include/stdlib.h: Move include protection to the right place.
26590 Define abort_msg_s. Declare __abort_msg with it.
26591 * stdlib/abort.c (__abort_msg): Adjust type.
26592 * assert/assert.c (__assert_fail_base): New function. Majority
26593 of code from __assert_fail. Allocate memory for __abort_msg with
26595 (__assert_fail): Now call __assert_fail_base.
26596 * assert/assert-perr.c: Remove bulk of implementation. Use
26597 __assert_fail_base.
26598 * include/assert.hL Declare __assert_fail_base.
26599 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26601 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26603 2011-05-14 Ulrich Drepper <drepper@gmail.com>
26607 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26608 until all modules are registered in the DTV.
26609 * elf/Makefile: Add rules to build and run tst-tls19.
26610 * elf/tst-tls19.c: New file.
26611 * elf/tst-tls19mod1.c: New file.
26612 * elf/tst-tls19mod2.c: New file.
26613 * elf/tst-tls19mod3.c: New file.
26614 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26617 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26621 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26622 two-byte sequence errors.
26623 * iconvdata/Makefile (tests): Add bug-iconv8.
26624 * iconvdata/bug-iconv8.c: New file.
26627 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26630 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26633 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26634 (dummy_getcfa): New function.
26635 (init): Get _Unwind_GetCFA address, use dummy if not found.
26636 (backtrace_helper): In recursion check, also check whether CFA changes.
26637 (__backtrace): Completely initialize arg.
26639 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26640 storing incomplete byte sequence in state object. Avoid testing for
26641 guaranteed too small input if we know there is enough data available.
26643 2011-05-11 Andreas Schwab <schwab@redhat.com>
26645 * Makeconfig (+link-pie): Indent.
26646 * Rules (binaries-pie): Define if $(have-fpie) and
26648 (binaries-shared): Also filter out $(binaries-pie).
26649 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26650 * nscd/Makefile (others-pie): Add nscd.
26651 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26652 ($(objpfx)nscd): Remove command override.
26653 * login/Makefile (others-pie): Add pt_chown.
26654 ($(objpfx)pt_chown): Remove command override.
26655 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26656 remove command overrides.
26658 2011-05-13 Ulrich Drepper <drepper@gmail.com>
26660 * libio/tst_putwc.c: Fix error messages.
26663 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26664 currently writing and seek to current position when not.
26665 * libio/Makefile (tests): Add bug-fclose1.
26666 * libio/bug-fclose1.c: New file.
26668 2011-05-12 Ulrich Drepper <drepper@gmail.com>
26671 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26672 don't set DF_1_NODELETE here.
26673 (do_lookup_x): When entering new entry test for copy relocation
26674 and if necessary set DF_1_NODELETE flag.
26675 * elf/tst-unique4.cc: New file.
26676 * elf/tst-unique4.h: New file.
26677 * elf/tst-unique4lib.cc: New file.
26678 * elf/Makefile: Add rules to build and run tst-unique4.
26679 Patch by Piotr Bury <pbury@goahead.com>.
26681 2011-05-11 Ulrich Drepper <drepper@gmail.com>
26684 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26687 * misc/mntent_r.c (addmntent): Flush the stream after the output
26690 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26691 (is_trusted_path_normalize): Skip initial colon. Append slash
26692 to empty buffer. Duplicate is_trusted_path code but allow
26693 constructed patch to be prefix.
26694 (is_dst): Allow $ORIGIN followed by /.
26695 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26696 Correct testing of result of is_trusted_path_normalize
26697 (decompose_rpath): Fix warning.
26699 2011-05-10 Ulrich Drepper <drepper@gmail.com>
26702 * grp/initgroups.c (internal_getgrouplist): When we found the service
26703 list through the initgroups entry in nsswitch.conf do not always
26704 continue on a successful lookup. Don't always use the
26705 __nss_group_database value if it is set.
26706 * nss/nsswitch.conf (initgroups): Change action for successful db
26707 lookup to continue for compatibility.
26709 2011-05-09 Ulrich Drepper <drepper@gmail.com>
26712 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26714 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26716 * iconvdata/tst-tables.sh: Likewise.
26717 * iconvdata/cp770.c: New file.
26718 * iconvdata/cp771.c: New file.
26719 * iconvdata/cp772.c: New file.
26720 * iconvdata/cp773.c: New file.
26721 * iconvdata/cp774.c: New file.
26722 * iconvdata/testdata/CP770: New file.
26723 * iconvdata/testdata/CP770..UTF8: New file.
26724 * iconvdata/testdata/CP771: New file.
26725 * iconvdata/testdata/CP771..UTF8: New file.
26726 * iconvdata/testdata/CP772: New file.
26727 * iconvdata/testdata/CP772..UTF8: New file.
26728 * iconvdata/testdata/CP773: New file.
26729 * iconvdata/testdata/CP773..UTF8: New file.
26730 * iconvdata/testdata/CP774: New file.
26731 * iconvdata/testdata/CP774..UTF8: New file.
26733 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26735 * iconvdata/gen-8bit-gap.sh: Likewise.
26736 * iconvdata/gen-8bit.sh: Likewise.
26738 * locale/iso-639.def: Add ary entry.
26741 * locale/C-translit.h.in: Add U20A1 transliteration.
26744 * locale/iso-639.def: Add wae entry.
26745 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26748 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26752 * locale/C-translit.h.in: Add entry for U20B9.
26753 Patch by pravin.d.s@gmail.com.
26755 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26758 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26759 ENAMETOOLONG use generic getcwd.
26760 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26761 in rtld. Use *stat64.
26762 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26763 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26764 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26765 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26766 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26767 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26768 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26769 __fstatat64 macros.
26770 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26771 * dirent/rewinddir.c: Add libc_hidden_def.
26772 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26773 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26775 * include/dirent.h (__alloc_dir): Add flags parameter.
26776 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26777 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26779 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26780 from fdopendir if O_CLOEXEC is already set.
26782 2011-03-15 Alan Modra <amodra@gmail.com>
26784 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26785 l_tls_firstbyte_offset non-zero. Save padding offset in
26786 l_tls_firstbyte_offset for later use.
26787 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26788 freeing static tls block.
26790 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26792 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26793 where #ifdef was intended. The intent is to prevent ARG_MAX from
26794 being defined by the kernel headers.
26796 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26799 * resolv/resolv.h: Define RES_NOTLDQUERY.
26800 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26801 no-tld-query and set RES_NOTLDQUERY.
26802 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26803 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26804 modern BIND to search name as TLD unless forbidden.
26806 2011-05-07 Petr Baudis <pasky@suse.cz>
26807 Ulrich Drepper <drepper@gmail.com>
26810 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26811 (is_trusted_path): ...to here.
26812 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26813 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26814 using is_trusted_path_normalize() in setuid scripts.
26816 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26818 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26819 __BEGIN/__END_DECLS.
26821 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26823 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26824 NSS_STATUS_NOTFOUND if no record was found.
26826 2011-05-05 Andreas Schwab <schwab@redhat.com>
26828 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26829 (headers-not-in-tirpc): Remove rpc/netdb.h
26830 * resolv/netdb.h: Revert last change.
26832 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26834 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26835 circular dependency between libgcc.a and libc.a.
26837 2011-05-05 Andreas Schwab <schwab@redhat.com>
26839 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26840 * nis/Makefile: Don't install rpcsvc/*.
26841 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26842 instead of <rpc/types.h>.
26843 (MAXHOSTNAMELEN): Define.
26845 2011-05-03 Andreas Schwab <schwab@redhat.com>
26847 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26849 2011-04-28 Maciej Babinski <mbabinski@google.com>
26852 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26853 gethostbyname4_r when IPv6 results are possible.
26855 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26858 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26859 _PC_PIPE_BUF handling.
26861 2011-04-30 Bruno Haible <bruno@clisp.org>
26864 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26865 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26867 * inet/getnameinfo.c (getnameinfo): Likewise.
26869 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26871 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26872 to groups setting in database lookup.
26873 * nss/nsswitch.conf: Add initgroups entry.
26875 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26878 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26880 Patch by Eric Blake <eblake@redhat.com>.
26882 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26884 * sunrpc/Makefile (need-export-routines): Add svc_run.
26885 (routines): Remove svc_run.
26886 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26887 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26888 * sunrpc/svc_run.c (svc_run): Likewise.
26889 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26891 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26893 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26894 problem in reallocation in last patch.
26896 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26898 * sunrpc/Makefile: Move inclusion of Rules.
26900 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26902 * nss/nss_files/files-initgroups.c: New file.
26903 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26904 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26905 _nss_files_initgroups_dyn.
26907 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26909 * elf/elf.h (R_ARM_IRELATIVE): Define.
26911 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26913 * po/ru.po: Update from translation team.
26915 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26917 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26920 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26923 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26924 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26925 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26926 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26927 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26929 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26931 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26933 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26934 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26935 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26937 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26940 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26942 * stdlib/bug-getcontext.c: New file.
26943 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26945 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26947 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26948 instructions into .machine "z9-109".
26949 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26950 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26952 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26954 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26955 between environment variables and auxiliary vector.
26957 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26959 * Makefile: Add rules to build linkobj/libc.so.
26960 * include/libc-symbols.h: Define libc_hidden_nolink.
26961 * include/rpc/auth.h: Mark functions which are to be hidden.
26962 * include/rpc/auth_des.h: Likewise.
26963 * include/rpc/auth_unix.h: Likewise.
26964 * include/rpc/clnt.h: Likewise.
26965 * include/rpc/des_crypt.h: Likewise.
26966 * include/rpc/key_prot.h: Likewise.
26967 * include/rpc/pmap_clnt.h: Likewise.
26968 * include/rpc/pmap_prot.h: Likewise.
26969 * include/rpc/pmap_rmt.h: Likewise.
26970 * include/rpc/rpc_msg.h: Likewise.
26971 * include/rpc/svc.h: Likewise.
26972 * include/rpc/svc_auth.h: Likewise.
26973 * include/rpc/xdr.h: Likewise.
26974 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26975 * nss/Makefile: Likewise.
26976 * sunrpc/Makefile: Don't install headers. Build library with normal
26977 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26978 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26979 for the compat linking library. Remove use of INTDEF/INTUSE.
26980 * sunrpc/auth_none.c: Likewise.
26981 * sunrpc/auth_unix.c: Likewise.
26982 * sunrpc/authdes_prot.c: Likewise.
26983 * sunrpc/authuxprot.c: Likewise.
26984 * sunrpc/clnt_gen.c: Likewise.
26985 * sunrpc/clnt_perr.c: Likewise.
26986 * sunrpc/clnt_raw.c: Likewise.
26987 * sunrpc/clnt_simp.c: Likewise.
26988 * sunrpc/clnt_tcp.c: Likewise.
26989 * sunrpc/clnt_udp.c: Likewise.
26990 * sunrpc/clnt_unix.c: Likewise.
26991 * sunrpc/des_crypt.c: Likewise.
26992 * sunrpc/des_soft.c: Likewise.
26993 * sunrpc/get_myaddr.c: Likewise.
26994 * sunrpc/key_call.c: Likewise.
26995 * sunrpc/key_prot.c: Likewise.
26996 * sunrpc/netname.c: Likewise.
26997 * sunrpc/pm_getmaps.c: Likewise.
26998 * sunrpc/pm_getport.c: Likewise.
26999 * sunrpc/pmap_clnt.c: Likewise.
27000 * sunrpc/pmap_prot.c: Likewise.
27001 * sunrpc/pmap_prot2.c: Likewise.
27002 * sunrpc/pmap_rmt.c: Likewise.
27003 * sunrpc/publickey.c: Likewise.
27004 * sunrpc/rpc_cmsg.c: Likewise.
27005 * sunrpc/rpc_common.c: Likewise.
27006 * sunrpc/rpc_dtable.c: Likewise.
27007 * sunrpc/rpc_prot.c: Likewise.
27008 * sunrpc/rpc_thread.c: Likewise.
27009 * sunrpc/rtime.c: Likewise.
27010 * sunrpc/svc.c: Likewise.
27011 * sunrpc/svc_auth.c: Likewise.
27012 * sunrpc/svc_authux.c: Likewise.
27013 * sunrpc/svc_raw.c: Likewise.
27014 * sunrpc/svc_run.c: Likewise.
27015 * sunrpc/svc_simple.c: Likewise.
27016 * sunrpc/svc_tcp.c: Likewise.
27017 * sunrpc/svc_udp.c: Likewise.
27018 * sunrpc/svc_unix.c: Likewise.
27019 * sunrpc/svcauth_des.c: Likewise.
27020 * sunrpc/xcrypt.c: Likewise.
27021 * sunrpc/xdr.c: Likewise.
27022 * sunrpc/xdr_array.c: Likewise.
27023 * sunrpc/xdr_float.c: Likewise.
27024 * sunrpc/xdr_intXX_t.c: Likewise.
27025 * sunrpc/xdr_mem.c: Likewise.
27026 * sunrpc/xdr_rec.c: Likewise.
27027 * sunrpc/xdr_ref.c: Likewise.
27028 * sunrpc/xdr_sizeof.c: Likewise.
27029 * sunrpc/xdr_stdio.c: Likewise.
27031 2011-04-10 Ulrich Drepper <drepper@gmail.com>
27034 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27035 * sysdeps/ia64/dl-tls.h: Likewise.
27036 * sysdeps/powerpc/dl-tls.h: Likewise.
27037 * sysdeps/s390/dl-tls.h: Likewise.
27038 * sysdeps/sh/dl-tls.h: Likewise.
27039 * sysdeps/sparc/dl-tls.h: Likewise.
27040 * sysdeps/x86_64/dl-tls.h: Likewise.
27041 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27043 2011-03-14 Andreas Schwab <schwab@redhat.com>
27045 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27046 rpath element also skip the following colon.
27047 (expand_dynamic_string_token): Add is_path parameter and pass
27048 down to DL_DST_REQUIRED and _dl_dst_substitute.
27049 (decompose_rpath): Call expand_dynamic_string_token with
27050 non-zero is_path. Ignore empty rpaths.
27051 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27054 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27059 2011-04-09 Ulrich Drepper <drepper@gmail.com>
27062 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27063 Patch by Filipe David Manana <fdmanana@apache.org>.
27065 2011-04-07 Andreas Schwab <schwab@redhat.com>
27067 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27068 Maintain aligned stack.
27069 (CHECK_RSP): Remove unused macro.
27071 2011-04-03 Ulrich Drepper <drepper@gmail.com>
27073 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27074 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27076 2011-04-02 Ulrich Drepper <drepper@gmail.com>
27078 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27080 * include/features.h: Mention __USE_XOPEN2K8 in comment.
27082 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27085 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27086 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27087 * sysdeps/x86_64/memmove.c: New file.
27088 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27089 (memcpy): Renamed to ...
27090 (__new_memcpy): This.
27091 (memcpy): Provide GLIBC_2_14 memcpy.
27092 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27093 (memcpy): Provide GLIBC_2_2_5 memcpy.
27095 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27098 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27100 2011-03-30 Andreas Schwab <schwab@redhat.com>
27102 * misc/syncfs.c: New file.
27103 * misc/Makefile (routines): Add syncfs.
27104 * posix/unistd.h: Declare syncfs.
27105 * sysdeps/unix/syscalls.list: Add syncfs.
27107 2011-04-01 Andreas Schwab <schwab@redhat.com>
27109 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27111 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27112 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27113 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27114 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27115 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27116 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27117 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27119 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27121 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27122 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27123 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27124 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27125 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27126 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27127 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27129 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27130 sync_file_range.c with -fexceptions.
27131 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27132 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27133 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27134 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27135 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27136 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27137 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
27138 sync_file_range as cancellation point
27139 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27140 now a wrapper around __call_sync_file_range with cancellation handling.
27141 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27142 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27143 function name to __call_sync_file_range.
27144 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27145 Add call_sync_file_range.
27147 2011-04-01 Andreas Schwab <schwab@redhat.com>
27149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27152 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27154 * iconv/iconv.h: Fix typo in comment.
27155 * io/fcntl.h: Likewise.
27156 * libio/stdio.h: Likewise.
27157 * posix/spawn.h: Likewise.
27158 * posix/unistd.h: Likewise.
27159 * stdlib/stdlib.h: Likewise.
27160 * time/time.h: Likewise.
27161 * wcsmbs/wchar.h: Likewise.
27163 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27164 open_by_handle): Add.
27165 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27166 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27167 Augment a few comments.
27168 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27169 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27170 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27171 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27172 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27173 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27176 * io/fcntl.h (AT_EMPTY_PATH): Define.
27178 2011-03-30 Ulrich Drepper <drepper@gmail.com>
27180 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27181 * sysdeps/unix/sysv/linux/bits/time.h: New file.
27182 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27184 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
27185 * Versions.def: Add GLIBC_2.14.
27186 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27189 2011-03-22 Ulrich Drepper <drepper@gmail.com>
27191 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27193 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27195 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
27198 * string/test-strncmp.c (do_page_test): New function.
27199 (check2): Likewise.
27200 (test_main): Call check2.
27201 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27203 2011-03-20 Ulrich Drepper <drepper@gmail.com>
27206 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27207 Handle cache information in CPU leaf 4.
27208 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27210 2011-03-18 Ulrich Drepper <drepper@gmail.com>
27213 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27214 character representation.
27215 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27217 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27219 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27220 END(__isnan) to END(__isnanf) to match function entry point/label
27221 EALIGN(__isnanf,...).
27223 2011-03-10 Jakub Jelinek <jakub@redhat.com>
27225 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27227 2011-03-10 Ulrich Drepper <drepper@gmail.com>
27230 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27231 copy from the symbol referenced in the relocation to initialize the
27233 Patch by Piotr Bury <pbury@goahead.com>.
27234 * elf/Makefile: Add rules to build and tst-unique3.
27235 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27236 * elf/tst-unique3.cc: New file.
27237 * elf/tst-unique3.h: New file.
27238 * elf/tst-unique3lib.cc: New file.
27239 * elf/tst-unique3lib2.cc: New file.
27241 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27243 2011-03-10 Mike Frysinger <vapier@gentoo.org>
27245 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27246 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27249 2011-03-06 Ulrich Drepper <drepper@gmail.com>
27251 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27252 to-be-loaded object along a path to loader is ld.so.
27254 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27255 Ulrich Drepper <drepper@gmail.com>
27257 * sysdeps/x86_64/memset.S: After aligning destination, code
27258 branches to different locations depending on the value of
27259 misalignment, when multiarch is enabled. Fix this.
27261 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27263 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27264 Set _x86_64_preferred_memory_instruction for AMD processsors.
27265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27266 Set bit_Prefer_SSE_for_memop for AMD processors.
27268 2011-03-04 Ulrich Drepper <drepper@gmail.com>
27270 * libio/fmemopen.c (fmemopen): Optimize a bit.
27272 2011-03-03 Andreas Schwab <schwab@redhat.com>
27274 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27276 2011-03-03 Roland McGrath <roland@redhat.com>
27278 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27280 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27282 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
27283 __bzero_ultra1 instead of __memset_ultra1.
27285 2011-02-23 Andreas Schwab <schwab@redhat.com>
27286 Ulrich Drepper <drepper@gmail.com>
27289 * include/link.h (struct link_map): Add l_orig_initfini.
27290 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27291 returning unsuccessfully.
27292 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27293 close of a file loaded at startup, restore the original l_initfini
27295 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27296 list, store the pointer.
27297 * elf/Makefile ($(objpfx)noload-mem): New rule.
27298 (noload-ENV): Define.
27299 (tests): Add $(objpfx)noload-mem.
27300 * elf/noload.c: Include <memcheck.h>.
27301 (main): Call mtrace. Close all opened handles.
27303 2011-02-17 Andreas Schwab <schwab@redhat.com>
27306 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27307 dependencies are missing.
27309 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27311 Fix __if_freereq crash: Unlike the generic version which uses free,
27313 * sysdeps/mach/hurd/ifreq.h: New file.
27315 2011-01-27 Petr Baudis <pasky@suse.cz>
27316 Ulrich Drepper <drepper@gmail.com>
27319 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27320 to extend_alloca().
27321 * stdio-common/bug23.c: New file.
27322 * stdio-common/Makefile (tests): Add bug23.
27324 2010-09-28 Andreas Schwab <schwab@redhat.com>
27325 Ulrich Drepper <drepper@gmail.com>
27328 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27329 before performing relro protection. At old place add assertion
27330 to make sure nothing changed.
27332 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27333 Glauber de Oliveira Costa <glommer@gmail.com>
27335 * elf/elf.h: Add new ARM TLS relocs.
27337 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27340 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27342 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27344 * sysdeps/wordsize-64/tst-writev.c: New file.
27346 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27348 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27349 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27350 insns in _dl_start to prevent a TOC reference before relocs are
27353 2011-02-15 Ulrich Drepper <drepper@gmail.com>
27356 * Makeconfig: Remove RANLIB definition.
27357 * Makerules: Don't use RANLIB.
27358 * aclocal.m4: Remove ranlib test.
27359 * configure.in: No need to check for ranlib.
27360 * elf/rtld-Rules: Don't use RANLIB.
27362 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27364 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27366 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27367 inclusion protection macro.
27369 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27370 SIGRTMIN and SIGRTMAX and print information in that case only when
27371 SIGRTMIN is defined.
27373 2011-02-11 Jakub Jelinek <jakub@redhat.com>
27375 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27376 arginfo fn returning -1.
27378 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27379 and thousands string is zero terminated.
27381 2011-02-03 Andreas Schwab <schwab@redhat.com>
27383 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27384 sysdeps/unix/sysv/linux/bits/socket.h.
27386 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27388 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27389 (__CPU_COUNT): Remove old macros.
27390 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27391 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27392 (__CPU_ALLOC, __CPU_FREE): Add macros.
27393 (__sched_cpualloc, __sched_cpufree): Add declarations.
27395 2011-02-05 Ulrich Drepper <drepper@gmail.com>
27397 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27398 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27399 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27400 (readdhstai): Return value of addhstaiX call.
27401 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27402 (addgrbyX): Return value returned by cache_addgr.
27403 (readdgrbyname): Return value returned by addgrbyX.
27404 (readdgrbygid): Likewise.
27405 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27406 (addpwbyX): Return value returned by cache_addpw.
27407 (readdpwbyname): Return value returned by addhstbyX.
27408 (readdpwbyuid): Likewise.
27409 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27410 (addservbyX): Return value returned by cache_addserv.
27411 (readdservbyname): Return value returned by addservbyX:
27412 (readdservbyport): Likewise.
27413 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27414 (addhstbyX): Return value returned by cache_addhst.
27415 (readdhstbyname): Return value returned by addhstbyX.
27416 (readdhstbyaddr): Likewise.
27417 (readdhstbynamev6): Likewise.
27418 (readdhstbyaddrv6): Likewise.
27419 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27420 (readdinitgroups): Return value returned by addinitgroupsX.
27421 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27422 (prune_cache): Keep track of timeout value of re-added entries.
27423 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27424 * nscd/nscd.h: Adjust prototypes of readd* functions.
27426 2011-02-04 Roland McGrath <roland@redhat.com>
27428 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27429 (nis_stats): Likewise.
27430 * nis/nis_modify.c (nis_modify): Likewise.
27431 * nis/nis_remove.c (nis_remove): Likewise.
27432 * nis/nis_add.c (nis_add): Likewise.
27434 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27436 * posix/fnmatch_loop.c: Add some consts.
27438 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27440 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27443 * config.make.in (config-cflags-novzeroupper): Define.
27444 * configure.in: Substitute libc_cv_cc_novzeroupper.
27445 * elf/Makefile (AVX-CFLAGS): Define.
27446 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27447 (CFLAGS-tst-auditmod4a.c): Likewise.
27448 (CFLAGS-tst-auditmod4b.c): Likewise.
27449 (CFLAGS-tst-auditmod6b.c): Likewise.
27450 (CFLAGS-tst-auditmod6c.c): Likewise.
27451 (CFLAGS-tst-auditmod7b.c): Likewise.
27452 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27454 2011-02-02 Ulrich Drepper <drepper@gmail.com>
27456 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27457 function to the callback.
27458 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27460 2011-02-02 Andreas Schwab <schwab@redhat.com>
27462 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27465 2011-01-19 Ulrich Drepper <drepper@gmail.com>
27468 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27470 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27472 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27475 * elf/Makefile: Add rules to build and run new test.
27476 * elf/tst-initorder.c: New file.
27477 * elf/tst-initorder.exp: New file.
27478 * elf/tst-initordera1.c: New file.
27479 * elf/tst-initordera2.c: New file.
27480 * elf/tst-initordera3.c: New file.
27481 * elf/tst-initordera4.c: New file.
27482 * elf/tst-initorderb1.c: New file.
27483 * elf/tst-initorderb2.c: New file.
27484 * elf/tst-order-a1.c: New file.
27485 * elf/tst-order-a2.c: New file.
27486 * elf/tst-order-a3.c: New file.
27487 * elf/tst-order-a4.c: New file.
27488 * elf/tst-order-b1.c: New file.
27489 * elf/tst-order-b2.c: New file.
27490 * elf/tst-order-main.c: New file.
27491 New test case by George Gensure <werkt0@gmail.com>.
27493 2010-10-01 Andreas Schwab <schwab@redhat.com>
27495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27496 decoding ACE if AI_CANONIDN.
27498 2011-01-18 Ulrich Drepper <drepper@gmail.com>
27500 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27502 2011-01-17 Ulrich Drepper <drepper@gmail.com>
27504 * version.h (RELEASE): Bump for 2.13 release.
27505 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27507 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27509 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27511 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27512 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27513 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27514 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27515 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27516 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27518 * posix/getconf.c: Update copyright year.
27519 * catgets/gencat.c: Likewise.
27520 * csu/version.c: Likewise.
27521 * debug/catchsegv.sh: Likewise.
27522 * debug/xtrace.sh: Likewise.
27523 * elf/ldconfig.c: Likewise.
27524 * elf/ldd.bash.in: Likewise.
27525 * elf/sprof.c (print_version): Likewise.
27526 * iconv/iconv_prog.c: Likewise.
27527 * iconv/iconvconfig.c: Likewise.
27528 * locale/programs/locale.c: Likewise.
27529 * locale/programs/localedef.c: Likewise.
27530 * malloc/memusage.sh: Likewise.
27531 * malloc/mtrace.pl: Likewise.
27532 * nscd/nscd.c (print_version): Likewise.
27533 * nss/getent.c: Likewise.
27535 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27536 PF_CAIF, and PF_ALG.
27537 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27539 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27541 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27542 (modules-names): Use them.
27543 (ifunc-test-modules, ifunc-pie-tests): Define.
27544 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27545 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27546 (test-extras): Likewise.
27547 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27548 $(compile-command.c).
27549 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27550 (all-built-dso): Define.
27551 (check-textrel.out, check-execstack.out): Depend on it.
27553 * configure.in: Don't override --enable-multi-arch.
27555 2011-01-15 Ulrich Drepper <drepper@gmail.com>
27558 * nscd/hstcache.c (tryagain): Define.
27559 (cache_addhst): Return tryagain not notfound for temporary errors.
27560 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27563 2011-01-14 Ulrich Drepper <drepper@gmail.com>
27566 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27567 to make the syscall.
27568 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27571 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27572 and fall back to matching as normal character if the string ends before
27573 the matching ']' is found. This is what POSIX requires.
27574 * posix/testfnm.c: Adjust test result.
27575 * posix/globtest.sh: Adjust test result. Add new test.
27576 * posix/tst-fnmatch.input: Likewise.
27577 * posix/tst-fnmatch2.c: Add new test.
27579 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27581 * elf/Makefile (check-execstack): Revert last change. Depend on
27583 (check-execstack.h): New target.
27584 (generated): Add check-execstack.h.
27585 * elf/check-execstack.c: Include "check-execstack.h".
27586 (main): Revert last change.
27587 (handle_file): Return zero if GNU_STACK is absent and
27588 DEFAULT_STACK_PERMS doesn't include PF_X.
27590 2011-01-13 Ulrich Drepper <drepper@gmail.com>
27592 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27593 in child fails because the descriptor is already closed.
27594 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27595 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27596 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
27599 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27603 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27604 temporary buffer used to handle multi lookups locally.
27605 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
27607 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27609 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27612 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27614 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27615 alignment for SSE2.
27617 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27620 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27621 characters. When rounding increased number of integer digits recompute
27623 * stdio-common/tst-grouping.c: New file.
27624 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27626 2011-01-09 Ulrich Drepper <drepper@gmail.com>
27628 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27629 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27631 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27633 * bits/select.h: Likewise.
27635 2011-01-08 Ulrich Drepper <drepper@gmail.com>
27637 * po/ja.po: Update from translation team.
27639 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
27642 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27643 implementation just like for lxstat, fxstatat, et al.
27645 2010-12-27 Jim Meyering <meyering@redhat.com>
27648 * posix/regexec.c (build_trtable): Return failure indication upon
27649 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27651 2010-12-25 Ulrich Drepper <drepper@gmail.com>
27654 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27655 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27656 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27657 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27660 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27663 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27664 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27666 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27668 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27669 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27670 script has SORT_BY_INIT_PRIORITY.
27671 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27672 NO_CTORS_DTORS_SECTIONS is defined.
27673 * elf/soinit.c: Likewise.
27674 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27675 NO_CTORS_DTORS_SECTIONS is defined.
27676 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27677 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27678 * sysdeps/sh/init-first.c: Likewise.
27679 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27681 2010-12-24 Ulrich Drepper <drepper@gmail.com>
27683 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27684 always use the slow path.
27686 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27688 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27689 similar rule which adds the sysdep directories to the header search in
27690 order to pick up the correct platform stackinfo.h.
27691 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27692 perform test if it is, otherwise return successfully without testing.
27693 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27694 DEFAULT_STACK_PERMS define in stackinfo.h.
27695 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27696 defined in stackinfo.h.
27697 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27698 DEFAULT_STACK_PERMS defined in stackinfo.h.
27699 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27700 * sysdeps/ia64/stackinfo.h: Likewise.
27701 * sysdeps/s390/stackinfo.h: Likewise.
27702 * sysdeps/sh/stackinfo.h: Likewise.
27703 * sysdeps/sparc/stackinfo.h: Likewise.
27704 * sysdeps/x86_64/stackinfo.h: Likewise.
27705 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27706 PF_X for powerpc64. Retain PF_X for powerpc32.
27708 2010-12-19 Ulrich Drepper <drepper@gmail.com>
27710 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27712 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27713 GETDENTS_64BIT_ALIGNED.
27715 2010-12-14 Ulrich Drepper <dreper@gmail.com>
27717 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27719 2010-12-10 Andreas Schwab <schwab@redhat.com>
27721 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27724 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27725 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27727 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27728 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27730 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27733 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27736 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27738 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27740 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27742 * po/it.po: Update from translation team.
27744 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27746 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27749 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27751 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27753 2010-11-24 Andreas Schwab <schwab@redhat.com>
27755 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27757 (gaih_getanswer_slice): Likewise.
27759 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27761 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27763 2010-05-31 Petr Baudis <pasky@suse.cz>
27766 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27767 silently even in the chroot mode.
27769 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27771 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27772 last patch a bit. Pretty printing
27774 2010-05-31 Petr Baudis <pasky@suse.cz>
27777 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27778 initialization of skip_initgroups_dyn.
27780 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27782 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27783 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27785 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27787 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27789 2010-11-11 Andreas Schwab <schwab@redhat.com>
27791 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27792 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27793 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27794 ($(objpfx)tst-fnmatch-mem): New rule.
27795 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27796 * posix/tst-fnmatch.c (main): Call mtrace.
27798 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27801 Support Intel processor model 6 and model 0x2c.
27803 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27805 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27808 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27811 * string/test-strncasecmp.c (check_result): New function.
27812 (do_one_test): Use it.
27813 (check1): New function.
27814 (test_main): Use it.
27815 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27816 Support strcasecmp and strncasecmp.
27818 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27821 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27822 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27824 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27826 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27828 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27830 * sysdeps/x86_64/multiarch/bzero.S: New file.
27831 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27832 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27833 * sysdeps/x86_64/multiarch/memset.S: New file.
27834 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27836 Set bit_Prefer_SSE_for_memop for Intel processors.
27837 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27839 (index_Prefer_SSE_for_memop): Define.
27840 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27842 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27844 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27845 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27847 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27850 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27851 (__x86_64_raw_data_cache_size_half): Likewise.
27852 (__x86_64_raw_shared_cache_size): Likewise.
27853 (__x86_64_raw_shared_cache_size_half): Likewise.
27855 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27856 (__x86_64_raw_data_cache_size_half): Likewise.
27857 (__x86_64_raw_shared_cache_size): Likewise.
27858 (__x86_64_raw_shared_cache_size_half): Likewise.
27859 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27860 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27861 and __x86_64_raw_shared_cache_size_half. Round
27862 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27863 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27864 to multiple of 256 bytes.
27866 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27869 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27870 of inacessible symlinks. Verify result of symlink before returning it.
27871 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27872 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27874 2010-10-28 Erich Ritz <erichritz@gmail.com>
27876 * math/math.h (isinf): Fix typo in comment.
27878 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27880 * po/da.po: Update from translation team.
27882 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27884 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27885 is added to the list.
27887 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27888 Ulrich Drepper <drepper@gmail.com>
27890 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27891 the global list here. Move code to...
27892 (_dl_add_to_namespace_list): ...here. New function.
27893 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27894 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27895 * elf/dl-load.c (lose): Don't remove the element from the list.
27896 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27897 (_dl_map_object): Likewise.
27899 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27902 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27903 into all bytes of SSE register.
27904 Patch by Richard Li <richardpku@gmail.com>.
27906 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27909 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27912 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27914 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27915 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27916 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27917 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27922 2010-10-22 Andreas Schwab <schwab@redhat.com>
27924 * include/dlfcn.h (__RTLD_SECURE): Define.
27925 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27926 mode & __RTLD_SECURE instead.
27927 (open_path): Rename preloaded parameter to secure.
27928 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27929 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27930 * elf/dl-deps.c (openaux): Likewise.
27931 * elf/rtld.c (struct map_args): Remove is_preloaded.
27932 (map_doit): Don't use it.
27933 (dl_main): Likewise.
27934 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27935 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27937 2010-09-09 Andreas Schwab <schwab@redhat.com>
27939 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27940 (sysd-rules-targets): Remove duplicates.
27941 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27942 rtld-%.$o dependency.
27944 2010-10-18 Andreas Schwab <schwab@redhat.com>
27946 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27947 _dl_map_object do it.
27949 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27951 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27952 fast fma builtins, define the macros in the C99 standard.
27953 (FP_FAST_FMAF): Likewise.
27954 (FP_FAST_FMAL): Likewise.
27955 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27957 * bits/mathdef.h: Update copyright year.
27958 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27960 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27962 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27963 builtins, define the macros in the C99 standard.
27964 (FP_FAST_FMAF): Likewise.
27965 (FP_FAST_FMAL): Likewise.
27966 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27968 (FP_FAST_FMAF): Likewise.
27970 2010-10-15 Jakub Jelinek <jakub@redhat.com>
27973 * math/libm-test.inc (fma_test): Some new testcases.
27974 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27975 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27976 y and infinite z. Do multiplication by C already in long double.
27977 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27978 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27979 y and infinite z. Do bitwise or of inexact bit into u.d.
27980 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27981 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27982 * sysdeps/i386/fpu/s_fma.S: Removed.
27983 * sysdeps/i386/fpu/s_fmal.S: Removed.
27985 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27988 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27989 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27990 computation is not scheduled after fetestexcept. Fix value
27991 of minimum denormal long double.
27993 2010-10-14 Jakub Jelinek <jakub@redhat.com>
27996 * math/libm-test.inc (fma_test): Add some more tests.
27997 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
28000 2010-10-15 Andreas Schwab <schwab@redhat.com>
28002 * scripts/data/localplt-s390-linux-gnu.data: New file.
28003 * scripts/data/localplt-s390x-linux-gnu.data: New file.
28005 2010-10-13 Jakub Jelinek <jakub@redhat.com>
28008 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28009 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28011 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28013 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28015 if one of x and y is very large and the other is subnormal.
28016 * sysdeps/s390/fpu/s_fmaf.c: New file.
28017 * sysdeps/s390/fpu/s_fma.c: New file.
28018 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28019 * sysdeps/powerpc/fpu/s_fma.S: New file.
28020 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28021 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28022 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28024 2010-10-12 Jakub Jelinek <jakub@redhat.com>
28027 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28029 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28030 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28031 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28032 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28033 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28034 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28035 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28037 2010-10-12 Ulrich Drepper <drepper@redhat.com>
28040 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28041 * posix/bug-regex31.input: Add test case.
28043 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28045 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28046 * posix/bug-regex31.input: New file.
28049 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28050 (parse_sub_exp): Fix last change, use postorder.
28052 * posix/bug-regex31.c: New file.
28053 * posix/Makefile: Add rules to build and run bug-regex31.
28055 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28058 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28061 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28062 to have entries in sys_siglist.
28065 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28068 2010-10-07 Jakub Jelinek <jakub@redhat.com>
28071 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28072 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28073 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28074 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28075 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28076 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28077 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28078 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28079 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28080 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28081 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28082 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28083 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28084 * math/ftestexcept.c (fetestexcept): Likewise.
28085 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28086 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28087 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28088 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28089 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28090 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28091 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28093 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28096 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28099 2010-10-06 Ulrich Drepper <drepper@gmail.com>
28101 * string/bug-strstr1.c: New file.
28102 * string/Makefile: Add rules to build and run bug-strstr1.
28104 2010-10-05 Eric Blake <eblake@redhat.com>
28107 * string/str-two-way.h (two_way_long_needle): Always clear memory
28108 when skipping input due to the shift table.
28110 2010-10-03 Ulrich Drepper <drepper@gmail.com>
28113 * malloc/mcheck.c: Handle large requests.
28116 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28117 for strncmp and strncasecmp.
28118 * string/stratcliff.c: Add tests for strcmp and strncmp.
28119 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28121 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28123 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28126 2010-09-30 Andreas Jaeger <aj@suse.de>
28128 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28129 (CGROUP_SUPER_MAGIC): Define.
28130 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28131 Handle btrfs and cgroup file systems.
28132 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28135 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
28137 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28138 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28140 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28143 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28144 trying to locate the ELF header.
28146 2010-09-27 Andreas Schwab <schwab@redhat.com>
28149 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28150 Mask out sign-bit copies when constructing f_fsid.
28152 2010-09-24 Petr Baudis <pasky@suse.cz>
28154 * debug/stack_chk_fail_local.c: Add missing licence exception.
28155 * debug/warning-nop.c: Likewise.
28157 2010-09-15 Joseph Myers <joseph@codesourcery.com>
28159 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28160 implementing getdents64 using getdents syscall, set d_type if
28161 __ASSUME_GETDENTS32_D_TYPE.
28163 2010-09-16 Andreas Schwab <schwab@redhat.com>
28165 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28166 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28168 2010-09-21 Ulrich Drepper <drepper@redhat.com>
28171 * posix/unistd.h: Undo change of feature selection for ftruncate from
28174 2010-09-20 Ulrich Drepper <drepper@redhat.com>
28176 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
28179 2010-09-20 Andreas Schwab <schwab@redhat.com>
28181 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28183 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28185 2010-09-14 Andreas Schwab <schwab@redhat.com>
28187 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28188 variables after CHECK_SP call.
28189 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28191 2010-09-13 Andreas Schwab <schwab@redhat.com>
28192 Ulrich Drepper <drepper@redhat.com>
28194 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28195 re-relocationg ld.so.
28196 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28197 _dl_init_paths call.
28198 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
28201 2010-09-14 Ulrich Drepper <drepper@redhat.com>
28203 * resolv/res_init.c (__res_vinit): Count the default server we added.
28205 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28206 Ulrich Drepper <drepper@redhat.com>
28209 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28210 (____longjmp_chk): Use %ebx for saving value across system call.
28213 2010-09-06 Andreas Schwab <schwab@redhat.com>
28215 * manual/Makefile: Don't mix pattern rules with normal rules.
28217 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28219 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28221 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28222 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28223 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28224 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28225 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28228 2010-09-04 Ulrich Drepper <drepper@redhat.com>
28231 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28232 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28234 2010-09-02 Ulrich Drepper <drepper@redhat.com>
28236 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28237 * sysdeps/x86_64/addmul_1.S: Likewise.
28238 * sysdeps/x86_64/lshift.S: Likewise.
28239 * sysdeps/x86_64/mul_1.S: Likewise.
28240 * sysdeps/x86_64/rshift.S: Likewise.
28241 * sysdeps/x86_64/sub_n.S: Likewise.
28242 * sysdeps/x86_64/submul_1.S: Likewise.
28244 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28246 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28247 Define __sched_param instead of SCHED_* and sched_param when
28248 <bits/sched.h> is included with __need_schedparam defined.
28249 * bits/sched.h [__need_schedparam]
28250 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
28251 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28252 (__defined_schedparam): Define to 1.
28253 (__sched_param): New structure, identical to sched_param.
28254 (__need_schedparam): Undefine.
28256 2010-08-31 Mike Frysinger <vapier@gentoo.org>
28258 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28259 (epoll_create1): Declare.
28261 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28263 2010-08-31 Andreas Schwab <schwab@redhat.com>
28266 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28267 shifting retval into place.
28269 2010-09-01 Ulrich Drepper <drepper@redhat.com>
28271 * nis/rpcsvc/nis.h: Update copyright notice.
28272 * nis/rpcsvc/nis.x: Likewise.
28273 * nis/rpcsvc/nis_callback.h: Likewise.
28274 * nis/rpcsvc/nis_callback.x: Likewise.
28275 * nis/rpcsvc/nis_object.x: Likewise.
28276 * nis/rpcsvc/nis_tags.h: Likewise.
28277 * nis/rpcsvc/yp.h: Likewise.
28278 * nis/rpcsvc/yp.x: Likewise.
28279 * nis/rpcsvc/ypupd.h: Likewise.
28280 * nis/yp_xdr.c: Likewise.
28281 * nis/ypupdate_xdr.c: Likewise.
28283 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28284 mainly the body of pmap_getport. Add parameters to specify timeouts.
28285 (pmap_getport): Use __libc_rpc_getport.
28286 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28287 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28288 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28290 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28295 2010-08-27 Roland McGrath <roland@redhat.com>
28297 * sysdeps/i386/i686/multiarch/Makefile
28298 (CFLAGS-varshift.c): New variable.
28300 2010-08-27 Ulrich Drepper <drepper@redhat.com>
28302 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28303 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28305 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28307 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28309 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28311 * sysdeps/x86_64/strlen.S: Unroll the loop.
28312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28313 strlen-sse2 strlen-sse2-bsf.
28314 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28315 __strlen_no_bsf if bit_Slow_BSF is set.
28316 (__strlen_sse42): Removed.
28317 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28318 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28320 2010-08-25 Roland McGrath <roland@redhat.com>
28322 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28323 * sysdeps/x86_64/multiarch/varshift.c: New file.
28324 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28325 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28326 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28327 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28329 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28331 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28332 strlen-sse2 strlen-sse2-bsf.
28333 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28334 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28335 (__strlen_sse2): Removed.
28336 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28337 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28339 bit_Slow_BSF for Atom.
28340 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28341 (index_Slow_BSF): Define.
28342 (HAS_SLOW_BSF): Define.
28344 2010-08-25 Ulrich Drepper <drepper@redhat.com>
28347 * resolv/res_init.c (__res_vinit): When no server address at all
28348 is given default to loopback.
28350 2010-08-24 Roland McGrath <roland@redhat.com>
28352 * configure.in: Remove config-name.h generation.
28353 * configure: Regenerated.
28354 * config-name.in: File removed.
28355 * scripts/config-uname.sh: New file.
28356 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28357 ($(objdir)config-name.h): New target.
28359 * sunrpc/rpc_parse.h: Avoid nested comment.
28361 2010-08-24 Richard Henderson <rth@redhat.com>
28362 Ulrich Drepper <drepper@redhat.com>
28363 H.J. Lu <hongjiu.lu@intel.com>
28365 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28367 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28368 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28369 _mm_alignr_epi8 with _mm_loadu_si128.
28370 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28371 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28372 (__m128i_shift_right): Removed.
28373 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28374 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28375 * sysdeps/x86_64/multiarch/varshift.h: New file.
28376 * sysdeps/x86_64/multiarch/varshift.S: New file.
28378 2010-08-21 Mike Frysinger <vapier@gentoo.org>
28380 * configure.in: Move assembler checks to before sysdep dir checking.
28382 2010-08-20 Petr Baudis <pasky@suse.cz>
28384 * LICENSES: Sync the sunrpc license.
28386 2010-08-19 Ulrich Drepper <drepper@redhat.com>
28388 * sunrpc/auth_des.c: Update copyright notice once again.
28389 * sunrpc/auth_none.c: Likewise.
28390 * sunrpc/auth_unix.c: Likewise.
28391 * sunrpc/authdes_prot.c: Likewise.
28392 * sunrpc/authuxprot.c: Likewise.
28393 * sunrpc/bindrsvprt.c: Likewise.
28394 * sunrpc/clnt_gen.c: Likewise.
28395 * sunrpc/clnt_perr.c: Likewise.
28396 * sunrpc/clnt_raw.c: Likewise.
28397 * sunrpc/clnt_simp.c: Likewise.
28398 * sunrpc/clnt_tcp.c: Likewise.
28399 * sunrpc/clnt_udp.c: Likewise.
28400 * sunrpc/clnt_unix.c: Likewise.
28401 * sunrpc/des_crypt.c: Likewise.
28402 * sunrpc/des_soft.c: Likewise.
28403 * sunrpc/get_myaddr.c: Likewise.
28404 * sunrpc/getrpcport.c: Likewise.
28405 * sunrpc/key_call.c: Likewise.
28406 * sunrpc/key_prot.c: Likewise.
28407 * sunrpc/openchild.c: Likewise.
28408 * sunrpc/pm_getmaps.c: Likewise.
28409 * sunrpc/pm_getport.c: Likewise.
28410 * sunrpc/pmap_clnt.c: Likewise.
28411 * sunrpc/pmap_prot.c: Likewise.
28412 * sunrpc/pmap_prot2.c: Likewise.
28413 * sunrpc/pmap_rmt.c: Likewise.
28414 * sunrpc/rpc/auth.h: Likewise.
28415 * sunrpc/rpc/auth_unix.h: Likewise.
28416 * sunrpc/rpc/clnt.h: Likewise.
28417 * sunrpc/rpc/des_crypt.h: Likewise.
28418 * sunrpc/rpc/key_prot.h: Likewise.
28419 * sunrpc/rpc/netdb.h: Likewise.
28420 * sunrpc/rpc/pmap_clnt.h: Likewise.
28421 * sunrpc/rpc/pmap_prot.h: Likewise.
28422 * sunrpc/rpc/pmap_rmt.h: Likewise.
28423 * sunrpc/rpc/rpc.h: Likewise.
28424 * sunrpc/rpc/rpc_des.h: Likewise.
28425 * sunrpc/rpc/rpc_msg.h: Likewise.
28426 * sunrpc/rpc/svc.h: Likewise.
28427 * sunrpc/rpc/svc_auth.h: Likewise.
28428 * sunrpc/rpc/types.h: Likewise.
28429 * sunrpc/rpc/xdr.h: Likewise.
28430 * sunrpc/rpc_clntout.c: Likewise.
28431 * sunrpc/rpc_cmsg.c: Likewise.
28432 * sunrpc/rpc_common.c: Likewise.
28433 * sunrpc/rpc_cout.c: Likewise.
28434 * sunrpc/rpc_dtable.c: Likewise.
28435 * sunrpc/rpc_hout.c: Likewise.
28436 * sunrpc/rpc_main.c: Likewise.
28437 * sunrpc/rpc_parse.c: Likewise.
28438 * sunrpc/rpc_parse.h: Likewise.
28439 * sunrpc/rpc_prot.c: Likewise.
28440 * sunrpc/rpc_sample.c: Likewise.
28441 * sunrpc/rpc_scan.c: Likewise.
28442 * sunrpc/rpc_scan.h: Likewise.
28443 * sunrpc/rpc_svcout.c: Likewise.
28444 * sunrpc/rpc_tblout.c: Likewise.
28445 * sunrpc/rpc_util.c: Likewise.
28446 * sunrpc/rpc_util.h: Likewise.
28447 * sunrpc/rpcinfo.c: Likewise.
28448 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28449 * sunrpc/rpcsvc/key_prot.x: Likewise.
28450 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28451 * sunrpc/rpcsvc/mount.x: Likewise.
28452 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28453 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28454 * sunrpc/rpcsvc/rex.x: Likewise.
28455 * sunrpc/rpcsvc/rstat.x: Likewise.
28456 * sunrpc/rpcsvc/rusers.x: Likewise.
28457 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28458 * sunrpc/rpcsvc/spray.x: Likewise.
28459 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28460 * sunrpc/rtime.c: Likewise.
28461 * sunrpc/svc.c: Likewise.
28462 * sunrpc/svc_auth.c: Likewise.
28463 * sunrpc/svc_authux.c: Likewise.
28464 * sunrpc/svc_raw.c: Likewise.
28465 * sunrpc/svc_run.c: Likewise.
28466 * sunrpc/svc_simple.c: Likewise.
28467 * sunrpc/svc_tcp.c: Likewise.
28468 * sunrpc/svc_udp.c: Likewise.
28469 * sunrpc/svc_unix.c: Likewise.
28470 * sunrpc/svcauth_des.c: Likewise.
28471 * sunrpc/xcrypt.c: Likewise.
28472 * sunrpc/xdr.c: Likewise.
28473 * sunrpc/xdr_array.c: Likewise.
28474 * sunrpc/xdr_float.c: Likewise.
28475 * sunrpc/xdr_mem.c: Likewise.
28476 * sunrpc/xdr_rec.c: Likewise.
28477 * sunrpc/xdr_ref.c: Likewise.
28478 * sunrpc/xdr_sizeof.c: Likewise.
28479 * sunrpc/xdr_stdio.c: Likewise.
28481 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28484 2010-08-19 Andreas Schwab <schwab@redhat.com>
28486 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28488 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
28490 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28491 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28492 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28493 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28494 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28495 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28496 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28497 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28498 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28499 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28500 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28501 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28502 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28503 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28505 2010-07-26 Anton Blanchard <anton@samba.org>
28507 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28508 * malloc/arena.c (heap_trim): Likewise.
28510 2010-08-16 Ulrich Drepper <drepper@redhat.com>
28512 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28514 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28515 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28517 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28519 * sysdeps/i386/elf/Makefile: New file.
28521 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28523 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28524 from fanotify_init.
28525 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28526 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28528 2010-08-15 Ulrich Drepper <drepper@redhat.com>
28530 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28532 * sysdeps/multiarch/strcmp.S: Likewise.
28534 2010-08-14 Ulrich Drepper <drepper@redhat.com>
28536 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28537 strncase_l-nonascii.
28538 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28539 Add strncase_l-ssse3.
28540 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28541 * sysdeps/x86_64/strcmp.S: Likewise.
28542 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28543 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28544 * sysdeps/x86_64/strncase.S: New file.
28545 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28546 * sysdeps/x86_64/strncase_l.S: New file.
28547 * string/Makefile (strop-tests): Add strncasecmp.
28548 * string/test-strncasecmp.c: New file.
28550 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28553 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28554 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28556 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28558 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28560 2010-08-12 Ulrich Drepper <drepper@redhat.com>
28562 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28563 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28564 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28566 2010-05-01 Alan Modra <amodra@gmail.com>
28568 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28569 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28570 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28571 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28572 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28573 tidying. Don't tail-call __sigjmp_save for static lib.
28574 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28576 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28577 (CALL_MCOUNT): Add eh info, and nop after bl.
28578 (TAIL_CALL_SYSCALL_ERROR): New macro.
28579 (PSEUDO_RET): Use it.
28580 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28581 Correct save location of integer regs and cr.
28582 (_dl_profile_resolve): Correct cr save location. Delete nops
28583 after bl when SHARED. Reduce cfi size a little by better
28584 placement of cfi directives.
28585 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28586 make a stack frame. Instead use parm save area as a temp.
28587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28588 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28590 Don't make a stack frame for parent, use parm save area.
28591 Increase child stack frame to 112 bytes. Don't save unused reg,
28592 and adjust reg usage. Set up cfi on error recovery and
28593 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28595 (__makecontext): Add dummy nop after jump to exit.
28596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28597 Use correct parm save area and cr save, reduce stack frame.
28598 Correct cfi for possible PSEUDO_RET frame setup.
28599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28600 Branch to local label emitted by PSEUDO_RET rather than
28603 2010-08-12 Andreas Schwab <schwab@redhat.com>
28606 * locale/programs/locale.c (print_assignment): New function.
28607 (show_locale_vars): Use it.
28609 2010-08-11 Ulrich Drepper <drepper@redhat.com>
28611 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28613 (struct statfs64): Likewise.
28614 (_STATFS_F_FLAGS): Define.
28615 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28616 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28617 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28618 (ST_VALID): Define locally.
28619 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28620 __statvfs_getflags, use the provided value.
28621 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28622 __ASSUME_STATFS_F_FLAGS.
28624 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28626 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28627 Add sys/fanotify.h.
28628 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28629 fanotify_mask for GLIBC_2.13.
28630 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28631 fanotify_init and fanotify_mark.
28632 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28633 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28635 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28637 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28638 prlimit64 for GLIBC_2.13.
28639 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28641 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28644 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28645 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28646 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28647 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28649 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28652 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28653 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28655 * nss/Makefile: Add rules to build and run tst-nss-test1.
28656 * shlib-versions: Add entry for libnss_test1.
28657 * nss/nss_test1.c: New file.
28658 * nss/tst-nss-test1.c: New file.
28660 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28661 (__nss_configure_lookup): Set appropriate entry in
28662 __nss_configure_lookup to true.
28663 * nss/nsswitch.h: Define enum with indeces of databases in
28664 databases and __nss_database_custom arrays. Declare
28665 __nss_database_custom.
28666 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28667 to avoid using nscd when custom rules are installed.
28668 * nss/getXXbyYY_r.c: Likewise.
28669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28671 * nss/nss_files/files-parse.c: Whitespace fixes.
28673 2010-08-09 Ulrich Drepper <drepper@redhat.com>
28676 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28677 * posix/fnmatch_loop.c: Likewise.
28679 2010-07-17 Andi Kleen <ak@linux.intel.com>
28681 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28682 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28683 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28684 * Versions.def [GLIBC_2.13]: Add.
28686 2010-08-06 Ulrich Drepper <drepper@redhat.com>
28688 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28689 Also fail if tpwd after pwuid call is NULL.
28691 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28693 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28694 when converting to ms.
28696 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28698 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28699 EOPNOTSUPP errors with ENOTTY.
28700 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28701 EOPNOTSUPP errors with ENOTTY.
28703 2010-07-31 Ulrich Drepper <drepper@redhat.com>
28705 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28706 Add strcasecmp_l-ssse3.
28707 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28709 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28710 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28711 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28713 2010-07-30 Ulrich Drepper <drepper@redhat.com>
28715 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28717 * string/Makefile (strop-tests): Add strcasecmp.
28718 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28719 strcasecmp_l-nonascii.
28720 (gen-as-const-headers): Add locale-defines.sym.
28721 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28722 * sysdeps/x86_64/strcasecmp.S: New file.
28723 * sysdeps/x86_64/strcasecmp_l.S: New file.
28724 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28725 * sysdeps/x86_64/locale-defines.sym: New file.
28726 * string/test-strcasecmp.c: New file.
28728 * string/test-strcasestr.c: Test both ends of the range of characters.
28729 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28731 2010-07-29 Roland McGrath <roland@redhat.com>
28734 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28736 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28738 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28741 2010-07-27 Andreas Schwab <schwab@redhat.com>
28743 * manual/memory.texi (Malloc Tunable Parameters): Document
28746 2010-07-26 Roland McGrath <roland@redhat.com>
28749 * configure.in (-fgnu89-inline check): Set and substitute
28750 gnu89_inline, not libc_cv_gnu89_inline.
28751 * configure: Regenerated.
28752 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28754 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28756 * string/test-strnlen.c: New file.
28757 * string/Makefile (strop-tests): Add strnlen.
28758 * string/tester.c (test_strnlen): Add a few more test cases.
28759 * string/tst-strlen.c: Better error reporting.
28761 * sysdeps/x86_64/strnlen.S: New file.
28763 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28765 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28766 lower-latency instructions.
28768 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28770 * string/test-strcasestr.c: New file.
28771 * string/test-strstr.c: New file.
28772 * string/Makefile (strop-tests): Add strstr and strcasestr.
28773 * string/str-two-way.h: Don't undefine MAX.
28774 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28776 2010-07-21 Andreas Schwab <schwab@redhat.com>
28778 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28779 strcasestr-nonascii.
28780 (CFLAGS-strcasestr-nonascii.c): Define.
28781 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28782 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28783 Remove unused attribute.
28785 2010-07-20 Roland McGrath <roland@redhat.com>
28787 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28788 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28789 ld.so.cache was broken. With it, there is no way to disable dsocaps
28790 like LD_HWCAP_MASK can disable hwcaps.
28792 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28794 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28796 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28798 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28799 call in strcasestr.
28800 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28801 __strcasestr_sse42_nonascii.
28802 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28803 strcasestr-nonascii.c.
28804 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28806 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28808 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28809 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28810 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28811 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28813 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28815 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28818 2010-07-06 Andreas Schwab <schwab@redhat.com>
28821 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28824 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28826 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28827 _PC_PIPE_BUF using F_GETPIPE_SZ.
28829 2010-07-05 Roland McGrath <roland@redhat.com>
28831 * manual/arith.texi (Rounding Functions): Fix rint description
28832 implicit in round description.
28834 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28836 * elf/Makefile: Fix linking for a few tests to make recent linker
28839 2010-06-30 Andreas Schwab <schwab@redhat.com>
28841 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28842 $(common-objpfx)libc_nonshared.a.
28844 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28846 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28847 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28848 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28849 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28850 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28851 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28852 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28853 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28868 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28869 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28870 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28871 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28872 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28873 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28874 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28875 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28876 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28877 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28878 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28879 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28895 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28897 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28898 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28899 * string/memmove.c (memmove): Renamed to ...
28900 (MEMMOVE): ...this. Default to memmove.
28901 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28902 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28905 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28906 mempcpy-ssse3-back memmove-ssse3-back.
28907 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28908 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28909 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28910 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28911 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28912 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28913 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28914 * sysdeps/x86_64/multiarch/memmove.c: New file.
28915 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28916 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28917 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28918 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28919 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28920 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28922 (index_Fast_Copy_Backward): Define.
28923 (HAS_ARCH_FEATURE): Define.
28924 (HAS_FAST_REP_STRING): Define.
28925 (HAS_FAST_COPY_BACKWARD): Define.
28927 2010-06-21 Andreas Schwab <schwab@redhat.com>
28929 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28930 Restore proper fallback handling.
28932 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28935 * posix/group_member.c (__group_member): Correct checking loop.
28937 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28938 OOM in getpwuid_r correctly. Return error number when the caller
28939 should return, otherwise -1.
28940 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28941 call returning > 0 value.
28942 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28944 2010-06-07 Andreas Schwab <schwab@redhat.com>
28946 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28947 libc_nonshared.a from targets in modules-names.
28949 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28951 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28954 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28956 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28957 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28958 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28959 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28961 2010-06-02 Andreas Schwab <schwab@redhat.com>
28963 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28965 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28967 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28969 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28970 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28971 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28972 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28973 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28974 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28976 2010-06-14 Roland McGrath <roland@redhat.com>
28978 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28980 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28982 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28983 __REDIRECT followed by __THROW.
28984 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28985 * posix/getopt.h (getopt): Likewise.
28987 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28989 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28990 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28991 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28993 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28994 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28996 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
28998 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
29000 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
29003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29004 Properly check family and model.
29006 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
29008 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29010 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
29012 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29014 2010-05-21 Ulrich Drepper <drepper@redhat.com>
29016 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29019 2010-05-19 Andreas Schwab <schwab@redhat.com>
29021 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29024 2010-05-21 Andreas Schwab <schwab@redhat.com>
29026 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29027 and internal_recvmmsg.
29028 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29029 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29030 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29031 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29033 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29034 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29035 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29037 2010-05-20 Andreas Schwab <schwab@redhat.com>
29039 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29041 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
29043 POWER7 optimizations.
29044 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29045 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29047 2010-05-19 Ulrich Drepper <drepper@redhat.com>
29049 * version.h: Update for 2.13 development version.
29051 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
29053 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29054 exceptions. Return 0.
29056 2010-05-07 Roland McGrath <roland@redhat.com>
29058 * elf/ldconfig.c (main): Add a const.
29060 2010-05-06 Ulrich Drepper <drepper@redhat.com>
29062 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29063 (args_options): Add no-idn option.
29064 (ahosts_keys_int): Add idn_flags to ai_flags.
29065 (parse_option): Handle 'i' option to clear idn_flags.
29067 * malloc/malloc.c (_int_free): Possible race in the most recently
29068 added check. Only act on the data if no current modification
29071 See ChangeLog.17 for earlier changes.