1 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3 * math/libm-test.inc (struct test_c_f_data): New type.
4 (RUN_TEST_LOOP_c_f): New macro.
5 (cabs_test_data): New variable.
6 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7 (carg_test_data): New variable.
8 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9 (cimag_test_data): New variable.
10 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11 (creal_test_data): New variable.
12 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14 * math/libm-test.inc (struct test_if_f_data): New type.
15 (RUN_TEST_LOOP_if_f): New macro.
16 (jn_test_data): New variable.
17 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18 (yn_test_data): New variable.
19 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
21 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30 * benchtests/Makefile (CPPFLAGS-nonlib): Add
31 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32 (bench-deps): Add bench-timing.h.
33 * benchtests-bench-skeleton.c: Include bench-timing.h.
34 (main): Use TIMING_* macros instead of clock_gettime.
35 * benchtests/bench-timing.h: New file.
38 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
39 Renamed from _LIB_VERSION.
40 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
42 2013-05-12 Joseph Myers <joseph@codesourcery.com>
44 * math/libm-test.inc (struct test_fff_f_data): New type.
45 (RUN_TEST_LOOP_fff_f): New macro.
46 (fma_test_data): New variable.
47 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
48 (fma_towardzero_test_data): New variable.
49 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
50 (fma_downward_test_data): New variable.
51 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
52 (fma_upward_test_data): New variable.
53 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
55 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
56 (struct test_c_c_data): New type.
57 (RUN_TEST_LOOP_c_c): New macro.
58 (cacos_test_data): New variable.
59 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
60 (cacosh_test_data): New variable.
61 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
62 (casin_test_data): New variable.
63 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
64 (casinh_test_data): New variable.
65 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
66 (catan_test_data): New variable.
67 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
68 (catanh_test_data): New variable.
69 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
70 (ccos_test_data): New variable.
71 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
72 (ccosh_test_data): New variable.
73 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
74 (cexp_test_data): New variable.
75 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
76 (clog_test_data): New variable.
77 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
78 (clog10_test_data): New variable.
79 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
80 (conj_test_data): New variable.
81 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
82 (cproj_test_data): New variable.
83 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
84 (csin_test_data): New variable.
85 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
86 (csinh_test_data): New variable.
87 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
88 (csqrt_test_data): New variable.
89 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
90 (ctan_test_data): New variable.
91 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
92 (ctan_tonearest_test_data): New variable.
93 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
94 (ctan_towardzero_test_data): New variable.
95 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
96 (ctan_downward_test_data): New variable.
97 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
98 (ctan_upward_test_data): New variable.
99 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
100 (ctanh_test_data): New variable.
101 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
102 (ctanh_tonearest_test_data): New variable.
103 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
104 (ctanh_towardzero_test_data): New variable.
105 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
106 (ctanh_downward_test_data): New variable.
107 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
108 (ctanh_upward_test_data): New variable.
109 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
110 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
113 * math/libm-test.inc (struct test_ff_f_data): New type.
114 (struct test_ff_f_data_nexttoward): Likewise.
115 (RUN_TEST_LOOP_2_f): New macro.
116 (RUN_TEST_LOOP_ff_f): Likewise.
117 (atan2_test_data): New variable.
118 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
119 (copysign_test_data): New variable.
120 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
121 (fdim_test_data): New variable.
122 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
123 (fmax_test_data): New variable.
124 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
125 (fmin_test_data): New variable.
126 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
127 (fmod_test_data): New variable.
128 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
129 (hypot_test_data): New variable.
130 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
131 (nextafter_test_data): New variable.
132 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
133 (nexttoward_test_data): New variable.
134 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
135 (pow_test_data): New variable.
136 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
137 (pow_tonearest_test_data): New variable.
138 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
139 (pow_towardzero_test_data): New variable.
140 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
141 (pow_downward_test_data): New variable.
142 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
143 (pow_upward_test_data): New variable.
144 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
145 (remainder_test_data): New variable.
146 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
147 (scalb_test_data): New variable.
148 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
149 * sysdeps/i386/fpu/libm-test-ulps: Update.
151 2013-05-11 Joseph Myers <joseph@codesourcery.com>
153 * math/libm-test.inc (fma_test): Use max_value instead of local
155 (nextafter_test): Likewise.
157 * math/libm-test.inc (acos_towardzero_test_data): New variable.
158 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
159 (acos_downward_test_data): New variable.
160 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
161 (acos_upward_test_data): New variable.
162 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
163 (acosh_test_data): New variable.
164 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
165 (asin_test_data): New variable.
166 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
167 (asin_tonearest_test_data): New variable.
168 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
169 (asin_towardzero_test_data): New variable.
170 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
171 (asin_downward_test_data): New variable.
172 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
173 (asin_upward_test_data): New variable.
174 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
175 (asinh_test_data): New variable.
176 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
177 (atan_test_data): New variable.
178 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
179 (atanh_test_data): New variable.
180 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
181 (cbrt_test_data): New variable.
182 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
183 (ceil_test_data): New variable.
184 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
185 (cos_test_data): New variable.
186 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
187 (cos_tonearest_test_data): New variable.
188 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
189 (cos_towardzero_test_data): New variable.
190 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
191 (cos_downward_test_data): New variable.
192 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
193 (cos_upward_test_data): New variable.
194 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
195 (cosh_test_data): New variable.
196 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
197 (cosh_tonearest_test_data): New variable.
198 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
199 (cosh_towardzero_test_data): New variable.
200 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
201 (cosh_downward_test_data): New variable.
202 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
203 (cosh_upward_test_data): New variable.
204 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
205 (erf_test_data): New variable.
206 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
207 (erfc_test_data): New variable.
208 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
209 (exp_test_data): New variable.
210 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
211 (exp_tonearest_test_data): New variable.
212 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
213 (exp_towardzero_test_data): New variable.
214 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
215 (exp_downward_test_data): New variable.
216 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
217 (exp_upward_test_data): New variable.
218 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
219 (exp10_test_data): New variable.
220 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
221 (exp2_test_data): New variable.
222 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
223 (expm1_test_data): New variable.
224 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
225 (fabs_test_data): New variable.
226 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
227 (floor_test_data): New variable.
228 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
229 (j0_test_data): New variable.
230 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
231 (j1_test_data): New variable.
232 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
233 (log_test_data): New variable.
234 (log_test): Run tests with RUN_TEST_LOOP_f_f.
235 (log10_test_data): New variable.
236 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
237 (log1p_test_data): New variable.
238 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
239 (log2_test_data): New variable.
240 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
241 (logb_test_data): New variable.
242 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
243 (logb_downward_test_data): New variable.
244 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
245 (nearbyint_test_data): New variable.
246 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
247 (rint_test_data): New variable.
248 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
249 (rint_tonearest_test_data): New variable.
250 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
251 (rint_towardzero_test_data): New variable.
252 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
253 (rint_downward_test_data): New variable.
254 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
255 (rint_upward_test_data): New variable.
256 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
257 (round_test_data): New variable.
258 (round_test): Run tests with RUN_TEST_LOOP_f_f.
259 (sin_test_data): New variable.
260 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
261 (sin_tonearest_test_data): New variable.
262 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
263 (sin_towardzero_test_data): New variable.
264 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
265 (sin_downward_test_data): New variable.
266 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
267 (sin_upward_test_data): New variable.
268 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
269 (sinh_test_data): New variable.
270 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
271 (sinh_tonearest_test_data): New variable.
272 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
273 (sinh_towardzero_test_data): New variable.
274 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
275 (sinh_downward_test_data): New variable.
276 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
277 (sinh_upward_test_data): New variable.
278 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
279 (sqrt_test_data): New variable.
280 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
281 (tan_test_data): New variable.
282 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
283 (tan_tonearest_test_data): New variable.
284 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
285 (tan_towardzero_test_data): New variable.
286 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
287 (tan_downward_test_data): New variable.
288 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
289 (tan_upward_test_data): New variable.
290 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
291 (tanh_test_data): New variable.
292 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
293 (tgamma_test_data): New variable.
294 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
295 (trunc_test_data): New variable.
296 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
297 (y0_test_data): New variable.
298 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
299 (y1_test_data): New variable.
300 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
301 (significand_test_data): New variable.
302 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
304 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
307 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
309 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
311 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
313 2013-05-10 Andreas Jaeger <aj@suse.de>
316 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
317 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
319 2013-05-10 Joseph Myers <joseph@codesourcery.com>
321 * math/gen-libm-test.pl (adjust_arg): New function.
322 (special_functions): Handle generating output in both functions
324 (parse_args): Likewise.
325 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
326 $in_func argument to parse_args.
327 * math/libm-test.inc (struct test_f_f_data): New type.
328 (IF_ROUND_INIT_): New macro.
329 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
330 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
331 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
332 (IF_ROUND_INIT_FE_UPWARD): Likewise.
333 (ROUND_RESTORE_): Likewise.
334 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
335 (ROUND_RESTORE_FE_TONEAREST): Likewise.
336 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
337 (ROUND_RESTORE_FE_UPWARD): Likewise.
338 (RUN_TEST_LOOP_f_f): New macro.
339 (acos_test_data): New variable.
340 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
341 (acos_tonearest_test_data): New variable.
342 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
344 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
346 * benchtests/bench-skeleton.c (startup): Fix coding style.
348 2013-05-10 Joseph Myers <joseph@codesourcery.com>
351 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
352 negative infinity argument.
353 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
354 negative infinity argument.
355 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
356 negative infinity argument.
357 * math/libm-test.inc (tgamma_test): Expect errno to be set for
360 2013-05-10 Florian Weimer <fweimer@redhat.com>
362 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
363 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
364 * iconv/iconv_prog.c (main): Likewise.
365 * locale/programs/charmap-dir.c (charmap_readdir)
366 (fopen_uncompressed): Likewise.
367 * locale/programs/locfile.c (siblings_uncached)
368 (write_locale_data): Use lstat64 instead of lstat.
369 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
372 2013-05-10 Andreas Jaeger <aj@suse.de>
375 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
379 2013-05-09 Carlos O'Donell <carlos@redhat.com>
381 * elf/dl-close.c (_dl_close_worker): Add comments.
383 2013-05-09 Joseph Myers <joseph@codesourcery.com>
386 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
388 (__ieee754_rem_pio2l): Update comments.
391 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
393 (__ieee754_rem_pio2l): Update comments.
395 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
396 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
398 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
401 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
402 (M_PI_34_LOG10El): Likewise.
403 (M_PI2_LOG10El): Likewise.
404 (M_PI4_LOG10El): Likewise.
405 (M_PI_LOG10El): Likewise.
407 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
411 2013-05-08 Joseph Myers <joseph@codesourcery.com>
413 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
414 (MINUS_ZERO_INIT): Likewise.
415 (PLUS_INFTY_INIT): Likewise.
416 (MINUS_INFTY_INIT): Likewise.
417 (QNAN_VALUE_INIT): Likewise.
418 (MAX_VALUE_INIT): Likewise.
419 (MIN_VALUE_INIT): Likewise.
420 (MIN_SUBNORM_VALUE_INIT): Likewise.
421 (plus_zero): Initialize with PLUS_ZERO_INIT.
422 (minus_zero): Initialize with MINUS_ZERO_INIT.
423 (plus_infty): Initialize with PLUS_INFTY_INIT.
424 (minus_infty): Initialize with MINUS_INFTY_INIT.
425 (qnan_value): Initialize with QNAN_VALUE_INIT.
426 (max_value): Initialize with MAX_VALUE_INIT.
427 (min_value): Initialize with MIN_VALUE_INIT.
428 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
430 * math/libm-test.inc (RUN_TEST_if_f): New macro.
431 (jn_test): Use TEST_if_f instead of TEST_ff_f.
432 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
433 (yn_test): Use TEST_if_f instead of TEST_ff_f.
435 * math/libm-test.inc (RUN_TEST_f_f): New macro.
436 (RUN_TEST_2_f): Likewise.
437 (RUN_TEST_ff_f): Likewise.
438 (RUN_TEST_fi_f): Likewise.
439 (RUN_TEST_fl_f): Likewise.
440 (RUN_TEST_fff_f): Likewise.
441 (RUN_TEST_c_f): Likewise.
442 (RUN_TEST_f_f1): Likewise.
443 (RUN_TEST_fF_f1): Likewise.
444 (RUN_TEST_fI_f1): Likewise.
445 (RUN_TEST_ffI_f1): Likewise.
446 (RUN_TEST_c_c): Likewise.
447 (RUN_TEST_cc_c): Likewise.
448 (RUN_TEST_f_i): Likewise.
449 (RUN_TEST_f_i_tg): Likewise.
450 (RUN_TEST_ff_i_tg): Likewise.
451 (RUN_TEST_f_b): Likewise.
452 (RUN_TEST_f_b_tg): Likewise.
453 (RUN_TEST_f_l): Likewise.
454 (RUN_TEST_f_L): Likewise.
455 (RUN_TEST_sincos): Likewise.
456 * math/gen-libm-test.pl (new_test): Take new argument to indicate
457 whether to show exceptions. Do not include ");\n" in return
459 (special_functions): Output call to RUN_TEST_sincos instead of
460 check_float calls. Update calls to new_test.
461 (parse_args): Output call to single RUN_TEST_* macro instead of
462 check_* calls and other assignments. Update calls to new_test.
468 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
469 input to result for tgamma overflow.
470 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
471 (gamma_coeff): New variable.
473 (gamma_positive): New function.
474 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
475 underflow here. Use gamma_positive instead of exp (lgamma) for
477 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
478 (gamma_coeff): New variable.
480 (gammaf_positive): New function.
481 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
482 underflow here. Use gamma_positive instead of exp (lgamma) for
484 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
485 (gamma_coeff): New variable.
487 (gammal_positive): New function.
488 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
489 underflow here. Use gamma_positive instead of exp (lgamma) for
491 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
492 (gamma_coeff): New variable.
494 (gammal_positive): New function.
495 (__ieee754_gammal_r): Handle positive infinity, overflow and
496 underflow here. Handle NaN the same as positive infinity. Remove
497 check x < 0xffffffff for negative integers. Use gamma_positive
498 instead of exp (lgamma) for other arguments.
499 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
500 (gamma_coeff): New variable.
502 (gammal_positive): New function.
503 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
504 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
505 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
506 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
507 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
508 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
509 * sysdeps/generic/math_private.h (__gamma_productf): New
511 (__gamma_product): Likewise.
512 (__gamma_productl): Likewise.
513 * math/Makefile (libm-calls): Add gamma_product.
514 * math/libm-test.inc (tgamma_test): Add more tests.
515 * sysdeps/i386/fpu/libm-test-ulps: Update.
516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
518 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
520 * benchtests/bench-skeleton.c (main): Preheat CPU.
522 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
524 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
526 2013-05-07 Roland McGrath <roland@hack.frob.com>
528 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
529 and _dl_skip_args_internal.
531 2013-05-07 Carlos O'Donell <carlos@redhat.com>
533 * manual/message.texi (Message Translation): Talk about users.
534 Message to key mapping impacts design.
536 2013-05-06 Roland McGrath <roland@hack.frob.com>
538 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
540 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
542 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
543 * sysdeps/wordsize-64/glob64.c: ... here.
545 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
546 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
549 * debug/getlogin_r_chk.c: Moved to ...
550 * login/getlogin_r_chk.c: ... here.
551 * debug/Makefile (routines): Move getlogin_r_chk to ...
552 * login/Makefile (routines): ... here.
553 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
554 * login/Versions (libc: GLIBC_2.4): ... here.
556 * io/poll.c (__poll): Renamed from poll.
558 (poll): Define as weak alias.
560 * debug/ptsname_r_chk.c: Moved to ...
561 * login/ptsname_r_chk.c: ... here.
562 * debug/Makefile (routines): Move ptsname_r_chk to ...
563 * login/Makefile (routines): ... here.
564 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
565 * login/Versions (libc: GLIBC_2.4): ... here.
567 * posix/getlogin.c: Moved to ...
568 * login/getlogin.c: ... here.
569 * posix/getlogin_r.c: Moved to ...
570 * login/getlogin_r.c: ... here.
571 * posix/getlogin_r.c: Moved to ...
572 * login/getlogin_r.c: ... here.
573 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
574 * login/Makefile (routines): ... here.
575 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
576 * login/Versions (libc: GLIBC_2.0): ... here.
578 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
579 (setrlimit): Define as weak alias.
581 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
582 Call __ names for open, ftruncate, and close.
583 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
584 (truncate): Define as weak alias.
586 2013-05-06 Joseph Myers <joseph@codesourcery.com>
588 * math/gen-libm-test.pl (parse_args): Initialize x before each
589 test of frexp, modf and remquo.
591 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
594 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
598 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
600 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
602 2013-05-06 Roland McGrath <roland@hack.frob.com>
604 * elf/dl-writev.h: New file.
605 * elf/dl-misc.c: Include it.
606 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
607 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
609 2013-05-04 Joseph Myers <joseph@codesourcery.com>
611 * math/libm-test.inc (noXFails): Remove variable.
612 (noXPasses): Likewise.
613 (BUILD_COMPLEX_INT): Remove macro.
614 (print_screen): Remove xfail argument.
615 (print_screen_max_error): Likewise.
616 (update_stats): Likewise.
617 (print_max_error): Likewise. Update calls to other affected
619 (print_complex_max_error): Likewise.
620 (test_single_exception): Update calls to print_screen.
621 (test_single_errno): Likewise.
622 (check_float_internal): Remove xfail argument. Update calls to
623 other affected functions.
624 (check_float): Likewise.
625 (check_complex): Likewise.
626 (check_int): Likewise.
627 (check_long): Likewise.
628 (check_bool): Likewise.
629 (check_longlong): Likewise.
630 (main): Don't print noXFails and noXPasses.
631 * math/gen-libm-test.pl (top level): Don't mention expected
632 failure handling in comment.
633 (new_test): Don't handle expected failures.
634 (parse_args): Don't mention expected failure handling in comment.
635 (generate_testfile): Don't handle expected failures.
636 (parse_ulps): Likewise.
637 (print_ulps_file): Likewise.
638 (get_failure): Remove function.
639 (output_test): Don't handle expected failures.
640 * make/README.libm-test: Don't mention expected failure handling.
642 * math/libm-test.inc (plus_zero): Make const. Add initializer.
643 (minus_zero): Likewise.
644 (plus_infty): Likewise.
645 (minus_infty): Likewise.
646 (qnan_value): Likewise.
647 (max_value): Likewise.
648 (min_value): Likewise.
649 (min_subnorm_value): Likewise.
650 (initialize): Do not initialize those variables dynamically.
652 2013-05-03 Roland McGrath <roland@hack.frob.com>
654 * io/open.c (__open_2): Moved to ...
655 * io/open_2.c: ... this new file.
656 * io/open64.c (__open64_2): Moved to ...
657 * io/open64_2.c: ... this new file.
658 * io/openat.c (__openat_2): Moved to ...
659 * io/openat_2.c: ... this new file.
660 * io/openat64.c (__openat64_2): Moved to ...
661 * io/openat64_2.c: ... this new file.
662 * io/Makefile (routines): Add them.
663 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
664 * sysdeps/unix/sysv/linux/open_2.c: File removed.
665 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
666 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
667 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
668 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
669 (__openat64): Add hidden_ver.
670 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
671 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
673 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
674 Separately conditionalize setting of GLRO(dl_sysinfo) so
675 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
676 as well, but the actual setting is only under [NEED_DL_SYSINFO].
678 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
680 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
681 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
683 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
684 * sysdeps/unix/sysv/linux/powerpc/init-first.c
685 (_libc_vdso_platform_setup): Add __vdso_time initialization.
686 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
687 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
689 2013-05-03 Joseph Myers <joseph@codesourcery.com>
691 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
694 * math/libm-test.inc (hypot_test): Do not use
695 IGNORE_ZERO_INF_SIGN.
697 2013-05-03 Andreas Jaeger <aj@suse.de>
699 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
701 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
702 (PF_MAX): Adjust for VSOCK change.
704 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
708 2013-05-02 Carlos O'Donell <carlos@redhat.com>
711 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
712 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
713 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
715 2013-05-02 David S. Miller <davem@davemloft.net>
717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
719 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
721 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
723 2013-05-01 Roland McGrath <roland@hack.frob.com>
725 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
727 2013-05-01 Richard Smith <richard@metafoo.co.uk>
730 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
731 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
732 Use __attribute__ ((__gnu_inline__)).
733 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
734 Don't use __attribute__ ((__gnu_inline__)).
736 2013-05-01 Joseph Myers <joseph@codesourcery.com>
739 * math/s_catan.c (__catan): Handle small real or imaginary part of
740 input specially to avoid spurious underflow.
741 * math/s_catanf.c (__catanf): Likewise.
742 * math/s_catanh.c (__catanh): Likewise.
743 * math/s_catanhf.c (__catanhf): Likewise.
744 * math/s_catanhl.c (__catanhl): Likewise.
745 * math/s_catanl.c (__catanl): Likewise.
746 * math/libm-test.inc (catan_test): Add more tests.
747 (catanh_test): Likewise.
748 * sysdeps/i386/fpu/libm-test-ulps: Update.
749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
751 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
755 2013-04-30 Joseph Myers <joseph@codesourcery.com>
758 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
759 accurately for denominator in atan2.
760 * math/s_catanf.c (__catanf): Likewise.
761 * math/s_catanh.c (__catanh): Likewise.
762 * math/s_catanhf.c (__catanhf): Likewise.
763 * math/s_catanhl.c (__catanhl): Likewise.
764 * math/s_catanl.c (__catanl): Likewise.
765 * math/libm-test.inc (catan_test): Add more tests.
766 (catanh_test): Likewise.
767 * sysdeps/i386/fpu/libm-test-ulps: Update.
768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
770 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
772 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
774 * benchtests/Makefile (bench): Remove slow benchmarks.
775 * benchtests/atan-inputs: Add slow benchmark inputs.
776 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
777 (BENCH_FUNC): Accept variant offset.
779 * benchtests/bench-skeleton.c (main): Run benchmark for each
781 * benchtests/cos-inputs: Add slow benchmark inputs.
782 * benchtests/exp-inputs: Likewise.
783 * benchtests/pow-inputs: Likewise.
784 * benchtests/sin-inputs: Likewise.
785 * benchtests/slowatan-inputs: Remove.
786 * benchtests/slowatan.c: Remove.
787 * benchtests/slowcos-inputs: Remove.
788 * benchtests/slowcos.c: Remove.
789 * benchtests/slowexp-inputs: Remove.
790 * benchtests/slowexp.c: Remove.
791 * benchtests/slowpow-inputs: Remove.
792 * benchtests/slowpow.c: Remove.
793 * benchtests/slowsin-inputs: Remove.
794 * benchtests/slowsin.c: Remove.
795 * benchtests/slowtan-inputs: Remove.
796 * benchtests/slowtan.c: Remove.
797 * benchtests/tan-inputs: Add slow benchmark inputs.
798 * scripts/bench.pl: Parse comments and directives.
800 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
802 ($(objpfx)bench-%.c): Remove *-ITER.
803 * benchtests/bench-modf.c: Remove definition of ITER.
804 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
805 (main): Loop for DURATION seconds instead of fixed number of
807 * scripts/bench.pl: Don't expect iterations in parameters.
809 2013-04-29 Roland McGrath <roland@hack.frob.com>
811 * io/fchdir.c (__fchdir): Renamed from fchdir.
812 (fchdir): Define as weak alias.
814 2013-04-29 Joseph Myers <joseph@codesourcery.com>
816 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
817 (ERRNO_EDOM): Likewise.
818 (ERRNO_ERANGE): Likewise.
819 (noErrnoTests): New variable.
820 (init_max_error): Set errno to 0.
821 (test_single_errno): New function.
822 (test_errno): Likewise.
823 (check_float_internal): Call test_errno. Set errno to 0.
824 (check_complex): Refer to errno tests in comment.
825 (check_int): Call test_errno. Set errno to 0.
826 (check_long): Likewise.
827 (check_bool): Likewise.
828 (check_longlong): Likewise.
829 (cos_test): Use ERRNO_* flags for errno tests instead of
831 (expm1_test): Likewise.
832 (fmod_test): Likewise.
833 (ilogb_test): Likewise.
834 (lgamma_test): Likewise.
835 (pow_test): Likewise.
836 (remainder_test): Likewise.
837 (sin_test): Likewise.
838 (tan_test): Likewise.
840 (initialize): Set errno to 0.
841 (main): Print number of errno tests.
842 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
844 2013-04-29 Andreas Jaeger <aj@suse.de>
847 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
851 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
852 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
856 * stdlib/random.c (__initstate): Return NULL if
860 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
861 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
864 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
868 2013-04-29 Joseph Myers <joseph@codesourcery.com>
870 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
872 (casin_test): Likewise.
873 (casinh_test): Likewise.
875 2013-04-27 Joseph Myers <joseph@codesourcery.com>
878 * math/s_catan.c (__catan): Handle arguments with large real or
879 imaginary part separately without squaring.
880 * math/s_catanf.c (__catanf): Likewise.
881 * math/s_catanh.c (__catanh): Likewise.
882 * math/s_catanhf.c (__catanhf): Likewise.
883 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
885 (__catanhl): Handle arguments with large real or imaginary part
886 separately without squaring.
887 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
889 (__catanl): Handle arguments with large real or imaginary part
890 separately without squaring.
891 * math/libm-test.inc (catan_test): Add more tests.
892 (catanh_test): Likewise.
893 * sysdeps/i386/fpu/libm-test-ulps: Update.
894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
896 2013-04-27 Andreas Jaeger <aj@suse.de>
899 * stdlib/stdlib.h: Update guards for qecvt.
900 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
903 2013-04-27 Allan McRae <allan@archlinux.org>
905 * sysdeps/i386/fpu/libm-test-ulps: Update.
907 2013-04-26 Joseph Myers <joseph@codesourcery.com>
910 * math/s_catan.c: Include <float.h>.
911 (__catan): Ensure underflow exception occurs for underflowed
913 * math/s_catanf.c: Include <float.h>.
914 (__catanf): Ensure underflow exception occurs for underflowed
916 * math/s_catanh.c: Include <float.h>.
917 (__catanh): Ensure underflow exception occurs for underflowed
919 * math/s_catanhf.c: Include <float.h>.
920 (__catanhf): Ensure underflow exception occurs for underflowed
922 * math/s_catanhl.c: Include <float.h>.
923 (__catanhl): Ensure underflow exception occurs for underflowed
925 * math/s_catanl.c: Include <float.h>.
926 (__catanl): Ensure underflow exception occurs for underflowed
928 * math/libm-test.inc (catan_test): Add more tests.
929 (catanh_test): Likewise.
932 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
934 * math/s_ccoshf.c (__ccoshf): Likewise.
935 * math/s_ccoshl.c (__ccoshl): Likewise.
936 * math/s_csin.c (__csin): Likewise.
937 * math/s_csinf.c (__csinf): Likewise.
938 * math/s_csinh.c (__csinh): Likewise.
939 * math/s_csinhf.c (__csinhf): Likewise.
940 * math/s_csinhl.c (__csinhl): Likewise.
941 * math/s_csinl.c (__csinl): Likewise.
942 * math/libm-test.inc (ccos_test): Add more tests.
943 (ccosh_test): Likewise.
944 (csin_test): Likewise.
945 (csinh_test): Likewise.
947 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
949 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
950 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
951 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
952 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
953 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
954 powerpc/power5+/fpu folders.
955 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
958 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
962 2013-04-25 Joseph Myers <joseph@codesourcery.com>
964 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
965 additions to variable.
966 [$(config-machine) = x86_64] (modules-names): Likewise.
967 ($(objpfx)tst-audit3): Remove dependency.
968 ($(objpfx)tst-audit3.out): Likewise.
969 ($(objpfx)tst-audit4): Likewise.
970 ($(objpfx)tst-audit4.out): Likewise.
971 ($(objpfx)tst-audit5): Likewise.
972 ($(objpfx)tst-audit5.out): Likewise.
973 ($(objpfx)tst-audit6): Likewise.
974 ($(objpfx)tst-audit6.out): Likewise.
975 ($(objpfx)tst-audit7): Likewise.
976 ($(objpfx)tst-audit7.out): Likewise.
977 (tst-audit3-ENV): Remove variable.
978 (tst-audit4-ENV): Likewise.
979 (tst-audit5-ENV): Likewise.
980 (tst-audit6-ENV): Likewise.
981 (tst-audit7-ENV): Likewise.
982 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
983 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
984 addition to variable.
985 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
986 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
987 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
988 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
989 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
990 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
991 tst-audit3, tst-audit4 and tst-audit5.
992 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
993 tst-audit6 and tst-audit7.
994 [$(subdir) = elf] (modules-names): Add audit modules for those
996 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
997 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
998 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
999 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1000 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1001 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1002 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1003 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1004 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1005 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1006 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1007 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1008 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1009 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1010 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1011 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1013 [$(subdir) = elf && $(config-cflags-avx) = yes]
1014 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1015 [$(subdir) = elf && $(config-cflags-avx) = yes]
1016 (CFLAGS-tst-auditmod4a.c): Likewise.
1017 [$(subdir) = elf && $(config-cflags-avx) = yes]
1018 (CFLAGS-tst-auditmod4b.c): Likewise.
1019 [$(subdir) = elf && $(config-cflags-avx) = yes]
1020 (CFLAGS-tst-auditmod6b.c): Likewise.
1021 [$(subdir) = elf && $(config-cflags-avx) = yes]
1022 (CFLAGS-tst-auditmod6c.c): Likewise.
1023 [$(subdir) = elf && $(config-cflags-avx) = yes]
1024 (CFLAGS-tst-auditmod7b.c): Likewise.
1025 * elf/tst-audit3.c: Move to ...
1026 * sysdeps/x86_64/tst-audit3.c: ... here.
1027 * elf/tst-audit4.c: Move to ...
1028 * sysdeps/x86_64/tst-audit4.c: ... here.
1029 * elf/tst-audit5.c: Move to ...
1030 * sysdeps/x86_64/tst-audit5.c: ... here.
1031 * elf/tst-audit6.c: Move to ...
1032 * sysdeps/x86_64/tst-audit6.c: ... here.
1033 * elf/tst-audit7.c: Move to ...
1034 * sysdeps/x86_64/tst-audit7.c: ... here.
1035 * elf/tst-auditmod3a.c: Move to ...
1036 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1037 * elf/tst-auditmod3b.c: Move to ...
1038 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1039 * elf/tst-auditmod4a.c: Move to ...
1040 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1041 * elf/tst-auditmod4b.c: Move to ...
1042 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1043 * elf/tst-auditmod5a.c: Move to ...
1044 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1045 * elf/tst-auditmod5b.c: Move to ...
1046 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1047 * elf/tst-auditmod6a.c: Move to ...
1048 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1049 * elf/tst-auditmod6b.c: Move to ...
1050 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1051 * elf/tst-auditmod6c.c: Move to ...
1052 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1053 * elf/tst-auditmod7a.c: Move to ...
1054 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1055 * elf/tst-auditmod7b.c: Move to ...
1056 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1058 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1061 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1062 define unconditionally.
1063 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1064 define unconditionally.
1065 (INT8_C, INT16_C, etc.): Likewise.
1067 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1069 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1070 __ehdr_start with hidden visibility.
1072 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1074 2013-04-24 Carlos O'Donell <carlos@redhat.com>
1076 * math/libm-test.inc (cos_test): Use accurate hex constants.
1077 (sincost_test): Likewise.
1079 2013-04-24 Joseph Myers <joseph@codesourcery.com>
1081 * math/libm-test.inc (catan_test): Add more tests.
1082 (catanh_test): Likewise.
1084 * math/s_catanf.c (__catanf): Use suffixed floating-point
1086 * math/s_catanhf.c (__catanhf): Likewise.
1087 * math/s_catanhl.c (__catanhl): Likewise.
1088 * math/s_catanl.c (__catanl): Likewise.
1091 * math/s_catan.c (__catan): Calculate imaginary part of result
1092 with log1p not log unless computing log of number close to 0.
1093 * math/s_catanf.c (__catanf): Likewise.
1094 * math/s_catanl.c (__catanl): Likewise.
1095 * math/s_catanh.c (__catanh): Calculate real part of result with
1096 log1p not log unless computing log of number close to 0.
1097 * math/s_catanhf.c (__catanhf): Likewise.
1098 * math/s_catanhl.c (__catanhl): Likewise.
1099 * math/libm-test.inc (catan_test): Add more tests.
1100 (catanh_test): Likewise.
1101 * sysdeps/i386/fpu/libm-test-ulps: Update.
1102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1104 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1106 * benchtests/Makefile: Mention files in which fast and slow
1107 paths of math functions are implemented.
1109 2013-04-23 Roland McGrath <roland@hack.frob.com>
1111 * sysdeps/posix/timespec_get.c: New file.
1113 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1115 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1117 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1119 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1120 powerpc/power5/fpu folders.
1121 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1122 * benchtests/Makefile: Add modf testcase.
1123 * benchtests/bench-modf.c: New file: Benchmark test for mo
1125 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1128 * time/Makefile (tests): Add tst-strptime-whitespace.
1129 * time/strptime_l.c (get_number): Use ISSPACE.
1130 (__strptime_internal): Likewise.
1131 * time/tst-strptime-whitespace.c: New test case.
1133 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
1135 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1137 (_nss_files_init): Set it here.
1139 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
1141 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1142 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1145 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
1147 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1149 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1151 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1154 2013-04-21 David S. Miller <davem@davemloft.net>
1156 * po/ru.po: Update Russion translation from translation project.
1158 2013-04-17 Adam Conrad <adconrad@0c3.net>
1160 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1163 2013-04-17 Carlos O'Donell <carlos@redhat.com>
1165 * configure.in: Remove i386 configure warning. Remove i386 case.
1166 * configure: Regenerate.
1167 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
1168 Add example to error message.
1169 * sysdeps/i386/configure: Regenerate.
1171 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1173 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1175 * benchtests/cos-inputs: New file.
1176 * benchtests/slowcos-inputs: New file.
1177 * benchtests/slowcos.c: New file.
1178 * benchtests/slowtan-inputs: New file.
1179 * benchtests/slowtan.c: New file.
1180 * benchtests/tan-inputs: New file.
1182 2013-04-16 Roland McGrath <roland@hack.frob.com>
1184 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1187 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1189 * benchtests/Makefile: Include cppflags-iterator.mk to add
1190 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1192 * Makefile.in (bench-clean): New target.
1193 * benchtests/Makefile (bench-clean): Likewise.
1195 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1197 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1199 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1201 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1203 2013-04-15 Andreas Schwab <schwab@suse.de>
1205 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1206 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1207 * nscd/pwdcache.c (cache_addpw): Likewise.
1208 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1211 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1213 * benchtests/Makefile (bench): Write all output to
1214 bench-out.tmp together.
1216 2013-04-15 Andreas Schwab <schwab@suse.de>
1218 * nscd/nscd.c (main): Don't fork again after closing files.
1220 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1222 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1224 * benchtests/Rules (bench-deps): Collect dependencies into a
1225 single variable. Add Makefile to dependencies.
1226 ($(objpfx)bench-%.c): Depend on bench-deps.
1228 2013-04-12 Roland McGrath <roland@hack.frob.com>
1229 Xavier Roche <roche+kml2@exalead.com>
1232 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1233 just that it's a file descriptor.
1234 * manual/llio.texi (Synchronizing AIO Operations): Update description
1235 for EBADF error from aio_fsync.
1237 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1239 * Rules (bench): Move target definition...
1240 * benchtests/Makefile: ... here.
1242 2013-04-11 Carlos O'Donell <carlos@redhat.com>
1244 * math/libm-test.inc (cos_test): Fix PI/2 test.
1245 (sincos_test): Likewise.
1246 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1247 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1249 2013-04-11 Andreas Schwab <schwab@suse.de>
1252 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1253 accept exponent character only when digits were seen.
1254 * stdio-common/Makefile (tests): Add bug26.
1255 * stdio-common/bug26.c: New file.
1258 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1261 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1263 * Makeconfig (rtld-prefix): Define built linker prefix.
1264 * Rules (run-bench): Use it.
1265 * math/Makefile (run-regen-ulps): Likewise.
1267 * Rules (bench): Remove eval.
1269 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1270 Roland McGrath <roland@hack.frob.com>
1271 Ondrej Bilka <neleai@seznam.cz>
1274 * time/getdate.c: Include ctype.h and alloca.h.
1275 (__getdate_r): Trim leading and trailing spaces of input.
1276 * time/tst-getdate.c (tests): Add tests with leading and
1279 2013-04-08 Roland McGrath <roland@hack.frob.com>
1282 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1283 when computing value.
1285 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1287 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1288 Use testrun.sh to run libm tests.
1291 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1293 2013-04-06 Marko Myllynen <myllynen@redhat.com>
1296 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1298 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1300 * Makefile.in (regen-ulps): New target.
1301 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1302 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1303 [ifneq (no,$(PERL)] (regen-ulps): New target.
1304 [ifeq (no,$(PERL)] (regen-ulps): New target.
1305 * math/libm-test.inc (ulps_file_name): Define.
1306 (output_dir): New variable.
1307 (options): Add "output-dir" option.
1308 (parse_opt): Handle 'o' case.
1309 (main): If output_dir is non-NULL use it as a prefix
1311 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1313 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1316 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1317 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1318 fail configure if __sync_val_compare_and_swap is not inlined.
1319 * sysdeps/i386/configure: Regenerate.
1320 * configure.in: Build for i686 when configured for i386.
1321 * configure: Regenerate.
1322 * README: Remove i386 reference.
1324 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1326 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1327 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1329 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1331 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1332 (lmsnanval): New variables.
1333 (F): Add conversion tests.
1334 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1335 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1337 * stdio-common/tstdiomisc.c (F): Properly collect individual
1341 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1342 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1343 Instead, use input NaN values or generate a qNaN by arithmetic
1344 operation. Also fix bugs to comply with the standard.
1345 * math/libm-test.inc (remainder_test): Add more tests.
1348 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1349 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1350 input NaN values or generate a qNaN by arithmetic operation.
1352 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1355 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1358 2013-04-03 Joseph Myers <joseph@codesourcery.com>
1361 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1363 * math/s_cexpf.c (__cexpf): Likewise.
1364 * math/s_cexpl.c (__cexpl): Likewise.
1365 * math/libm-test.inc (cexp_test): Add more tests.
1367 2013-04-03 Andreas Schwab <schwab@suse.de>
1370 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1371 order arrays from heap if bigger than alloca cutoff.
1373 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1375 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1376 (SNAN_TESTS_double): Refer to GCC PR56831.
1377 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1380 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1382 * Rules (bench): Move bench.out after the run is complete.
1384 * Rules (bench): Echo currently running benchmark.
1386 * benchtests/Makefile (bench): Add atan and slowatan.
1387 * benchtests/atan-inputs: New file.
1388 * benchtests/slowatan-inputs: New file.
1389 * benchtests/slowatan.c: New file.
1391 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1392 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1396 * sysdeps/unix/sysv/linux/kernel-features.h
1397 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1398 __ASSUME_XFS_RESTRICTED_CHOWN.
1399 * sysdeps/unix/sysv/linux/pathconf.c
1400 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1401 Save and restore errno.
1403 2013-04-02 Joseph Myers <joseph@codesourcery.com>
1406 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1407 arguments using __kernel_casinh.
1408 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1409 arguments using __kernel_casinhf.
1410 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1411 arguments using __kernel_casinhl.
1412 * math/libm-test.inc (cacosh_test): Add more tests.
1413 * sysdeps/i386/fpu/libm-test-ulps: Update.
1414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1416 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1418 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1419 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1421 * bench/Makefile (bench): Add sin and slowsin.
1422 * benchtests/sin-inputs: New file.
1423 * benchtests/slowsin-inputs: New file.
1424 * benchtests/slowsin.c: New file.
1426 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1427 (bench): Add slowexp and slowpow.
1428 (exp-ITER): Increase iterations.
1429 (pow-ITER): Likewise.
1430 * benchtests/exp-inputs: Change input.
1431 * benchtests/pow-inputs: Likewise.
1432 * benchtests/slowexp-inputs: New file.
1433 * benchtests/slowexp.c: New file.
1434 * benchtests/slowpow-inputs: New file.
1435 * benchtests/slowpow.c: New file.
1437 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1439 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1441 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1442 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1443 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1444 * benchtests/Makefile: Add rint benchtest.
1445 * benchtests/rint-inputs: Input for rint benchtest.
1447 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1449 * Versions.def (libm): Add GLIBC_2.18.
1450 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1451 hidden libm prototypes.
1452 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1453 * math/Makefile (libm-calls): Add s_issignaling.
1454 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1455 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1456 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1458 * math/math.h [__USE_GNU] (issignaling): New macro.
1459 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1460 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1461 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1462 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1463 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1464 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1465 * manual/arith.texi (issignaling): New section.
1466 * manual/libm-err-tab.pl (@all_functions): Update comment.
1467 * math/gen-libm-test.pl (parse_args): Apply special handling for
1469 * math/libm-test.inc (print_float, issignaling_test): New
1471 (check_float_internal): Add issignaling checks.
1472 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1474 * sysdeps/powerpc/math-tests.h: New file.
1475 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1477 * math/test-snan.c (TEST_FUNC): Likewise.
1479 2013-03-30 David S. Miller <davem@davemloft.net>
1481 * po/de.po: Update from translation team.
1483 2013-03-30 Joseph Myers <joseph@codesourcery.com>
1486 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1487 imaginary part less than 1.0 and real part less than 0.5
1489 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1490 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1491 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1492 (cacos_test): Add more tests.
1493 (casin_test): Likewise.
1494 (casinh_test): Likewise.
1495 * sysdeps/i386/fpu/libm-test-ulps: Update.
1496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1498 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1500 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1503 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1504 (__pow_mp): Replace ONE and MONE with their values.
1505 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1506 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1507 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1508 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1509 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1510 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1512 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1514 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1515 (__pow_mp): Replace ZERO and MZERO with their values.
1516 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1517 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1518 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1519 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1520 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1521 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1524 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1526 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1528 2013-03-28 Roland McGrath <roland@hack.frob.com>
1530 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1531 Declare with __attribute__ ((weak)).
1532 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1533 Call __call_tls_dtors only if it's not NULL.
1535 2013-03-28 Roland McGrath <roland@hack.frob.com>
1537 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1538 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1539 magic __ehdr_start linker symbol if it's defined.
1540 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1541 them up here if it was already done.
1543 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1544 (_dl_aux_init): Use const in cast when setting it.
1545 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1546 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1547 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1549 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1551 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1552 * csu/libc-tls.c: Nor here.
1553 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1555 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1556 (__libc_message): Never call vsyslog.
1558 2013-03-28 Alan Modra <amodra@gmail.com>
1560 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1562 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1565 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1568 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1572 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1575 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1576 Don't add gid passed as argument.
1578 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1580 2013-03-27 Joseph Myers <joseph@codesourcery.com>
1583 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1584 imaginary part between 1.0 and 1.5 and real part less than 0.5
1586 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1587 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1588 * math/libm-test.inc (cacos_test): Add more tests.
1589 (casin_test): Likewise.
1590 (casinh_test): Likewise.
1591 * sysdeps/i386/fpu/libm-test-ulps: Update.
1592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1594 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1596 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1600 (__dbl_mp): Likewise.
1601 (add_magnitudes): Likewise.
1602 (sub_magnitudes): Likewise.
1610 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1612 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1613 (__dubcos): Likewise.
1614 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1615 (__ieee754_acos): Likewise.
1616 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1617 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1619 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1620 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1622 (my_log2): Likewise.
1623 (checkint): Likewise.
1624 * sysdeps/ieee754/dbl-64/e_remainder.c
1625 (__ieee754_remainder): Likewise.
1626 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1627 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1629 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1631 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1632 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1633 MANTISSA_STORE_T to store computations on mantissa. Use
1634 macros for rounding and division.
1636 (__dbl_mp): Likewise.
1637 (add_magnitudes): Likewise.
1638 (sub_magnitudes): Likewise.
1641 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1642 powers of two in terms of TWOPOW macro.
1643 (mp_no): Make type of mantissa as MANTISSA_T.
1644 [!RADIXI]: Define RADIXI.
1645 [!TWO52]: Define TWO52.
1646 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1648 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1650 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1651 llroundl symbol when building for PPC32.
1653 2013-03-24 Mark H Weaver <mhw@netris.org>
1655 * manual/arith.texi (Normalization Functions): Fix prototypes for
1656 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1658 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1661 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1662 high value to check if expl overflow.
1663 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1664 to check for underflow and overflow.
1665 * math/libm-test.inc: Add exp test.
1667 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1670 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1673 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1675 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1678 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1680 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1681 wrap blocks consisting of several statements.
1683 * sysdeps/generic/math-tests.h: New file.
1684 * sysdeps/i386/fpu/math-tests.h: Likewise.
1685 * math/test-snan.c: Include it.
1686 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1688 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1691 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1692 (__ieee754_j0l): Do not improve calculations using cos of twice
1693 input for inputs above LDBL_MAX / 2.0L.
1694 (__ieee754_y0l): Likewise.
1695 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1696 (__ieee754_j1l): Do not improve calculations using cos of twice
1697 input for inputs above LDBL_MAX / 2.0L.
1698 (__ieee754_y1l): Likewise.
1699 * math/libm-test.inc (j0_test): Add another test.
1700 (j1_test): Likewise.
1701 (y0_test): Likewise.
1702 (y1_test): Likewise.
1703 * sysdeps/i386/fpu/libm-test-ulps: Update.
1705 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1707 * Rules ($(objpfx)bench-%.c): Include code from a C source
1710 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1713 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1714 imaginary part 1.0 and real part less than 0.5 specially.
1715 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1716 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1717 * math/libm-test.inc (cacos_test): Add more tests.
1718 (casin_test): Likewise.
1719 (casinh_test): Likewise.
1720 * sysdeps/i386/fpu/libm-test-ulps: Update.
1721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1723 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1725 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1726 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1728 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1730 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1731 * config.make.in (config-cflags-sse4): Remove variable.
1732 (config-cflags-avx): Likewise.
1733 (config-cflags-sse2avx): Likewise.
1734 (config-cflags-novzeroupper): Likewise.
1735 (config-asflags-i686): Likewise.
1736 (have-mfma4): Likewise.
1737 (have-as-vis3): Likewise.
1739 * configure.in (MIG): Do not AC_SUBST.
1740 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1741 (libc_cv_cc_sse4): Do not AC_SUBST.
1742 (libc_cv_cc_avx): Likewise.
1743 (libc_cv_cc_sse2avx): Likewise.
1744 (libc_cv_cc_novzeroupper): Likewise.
1745 (libc_cv_cc_fma4): Likewise.
1746 (libc_cv_as_i686): Likewise.
1747 (libc_cv_sparc_as_vis3): Likewise.
1748 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1750 (config-asflags-i686): Likewise.
1751 (config-cflags-avx): Likewise.
1752 (config-cflags-sse2avx): Likewise.
1753 (have-mfma4): Likewise.
1754 (config-cflags-novzeroupper): Likewise.
1755 * sysdeps/mach/configure.in (MIG): Likewise.
1756 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1757 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1759 (config-cflags-avx): Likewise.
1760 (config-cflags-sse2avx): Likewise.
1761 (have-mfma4): Likewise.
1762 (config-cflags-novzeroupper): Likewise.
1763 * configure: Regenerated.
1764 * sysdeps/i386/configure: Likewise.
1765 * sysdeps/mach/configure: Likewise.
1766 * sysdeps/sparc/configure: Likewise.
1767 * sysdeps/x86_64/configure: Likewise.
1769 2013-03-20 Roland McGrath <roland@hack.frob.com>
1772 * locale/programs/localedef.c (options): Put N_ translation marker
1773 on argument names, not just descriptions.
1775 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1777 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1779 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1782 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1784 2013-03-19 Roland McGrath <roland@hack.frob.com>
1786 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1787 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1788 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1789 [!BEFORE_ABORT] (before_abort): New function.
1790 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1791 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1792 (writev_for_fatal): New function.
1793 (WRITEV_FOR_FATAL): New macro; call that.
1794 (backtrace_and_maps): New function.
1795 (BEFORE_ABORT): New macro; call that.
1796 (struct str_list): Type removed.
1797 (__libc_message, __libc_fatal): Functions removed.
1798 Include <sysdeps/posix/libc_fatal.c> instead.
1800 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1802 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1804 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1807 2013-03-19 Andreas Schwab <schwab@suse.de>
1809 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1810 * sysdeps/gnu/configure: Regenerate.
1812 * configure.in: Substitute libc_cv_rtlddir.
1813 * configure: Regenerate.
1814 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1815 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1816 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1817 * elf/Makefile (install-others, CFLAGS-interp.c)
1818 (ldso_install, common-ldd-rewrite): Likewise.
1819 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1820 $(inst_slibdir)/$(rtld-installed-name).
1821 * scripts/rellns-sh: Add -p option.
1822 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1825 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1827 * manual/nptl.texi: Renamed to ...
1828 * manual/threads.texi: ... this.
1829 * manual/Makefile (chapters): Update.
1831 2013-03-18 Roland McGrath <roland@hack.frob.com>
1834 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1835 on argument names, not just descriptions.
1836 * malloc/memusagestat.c (options): Likewise.
1837 * nss/getent.c (options): Likewise.
1839 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1842 * iconv/iconv_prog.c (options): Put N_ translation marker
1843 on argument names, not just descriptions.
1844 * iconv/iconvconfig.c (options): Likewise.
1846 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1848 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1849 implementation which is faster on all x86_64 architectures.
1850 Tested on AMD, Intel Nehalem, SNB, IVB.
1851 * sysdeps/x86_64/strnlen.S: Likewise.
1853 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1854 Remove all multiarch strlen and strnlen versions.
1855 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1856 Remove strlen and strnlen related parts.
1858 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1860 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1862 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1863 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1864 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1865 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1866 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1867 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1869 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1871 * manual/memory.texi (Malloc Tunable Parameters):
1872 Sort parameters alphabetically. Add comments for missing entries.
1874 2013-03-17 David S. Miller <davem@davemloft.net>
1876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1878 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1881 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1882 for arguments at most half maximum finite value.
1883 * math/libm-test.inc (j0_test): Add more tests.
1884 (j1_test): Likewise.
1885 (y0_test): Likewise.
1886 (y1_test): Likewise.
1887 * sysdeps/i386/fpu/libm-test-ulps: Update.
1888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1891 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1892 1 / x and functions P and Q for arguments above 0x1p256L.
1893 (__ieee754_y0l): Likewise.
1894 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1895 (__ieee754_y1l): Likewise.
1896 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1897 (j1_test): Likewise.
1898 (y0_test): Likewise.
1899 (y1_test): Likewise.
1901 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1903 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1906 2013-03-15 Roland McGrath <roland@hack.frob.com>
1908 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1909 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1910 zero since it's initialized to EXEC_PAGESIZE.
1912 * sysdeps/unix/sysv/linux/ldsodefs.h
1913 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1914 * sysdeps/generic/ldsodefs.h: ... here.
1916 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1918 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1920 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1922 * math/test-snan.c: Renamed from
1923 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1924 * math/Makefile (tests): Add test-snan.
1925 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1928 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1929 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1931 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1932 __builtin_nan family of functions.
1933 * math/libm-test.inc (initialize): Initialize qnan_value with
1934 __builtin_nan family of functions.
1935 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1937 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1939 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1940 storage class. Initialize qNaN_var and sNaN_var with
1941 __builtin_nan and __builtin_nans families of functions,
1944 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1945 (sqrt_test): Remove duplicate test with qNaN input.
1946 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1947 (round_test, signbit_test, significand_test): Note missing +/-Inf
1948 as well as qNaN tests.
1950 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1951 qNaN_var. Fix a few strings, too.
1952 * math/libm-test.inc (nan_value): Rename to qnan_value.
1953 * math/gen-libm-test.pl (%beautify): Adjust to that.
1954 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1955 * math/test-misc.c (main): Likewise.
1956 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1957 to __qnan_bytes, and __qnan_union, respectively.
1958 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1960 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1961 and lqnanval, respectively.
1962 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1963 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1964 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1965 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1967 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1968 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1971 * math/test-misc.c (main): Fix copy'n'pastos.
1972 * misc/tst-efgcvt.c (special): Likewise.
1974 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1975 Remove declarations.
1977 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1979 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1980 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1981 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1982 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1984 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1986 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1987 macro to return vdso values correctly in IFUNC implementations.
1988 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1989 Optimization by using IFUNC.
1991 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1992 Richard Henderson <rth@redhat.com>
1993 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1995 * Makefile.in (bench): New target.
1996 * NEWS: Mention the benchmark framework.
1997 * Rules (bench): Likewise.
1998 (binaries-bench): Generate binaries for functions to
2000 * benchtests/Makefile: New makefile for benchmark tests.
2001 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2003 * benchtests/exp-inputs: New input file for EXP function.
2004 * benchtests/pow-inputs: New input file for POW function.
2005 * scripts/bench.pl: New script to generate source files for
2008 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2010 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2011 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2012 computations on mantissa. Use macros for rounding and
2015 (__dbl_mp): Likewise.
2016 (add_magnitudes): Likewise.
2017 (sub_magnitudes): Likewise.
2020 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2021 powers of two in terms of TWOPOW macro.
2022 (mp_no): Make type of mantissa as MANTISSA_T.
2023 [!RADIXI]: Define RADIXI.
2024 [!TWO52]: Define TWO52.
2025 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2027 * manual/nptl.texi (cindex): Modify threads to pthreads.
2029 2013-03-15 Joseph Myers <joseph@codesourcery.com>
2031 * sysdeps/x86_64/preconfigure: Regenerated.
2033 2013-03-14 Joseph Myers <joseph@codesourcery.com>
2036 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2038 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2039 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2041 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2042 * math/libm-test.inc (j0_test): Do not allow one spurious
2043 underflow exception.
2044 (y1_test): Likewise.
2046 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2048 * manual/Makefile (chapters): Add nptl.
2049 * manual/debug.texi (Debugging Support): Add link to Threads
2051 * manual/nptl.texi: New file.
2053 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2055 2013-03-14 Petr Baudis <pasky@ucw.cz>
2057 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2058 for non-NULL pointer before the memory validity test. Pointed
2059 out by Holger Brunck <holger.brunck@keymile.com>.
2061 2013-03-13 Andreas Schwab <schwab@suse.de>
2063 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2066 2013-03-13 Joseph Myers <joseph@codesourcery.com>
2068 * timezone/zic.c: Update from tzcode 2013b.
2070 2013-03-12 Carlos O'Donell <carlos@redhat.com>
2072 * manual/install.texi (Configuring and compiling):
2073 Mention i686 and i586.
2074 * INSTALL: Regenerate.
2076 2013-03-12 Roland McGrath <roland@hack.frob.com>
2078 * sysdeps/init_array/elf-init.c: New file.
2080 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2081 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2083 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2084 __gmon_start__ as global, but as static with a .preinit_array pointer.
2085 * sysdeps/init_array/gmon-start.c: New file. Use that.
2086 * sysdeps/init_array/crti.S: New file, empty except for comments.
2087 * sysdeps/init_array/crtn.S: Likewise.
2089 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
2091 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2094 Remove Prefer_SSE_for_memop.
2095 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2096 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2097 HAS_PREFER_SSE_FOR_MEMOP.
2098 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2100 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2101 Remove bzero, memset ifunc support.
2102 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2103 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2104 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2105 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2107 2013-03-11 Andreas Schwab <schwab@suse.de>
2110 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2113 (GLIBC_2.16): Remove pthread_atfork.
2115 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2117 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2118 (ptestcases.h): Likewise.
2120 2013-03-08 Roland McGrath <roland@hack.frob.com>
2122 * Makeconfig ($(common-objpfx)config.status): Depend on
2123 sysdeps/*/preconfigure{,.in} too.
2125 2013-03-08 Joseph Myers <joseph@codesourcery.com>
2127 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2128 (__free_hook): Use void * instead of __malloc_ptr_t.
2129 (__malloc_hook): Likewise.
2130 (__realloc_hook): Likewise.
2131 (__memalign_hook): Likewise.
2132 (__after_morecore_hook): Likewise.
2133 * malloc/arena.c (save_malloc_hook): Likewise.
2134 (save_free_hook): Likewise.
2135 * malloc/hooks.c (malloc_hook_ini): Likewise.
2136 (realloc_hook_ini): Likewise.
2137 (memalign_hook_ini): Likewise.
2138 * malloc/malloc.c (malloc_hook_ini): Likewise.
2139 (realloc_hook_ini): Likewise.
2140 (memalign_hook_ini): Likewise.
2141 (__free_hook): Likewise.
2142 (__malloc_hook): Likewise.
2143 (__realloc_hook): Likewise.
2144 (__memalign_hook): Likewise.
2145 (__libc_malloc): Likewise.
2146 (__libc_free): Likewise.
2147 (__libc_realloc): Likewise.
2148 (__libc_memalign): Likewise.
2149 (__libc_valloc): Likewise.
2150 (__libc_pvalloc): Likewise.
2151 (__libc_calloc): Likewise.
2152 (__posix_memalign): Likewise.
2153 * malloc/morecore.c (__sbrk): Likewise.
2154 (__default_morecore): Likewise.
2156 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2158 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2159 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2162 * malloc/malloc.h (__malloc_size_t): Remove macro.
2163 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2165 (old_memalign_hook): Likewise.
2166 (old_realloc_hook): Likewise.
2167 (struct hdr): Likewise.
2169 (mallochook): Likewise.
2170 (memalignhook): Likewise.
2171 (reallochook): Likewise.
2172 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2173 (tr_old_realloc_hook): Likewise.
2174 (tr_old_memalign_hook): Likewise.
2175 (tr_mallochook): Likewise.
2176 (tr_reallochook): Likewise.
2177 (tr_memalignhook): Likewise.
2179 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2181 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2182 default_ldbl_pack and using as default implementation.
2183 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2185 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2186 redundant definition.
2187 (ldbl_insert_mantissa): Likewise.
2188 (ldbl_canonicalize): Likewise.
2189 (ldbl_nearbyint): Likewise.
2190 (ldbl_pack): Rename to ldbl_pack_ppc.
2191 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2192 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2193 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2195 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2198 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2199 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2200 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2201 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2202 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2203 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2204 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2206 2013-03-07 Andreas Jaeger <aj@suse.de>
2208 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2211 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2213 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2214 Include mpa.h and declare __MPEXP.
2215 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2216 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2217 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2218 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2219 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2220 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2221 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2223 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2224 (__slowpow): Use long double EXPL and LOGL functions to
2226 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2227 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2228 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2229 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2230 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2231 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2233 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2234 intermediate variable to calculate exponent.
2236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2240 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2241 [!NO__SQR]: Define __sqr.
2242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2243 and NO__SQR. Remove all code except __mul and __sqr. Include
2244 sysdeps/ieee754/dbl-64/mpa.c.
2245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2248 * posix/Makefile (tests): Add tst-pathconf.
2249 * posix/tst-pathconf.c: New test case.
2250 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2252 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2254 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
2256 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2258 2013-03-06 Andreas Jaeger <aj@suse.de>
2260 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2261 definition via __MAP_ANONYMOUS.
2263 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2264 it's not part of Linux headers.
2266 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2267 (MAP_HUGE_MASK): Define.
2269 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2271 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2272 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2274 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2275 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2277 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2278 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2280 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2282 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2283 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2284 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2285 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2286 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2287 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2289 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2292 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2293 Handle f2fs and efivarfs.
2295 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2298 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2299 (EFIVARFS_MAGIC): Add.
2300 (F2FS_LINK_MAX): Add.
2302 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2304 * stdio-common/vfprintf.c: Replace __builtin_expect with
2307 2013-03-06 Joseph Myers <joseph@codesourcery.com>
2310 * sysdeps/generic/bp-sym.h: Remove file.
2311 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2312 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2313 <bp-sym.h> and <bp-asm.h>.
2314 (__longjmp): Don't use BP_SYM.
2315 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2317 (memcpy): Don't use BP_SYM.
2318 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2319 <bp-sym.h> and <bp-asm.h>.
2320 (memcpy): Don't use BP_SYM.
2321 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2323 (memcpy): Don't use BP_SYM.
2324 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2326 (memset): Don't use BP_SYM.
2327 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2328 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2329 (__bzero): Don't use BP_SYM.
2330 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2331 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2332 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2333 <bp-sym.h> and <bp-asm.h>.
2334 (memcmp): Don't use BP_SYM. Remove comment about bounded
2336 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2337 <bp-sym.h> and <bp-asm.h>.
2338 (memcpy): Don't use BP_SYM.
2339 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2340 <bp-sym.h> and <bp-asm.h>.
2341 (memset): Don't use BP_SYM.
2342 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2343 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2344 (__bzero): Don't use BP_SYM.
2345 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2346 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2347 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2348 <bp-sym.h> and <bp-asm.h>.
2349 (strncmp): Don't use BP_SYM. Remove comment about bounded
2351 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2352 <bp-sym.h> and <bp-asm.h>.
2353 (memcpy): Don't use BP_SYM.
2354 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2355 <bp-sym.h> and <bp-asm.h>.
2356 (memset): Don't use BP_SYM.
2357 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2358 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2359 (__bzero): Don't use BP_SYM.
2360 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2361 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2362 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2363 <bp-sym.h> and <bp-asm.h>.
2364 (__memchr): Don't use BP_SYM.
2365 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2366 <bp-sym.h> and <bp-asm.h>.
2367 (memcmp): Don't use BP_SYM. Remove comment about bounded
2369 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2370 <bp-sym.h> and <bp-asm.h>.
2371 (memcpy): Don't use BP_SYM.
2372 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2373 <bp-sym.h> and <bp-asm.h>.
2374 (__mempcpy): Don't use BP_SYM.
2375 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2376 <bp-sym.h> and <bp-asm.h>.
2377 (__memrchr): Don't use BP_SYM.
2378 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2379 <bp-sym.h> and <bp-asm.h>.
2380 (memset): Don't use BP_SYM.
2381 (__bzero): Likewise.
2382 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2383 <bp-sym.h> and <bp-asm.h>.
2384 (__rawmemchr): Don't use BP_SYM.
2385 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2386 <bp-sym.h> and <bp-asm.h>.
2387 (__STRCMP): Don't use BP_SYM.
2388 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2389 <bp-sym.h> and <bp-asm.h>.
2390 (strchr): Don't use BP_SYM.
2391 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2392 <bp-sym.h> and <bp-asm.h>.
2393 (__strchrnul): Don't use BP_SYM.
2394 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2395 <bp-sym.h> and <bp-asm.h>.
2396 (strlen): Don't use BP_SYM.
2397 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2398 <bp-sym.h> and <bp-asm.h>.
2399 (strncmp): Don't use BP_SYM. Remove comment about bounded
2401 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2402 <bp-sym.h> and <bp-asm.h>.
2403 (__strnlen): Don't use BP_SYM.
2404 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2405 <bp-sym.h> and <bp-asm.h>.
2406 (__GI__setjmp): Don't use BP_SYM.
2407 (_setjmp): Likewise.
2408 (__sigsetjmp): Likewise.
2409 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2410 (L(start_addresses)): Don't use BP_SYM.
2412 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2414 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2415 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2416 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2417 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2418 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2420 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2421 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2422 about bounded pointers.
2423 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2424 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2425 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2427 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2428 about bounded pointers. Remove GKM FIXME comments.
2429 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2430 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2432 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2433 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2434 Remove GKM FIXME comments.
2435 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2436 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2437 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2439 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2440 about bounded pointers. Remove GKM FIXME comment.
2441 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2443 (strncmp): Don't use BP_SYM. Remove comment about bounded
2445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2446 <bp-sym.h> and <bp-asm.h>.
2447 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2449 <bp-sym.h> and <bp-asm.h>.
2450 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2453 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2455 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2458 2013-03-05 David S. Miller <davem@davemloft.net>
2460 * po/es.po: Update from translation team.
2462 2013-03-05 Andreas Jaeger <aj@suse.de>
2464 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2465 <bits/mman-linux.h>.
2466 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2468 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2469 <bits/mman-linux.h> to end of file.
2470 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2472 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2473 <bits/mman-linux.h> to end of file.
2474 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2476 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2477 <bits/mman-linux.h> to end of file.
2479 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2480 (MCL_CURRENT, MCL_FUTURE): Define here.
2482 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2485 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2487 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2489 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2491 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2492 fourth parameter needed for rt_sigprocmask syscall.
2493 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2494 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2495 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2496 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2497 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2498 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2500 2013-03-04 Joseph Myers <joseph@codesourcery.com>
2503 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2504 comment about bounded pointers.
2505 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2506 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2508 2013-03-04 Andreas Jaeger <aj@suse.de>
2510 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2513 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2514 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2515 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2516 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2517 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2518 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2520 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2523 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2524 __ieee754_sqrl instead of __sqrl.
2526 2013-03-01 Joseph Myers <joseph@codesourcery.com>
2528 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2529 * sysdeps/powerpc/fpu_control.h: ... here.
2530 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2531 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2532 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2533 * sysdeps/powerpc/bits/mathinline.h: ... here.
2535 2013-03-01 Roland McGrath <roland@hack.frob.com>
2537 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2538 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2539 to just [NEED_DL_SYSINFO_DSO].
2540 * elf/dl-support.c: Likewise.
2541 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2542 * elf/rtld.c (dl_main): Likewise.
2543 * elf/setup-vdso.h (setup_vdso): Likewise.
2544 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2545 * sysdeps/unix/sysv/linux/dl-sysdep.c
2546 (_dl_discover_osversion): Likewise.
2548 2013-03-01 Carlos O'Donell <carlos@redhat.com>
2550 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2551 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2553 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2555 * NEWS: Mention libm performance improvements and non-x86 PI
2558 * csu/libc-start.c (__pthread_initialize_minimal): Change
2560 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2562 2013-02-28 Joseph Myers <joseph@codesourcery.com>
2565 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2566 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2567 <bp-sym.h> and <bp-asm.h>.
2568 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2569 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2571 (memcpy): Don't use BP_SYM.
2572 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2574 (__mpn_add_n): Don't use BP_SYM.
2575 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2576 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2578 (__mpn_addmul_1): Don't use BP_SYM.
2579 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2580 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2582 (_setjmp): Don't use BP_SYM.
2583 (__novmx_setjmp): Likewise.
2584 (__GI__setjmp): Likewise.
2585 (__vmx_setjmp): Likewise.
2586 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2588 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2589 (__bzero): Don't use BP_SYM.
2590 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2591 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2592 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2593 <bp-sym.h> and <bp-asm.h>.
2594 (memcpy): Don't use BP_SYM.
2595 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2596 <bp-sym.h> and <bp-asm.h>.
2597 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2598 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2599 <bp-sym.h> and <bp-asm.h>.
2600 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2601 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2603 (__mpn_lshift): Don't use BP_SYM.
2604 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2605 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2607 (memset): Don't use BP_SYM.
2608 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2609 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2610 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2612 (__mpn_mul_1): Don't use BP_SYM.
2613 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2614 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2615 <bp-sym.h> and <bp-asm.h>.
2616 (memcmp): Don't use BP_SYM.
2617 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2618 <bp-sym.h> and <bp-asm.h>.
2619 (memcpy): Don't use BP_SYM.
2620 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2621 <bp-sym.h> and <bp-asm.h>.
2622 (memset): Don't use BP_SYM.
2623 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2624 <bp-sym.h> and <bp-asm.h>.
2625 (strncmp): Don't use BP_SYM.
2626 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2627 <bp-sym.h> and <bp-asm.h>.
2628 (memcpy): Don't use BP_SYM.
2629 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2630 <bp-sym.h> and <bp-asm.h>.
2631 (memset): Don't use BP_SYM.
2632 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2633 <bp-sym.h> and <bp-asm.h>.
2634 (__memchr): Don't use BP_SYM.
2635 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2636 <bp-sym.h> and <bp-asm.h>.
2637 (memcmp): Don't use BP_SYM.
2638 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2639 <bp-sym.h> and <bp-asm.h>.
2640 (memcpy): Don't use BP_SYM.
2641 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2642 <bp-sym.h> and <bp-asm.h>.
2643 (__mempcpy): Don't use BP_SYM.
2644 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2645 <bp-sym.h> and <bp-asm.h>.
2646 (__memrchr): Don't use BP_SYM.
2647 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2648 <bp-sym.h> and <bp-asm.h>.
2649 (memset): Don't use BP_SYM.
2650 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2651 <bp-sym.h> and <bp-asm.h>.
2652 (__rawmemchr): Don't use BP_SYM.
2653 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2654 <bp-sym.h> and <bp-asm.h>.
2655 (__STRCMP): Don't use BP_SYM.
2656 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2657 <bp-sym.h> and <bp-asm.h>.
2658 (strchr): Don't use BP_SYM.
2659 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2660 <bp-sym.h> and <bp-asm.h>.
2661 (__strchrnul): Don't use BP_SYM.
2662 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2663 <bp-sym.h> and <bp-asm.h>.
2664 (strlen): Don't use BP_SYM.
2665 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2666 <bp-sym.h> and <bp-asm.h>.
2667 (strncmp): Don't use BP_SYM.
2668 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2669 <bp-sym.h> and <bp-asm.h>.
2670 (__strnlen): Don't use BP_SYM.
2671 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2673 (__mpn_rshift): Don't use BP_SYM.
2674 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2675 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2676 <bp-sym.h> and <bp-asm.h>.
2677 (__sigsetjmp): Don't use BP_SYM.
2678 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2679 (L(start_addresses)): Don't use BP_SYM.
2681 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2683 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2684 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2685 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2686 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2688 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2689 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2690 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2691 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2693 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2695 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2696 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2698 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2700 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2701 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2702 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2704 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2706 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2708 (strncmp): Don't use BP_SYM,
2709 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2711 (__mpn_sub_n): Don't use BP_SYM.
2712 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2713 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2715 (__mpn_submul_1): Don't use BP_SYM.
2716 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2718 <bp-sym.h> and <bp-asm.h>.
2719 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2721 <bp-sym.h> and <bp-asm.h>.
2722 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2725 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2728 Use ZK to minimize writes to Z.
2729 (sub_magnitudes): Simplify code a bit.
2730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2731 Use ZK to minimize writes to Z.
2732 (sub_magnitudes): Simplify code a bit.
2734 2013-02-27 Roland McGrath <roland@hack.frob.com>
2736 * csu/gmon-start.c: Add special exception to license text.
2738 2013-02-27 Richard Henderson <rth@redhat.com>
2740 * scripts/config.guess: Update from config.git.
2741 * scripts/config.sub: Likewise.
2743 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2745 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2747 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2749 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2751 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2753 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2755 2013-02-26 Roland McGrath <roland@hack.frob.com>
2757 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2758 [$(build-shared = yes].
2760 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2762 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2763 (__mul): Reduce iterations for calculating mantissa.
2765 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2767 (__mpranred): Likewise.
2770 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2771 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2773 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2775 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2776 Define __attribute__.
2778 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2780 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2782 * posix/regex_internal.h (__attribute): Remove.
2783 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2784 (re_string_context_at): Likewise.
2785 (bitset_not): Use __attribute__ and mark function as possibly
2787 (bitset_merge): Likewise.
2788 (bitset_mask): Likewise.
2789 (re_string_char_size_at): Likewise.
2790 (re_string_wchar_at): Likewise.
2791 (re_string_elem_size_at): Likewise.
2793 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2795 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2799 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2804 (__dbl_mp): Likewise.
2805 (add_magnitudes): Likewise.
2806 (sub_magnitudes): Likewise.
2810 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2813 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2816 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2820 up changes with default code.
2821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2824 2013-02-24 Allan McRae <allan@archlinux.org>
2826 * manual/socket.texi (The Internet Namespace): Order menu items
2827 to match that in the file.
2829 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2830 node listing of the info page menu.
2832 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2835 * sysdeps/i386/bp-asm.h: Remove file.
2836 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2837 (PARMS): Do not use macros from bp-asm.h.
2841 (__mpn_add_n): Do not use BP_SYM
2842 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2844 (PARMS): Do not use macros from bp-asm.h.
2847 (__mpn_addmul_1): Do not use BP_SYM
2848 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2850 (PARMS): Do not use macros from bp-asm.h.
2852 (_setjmp): Likewise. Do not use BP_SYM.
2853 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2855 (PARMS): Do not use macros from bp-asm.h.
2857 (setjmp): Likewise. Do not use BP_SYM.
2858 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2860 (PARMS): Do not use macros from bp-asm.h.
2861 (__frexp): Do not use BP_SYM.
2863 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2865 (PARMS): Do not use macros from bp-asm.h.
2866 (__frexpf): Do not use BP_SYM.
2868 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2870 (PARMS): Do not use macros from bp-asm.h.
2871 (__frexpl): Do not use BP_SYM.
2873 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2875 (PARMS): Do not use macros from bp-asm.h.
2876 (__remquo): Do not use BP_SYM.
2878 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2880 (PARMS): Do not use macros from bp-asm.h.
2881 (__remquof): Do not use BP_SYM.
2882 (remquof): Likewise.
2883 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2885 (PARMS): Do not use macros from bp-asm.h.
2886 (__remquol): Do not use BP_SYM.
2887 (remquol): Likewise.
2888 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2890 (PARMS): Do not use macros from bp-asm.h.
2893 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2894 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2896 (PARMS): Do not use macros from bp-asm.h.
2897 (strlen): Do not use BP_SYM.
2898 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2900 (PARMS): Do not use macros from bp-asm.h.
2904 (__mpn_add_n): Do not use BP_SYM.
2905 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2907 (PARMS): Do not use macros from bp-asm.h.
2910 (__mpn_addmul_1): Do not use BP_SYM.
2911 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2914 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2916 (PARMS): Do not use macros from bp-asm.h.
2919 (__mpn_lshift): Do not use BP_SYM.
2920 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2922 (PARMS): Do not use macros from bp-asm.h.
2926 (memcpy): Likewise. Do not use BP_SYM.
2927 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2928 libc_hidden_def and weak_alias.
2929 (mempcpy): Do not use BP_SYM in weak_alias.
2930 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2932 (PARMS): Do not use macros from bp-asm.h.
2935 [!BZERO_P] (CHR): Likewise.
2936 (memset): Likewise. Do not use BP_SYM.
2937 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2939 (PARMS): Do not use macros from bp-asm.h.
2942 (__mpn_mul_1): Do not use BP_SYM.
2943 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2945 (PARMS): Do not use macros from bp-asm.h.
2948 (__mpn_rshift): Do not use BP_SYM.
2949 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2951 (PARMS): Do not use macros from bp-asm.h.
2954 (strchr): Likewise. Do not use BP_SYM.
2955 (index): Do not use BP_SYM in weak_alias.
2956 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2958 (PARMS): Do not use macros from bp-asm.h.
2961 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2962 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2964 (PARMS): Do not use macros from bp-asm.h.
2965 (strlen): Do not use BP_SYM.
2966 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2968 (PARMS): Do not use macros from bp-asm.h.
2972 (__mpn_sub_n): Do not use BP_SYM.
2973 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2975 (PARMS): Do not use macros from bp-asm.h.
2978 (__mpn_submul_1): Do not use BP_SYM.
2979 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2981 (PARMS): Do not use macros from bp-asm.h.
2985 (__mpn_add_n): Do not use BP_SYM.
2986 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2989 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2991 (PARMS): Do not use macros from bp-asm.h.
2994 (memcmp): Do not use BP_SYM.
2995 (bcmp): Do not use BP_SYM in weak_alias.
2996 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2998 (PARMS): Do not use macros from bp-asm.h.
3002 (memcpy): Likewise. Do not use BP_SYM.
3003 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3005 (PARMS): Do not use macros from bp-asm.h.
3009 (memmove): Likewise. Do not use BP_SYM.
3010 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3012 (PARMS): Do not use macros from bp-asm.h.
3016 (__mempcpy): Likewise. Do not use BP_SYM.
3017 (mempcpy): Do not use BP_SYM in weak_alias.
3018 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3020 (PARMS): Do not use macros from bp-asm.h.
3023 [!BZERO_P] (CHR): Likewise.
3024 (memset): Likewise. Do not use BP_SYM.
3025 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3027 (PARMS): Do not use macros from bp-asm.h.
3029 (strcmp): Do not use BP_SYM.
3030 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3032 (PARMS): Do not use macros from bp-asm.h.
3035 [USE_AS_STRTOK_R] (SAVE): Likewise.
3036 (FUNCTION): Likewise. Do not use BP_SYM.
3037 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3039 (strtok_r): Likewise.
3040 (__GI___strtok_r): Likewise.
3041 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3042 (PARMS): Do not use macros from bp-asm.h.
3045 (__mpn_lshift): Do not use BP_SYM.
3046 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3047 (PARMS): Do not use macros from bp-asm.h.
3050 (__memchr): Do not use BP_SYM.
3051 (memchr): Do not use BP_SYM in weak_alias.
3052 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3053 (PARMS): Do not use macros from bp-asm.h.
3056 (memcmp): Do not use BP_SYM.
3057 (bcmp): Do not use BP_SYM in weak_alias.
3058 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3059 (PARMS): Do not use macros from bp-asm.h.
3062 (__mpn_mul_1): Do not use BP_SYM.
3063 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3065 (PARMS): Do not use macros from bp-asm.h.
3068 (__rawmemchr): Do not use BP_SYM.
3069 (rawmemchr): Do not use BP_SYM in weak_alias.
3070 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3071 (PARMS): Do not use macros from bp-asm.h.
3074 (__mpn_rshift): Do not use BP_SYM.
3075 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3076 (PARMS): Do not use macros from bp-asm.h.
3078 (__sigsetjmp): Likewise. Do not use BP_SYM.
3079 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3080 (_start): Do not use BP_SYM.
3081 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3082 (PARMS): Do not use macros from bp-asm.h.
3085 (__stpcpy): Likewise. Do not use BP_SYM.
3086 (stpcpy): Do not use BP_SYM in weak_alias.
3087 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3089 (PARMS): Do not use macros from bp-asm.h.
3093 (__stpncpy): Likewise. Do not use BP_SYM.
3094 (stpncpy): Do not use BP_SYM in weak_alias.
3095 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3096 (PARMS): Do not use macros from bp-asm.h.
3099 (strchr): Likewise. Do not use BP_SYM.
3100 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3102 (PARMS): Do not use macros from bp-asm.h.
3105 (__strchrnul): Likewise. Do not use BP_SYM.
3106 (strchrnul): Do not use BP_SYM in weak_alias.
3107 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3109 (PARMS): Do not use macros from bp-asm.h.
3111 (strcspn): Do not use BP_SYM.
3112 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3114 (PARMS): Do not use macros from bp-asm.h.
3117 (strpbrk): Likewise. Do not use BP_SYM.
3118 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3120 (PARMS): Do not use macros from bp-asm.h.
3123 (strrchr): Likewise. Do not use BP_SYM.
3124 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3125 (PARMS): Do not use macros from bp-asm.h.
3127 (strspn): Do not use BP_SYM.
3128 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3129 (PARMS): Do not use macros from bp-asm.h.
3133 (FUNCTION): Likewise. Do not use BP_SYM.
3134 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3136 (strtok_r): Likewise.
3137 (__GI___strtok_r): Likewise.
3138 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3139 (PARMS): Do not use macros from bp-asm.h.
3143 (__mpn_sub_n): Do not use BP_SYM.
3144 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3146 (PARMS): Do not use macros from bp-asm.h.
3149 (__mpn_submul_1): Do not use BP_SYM.
3150 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3152 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3154 (PARMS): Do not use macros from bp-asm.h.
3159 (__clone): Do not use BP_SYM.
3160 (clone): Do not use BP_SYM in weak_alias.
3161 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3163 (PARMS): Do not use macros from bp-asm.h.
3165 (__mmap64): Do not use BP_SYM.
3166 (mmap64): Do not use BP_SYM in weak_alias.
3167 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3168 <bp-sym.h> and <bp-asm.h>.
3169 (PARMS): Do not use macros from bp-asm.h.
3170 (__posix_fadvise64_l64): Do not use BP_SYM.
3171 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3172 (PARMS): Do not use macros from bp-asm.h.
3174 (semtimedop): Do not use BP_SYM.
3175 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3178 2013-02-21 Allan McRae <allan@archlinux.org>
3180 * manual/message.texi (Charset conversion in gettext):
3181 Move @end statement to beginning of line.
3183 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3190 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3195 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3197 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3198 tail-call to the resolved function if pltexit isn't needed.
3200 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3203 or Y being zero as being unlikely.
3204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3207 2013-02-20 Carlos O'Donell <carlos@redhat.com>
3209 * manual/nss.texi (System Databases and Name Service Switch):
3210 Remove frobnicate @pxref.
3212 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3214 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3215 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3217 2013-02-20 Petr Machata <pmachata@redhat.com>
3219 * elf/elf.h (R_ARM_TARGET1): New macro.
3220 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3221 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3222 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3223 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3224 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3225 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3226 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3227 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3228 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3229 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3230 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3231 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3232 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3233 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3234 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3235 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3236 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3237 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3238 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3239 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3240 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3241 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3242 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3243 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3244 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3245 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3246 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3247 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3248 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3249 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3250 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3251 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3252 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3253 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3254 (R_ARM_THM_GOT_BREL12): Likewise.
3255 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3256 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3257 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3258 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3259 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3260 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3261 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3262 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3263 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3265 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3267 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3268 __attribute_used__ to __attribute__ ((unused)).
3270 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3272 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3278 2013-02-19 Joseph Myers <joseph@codesourcery.com>
3281 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3283 (ENTER): Remove both macro definitions.
3285 (CHECK_BOUNDS_LOW): Likewise.
3286 (CHECK_BOUNDS_HIGH): Likewise.
3287 (CHECK_BOUNDS_BOTH): Likewise.
3288 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3289 (RETURN_BOUNDED_POINTER): Likewise.
3290 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3291 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3292 (POP_ERRNO_LOCATION_RETURN): Likewise.
3293 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3294 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3295 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3297 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3298 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3299 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3300 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3301 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3302 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3303 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3304 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3305 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3306 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3307 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3308 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3309 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3310 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3312 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3313 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3315 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3316 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3317 * sysdeps/i386/i586/memset.S (memset): Likewise.
3318 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3319 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3320 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3322 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3323 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3324 Change uses of L(2) to L(out).
3325 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3326 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3327 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3328 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3329 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3331 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3332 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3334 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3335 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3336 (RETURN): Do not use macro LEAVE.
3337 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3338 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3339 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3340 * sysdeps/i386/i686/memset.S (memset): Likewise.
3341 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3342 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3343 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3344 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3346 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3347 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3348 L(1_2) and L(1_3) into L(1).
3349 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3350 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3351 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3352 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3353 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3354 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3355 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3356 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3357 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3359 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3360 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3361 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3362 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3363 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3364 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3365 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3366 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3367 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3368 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3369 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3370 * sysdeps/i386/strspn.S (strspn): Likewise.
3371 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3373 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3374 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3375 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3376 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3378 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3379 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3380 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3382 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3384 2013-02-19 Jakub Jelinek <jakub@redhat.com>
3386 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3389 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3391 * math/atest-exp.c (exp_mpn): Remove ROUND.
3392 * math/atest-exp2.c (exp_mpn): Likewise.
3393 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3395 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3396 * stdlib/tst-tls-atexit-lib.c: Likewise.
3397 * stdlib/tst-tls-atexit.c: Likewise.
3399 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3401 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3402 and __attribute_alloc_size__.
3404 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3406 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3407 __attribute_alloc_size__.
3408 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3409 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3411 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3413 * include/programs/xmalloc.h: New file.
3414 * catgets/gencat.c: Include it.
3415 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3416 * elf/pldd.c: Likewise.
3417 * iconv/iconv_charmap.c: Likewise.
3418 * iconv/iconvconfig.c: Likewise.
3419 * iconv/strtab.c: Likewise.
3420 * locale/programs/locale.c: Likewise.
3421 * locale/programs/localedef.h: Likewise.
3422 * locale/programs/simple-hash.c: Likewise.
3423 * nscd/nscd.h: Likewise.
3424 * nss/makedb.c: Likewise.
3425 * sysdeps/generic/ldconfig.h: Likewise.
3427 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3429 * Versions.def: Add GLIBC_2.18.
3430 * include/link.h (struct link_map): New member l_tls_dtor_count.
3431 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3432 (__call_tls_dtors): Likewise.
3433 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3434 __cxa_thread_atexit_impl.
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3443 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3451 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3452 (tests): Add test case tst-tls-atexit.
3453 (modules-names): Add shared library for tst-tls-atexit.
3454 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3455 (GLIBC_PRIVATE): Add __call_tls_dtors.
3456 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3458 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3459 * stdlib/tst-tls-atexit.c: New test case.
3460 * stdlib/tst-tls-atexit-lib.c: New test case.
3462 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
3464 * elf/Versions (ld): Add _dl_find_dso_for_object.
3465 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3466 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3467 (dl_open_worker): Use _dl_find_dso_for_object.
3468 * elf/dl-sym.c (do_sym): Likewise.
3469 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3471 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3473 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3474 Syntactic changes only.
3475 (_dl_runtime_profile): Do a tail-call to the resolved function.
3477 2013-02-17 Joseph Myers <joseph@codesourcery.com>
3480 * sysdeps/x86_64/bp-asm.h: Remove file.
3481 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3482 <bp-sym.h> and <bp-asm.h>.
3483 (__clone): Do not use BP_SYM.
3484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3485 <bp-sym.h> and <bp-asm.h>.
3486 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3487 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3489 (_setjmp): Do not use BP_SYM.
3490 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3492 (setjmp): Do not use BP_SYM.
3493 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3495 (mempcpy): Do not use BP_SYM in weak_alias.
3496 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3498 (strchr): Do not use BP_SYM.
3499 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3501 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3502 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3503 (_start): Do not use BP_SYM.
3504 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3506 (strcat): Do not use BP_SYM.
3507 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3509 (STRCMP): Do not use BP_SYM.
3510 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3512 (STRCPY): Do not use BP_SYM.
3513 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3515 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3517 (FUNCTION): Do not use BP_SYM.
3518 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3520 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3522 2013-02-17 Andreas Jaeger <aj@suse.de>
3524 * time/Versions: Sort entries.
3525 * string/Versions: Likewise.
3526 * resolv/Versions: Likewise.
3527 * posix/Versions: Likewise.
3528 * iconv/Versions: Likewise.
3529 * elf/Versions: Likewise.
3530 * wcsmbs/Versions: Likewise.
3532 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3534 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3535 loop termination condition.
3537 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3538 variable to calculate EZ.
3541 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3542 the lower precision input.
3544 2013-02-15 Joseph Myers <joseph@codesourcery.com>
3547 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3548 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3549 (run-via-rtld-prefix): Do not handle %-bp tests.
3550 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3551 (all-object-suffixes): Remove .ob.
3552 (bppfx): Remove variable.
3553 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3554 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3555 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3556 [$(build-bounded) = yes] (libtype.ob): Likewise.
3557 * Makerules (elide-routines.ob): Remove variable.
3558 (do-tests-clean): Do not handle *-bp.out.
3559 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3560 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3561 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3562 (tests): Do not include $(tests-bp.out).
3563 (xtests): Do not include $(xtests-bp.out).
3564 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3565 [$(build-bounded) = yes] ($(addprefix
3566 $(objpfx),$(binaries-bounded))): Remove rule.
3567 ($(objpfx)%-bp.out): Remove rule.
3568 * config.make.in (build-bounded): Remove variable.
3569 * crypt/Makefile [$(build-bounded) = yes]
3570 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3571 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3573 [$(build-bounded) = yes] (install-lib): Likewise.
3574 [$(build-bounded) = yes] (generated): Likewise.
3575 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3577 * intl/Makefile [$(build-bounded) = yes]
3578 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3579 * math/Makefile [$(build-bounded) = yes]
3580 ($(tests:%=$(objpfx)%-bp): Likewise.
3581 * misc/Makefile [$(build-bounded) = yes]
3582 ($(objpfx)tst-tsearch-bp): Likewise.
3583 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3584 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3586 * string/Makefile (o-objects.ob): Remove variable.
3587 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3588 (CFLAGS-.ob): Remove variable.
3589 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3590 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3591 both definitions of variable.
3592 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3593 (ASFLAGS-.ob): Remove variable.
3595 2013-02-14 Joseph Myers <joseph@codesourcery.com>
3598 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3599 Remove __BOUNDED_POINTERS__ from condition.
3600 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3601 * string/bits/string2.h [!__NO_STRING_INLINES &&
3602 !__BOUNDED_POINTERS__]: Likewise.
3603 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3605 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3606 Remove conditional code.
3607 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3608 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3609 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3613 * csu/libc-start.c: Do not include <bp-sym.h>.
3614 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3615 * elf/dl-open.c: Do not include <bp-sym.h>.
3616 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3617 * math/fegetenv.c: Do not include <bp-sym.h>.
3618 (fegetenv): Do not use BP_SYM in versioned symbols.
3619 * nptl/sysdeps/pthread/bits/libc-lockP.h
3620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3623 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3625 (__pthread_mutex_destroy): Likewise.
3626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3627 (__pthread_mutex_lock): Likewise.
3628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3629 (__pthread_mutex_trylock): Likewise.
3630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3631 (__pthread_mutex_unlock): Likewise.
3632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3633 (__pthread_mutexattr_init): Likewise.
3634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3635 (__pthread_mutexattr_destroy): Likewise.
3636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3637 (__pthread_mutexattr_settype): Likewise.
3638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3639 (__pthread_rwlock_init): Likewise.
3640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3641 (__pthread_rwlock_destroy): Likewise.
3642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3643 (__pthread_rwlock_rdlock): Likewise.
3644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3645 (__pthread_rwlock_tryrdlock): Likewise.
3646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3647 (__pthread_rwlock_wrlock): Likewise.
3648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3649 (__pthread_rwlock_trywrlock): Likewise.
3650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3651 (__pthread_rwlock_unlock): Likewise.
3652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3653 (__pthread_key_create): Likewise.
3654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3655 (__pthread_setspecific): Likewise.
3656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3657 (__pthread_getspecific): Likewise.
3658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3661 (_pthread_cleanup_push_defer): Likewise.
3662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3663 (_pthread_cleanup_pop_restore): Likewise.
3664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3665 (pthread_setcancelstate): Likewise.
3666 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3668 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3669 (memchr): Do not use BP_SYM in weak_alias.
3670 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3671 (fegetenv): Do not use BP_SYM in versioned symbols.
3672 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3673 (fesetenv): Do not use BP_SYM in versioned symbols.
3674 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3675 (feupdateenv): Do not use BP_SYM in versioned symbols.
3676 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3677 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3678 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3679 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3680 (open64): Do not use BP_SYM in weak_alias.
3681 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3682 (fegetenv): Do not use BP_SYM in versioned symbols.
3683 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3684 (fesetenv): Do not use BP_SYM in versioned symbols.
3685 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3686 (feupdateenv): Do not use BP_SYM in versioned symbols.
3687 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3688 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3689 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3690 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3691 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3692 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3693 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3695 (__libc_start_main): Do not use BP_SYM.
3697 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3700 redundant return line.
3704 (sub_magnitudes): Likewise.
3710 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3714 (sub_magnitudes): Likewise.
3721 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3723 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3724 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3727 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3728 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3729 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3730 of __mul for squares.
3731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3735 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3736 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3738 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3741 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3743 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3744 prototype or function definition. Rename ubp_* variables and
3745 parameters. Remove argv definitions conditional on
3746 [__BOUNDED_POINTERS__].
3747 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3748 * elf/dl-runtime.c (_dl_fixup): Likewise.
3749 * include/set-hooks.h (RUN_HOOK): Likewise.
3750 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3752 * string/strcpy.c (strcpy): Do not use __unbounded.
3753 * sysdeps/generic/frame.h (struct layout): Likewise.
3754 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3755 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3756 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3757 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3758 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3759 (__backtrace): Likewise.
3760 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3762 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3763 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3764 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3766 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3767 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3768 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3769 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3770 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3771 Do not use __unbounded.
3772 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3773 Rename __unboundedrlimits parameter to rlimits in prototype.
3774 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3775 Do not use __unbounded.
3776 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3778 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3779 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3780 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3781 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3782 __ptrvalue or __unbounded.
3783 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3784 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3786 (__new_msgctl): Do not use __ptrvalue.
3787 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3789 (__libc_msgrcv): Do not use __ptrvalue.
3790 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3791 startup_info): Do not use __unbounded.
3792 (__libc_start_main): Likewise. Rename ubp_* variables and
3793 parameters. Remove argv definitions conditional on
3794 [__BOUNDED_POINTERS__].
3795 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3797 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3799 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3801 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3803 (__new_shmctl): Do not use __ptrvalue.
3804 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3805 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3807 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3808 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3809 (__libc_sigaction): Likewise.
3810 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3811 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3813 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3815 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3817 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3819 * string/mempcpy.c: Implement by calling memcpy.
3821 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3823 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3825 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3828 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3829 values in the mantissa.
3831 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3832 minimize writes to Z.
3833 (sub_magnitudes): Simplify code a bit.
3835 2013-02-12 Roland McGrath <roland@hack.frob.com>
3837 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3838 from the message. The linker prefixes all warnings with that already.
3840 2013-02-12 Andreas Schwab <schwab@suse.de>
3843 * posix/regexec.c (extend_buffers): Add parameter min_len.
3844 (check_matching): Pass minimum needed length.
3845 (clean_state_log_if_needed): Likewise.
3846 (get_subexp): Likewise.
3847 * posix/Makefile (tests): Add bug-regex34.
3848 (bug-regex34-ENV): Define.
3849 * posix/bug-regex34.c: New file.
3852 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3853 elements compare against the byte sequence of it, not its name.
3854 * posix/Makefile (tests): Add bug-regex35.
3855 (bug-regex35-ENV): Define.
3856 * posix/bug-regex35.c: New file.
3858 2013-02-11 Tom de Vries <tom@codesourcery.com>
3860 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3862 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3863 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3864 (CHECK_EOL): Add undef.
3866 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3868 * bits/stdlib-bsearch.h: New file.
3869 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3870 * stdlib/stdlib.h: Likewise.
3872 2013-02-11 Roland McGrath <roland@hack.frob.com>
3874 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3875 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3877 * manual/search.texi (Array Search Function): Add missing const in
3879 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3880 declaration to use rlim_t.
3881 (Basic Scheduling Functions): Remove erroneous const from
3882 sched_getparam prototype. Remove erroneous * from
3883 sched_get_priority_max and sched_get_priority_min prototypes.
3884 (Resource Usage): Fix summary @comment on vtimes to refer to
3885 sys/vtimes.h rather than vtimes.h.
3886 Add missing *s in vtimes prototype.
3887 (Limits on Resources): Fix ulimit prototype to return long int.
3888 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3889 prototypes to use long int rather than double.
3890 (BSD Random): Fix initstate and setstate to use char *, not void *.
3891 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3892 prototype to make second argument 'struct aiocb64 *const[]'.
3893 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3894 (Status of AIO Operations): Remove erroneous const in aio_return and
3895 aio_return64 prototypes.
3896 (Synchronizing I/O): Fix sync prototype to return void.
3897 * manual/startup.texi (Suboptions): Remove an erroneous const in
3898 getsubopt prototype.
3899 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3900 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3901 use size_t rather than int.
3902 (Scanning All Users): Likewise for getpwent_r.
3903 (Setting Groups): Add missing const to setgroups prototype.
3904 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3905 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3906 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3907 'const void *' rather than 'const char *'.
3908 (Host Address Functions): Likewise for inet_ntop.
3909 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3910 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3911 ssize_t for return value.
3912 (Sending Data): Likewise for send, sendto, sendmsg.
3913 (Socket Option Functions): Add a missing const in setsockopt prototype.
3914 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3915 use wchar_t for the argument.
3916 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3917 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3919 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3920 double/float/long double for second argument.
3921 Fix return types of significand, significandf, significandl.
3922 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3923 argument in fchmod prototype.
3924 (File Owner): Use uid_t and gid_t in fchown prototype.
3925 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3926 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3927 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3928 use 'const struct dirent **' as argument types to CMP function pointer
3930 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3931 (File Times): Fix summary magic @comment for struct utimbuf and utime
3932 to refer to utime.h, not time.h.
3933 * manual/string.texi (Argz Functions): Add missing const in
3934 argz_extract and argz_next prototypes.
3935 (Finding Tokens in a String): Likewise for basename.
3936 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3937 (Copying and Concatenation): Fix typo in wmemmove prototype.
3938 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3939 (Signal Stack): Remove erroneous const in sigstack prototype.
3940 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3942 (Simple Calendar Time): Likewise for stime.
3943 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3945 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3946 say sys/sysctl.h instead.
3947 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3948 and vsyslog prototypes.
3950 2013-02-11 Tom de Vries <tom@codesourcery.com>
3952 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3955 2013-02-11 Roland McGrath <roland@hack.frob.com>
3957 * misc/sys/mman.h: Fix typo in mremap comment.
3959 2013-02-08 Roland McGrath <roland@hack.frob.com>
3961 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3962 the '\0' terminator.
3964 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3967 * debug/segfault.c: Don't include <bp-checks.h>.
3968 * sysdeps/generic/bp-checks.h: Remove file.
3969 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3970 (__GETDENTS): Don't use CHECK_N.
3971 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3972 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3973 (__getgroups): Don't use CHECK_N.
3974 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3975 (setgroups): Don't use CHECK_N.
3976 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3977 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3978 (__libc_msgrcv): Don't use CHECK_N.
3979 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3980 (__libc_msgsnd): Don't use CHECK_N.
3981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3983 (__libc_pread): Don't use CHECK_N.
3984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3985 include <bp-checks.h>.
3986 (__libc_pread64): Don't use CHECK_N.
3987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3988 include <bp-checks.h>.
3989 (__libc_pwrite): Don't use CHECK_N.
3990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3991 include <bp-checks.h>.
3992 (__libc_pwrite64): Don't use CHECK_N.
3993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3995 (__libc_pread): Don't use CHECK_N.
3996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3997 include <bp-checks.h>.
3998 (__libc_pread64): Don't use CHECK_N.
3999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4000 include <bp-checks.h>.
4001 (__libc_pwrite): Don't use CHECK_N.
4002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4003 include <bp-checks.h>.
4004 (__libc_pwrite64): Don't use CHECK_N.
4005 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4006 (do_pread): Don't use CHECK_N.
4007 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4008 (do_pread64): Don't use CHECK_N.
4009 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4010 (do_pwrite): Don't use CHECK_N.
4011 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4012 (do_pwrite64): Don't use CHECK_N.
4013 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4014 (__libc_readv): Don't use CHECK_N.
4015 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4016 (semop): Don't use CHECK_N.
4017 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4019 (semtimedop): Don't use CHECK_N.
4020 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4021 (__libc_pread): Don't use CHECK_N.
4022 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4024 (__libc_pread64): Don't use CHECK_N.
4025 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4027 (__libc_pwrite): Don't use CHECK_N.
4028 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4030 (__libc_pwrite64): Don't use CHECK_N.
4031 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4033 (__libc_msgrcv): Don't use CHECK_N.
4034 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4035 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4036 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4037 (__libc_writev): Don't use CHECK_N.
4039 2013-02-08 Roland McGrath <roland@hack.frob.com>
4041 * string/strcpy.c: Removed unused variable.
4043 * Makeconfig (+sysdep-includes): Define with := rather than =.
4044 Use an existing include/ subdir of each sysdeps dir before it.
4046 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4048 * nscd/connection.c (register_traced_file): Comment function.
4049 [HAVE_INOTIFY] (union __inev): Define.
4050 [HAVE_INOTIFY] (inotify_check_files): New function.
4051 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4052 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4054 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4056 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4058 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4059 loaded if not already and that a failure is permanent.
4061 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4064 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4065 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4067 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4070 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4071 (CHECK_1_NULL_OK): Likewise.
4072 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4073 (__fxstat): Do not use CHECK_1.
4074 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4076 (___fxstat64): Do not use CHECK_1.
4077 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4079 (__fxstatat): Do not use CHECK_1.
4080 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4082 (__fxstatat64): Do not use CHECK_1.
4083 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4085 (__fxstat): Do not use CHECK_1.
4086 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4088 (__fxstatat): Do not use CHECK_1.
4089 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4091 (__getresgid): Do not use CHECK_1.
4092 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4094 (__getresuid): Do not use CHECK_1.
4095 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4097 (__lxstat): Do not use CHECK_1.
4098 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4100 (__old_msgctl): Do not use CHECK_1.
4101 (__new_msgctl): Likewise.
4102 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4104 (__new_setrlimit): Do not use CHECK_1.
4105 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4107 (__old_shmctl): Do not use CHECK_1.
4108 (__new_shmctl): Likewise.
4109 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4111 (__xstat): Do not use CHECK_1.
4112 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4113 (__lxstat): Do not use CHECK_1.
4114 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4116 (___lxstat64): Do not use CHECK_1.
4117 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4118 (__old_msgctl): Do not use CHECK_1.
4119 (__new_msgctl): Likewise.
4120 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4122 (__gettimeofday): Do not use CHECK_1.
4123 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4124 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4125 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4127 (__gettimeofday): Do not use CHECK_1.
4128 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4129 (__old_shmctl): Do not use CHECK_1_NULL_OK.
4130 (__new_shmctl): Do not use CHECK_1.
4131 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4133 (do_sigtimedwait): Do not use CHECK_1.
4134 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4136 (do_sigwaitinfo): Do not use CHECK_1.
4137 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4139 (msgctl): Do not use CHECK_1.
4140 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4142 (shmctl): Do not use CHECK_1.
4143 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4144 (ustat): Do not use CHECK_1.
4145 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4147 (__fxstat): Do not use CHECK_1.
4148 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4150 (__fxstatat): Do not use CHECK_1.
4151 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4153 (__lxstat): Do not use CHECK_1.
4154 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4156 (__xstat): Do not use CHECK_1.
4157 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4158 (__xstat): Do not use CHECK_1.
4159 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4160 (___xstat64): Do not use CHECK_1.
4163 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4165 (CHECK_BOUNDS_HIGH): Likewise.
4166 * string/strcpy.c: Do not include <bp-checks.h>.
4167 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4169 2013-02-07 Roland McGrath <roland@hack.frob.com>
4171 * nscd/nscd-client.h (__nscd_drop_map_ref):
4172 Add __attribute__ ((unused)).
4173 * nis/nss-nisplus.h (niserr2nss): Likewise.
4175 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4176 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4178 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4179 Remove inline keyword.
4180 * include/rounding-mode.h (round_away): Likewise.
4181 * libio/wfileops.c (adjust_wide_data): Likewise.
4182 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4183 (__m128i_strloadu_tolower): Likewise.
4184 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4185 (__m128i_strloadu_tolower): Likewise.
4186 * time/mktime.c (ydhms_diff): Likewise.
4187 * locale/elem-hash.h (elem_hash): Likewise.
4188 * locale/setlocale.c (setdata): Likewise.
4189 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4190 (re_string_wchar_at): Likewise.
4191 (bitset_not, bitset_merge, bitset_mask): Likewise.
4192 [!(__GNUC__ > 3)] (inline): Remove macro.
4193 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4194 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4195 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4196 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4197 * string/memcmp.c (memcmp_bytes): Likewise.
4198 * locale/programs/locarchive.c (compute_hashval): Likewise.
4199 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4200 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4201 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4202 * nss/getent.c (print_rpc, print_protocols): Likewise.
4203 (print_passwd, print_group, print_aliases): Likewise.
4204 * nis/nss-nisplus.h (niserr2nss): Likewise.
4205 * nscd/connections.c (restart_p): Likewise.
4206 Change return type to bool.
4208 2013-02-05 Roland McGrath <roland@hack.frob.com>
4210 * Makeconfig (all-Depend-files): Add existing
4211 $(sorted-subdirs:=/Depend) files.
4212 (all-subdirs): Remove nss.
4213 * sysdeps/unix/inet/Subdirs: Add it here instead.
4214 * hesiod/Depend: New file.
4216 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4217 instead of calling alloca.
4219 * io/lseek.c (__lseek): Rename to __libc_lseek.
4220 Define __lseek as an alias.
4222 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4224 2013-02-04 Carlos O'Donell <carlos@redhat.com>
4226 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4227 else clause and remove check for non-standard endianness.
4229 2013-02-04 David S. Miller <davem@davemloft.net>
4231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4233 2013-02-04 Joseph Myers <joseph@codesourcery.com>
4236 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4237 (__ubp_memchr): Remove prototype.
4238 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4239 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4240 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4241 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4242 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4244 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4245 (__ubp_memchr): Likewise.
4246 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4247 (__ubp_memchr): Likewise.
4248 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4249 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4250 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4251 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4253 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4254 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4255 (__getcwd): Do not use CHECK_STRING.
4256 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4258 (__real_chown): Do not use CHECK_STRING.
4259 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4261 (fchownat): Do not use CHECK_STRING.
4262 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4264 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4266 (__lchown): Do not use CHECK_STRING.
4267 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4268 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4269 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4270 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4272 include <bp-checks.h>.
4273 (truncate64): Do not use CHECK_STRING.
4274 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4276 (__real_chown): Do not use CHECK_STRING.
4277 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4279 (__lchown): Do not use CHECK_STRING.
4280 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4282 (__chown): Do not use CHECK_STRING.
4283 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4285 (truncate64): Do not use CHECK_STRING.
4286 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4288 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4289 (__xmknod): Do not use CHECK_STRING.
4290 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4292 (__xmknodat): Do not use CHECK_STRING.
4293 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4294 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4296 2013-02-04 Andreas Schwab <schwab@suse.de>
4299 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4300 * include/netdb.h: Likewise for h_errno.
4301 * elf/tst-stackguard1.c: Include <tls.h>.
4303 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4305 * elf/link.h (struct link_map): Extend the l_addr comment.
4306 * include/link.h (struct link_map): Likewise.
4308 2013-02-01 Joseph Myers <joseph@codesourcery.com>
4311 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4312 (BOUNDED_1): Remove macro.
4313 * debug/backtrace.c: Don't include <bp-checks.h>.
4314 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4315 (__backtrace): Likewise.
4316 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4318 (__backtrace): Don't use BOUNDED_1.
4319 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4321 (__backtrace): Don't use BOUNDED_1.
4322 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4323 (__backtrace): Don't use BOUNDED_1.
4324 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4325 (shmat): Don't use BOUNDED_N.
4327 2013-01-31 Joseph Myers <joseph@codesourcery.com>
4330 * sysdeps/generic/bp-start.h: Remove file.
4331 * csu/libc-start.c: Don't include <bp-start.h>.
4332 (LIBC_START_MAIN): Set up __environ directly instead of using
4333 INIT_ARGV_and_ENVIRON.
4334 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4338 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4340 (CHECK_FCNTL): Likewise.
4341 (CHECK_N_PAGES): Likewise.
4344 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4346 (CHECK_SIGSET_NULL_OK): Likewise.
4347 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4349 (sigpending): Don't use CHECK_SIGSET.
4350 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4352 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4353 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4355 (do_sigsuspend): Don't use CHECK_SIGSET.
4356 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4358 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4359 (do_sigwait): Don't use CHECK_SIGSET.
4360 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4362 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4363 include <bp-checks.h>.
4364 (sigpending): Don't use CHECK_SIGSET.
4365 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4366 include <bp-checks.h>.
4367 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4368 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4370 (sigpending): Don't use CHECK_SIGSET.
4371 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4373 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4376 * sysdeps/generic/bp-semctl.h: Remove file.
4377 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4378 <bp-checks.h> and <bp-semctl.h>.
4379 (__old_semctl): Don't use CHECK_SEMCTL.
4380 (__new_semctl): Likewise.
4381 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4383 (__old_semctl): Don't use CHECK_SEMCTL.
4384 (__new_semctl): Likewise.
4385 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4386 <bp-checks.h> and <bp-semctl.h>.
4387 (__old_semctl): Don't use CHECK_SEMCTL.
4388 (__new_semctl): Likewise.
4389 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4390 <bp-checks.h> and <bp-semctl.h>.
4391 (semctl): Don't use CHECK_SEMCTL.
4394 * Makerules (elide-bp-thunks): Remove variable.
4395 (elide-routines.oS): Don't use $(elide-bp-thunks).
4396 (elide-routines.os): Likewise.
4397 (elide-routines.o): Likewise.
4398 (elide-routines.op): Likewise.
4399 (elide-routines.og): Likewise.
4400 (objects): Don't use $(bp-thunks).
4401 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4403 (common-generated): Do not add s-proto-bp.d.
4404 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4407 Do not generate makefile rules for bounded-pointer thunks.
4408 * sysdeps/generic/bp-thunks.h: Remove file.
4409 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4410 * sysdeps/unix/s-proto-bp.S: Likewise.
4413 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4414 parts of result separately when argument is not close to line from
4415 -i to i and one part of argument is small.
4416 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4417 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4418 * math/libm-test.inc (cacos_test): Add more tests.
4419 (casin_test): Likewise.
4420 (casinh_test): Likewise.
4421 * sysdeps/i386/fpu/libm-test-ulps: Update.
4422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4424 2013-01-31 David S. Miller <davem@davemloft.net>
4426 * po/de.po: Update from translation team.
4428 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4430 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4432 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4434 * configure.in (_AC_PROG_CC_C89): New definition.
4435 * configure: Regenerate.
4437 * configure.in (AC_PROG_CPP): New definition.
4438 * configure: Regenerate.
4440 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4442 * debug/tst-backtrace.h: New file.
4443 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4444 (ret): Remove variable.
4446 (FAIL): Remove macro.
4447 (NO_INLINE): Likewise.
4448 (fn1): Use match function instead of strstr.
4449 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4450 (ret): Remove variable.
4452 (FAIL): Remove macro.
4453 (NO_INLINE): Likewise.
4454 (fn): Use match function instead of strstr.
4455 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4456 (ret): Remove variable.
4458 (FAIL): Remove macro.
4459 (NO_INLINE): Likewise.
4460 (handle_signal): Use match function instead of strstr.
4461 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4462 (ret): Remove variable.
4464 (FAIL): Remove macro.
4465 (NO_INLINE): Likewise.
4466 (handle_signal): Use match function instead of strstr.
4468 2013-01-23 Roland McGrath <roland@hack.frob.com>
4470 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4472 2013-01-23 David S. Miller <davem@davemloft.net>
4474 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4475 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4476 argument of CAS if possible.
4477 * sysdeps/sparc/sparc64/bits/atomic.h
4478 (__arch_compare_and_exchange_val_32_acq): Likewise.
4479 (__arch_compare_and_exchange_val_64_acq): Likewise.
4481 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4483 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4484 * sysdeps/posix/ulimit.c: ... this.
4486 * sysdeps/unix/bsd/ulimit.c: Remove file.
4488 2013-01-23 Adam Conrad <adconrad@0c3.net>
4490 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4491 (LDFLAGS-tst-array5): Likewise.
4493 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4496 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4497 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4498 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4499 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4501 2013-01-21 David S. Miller <davem@davemloft.net>
4503 * sysdeps/sparc/backtrace.c: New file.
4504 * sysdeps/sparc/sparc32/backtrace.h: New file.
4505 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4506 * sysdeps/sparc/sparc64/backtrace.h: New file.
4507 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4508 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4511 2013-01-21 Andreas Schwab <schwab@suse.de>
4514 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4517 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4523 2013-01-18 Joseph Myers <joseph@codesourcery.com>
4524 Mark Mitchell <mark@codesourcery.com>
4525 Tom de Vries <tom@codesourcery.com>
4526 Paul Pluzhnikov <ppluzhnikov@google.com>
4528 * debug/tst-backtrace2.c: New file.
4529 * debug/tst-backtrace3.c: Likewise.
4530 * debug/tst-backtrace4.c: Likewise.
4531 * debug/tst-backtrace5.c: Likewise.
4532 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4533 (CFLAGS-tst-backtrace3.c): Likewise.
4534 (CFLAGS-tst-backtrace4.c): Likewise.
4535 (CFLAGS-tst-backtrace5.c): Likewise.
4536 (LDFLAGS-tst-backtrace2): Likewise.
4537 (LDFLAGS-tst-backtrace3): Likewise.
4538 (LDFLAGS-tst-backtrace4): Likewise.
4539 (LDFLAGS-tst-backtrace5): Likewise.
4540 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4541 tst-backtrace4 and tst-backtrace5.
4543 2013-01-18 Anton Blanchard <anton@samba.org>
4544 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4546 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4547 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4548 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4549 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4551 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4552 "+r" and remove output regs list as redundant. Add explicit inline
4553 asm to specify register of return val to work around compiler codegen
4554 bug. Remove (int) cast on return value. Add return type parameter to
4555 use in macro so that this macro does not truncate return value for
4557 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4558 pass to INTERNAL_VSYSCALL_NCS.
4559 (INLINE_VSYSCALL): Add 'long int' as return type to
4560 INTERNAL_VSYSCALL_NCS macro invocation.
4561 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4562 INTERNAL_VSYSCALL_NCS macro invocation.
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4565 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4568 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4569 Fix application of SIMD FP exception mask.
4571 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4572 mp_no from a power of two.
4573 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4574 __mpexp_twomm1. Use __pow_mp.
4576 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4579 2013-01-17 David S. Miller <davem@davemloft.net>
4581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4583 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4586 * include/complex.h: Condition contents on [!_COMPLEX_H].
4587 (__kernel_casinhf): New prototype.
4588 (__kernel_casinh): Likewise.
4589 (__kernel_casinhl): Likewise.
4590 * math/Makefile (libm_calls): Add k_casinh.
4591 * math/k_casinh.c: New file.
4592 * math/k_casinhf.c: Likewise.
4593 * math/k_casinhl.c: Likewise.
4594 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4595 finite nonzero arguments.
4596 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4597 finite nonzero arguments.
4598 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4599 finite nonzero arguments.
4600 * math/s_casinh.c: Do not include <float.h>.
4601 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4602 * math/s_casinhf.c: Do not include <float.h>.
4603 (__casinhf): Move code for finite nonzero arguments to
4605 * math/s_casinhl.c: Do not include <float.h>.
4606 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4608 (__casinhl): Move code for finite nonzero arguments to
4610 * math/libm-test.inc (cacos_test): Add more tests.
4611 * sysdeps/i386/fpu/libm-test-ulps: Update.
4612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4614 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4616 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4617 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4618 [!HAVE_MREMAP]: Remove [defined linux] case.
4619 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4621 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4623 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4625 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
4627 * elf/elf.h (R_386_SIZE32): New relocation.
4628 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4630 (elf_machine_rela): Likewise.
4631 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4632 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4634 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4636 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4637 (FP_FAST_FMA): Do not define.
4638 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4639 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4640 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4641 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4642 !_SOFT_FLOAT]: Likewise.
4643 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4644 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4646 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4647 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4648 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4649 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4650 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4651 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4654 2013-01-16 Andreas Schwab <schwab@suse.de>
4657 * include/stdlib.h (__mktemp): Add declaration.
4658 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4659 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4661 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4663 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4665 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4666 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4667 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4669 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4670 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4672 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4674 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4675 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4676 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4678 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4679 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4681 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4683 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4685 2013-01-15 David S. Miller <davem@davemloft.net>
4687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4688 trunc{,f} to libm-sysdep_routes.
4689 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4699 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4700 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4701 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4702 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4703 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4704 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4707 nearbyint{,f} to libm-sysdep_routes.
4708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4719 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4721 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4722 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4724 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4725 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4726 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4728 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4729 libc_feholdexcept and libc_fesetenv.
4731 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4733 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4735 2013-01-14 David S. Miller <davem@davemloft.net>
4737 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4738 (SPARC_ASM_VIS2_IFUNC): Likewise.
4739 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4741 use of 'siam' instruction.
4742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4750 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4751 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4761 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4770 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4772 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4775 routines to libm-sysdep_routines.
4776 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4779 fdim/fdimf to libm-sysdep_routines.
4780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4788 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4789 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4790 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4791 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4793 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4795 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4798 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4800 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4803 local variable MPTWO.
4804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4807 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4809 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4812 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4814 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4816 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4818 * manual/pattern.texi (glob_t): Document gl_flags.
4819 (glob64_t): Likewise.
4821 2013-01-11 David S. Miller <davem@davemloft.net>
4823 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4824 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4825 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4826 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4827 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4828 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4829 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4830 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4831 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4832 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4833 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4834 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4835 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4837 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4838 sparc V9 rather than using V8 code.
4839 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4840 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4842 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4844 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4847 2013-01-11 Roland McGrath <roland@hack.frob.com>
4849 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4850 not in the main loop.
4851 * configure: Regenerated.
4853 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4855 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4856 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4858 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4859 [!__GLIBC_HAVE_LONG_LONG] case.
4860 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4861 condition to just #else.
4862 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4863 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4864 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4865 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4867 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4868 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4869 #elif condition to just #else.
4870 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4871 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4872 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4873 #elif condition to just #else.
4875 2013-01-11 Steve Ellcey <sellcey@mips.com>
4877 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4878 (EF_MIPS_ARCH_64): Fix value.
4879 (EF_MIPS_ARCH_32R2): New.
4880 (EF_MIPS_ARCH_64R2): New.
4882 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4884 * Makeconfig (+link-pie-before-libc): New.
4885 (+link-pie-after-libc): Likewise.
4886 (+link-pie-tests): Likewise.
4887 (+link-pie): Rewritten.
4888 (link-before-libc): Remove $(config-LDFLAGS).
4889 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4890 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4891 (config-LDFLAGS): Renamed to ...
4892 (rtld-LDFLAGS): This.
4893 (rtld-tests-LDFLAGS): New macro.
4894 (link-libc-rpath-link): Likewise.
4895 (link-libc-tests-rpath-link): Likewise.
4896 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4897 (link-libc): Prepand $(link-libc-rpath-link).
4898 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4899 (test-program-prefix): New macro.
4900 (test-via-rtld-prefix): Likewise.
4901 (test-program-cmd): Likewise.
4902 (host-test-program-cmd): Likewise.
4903 * Makefile ($(common-objpfx)testrun.sh): Replace
4904 $(run-program-prefix) with $(test-program-prefix).
4905 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4907 ($(common-objpfx)shlib.lds): Likewise.
4908 (build-module-helper): Likewise.
4909 ($(common-objpfx)format.lds): Likewise.
4910 * Rules (binaries-pie-tests): New.
4911 (binaries-pie-notests): Likewise.
4912 (binaries-pie): Rewritten.
4913 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4914 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4915 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4916 (make-test-out): Replace $(host-built-program-cmd) with
4917 $(host-test-program-cmd).
4918 * config.make.in (build-hardcoded-path-in-tests): New variable.
4919 * configure.in (--enable-hardcoded-path-in-tests): New configure
4921 (hardcoded_path_in_tests): New AC_SUBST.
4922 * configure: Regenerated.
4923 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4924 $(built-program-cmd) with $(test-program-cmd).
4925 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4926 (test_program_cmd): This.
4927 * elf/Makefile ($(objpfx)order.out): Run test with
4928 $(test-program-prefix).
4929 ($(objpfx)order2.out): Likewise.
4930 ($(objpfx)tst-initorder.out): Likewise.
4931 ($(objpfx)tst-initorder2.out): Likewise.
4932 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4933 $(test-program-cmd).
4934 ($(objpfx)tst-array1-static.out): Likewise.
4935 ($(objpfx)tst-array2.out): Likewise.
4936 ($(objpfx)tst-array3.out): Likewise.
4937 ($(objpfx)tst-array4.out): Likewise.
4938 ($(objpfx)tst-array5.out): Likewise.
4939 ($(objpfx)tst-array5-static.out): Likewise.
4940 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4941 $(test-program-cmd).
4942 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4943 $(run-program-prefix) with $(test-program-prefix).
4944 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4945 (test_program_prefix): This.
4946 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4947 $(run-program-prefix) with $(test-program-prefix).
4948 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4949 (test_program_prefix): This.
4950 * iconvdata/tst-tables.sh: Likewise.
4951 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4952 $(run-program-prefix) with $(test-program-prefix).
4953 ($(objpfx)tst-translit.out): Likewise.
4954 ($(objpfx)tst-gettext2.out): Likewise.
4955 ($(objpfx)tst-gettext4.out): Likewise.
4956 ($(objpfx)tst-gettext6.out): Likewise.
4957 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4958 (test_program_prefix): This.
4959 * intl/tst-gettext2.sh: Likewise.
4960 * intl/tst-gettext4.sh Likewise.
4961 * intl/tst-gettext6.sh: Likewise.
4962 * intl/tst-translit.sh: Likewise.
4963 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4964 with $(test-program-cmd).
4965 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4966 $(run-program-prefix) with $(test-program-prefix).
4967 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4968 (test_program_prefix): This.
4969 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4970 $(run-program-prefix) with $(test-program-prefix).
4971 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4972 (test_program_prefix): This.
4973 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4974 * posix/Makefile ($(objpfx)globtest.out): Replace
4975 $(run-via-rtld-prefix) and $(test-wrapper) with
4976 $(test-program-prefix) and $(test-via-rtld-prefix).
4977 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4978 $(test-program-prefix).
4979 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4980 $(host-test-program-cmd).
4981 (tst-spawn-ARGS): Likewise.
4982 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4983 $(test-program-prefix).
4984 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4985 (test_via_rtld_prefix): This.
4986 (test_wrapper): Renamed to ...
4987 (test_program_prefix): This.
4988 (run_program_prefix): Replaced by test_program_prefix.
4989 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4990 (test_program_prefix): This.
4991 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4992 with $(host-test-program-cmd).
4993 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4994 $(run-program-prefix) with $(test-program-prefix).
4995 ($(objpfx)tst-printf.out): Likewise.
4996 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4997 $(test-program-cmd).
4998 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4999 (test_program_prefix): This.
5000 * stdio-common/tst-unbputc.sh: Likewise.
5001 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5002 $(run-program-prefix) with $(test-program-prefix).
5003 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5004 (test_program_prefix): This.
5005 * string/Makefile ($(objpfx)tst-svc.out): Replace
5006 $(built-program-cmd) with $(test-program-cmd).
5008 2013-01-11 Andreas Jaeger <aj@suse.de>
5011 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5012 value. Sync with Linux 3.7.
5014 2013-01-10 David S. Miller <davem@davemloft.net>
5016 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5017 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5018 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5020 2013-01-10 Roland McGrath <roland@hack.frob.com>
5022 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5024 * configure: Regenerated.
5026 2013-01-10 David S. Miller <davem@davemloft.net>
5028 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5029 sparc V9 rather than using V8 code.
5030 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5031 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5033 2013-01-10 Roland McGrath <roland@hack.frob.com>
5035 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5036 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5037 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5038 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5039 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5040 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5041 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5042 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5043 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5044 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5045 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5046 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5047 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5048 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5049 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5050 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5051 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5052 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5053 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5054 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5055 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5056 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5057 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5058 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5059 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5060 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5061 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5063 2013-01-10 David S. Miller <davem@davemloft.net>
5065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5067 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5069 * posix/Makefile (tests-static): New variable.
5070 (tests): Add $(tests-static).
5071 (tst-exec-static-ARGS): New variable.
5072 (tst-spawn-static-ARGS): Likewise.
5073 * posix/tst-exec-static.c: New file.
5074 * posix/tst-spawn-static.c: Likewise.
5075 * posix/tst-exec.c: Support run directly.
5076 * posix/tst-spawn.c: Likewise.
5078 2013-01-10 Joseph Myers <joseph@codesourcery.com>
5080 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5082 * math/bits/mathcalls.h (llrint): Likewise.
5083 (llround): Likewise.
5084 * stdlib/stdlib.h (struct drand48_data): Likewise.
5085 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5086 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5087 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5089 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5091 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5092 (elf_greg_t): Likewise.
5093 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5094 (__jmp_buf): Likewise.
5095 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5097 (llrint): Likewise, for all definitions.
5098 (llrintl): Likewise.
5100 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5101 Remove [__GNUC__] condition.
5102 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5103 condition to just [__USE_ISOC99].
5104 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5106 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5109 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5110 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5112 (_POSIX_V6_ILP32_OFF32): Likewise.
5113 (_XBS5_ILP32_OFF32): Likewise.
5114 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5115 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5117 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5119 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5121 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5122 doubles __mpexp_twomm1. Adjust usage.
5123 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5126 2013-01-10 Andreas Schwab <schwab@suse.de>
5129 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5130 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5132 2013-01-09 David S. Miller <davem@davemloft.net>
5135 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5136 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5137 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5138 TCP_FASTOPEN): Define.
5139 (tcp_repair_opt): New structure.
5140 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5142 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5143 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5144 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5145 (tcp_cookie_transactions): New structure.
5147 2013-01-09 Anton Blanchard <anton@samba.org>
5149 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5150 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5151 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5152 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5154 2013-01-09 Joseph Myers <joseph@codesourcery.com>
5156 * include/features.h (__USE_ANSI): Remove.
5158 2013-01-09 Roland McGrath <roland@hack.frob.com>
5160 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5162 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5164 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5166 * sysdeps/s390/fpu/libm-test-ulps: Update.
5168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5170 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5175 (__mp_dbl): Likewise.
5176 (__dbl_mp): Likewise.
5177 (add_magnitudes): Likewise.
5178 (sub_magnitudes): Likewise.
5184 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5189 (__mp_dbl): Likewise.
5190 (__dbl_mp): Likewise.
5191 (add_magnitudes): Likewise.
5192 (sub_magnitudes): Likewise.
5198 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5203 (__mp_dbl): Likewise.
5204 (__dbl_mp): Likewise.
5205 (add_magnitudes): Likewise.
5206 (sub_magnitudes): Likewise.
5213 2013-01-08 Joseph Myers <joseph@codesourcery.com>
5215 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5216 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5217 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5218 2 && __USE_EXTERN_INLINES]: Likewise.
5220 2013-01-08 Andreas Jaeger <aj@suse.de>
5223 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5225 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5226 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5228 2013-01-07 Anton Blanchard <anton@samba.org>
5230 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5231 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5232 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5233 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5234 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5235 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5236 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5237 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5238 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5239 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5240 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5241 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5242 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5243 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5244 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5245 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5246 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5247 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5248 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5249 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5250 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5251 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5252 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5253 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5254 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5255 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5256 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5257 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5258 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5259 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5260 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5262 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5263 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5264 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5265 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5266 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5267 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5268 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5269 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5270 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5271 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5272 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5274 2013-01-07 Joseph Myers <joseph@codesourcery.com>
5276 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5277 (__MALLOC_PMT): Likewise.
5278 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5279 [__GNUC__], only on [_LIBC].
5280 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5281 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5282 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5283 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5284 forward declaration.
5285 (realloc_hook_ini): Likewise.
5286 (memalign_hook_ini): Likewise.
5287 (__libc_memalign): Do not use __MALLOC_PMT in variable
5289 (__libc_valloc): Likewise.
5290 (__libc_pvalloc): Likewise.
5291 (__libc_calloc): Likewise.
5292 (__posix_memalign): Likewise.
5295 * math/s_casinh.c: Include <float.h>.
5296 (__casinh): Do not do computation with squaring and square root
5297 for large arguments.
5298 * math/s_casinhf.c: Include <float.h>.
5299 (__casinhf): Do not do computation with squaring and square root
5300 for large arguments.
5301 * math/s_casinhl.c: Include <float.h>.
5302 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5303 (__casinhl): Do not do computation with squaring and square root
5304 for large arguments.
5305 * math/libm-test.inc (casin_test): Add more tests.
5306 (casinh_test): Likewise.
5307 * sysdeps/i386/fpu/libm-test-ulps: Update.
5308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5310 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5312 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5313 (__x86_64_raw_data_cache_size): Likewise.
5314 (__x86_64_data_cache_size_half): Likewise.
5315 (__x86_64_raw_data_cache_size_half): Likewise.
5316 (__x86_64_shared_cache_size): Likewise.
5317 (__x86_64_raw_shared_cache_size): Likewise.
5318 (__x86_64_shared_cache_size_half): Likewise.
5319 (__x86_64_raw_shared_cache_size_half): Likewise.
5320 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5322 (__x86_data_cache_size): This.
5323 (__x86_64_raw_data_cache_size): Renamed to ...
5324 (__x86_raw_data_cache_size): This.
5325 (__x86_64_data_cache_size_half): Renamed to ...
5326 (__x86_data_cache_size_half): This.
5327 (__x86_64_raw_data_cache_size_half): Renamed to ...
5328 (__x86_raw_data_cache_size_half): This.
5329 (__x86_64_shared_cache_size): Renamed to ...
5330 (__x86_shared_cache_size): This.
5331 (__x86_64_raw_shared_cache_size): Renamed to ...
5332 (__x86_raw_shared_cache_size): This.
5333 (__x86_64_shared_cache_size_half): Renamed to ...
5334 (__x86_shared_cache_size_half): This.
5335 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5336 (__x86_raw_shared_cache_size_half): This.
5337 * sysdeps/x86_64/memcpy.S: Updated.
5338 * sysdeps/x86_64/memset.S: Likewise.
5339 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5340 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5341 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5343 2013-01-04 David S. Miller <davem@davemloft.net>
5345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5347 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5349 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5350 1 to avoid redefinition warning.
5351 (__USE_GNU): Don't define.
5352 (init_signaling_nan): Protoize.
5354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5356 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5358 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5360 (__cpymn): Likewise.
5361 (norm): Remove commented code.
5363 (__mp_dbl): Likewise.
5365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5366 (__cpymn): Likewise.
5367 (norm): Remove commented code.
5369 (__mp_dbl): Likewise.
5372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5373 mp_no value for 1.0 and 2.0.
5374 (norm): Use RADIXI instead of radixi.d.
5376 (__mul): Use 0.0 instead of zero.d.
5377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5378 mp_no value for 1.0 and 2.0.
5379 (norm): Use RADIXI instead of radixi.d.
5381 (__mul): Use 0.0 instead of zero.d.
5383 2013-01-04 Joseph Myers <joseph@codesourcery.com>
5386 * math/s_casinh.c (__casinh): Reduce finite argument to first
5387 quadrant then set signs of results at the end.
5388 * math/s_casinhf.c (__casinhf): Likewise.
5389 * math/s_casinhl.c (__casinhl): Likewise.
5390 * math/libm-test.inc (casin_test): Add more tests.
5391 (casinh_test): Likewise.
5392 * sysdeps/i386/fpu/libm-test-ulps: Update.
5393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5395 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5397 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5399 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5401 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5404 (__mp_dbl): Likewise.
5407 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5408 and adjust the header comment.
5410 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5411 variable name from declaration.
5413 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5416 Initialize COMMON_CPUID_INDEX_7 element.
5417 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5418 (CPUID_RTM): Likewise.
5419 (HAS_RTM): Likewise.
5420 (COMMON_CPUID_INDEX_7): New enum.
5422 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5425 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5426 size is zero, record memory as freed.
5428 2013-01-03 Andreas Jaeger <aj@suse.de>
5430 * po/ia.po: Add new Interlingua translation.
5432 2012-01-03 Allan McRae <allan@archlinux.org>
5434 * locale/programs/localedef.c: Fix description of '--posix' flag.
5436 2013-01-02 Joseph Myers <joseph@codesourcery.com>
5438 * NEWS: Update dates in second copyright notice.
5439 * README: Update copyright dates in example.
5440 * manual/libc.texinfo: Update copyright dates.
5441 * scripts/test-installation.pl: Update copyright date in --version
5444 * hurd/ctty-input.c: Fix copyright notice formatting.
5445 * hurd/ctty-output.c: Likewise.
5446 * hurd/dtable.c: Likewise.
5447 * hurd/hurd-raise.c: Likewise.
5448 * hurd/hurdprio.c: Likewise.
5449 * hurd/msgportdemux.c: Likewise.
5450 * misc/sys/file.h: Likewise.
5451 * misc/sys/ioctl.h: Likewise.
5452 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5453 * sysdeps/mach/hurd/chdir.c: Likewise.
5454 * sysdeps/mach/hurd/fchdir.c: Likewise.
5455 * sysdeps/mach/hurd/rename.c: Likewise.
5456 * sysdeps/mach/hurd/rmdir.c: Likewise.
5457 * sysdeps/mach/hurd/seekdir.c: Likewise.
5458 * sysdeps/mach/hurd/setsid.c: Likewise.
5459 * sysdeps/posix/wait3.c: Likewise.
5461 * All files with FSF copyright notices: Update copyright dates
5462 using scripts/update-copyrights.
5463 * intl/plural.c: Regenerated.
5464 * locale/programs/charmap-kw.h: Likewise.
5465 * locale/programs/locfile-kw.h: Likewise.
5467 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5469 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5472 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5473 calculation loop and add branch prediction.
5475 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5476 check access beyond bounds of m1np.
5478 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5480 (__inv): Remove local variable MPTWO to use the global
5482 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5483 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5485 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5486 MP3HALFS static const.
5488 2013-01-01 David S. Miller <davem@davemloft.net>
5490 * po/ca.po: Update from translation team.
5492 2013-01-01 Joseph Myers <joseph@codesourcery.com>
5494 * scripts/update-copyrights: New file.
5495 * Makeconfig: Reformat copyright notice.
5496 * ctype/ctype.h: Likewise.
5497 * debug/swprintf_chk.c: Likewise.
5498 * elf/dl-cache.c: Likewise.
5499 * elf/dl-debug.c: Likewise.
5500 * elf/dl-object.c: Likewise.
5501 * grp/initgroups.c: Likewise.
5502 * hurd/Makefile: Likewise.
5503 * hurd/hurd/signal.h: Likewise.
5504 * hurd/hurdfault.c: Likewise.
5505 * hurd/hurdioctl.c: Likewise.
5506 * hurd/hurdlookup.c: Likewise.
5507 * hurd/intr-msg.c: Likewise.
5508 * iconv/gconv_open.c: Likewise.
5509 * libio/swprintf.c: Likewise.
5510 * locale/lc-ctype.c: Likewise.
5511 * locale/nl_langinfo.c: Likewise.
5512 * mach/Machrules: Likewise.
5513 * mach/Makefile: Likewise.
5514 * malloc/obstack.h: Likewise.
5515 * manual/Makefile: Likewise.
5516 * manual/tsort.awk: Likewise.
5517 * misc/bits/stab.def: Likewise.
5518 * nis/nis_print_group_entry.c: Likewise.
5519 * nis/nis_table.c: Likewise.
5520 * nis/nss_compat/compat-pwd.c: Likewise.
5521 * nis/nss_compat/compat-spwd.c: Likewise.
5522 * po/Makefile: Likewise.
5523 * posix/fnmatch.c: Likewise.
5524 * posix/regex.h: Likewise.
5525 * resolv/Makefile: Likewise.
5526 * resolv/nss_dns/dns-network.c: Likewise.
5527 * resolv/res_hconf.c: Likewise.
5528 * scripts/gen-sorted.awk: Likewise.
5529 * soft-fp/soft-fp.h: Likewise.
5530 * stdio-common/printf.h: Likewise.
5531 * stdlib/monetary.h: Likewise.
5532 * stdlib/random.c: Likewise.
5533 * stdlib/random_r.c: Likewise.
5534 * sysdeps/generic/Makefile: Likewise.
5535 * sysdeps/gnu/Makefile: Likewise.
5536 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5537 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5538 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5540 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5541 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5542 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5543 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5544 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5545 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5546 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5547 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5548 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5549 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5550 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5551 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5552 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5553 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5554 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5555 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5556 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5557 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5558 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5559 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5560 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5561 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5562 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5563 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5564 * sysdeps/mach/hurd/errnos.awk: Likewise.
5565 * sysdeps/mach/hurd/fork.c: Likewise.
5566 * sysdeps/mach/hurd/getcwd.c: Likewise.
5567 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5568 * sysdeps/mach/hurd/mmap.c: Likewise.
5569 * sysdeps/mach/hurd/utimes.c: Likewise.
5570 * sysdeps/mach/hurd/xmknod.c: Likewise.
5571 * sysdeps/posix/profil.c: Likewise.
5572 * sysdeps/posix/readdir_r.c: Likewise.
5573 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5574 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5575 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5576 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5578 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5579 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5580 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5582 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5583 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5584 * sysdeps/pthread/lio_listio.c: Likewise.
5585 * sysdeps/sparc/dl-procinfo.h: Likewise.
5586 * sysdeps/unix/i386/sysdep.S: Likewise.
5587 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5588 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5589 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5590 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5592 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5593 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5594 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5595 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5596 * sysdeps/wordsize-32/divdi3.c: Likewise.
5597 * time/sys/time.h: Likewise.
5598 * wcsmbs/Makefile: Likewise.
5600 2013-01-01 David S. Miller <davem@davemloft.net>
5602 * po/fr.po: Update from translation team.
5604 * catgets/gencat.c: Update copyright year.
5605 * csu/version.c: Likewise.
5606 * debug/catchsegv.sh: Likewise.
5607 * debug/pcprofiledump.c: Likewise.
5608 * debug/xtrace.sh: Likewise.
5609 * elf/ldconfig.c: Likewise.
5610 * elf/ldd.bash.in: Likewise.
5611 * elf/pldd.c: Likewise.
5612 * elf/sotruss.ksh: Likewise.
5613 * elf/sprof.c: Likewise.
5614 * iconv/iconv_prog.c: Likewise.
5615 * iconv/iconvconfig.c: Likewise.
5616 * locale/programs/locale.c: Likewise.
5617 * locale/programs/localedef.c: Likewise.
5618 * login/programs/pt_chown.c: Likewise.
5619 * malloc/memusage.sh: Likewise.
5620 * malloc/memusagestat.c: Likewise.
5621 * malloc/mtrace.pl: Likewise.
5622 * nscd/nscd.c: Likewise.
5623 * nss/getent.c: Likewise.
5624 * nss/makedb.c: Likewise.
5625 * posix/getconf.c: Likewise.
5627 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5629 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5632 2012-12-30 Mike Frysinger <vapier@gentoo.org>
5634 * math/bits/mathcalls.h (modf): Use __nonnull.
5636 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5638 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5639 (split): Use macro CN instead of the bare value.
5640 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5642 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5643 instead of the bare value.
5646 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5648 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5650 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5652 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5654 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5655 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5656 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5657 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5659 2012-12-28 Andreas Jaeger <aj@suse.de>
5661 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5662 values are from Linux 3.7.
5664 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5665 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5667 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5669 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5672 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5674 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5675 variables with preprocessor constants.
5676 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5677 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5678 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5680 2012-12-27 Bruno Haible <bruno@clisp.org>
5683 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5686 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5688 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5689 and use variable directly.
5690 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5692 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5694 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5695 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5697 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5698 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5699 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5700 include directive. Remove local variable MPONE.
5701 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5702 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5703 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5705 2012-12-25 David S. Miller <davem@davemloft.net>
5707 * version.h (RELEASE): Set to "development".
5708 (VERSION): Set to "2.17.90".
5709 * NEWS: Add 2.18 section.
5711 2012-12-21 David S. Miller <davem@davemloft.net>
5713 * po/hr.po: Update from translation team.
5715 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5717 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5719 2012-12-19 Steve Ellcey <sellcey@mips.com>
5721 * NEWS: Mention new memcpy for MIPS.
5723 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5725 * manual/contrib.texi (Contributors): Spelling correction.
5727 2012-12-15 David S. Miller <davem@davemloft.net>
5729 * po/ru.po: Update from translation team.
5731 2012-12-13 David S. Miller <davem@davemloft.net>
5733 * NEWS: Mention IFUNC testsuite enhancements.
5735 * po/pl.po: Update from translation team.
5736 * po/bg.po: Likewise.
5738 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5739 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5741 2012-12-11 David S. Miller <davem@davemloft.net>
5743 * po/sv.po: Update from translation team.
5745 * po/vi.po: Update from translation team.
5747 * po/cs.po: Update from translation team.
5749 * po/de.po: Update from translation team.
5750 * po/eo.po: Likewise.
5751 * po/nl.po: Likewise.
5753 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5756 * manual/argp.texi (Argp Helper Functions): Move node to follow
5760 * manual/conf.texi (Limits on File System Capacity): Mention if
5761 terminating null is included in the max size.
5763 2012-12-10 Andreas Jaeger <aj@suse.de>
5765 * po/cs.po: Update from translation team.
5767 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5769 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5770 void pointer and cast to uintptr_t.
5771 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5773 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5774 * sysdeps/s390/s390-64/memset.S: Likewise.
5776 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5779 * menual/message.texi (Message Translation): Fix typos.
5780 (Helper programs for gettext): Likewise.
5782 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5785 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5788 2012-12-07 David S. Miller <davem@davemloft.net>
5790 * po/libc.pot: Update.
5792 2012-12-07 Richard Henderson <rth@redhat.com>
5795 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5796 normal/normal case to before the switch.
5797 (_FP_DIV): Likewise.
5799 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5800 Mike Frysinger <vapier@gentoo.org>
5802 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5803 check for __NR_fadvise64_64.
5805 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5807 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5808 0, not just to plain "0" as a statement.
5809 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5812 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5814 * NEWS: Use sourceware.org in Bugzilla URL.
5816 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5819 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5821 * stdio-common/tst-put-error.c (do_test): Add newline to the
5822 padded test to ensure flush.
5824 2012-12-05 Jeff Law <law@redhat.com>
5826 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5828 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5830 * README: Don't refer to ports add-on as distributed separately.
5831 Mention AArch64 in list of systems supported in the ports add-on.
5833 * LICENSES: Add more non-FSF copyright and license notices.
5835 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5838 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5840 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5841 10000 as width of padded output.
5843 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5845 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5847 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5848 variable LX with __attribute__ ((unused)).
5849 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5851 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5852 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5853 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5854 with __attribute__ ((unused)).
5856 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5858 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5860 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5862 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5863 (CFLAGS-nldbl-acos.c): New variable.
5864 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5865 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5866 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5867 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5868 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5869 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5870 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5871 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5872 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5873 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5874 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5875 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5876 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5877 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5878 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5879 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5880 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5881 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5882 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5883 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5884 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5885 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5886 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5887 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5888 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5889 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5890 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5891 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5892 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5893 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5894 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5895 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5896 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5897 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5898 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5899 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5900 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5901 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5902 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5903 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5904 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5905 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5906 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5907 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5908 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5909 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5910 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5911 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5912 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5913 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5914 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5915 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5916 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5917 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5918 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5919 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5920 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5921 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5922 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5923 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5924 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5925 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5926 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5927 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5928 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5929 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5930 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5931 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5932 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5933 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5934 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5935 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5936 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5937 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5938 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5939 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5940 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5941 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5942 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5943 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5944 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5945 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5946 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5947 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5948 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5949 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5950 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5951 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5952 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5953 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5954 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5955 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5956 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5957 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5958 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5959 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5960 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5963 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5966 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5967 whole low double instead of just low 47 bits when splitting values
5970 2012-12-03 Allan McRae <allan@archlinux.org>
5972 * manual/stdio.texi (Predefined Printf Handlers): Remove
5973 @hsep and @vsep usage.
5975 2012-12-03 Mike Frysinger <vapier@gentoo.org>
5977 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5978 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5980 2012-12-03 Jeff Law <law@redhat.com>
5982 * time/sys/time.h (settimeofday): Do not mark TV argument
5985 2012-12-01 Mike Frysinger <vapier@gentoo.org>
5987 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5988 when currently writing and seek to current position when not.
5989 * libio/Makefile (tests): Remove bug-fclose1.
5990 * libio/bug-fclose1.c: Delete.
5992 2012-12-01 Joseph Myers <joseph@codesourcery.com>
5994 * manual/arith.texi (feenableexcept): Fix typo.
5995 (fedisableexcept): Likewise.
5997 2012-11-30 Roland McGrath <roland@hack.frob.com>
5999 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6000 second, differently-typed declaration, rather than a cast.
6002 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6004 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6005 * include/rpc/svc.h: ... here.
6007 2012-11-30 Aurelien Jarno <aurel32@debian.org>
6010 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6011 depending n and resplen2 to catch cases where answer
6014 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6016 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6017 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6019 2012-11-29 Mike Frysinger <vapier@gentoo.org>
6021 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6023 2012-11-29 Roland McGrath <roland@hack.frob.com>
6025 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6027 2012-11-28 Jeff Law <law@redhat.com>
6030 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6031 dataset_temporary. Track alloca usage into alloca_used.
6032 If dataset is large allocate and release it via malloc/free.
6034 2012-06-04 Florian Weimer <fweimer@redhat.com>
6037 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6039 2012-11-28 David S. Miller <davem@davemloft.net>
6041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6043 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6046 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6047 of pi/2 rounded to nearest to 64 bits.
6048 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6050 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6053 2012-11-28 Jeff Law <law@redhat.com>
6054 Martin Osvald <mosvald@redhat.com>
6057 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6058 * sunrpc/svc.c: Include time.h.
6059 (__svc_accept_failed): New function.
6060 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6061 any reason other than EINTR, call __svc_accept_failed.
6062 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6063 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6065 2012-11-28 Andreas Schwab <schwab@suse.de>
6067 * scripts/abilist.awk: Also handle indirect functions in .opd
6070 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6073 * sysdeps/x86/fpu/powl_helper.c: New file.
6074 * sysdeps/x86/fpu/Makefile: Likewise.
6075 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6077 (__ieee754_powl): Use __powl_helper for finite arguments except
6078 integer exponents below 8.
6079 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6081 (__ieee754_powl): Use __powl_helper for finite arguments except
6082 integer exponents below 8.
6083 * math/libm-test.inc (pow_test): Add more tests and enable some
6084 previously disabled tests.
6085 * sysdeps/i386/fpu/libm-test-ulps: Update.
6086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6088 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6089 Carlos O'Donell <carlos_odonell@mentor.com>
6091 * nss/makedb.c (is_prime): Assert that input is odd and greater
6092 than 4. Note that fact in a comment too.
6093 (next_prime): Add 4 to input.
6095 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6098 * libio/Makefile (tests): Add test case tst-fwrite-error.
6099 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6100 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6101 * libio/tst-fwrite-error.c: New test case.
6103 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6105 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6106 before casting to void *.
6107 * include/libc-internal.h (__pointer_type): New macro.
6108 (__integer_if_pointer_type_sub): Likewise.
6109 (__integer_if_pointer_type): Likewise.
6110 (cast_to_integer): Likewise.
6111 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6112 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6113 before casting to atomic64_t.
6114 (atomic_exchange_acq): Likewise.
6115 (__arch_exchange_and_add_body): Likewise.
6116 (__arch_add_body): Likewise.
6117 (atomic_add_negative): Likewise.
6118 (atomic_add_zero): Likewise.
6120 2012-11-26 Joseph Myers <joseph@codesourcery.com>
6122 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6123 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6124 (add_fdes): Likewise.
6125 (linear_search_fdes): Likewise.
6126 (binary_search_unencoded_fdes): Likewise.
6128 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
6130 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6132 2012-11-24 Adam Conrad <adconrad@0c3.net>
6134 * configure.in: Autodetect C++ header directories.
6135 * configure: Regenerated.
6137 2012-11-23 Mike Frysinger <vapier@gentoo.org>
6139 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6141 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
6143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6145 2012-11-22 Joseph Myers <joseph@codesourcery.com>
6147 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6148 LDBL_MANT_DIG == 106]: Disable some tests.
6149 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6151 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6155 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6156 input for small inputs. Return +/- pi/2 for large inputs.
6157 * math/libm-test.inc (atan_test): Add more tests.
6159 * sysdeps/generic/unwind-dw2-fde-glibc.c
6160 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6161 __attribute__ ((unused)).
6164 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6165 x * y if x and y are nonzero and z is zero.
6168 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6169 nonzero exponents with absolute value below 0x1p-117 to +/-
6173 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6174 up arguments below 2**-450, not just those below 2**-500.
6175 * math/libm-test.inc (hypot_test): Add another test.
6178 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6179 Return a+b for ratio over 2**120, not 2**60.
6180 * math/libm-test.inc (hypot_test): Add another test.
6182 * math/libm-test.inc (clog_test): Use
6183 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6184 (clog10_test): Likewise.
6187 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6189 2012-11-22 Andreas Schwab <schwab@suse.de>
6191 * sysdeps/i386/fpu/libm-test-ulps: Update.
6193 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6195 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6196 printf output with newline.
6198 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6201 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6202 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6203 -z nodlopen, -z initfirst and -z execstack support.
6204 * configure: Regenerated.
6206 * elf/elf.h (DF_1_NODIRECT): New macro.
6207 (DF_1_IGNMULDEF): Likewise.
6208 (DF_1_NOKSYMS): Likewise.
6209 (DF_1_NOHDR): Likewise.
6210 (DF_1_EDITED): Likewise.
6211 (DF_1_NORELOC): Likewise.
6212 (DF_1_SYMINTPOSE): Likewise.
6213 (DF_1_GLOBAUDIT): Likewise.
6214 (DF_1_SINGLETON): Likewise.
6215 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6216 DT_1_SUPPORTED_MASK bits.
6217 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6219 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6221 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6223 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6225 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6228 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6229 (sendmmsg): Move declarations...
6230 * socket/sys/socket.h: ... here.
6231 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6232 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6234 * socket/recvmmsg.c: ... this new file.
6235 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6236 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6237 definition of __sendmmsg hidden.
6238 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6239 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6240 Move ENOSYS stub into and include it from...
6241 * socket/sendmmsg.c: ... this new file.
6242 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6243 (sysdep_routines): Move recvmmsg and sendmmsg...
6244 * socket/Makefile (routines): ... here.
6245 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6246 (GLIBC_PRIVATE): Add __sendmmsg.
6247 * include/sys/socket.h (__sendmmsg): Add declarations.
6248 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6251 2012-11-20 Joseph Myers <joseph@codesourcery.com>
6253 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6254 variable I1 with __attribute__ ((unused)).
6255 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6257 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6259 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6260 DUMMY variables with __attribute__ ((unused)).
6262 * bits/byteswap.h: Include <bits/types.h>.
6263 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6265 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6267 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6268 string_t. Do not manually set errno.
6269 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6270 length with __strnlen. Make sure to both set errno and return it on
6273 2012-11-19 David S. Miller <davem@davemloft.net>
6275 With help from Joseph Myers.
6276 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6277 very large arguments properly.
6278 * math/libm-test.inc (atan_test): New tests.
6279 (atan2_test): New tests.
6280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6283 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6286 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6289 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6290 [POSIX] (EADDRNOTAVAIL): Likewise.
6291 [POSIX] (EAFNOSUPPORT): Likewise.
6292 [POSIX] (EALREADY): Likewise.
6293 [POSIX] (ECONNABORTED): Likewise.
6294 [POSIX] (ECONNREFUSED): Likewise.
6295 [POSIX] (ECONNRESET): Likewise.
6296 [POSIX] (EDESTADDRREQ): Likewise.
6297 [POSIX] (EDQUOT): Likewise.
6298 [POSIX] (EHOSTUNREACH): Likewise.
6299 [POSIX] (EIDRM): Likewise.
6300 [POSIX] (EISCONN): Likewise.
6301 [POSIX] (ELOOP): Likewise.
6302 [POSIX] (EMULTIHOP): Likewise.
6303 [POSIX] (ENETDOWN): Likewise.
6304 [POSIX] (ENETUNREACH): Likewise.
6305 [POSIX] (ENOBUFS): Likewise.
6306 [POSIX] (ENODATA): Likewise.
6307 [POSIX] (ENOLINK): Likewise.
6308 [POSIX] (ENOMSG): Likewise.
6309 [POSIX] (ENOPROTOOPT): Likewise.
6310 [POSIX] (ENOSR): Likewise.
6311 [POSIX] (ENOSTR): Likewise.
6312 [POSIX] (ENOTCONN): Likewise.
6313 [POSIX] (ENOTSOCK): Likewise.
6314 [POSIX] (EOPNOTSUPP): Likewise.
6315 [POSIX] (EOVERFLOW): Likewise.
6316 [POSIX] (EPROTO): Likewise.
6317 [POSIX] (EPROTONOSUPPORT): Likewise.
6318 [POSIX] (EPROTOTYPE): Likewise.
6319 [POSIX] (ESTALE): Likewise.
6320 [POSIX] (ETIME): Likewise.
6321 [POSIX] (ETXTBSY): Likewise.
6322 [POSIX] (EWOULDBLOCK): Likewise.
6323 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6324 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6325 [POSIX] (SEEK_CUR): Likewise.
6326 [POSIX] (SEEK_END): Likewise.
6327 [POSIX || UNIX98] (mode_t): Do not require.
6328 [POSIX] (off_t): Likewise.
6329 [POSIX] (pid_t): Likewise.
6330 [POSIX] (sys/stat.h): Do not allow header.
6331 [POSIX] (unistd.h): Likewise.
6332 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6333 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6334 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6335 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6337 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6338 sigevent): Specify elements.
6339 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6341 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6342 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6344 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6345 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6346 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6347 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6348 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6349 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6350 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6351 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6352 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6353 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6354 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6355 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6356 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6357 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6359 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6361 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6363 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6365 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6366 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6367 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6368 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6369 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6370 Specify lower bound on value.
6371 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6372 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6373 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6374 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6375 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6376 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6377 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6378 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6380 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6382 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6383 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6384 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6385 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6386 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6387 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6388 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6389 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6390 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6391 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6392 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6393 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6394 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6395 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6396 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6397 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6399 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6401 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6402 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6403 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6404 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6405 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6406 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6408 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6409 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6410 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6411 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6412 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6413 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6414 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6416 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6417 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6418 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6419 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6420 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6421 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6422 specify as optional.
6423 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6424 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6425 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6426 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6427 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6428 [XPG3] (NL_LANGMAX): Likewise.
6429 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6430 [POSIX || XPG3] (NL_NMAX): Likewise.
6431 [POSIX || XPG3] (NL_SETMAX): Likewise.
6432 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6433 [XPG3] (NZERO): Likewise.
6434 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6435 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6436 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6437 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6438 (REG_ERANGE): Expect.
6439 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6441 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6442 Use (void) in prototype.
6443 [POSIX] (*_t): Allow.
6444 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6445 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6446 (WRDE_BADVAL): Expect.
6448 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6450 [XPG3 || XPG4] (O_RSYNC): Likewise.
6451 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6453 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6454 [XPG3 || XPG4] (sigqueue): Likewise.
6455 [XPG3 || XPG4] (sigtimedwait): Likewise.
6456 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6457 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6458 [XPG3 || XPG4] (vsnprintf): Likewise.
6459 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6461 [XPG3 || XPG4] (blksize_t): Likewise.
6462 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6464 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6465 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6466 [XPG3 || XPG4] (struct itimerspec): Likewise.
6467 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6468 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6469 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6470 [XPG3 || XPG4] (clockid_t): Likewise.
6471 [XPG3 || XPG4] (timer_t): Likewise.
6472 [XPG3 || XPG4] (clock_getres): Likewise.
6473 [XPG3 || XPG4] (clock_gettime): Likewise.
6474 [XPG3 || XPG4] (clock_settime): Likewise.
6475 [XPG3 || XPG4] (nanosleep): Likewise.
6476 [XPG3 || XPG4] (timer_create): Likewise.
6477 [XPG3 || XPG4] (timer_delete): Likewise.
6478 [XPG3 || XPG4] (timer_gettime): Likewise.
6479 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6480 [XPG3 || XPG4] (timer_settime): Likewise.
6481 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6482 [XPG3 || XPG4] (getlogin_r): Likewise.
6483 [XPG3 || XPG4] (pread): Likewise.
6484 [XPG3 || XPG4] (pthread_atfork): Likewise.
6485 [XPG3 || XPG4] (pwrite): Likewise.
6488 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6491 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6493 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6494 finalizing MALLSTREAM.
6496 * sysdeps/mach/hurd/syncfs.c: New file.
6498 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6501 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6502 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6503 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6504 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6505 (_nss_dns_gethostbyname4_r): Likewise.
6506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6507 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6509 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6512 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6514 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6516 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6517 * elf/cache.c (print_entry): Print ",AArch64" for
6520 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6521 * elf/cache.c (print_entry): Print ",hard-float" for
6524 2012-11-18 David S. Miller <davem@davemloft.net>
6526 With help from Joseph Myers.
6527 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6529 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6531 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6532 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6534 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6535 * math/libm-test.inc (y0_test): New tests.
6536 (y1_test): New tests.
6537 * sysdeps/i386/fpu/libm-test-ulps: Update.
6538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6541 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6543 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6545 * configure: Regenerated.
6547 2012-11-17 David S. Miller <davem@davemloft.net>
6550 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6551 nonzero exponents with absolute value below 0x1p-128 to +/-
6554 2012-11-17 Joseph Myers <joseph@codesourcery.com>
6556 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6558 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6560 * posix/getconf-speclist.c: New file.
6561 * posix/posix-envs.def: Likewise.
6562 * posix/confstr.c (START_ENV_GROUP): New macro.
6563 (END_ENV_GROUP): Likewise.
6564 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6565 (KNOWN_PRESENT_ENV_STRING): Likewise.
6566 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6567 (UNKNOWN_ENVIRONMENT): Likewise.
6568 (confstr): Include posix-envs.def instead of handling
6569 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6570 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6571 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6572 (END_ENV_GROUP): Likewise.
6573 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6574 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6575 (UNKNOWN_ENVIRONMENT): Likewise.
6576 (__sysconf): Include posix-envs.def instead of handling associated
6577 cases directly here.
6578 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6579 preprocessing getconf-speclist.c rather than running getconf or
6580 generating empty file.
6582 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6584 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6586 2012-11-16 Andrej Lajovic <natrij@gmail.com>
6589 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6591 2012-11-16 David S. Miller <davem@davemloft.net>
6593 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6594 smaller than LDBL_EPSILON/2.0L, just return xm1.
6596 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6598 * elf/tst-array1.c (init): Set constructor priority to 1000.
6599 (fini): Set destructor priority to 1000.
6600 * elf/tst-array2dep.c: Likewise.
6602 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6605 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6606 (_IO_new_file_xsputn): Also return EOF if none of the input
6607 data was written when overflow failed.
6608 * libio/iopadn.c (_IO_padn): Likewise.
6609 * libio/iowpadn.c (_IO_wpadn): Likewise.
6610 * stdio-common/tst-put-error.c: Add copyright notice.
6611 (do_test): Add case for printing padded string.
6612 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6613 _IO_padn returned error.
6614 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6615 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6618 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6620 * libio/libioP.h: Add comment note that the references to C++
6621 bits are now obsolete.
6623 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6625 * math/libm-test.inc (check_complex): Use asprintf.
6627 2012-11-14 Joseph Myers <joseph@codesourcery.com>
6629 * debug/pcprofiledump.c (print_version): Update copyright year.
6630 * malloc/memusagestat.c (print_version): Likewise.
6632 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6635 * elf/Makefile (tests): Add tst-audit8.
6636 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6637 ($(objpfx)tst-audit8.out): New target.
6638 (tst-audit8-ENV): New variable.
6639 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6640 audit if l_reloc_result is NULL.
6641 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6642 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6643 * elf/tst-audit8.c: New file.
6645 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6647 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6648 * misc/Makefile (CFLAGS-select.c): Define.
6649 * posix/Makefile (CFLAGS-pause.c): Define.
6651 2012-11-13 David S. Miller <davem@davemloft.net>
6653 * crypt/Makefile: Move test targets after toplevel Rules
6654 inclusion. Grab any necessary sysdep routines when linking.
6655 * crypt/md5.c (md5_process_block): Remove define, we will always
6656 name it __md5_process_block.
6657 (md5_finish_ctx): Update md5_process_block call.
6658 (md5_stream): Likewise.
6659 (md5_process_bytes): Likewise.
6660 (md5_process_block): Rename to __md5_process_block and move to ...
6661 * crypt/md5-block.c: ... here.
6662 * crypt/sha256.c (sha256_process_block): Move to ...
6663 * crypt/sha256-block.c: ... here.
6664 * crypt/sha512.c (sha512_process_block): Move to ...
6665 * crypt/sha512-block.c: ... here.
6666 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6668 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6669 * sysdeps/sparc/sparc64/multiarch/Makefile
6670 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6672 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6673 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6675 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6676 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6677 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6678 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6679 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6680 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6681 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6682 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6683 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6685 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6686 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6688 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6690 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6692 * timezone/tzselect.ksh: Update from tzcode git revision
6693 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6694 * timezone/zdump.c: Likewise.
6695 * timezone/zic.c: Likewise.
6696 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6697 in TZVERSION setting, not $(PKGVERSION).
6698 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6699 REPORT_BUGS_TO settings.
6702 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6705 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6707 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6708 detection to immediately after _FP_ROUND().
6709 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6712 2012-11-11 David S. Miller <davem@davemloft.net>
6714 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6716 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6717 __close rather than their public counterparts.
6719 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6721 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6723 [UNIX98] (sem_timedwait): Do not expect.
6724 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6725 [XPG4 || UNIX98] (sockatmark): Do not expect.
6726 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6727 (clock_getcpuclockid): Do not expect.
6728 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6729 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6731 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6732 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6733 [UNIX98] (vwscanf): Likewise.
6734 [UNIX98] (vswscanf): Likewise.
6736 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6738 * timezone/version.h: Remove file.
6739 * timezone/README: Do not refer to version.h.
6740 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6742 ($(objpfx)zdump.o): Likewise.
6743 ($(objpfx)version.h): New target.
6745 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6747 * timezone/README: Don't mention modification to tzselect.ksh.
6748 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6749 work on unmodified tzselect.ksh. Substitute version numbers in
6752 * Makefile (format-me): Remove.
6753 (INSTALL): Adjust indentation. Use commands directly instead of
6756 * aclocal.m4 (ACX_PKGVERSION): New macro.
6757 (ACX_BUGURL): Likewise.
6758 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6759 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6760 (REPORT_BUGS_TO): Likewise.
6761 * configure: Regenerated.
6762 * config.h.in (PKGVERSION): New macro.
6763 (REPORT_BUGS_TO): Likewise.
6764 * config.make.in (PKGVERSION): New variable.
6765 (PKGVERSION_TEXI): Likewise.
6766 (REPORT_BUGS_TO): Likewise.
6767 (REPORT_BUGS_TEXI): Likewise.
6768 * Makefile (format-me): Use -I$(common-objpfx)manual.
6769 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6770 ($(common-objpfx)manual/%): New target.
6771 (manual/%): Remove target.
6772 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6773 (print_version): Use PKGVERSION.
6774 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6775 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6777 ($(objpfx)xtrace): Likewise.
6778 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6779 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6780 (print_version): Use PKGVERSION.
6781 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6782 (do_version): Use PKGVERSION.
6783 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6785 (common-ldd-rewrite): Likewise.
6786 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6787 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6788 (print_version): Use PKGVERSION.
6789 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6790 * elf/pldd.c (argp_program_bug_address): Remove variable.
6791 (more_help): New function.
6792 (argp): Use more_help.
6793 (print_version): Use PKGVERSION.
6794 * elf/sln.c (main): Use PKGVERSION.
6795 (usage): Use REPORT_BUGS_TO.
6796 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6797 (top level): Use PKGVERSION.
6798 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6799 (print_version): Use PKGVERSION.
6800 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6801 (print_version): Use PKGVERSION.
6802 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6803 (print_version): Use PKGVERSION.
6804 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6805 (print_version): Use PKGVERSION.
6806 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6807 (print_version): Use PKGVERSION.
6808 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6809 (print_version): Use PKGVERSION.
6810 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6812 ($(objpfx)memusage): Likewise.
6813 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6814 (do_version): Use PKGVERSION.
6815 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6816 (print_version): Use PKGVERSION.
6817 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6818 ($PKGVERSION): New variable.
6819 ($REPORT_BUGS_TO): Likewise.
6820 (usage): Use $REPORT_BUGS_TO.
6821 (top level): Use $PKGVERSION.
6822 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6823 ($(objpfx)pkgvers.texi): New rule.
6824 ($(objpfx)stamp-pkgvers): Likewise.
6825 * manual/install.texi: Include pkgvers.texi.
6826 (--with-pkgversion): Document new configure option.
6827 (--with-bugurl): Likewise.
6828 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6829 than necessarily for this particular distribution. Use
6830 REPORT_BUGS_TO for where to report bugs.
6831 * INSTALL: Regenerated.
6832 * manual/libc.texinfo: Include pkgvers.texi.
6833 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6834 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6835 (print_version): Use PKGVERSION.
6836 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6837 (print_version): Use PKGVERSION.
6838 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6839 (print_version): Use PKGVERSION.
6840 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6841 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6843 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6844 (print_version): Use PKGVERSION.
6845 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6846 (print_version): Use PKGVERSION.
6847 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6850 * timezone/checktab.awk: Update from tzcode 2012i.
6851 * timezone/ialloc.c: Likewise.
6852 * timezone/private.h: Likewise.
6853 * timezone/scheck.c: Likewise.
6854 * timezone/tzfile.h: Likewise.
6855 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6856 (TZVERSION): Hardcode tzcode version number.
6857 * timezone/zdump.c: Update from tzcode 2012i.
6858 * timezone/zic.c: Likewise.
6859 * timezone/version.h: New file.
6860 * timezone/README: Describe version.h. Update upstream location.
6863 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6864 (mktemp): Enable declaration.
6865 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6866 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6867 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6868 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6870 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6872 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6874 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6876 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6878 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6882 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6883 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6884 for copies of such integer values.
6885 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6886 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6888 2012-11-09 Andreas Jaeger <aj@suse.de>
6890 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6891 definitions and declarations that are provided by
6892 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6894 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6896 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6897 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6898 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6901 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6903 * elf/elf.h: Update comment before AArch64 relocations.
6905 2012-11-07 David S. Miller <davem@davemloft.net>
6907 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6908 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6909 (__start_context): Declare.
6910 (__makecontext_ret): Delete.
6911 (__makecontext): Hook up __start_context instead of
6913 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6914 (sysdep_routines): Add __start_context when in stdlib.
6916 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6918 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6919 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6920 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6922 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6923 (READELF): New variable. Use it instead of hardcoded "readelf".
6925 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6927 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6928 * sysdeps/x86/Makefile: Here.
6929 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6930 * sysdeps/x86/tst-xmmymm.sh: This.
6932 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6934 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6936 [UNIX98] (pthread_barrier_t): Do not expect.
6937 [UNIX98] (pthread_barrierattr_t): Likewise.
6938 [UNIX98] (pthread_spinlock_t): Likewise.
6939 [UNIX98] (pthread_barrier_destroy): Likewise.
6940 [UNIX98] (pthread_barrier_init): Likewise.
6941 [UNIX98] (pthread_barrier_wait): Likewise.
6942 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6943 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6944 [UNIX98] (pthread_barrierattr_init): Likewise.
6945 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6946 [UNIX98] (pthread_getcpuclockid): Likewise.
6947 [UNIX98] (pthread_mutex_timedlock): Likewise.
6948 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6949 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6950 [UNIX98] (pthread_sigmask): Likewise.
6951 [UNIX98] (pthread_spin_destroy): Likewise.
6952 [UNIX98] (pthread_spin_init): Likewise.
6953 [UNIX98] (pthread_spin_lock): Likewise.
6954 [UNIX98] (pthread_spin_trylock): Likewise.
6955 [UNIX98] (pthread_spin_unlock): Likewise.
6956 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6958 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6959 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6960 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6961 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6962 [XPG3 || XPG4] (pthread_key_t): Likewise.
6963 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6964 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6965 [XPG3 || XPG4] (pthread_once_t): Likewise.
6966 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6967 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6968 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6969 [XPG3 || XPG4] (pthread_t): Likewise.
6971 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6973 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6975 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6976 Change function return type to int.
6978 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6979 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6980 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6981 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6982 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6983 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6984 [!POSIX] (posix_madvise): Likewise.
6985 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6987 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6988 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6990 (posix_mem_offset): Likewise.
6991 (posix_typed_mem_get_info): Likewise.
6992 (posix_typed_mem_open): Likewise.
6994 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6995 Change condition to [XOPEN2K8].
6997 * conform/conformtest.pl: Preprocess allow-header data with -x c
6998 instead of from stdin.
6999 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7000 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7001 [C99-based standards] (cerfc): Likewise.
7002 [C99-based standards] (cexp2): Likewise.
7003 [C99-based standards] (cexpm1): Likewise.
7004 [C99-based standards] (clog10): Likewise.
7005 [C99-based standards] (clog1p): Likewise.
7006 [C99-based standards] (clog2): Likewise.
7007 [C99-based standards] (clgamma): Likewise.
7008 [C99-based standards] (ctgamma): Likewise.
7009 [C99-based standards] (cerff): Likewise.
7010 [C99-based standards] (cerfcf): Likewise.
7011 [C99-based standards] (cexp2f): Likewise.
7012 [C99-based standards] (cexpm1f): Likewise.
7013 [C99-based standards] (clog10f): Likewise.
7014 [C99-based standards] (clog1pf): Likewise.
7015 [C99-based standards] (clog2f): Likewise.
7016 [C99-based standards] (clgammaf): Likewise.
7017 [C99-based standards] (ctgammaf): Likewise.
7018 [C99-based standards] (cerfl): Likewise.
7019 [C99-based standards] (cerfcl): Likewise.
7020 [C99-based standards] (cexp2l): Likewise.
7021 [C99-based standards] (cexpm1l): Likewise.
7022 [C99-based standards] (clog10l): Likewise.
7023 [C99-based standards] (clog1pl): Likewise.
7024 [C99-based standards] (clog2l): Likewise.
7025 [C99-based standards] (clgammal): Likewise.
7026 [C99-based standards] (ctgammal): Likewise.
7027 * conform/data/inttypes.h-data [C99-based standards]: Include
7028 stdint.h-data. Remove all expectations for stdint.h contents.
7029 [C99-based standards] (PRI*): Do not allow.
7030 [C99-based standards] (SCN*): Likewise.
7031 [C99-based standards] (*_t): Likewise.
7032 [C99-based-standards] (PRId8): Expect macro.
7033 [C99-based-standards] (PRIi8): Likewise.
7034 [C99-based-standards] (PRIo8): Likewise.
7035 [C99-based-standards] (PRIu8): Likewise.
7036 [C99-based-standards] (PRIx8): Likewise.
7037 [C99-based-standards] (PRIX8): Likewise.
7038 [C99-based-standards] (SCNd8): Likewise.
7039 [C99-based-standards] (SCNi8): Likewise.
7040 [C99-based-standards] (SCNo8): Likewise.
7041 [C99-based-standards] (SCNu8): Likewise.
7042 [C99-based-standards] (SCNx8): Likewise.
7043 [C99-based-standards] (PRIdLEAST8): Likewise.
7044 [C99-based-standards] (PRIiLEAST8): Likewise.
7045 [C99-based-standards] (PRIoLEAST8): Likewise.
7046 [C99-based-standards] (PRIuLEAST8): Likewise.
7047 [C99-based-standards] (PRIxLEAST8): Likewise.
7048 [C99-based-standards] (PRIXLEAST8): Likewise.
7049 [C99-based-standards] (SCNdLEAST8): Likewise.
7050 [C99-based-standards] (SCNiLEAST8): Likewise.
7051 [C99-based-standards] (SCNoLEAST8): Likewise.
7052 [C99-based-standards] (SCNuLEAST8): Likewise.
7053 [C99-based-standards] (SCNxLEAST8): Likewise.
7054 [C99-based-standards] (PRIdFAST8): Likewise.
7055 [C99-based-standards] (PRIiFAST8): Likewise.
7056 [C99-based-standards] (PRIoFAST8): Likewise.
7057 [C99-based-standards] (PRIuFAST8): Likewise.
7058 [C99-based-standards] (PRIxFAST8): Likewise.
7059 [C99-based-standards] (PRIXFAST8): Likewise.
7060 [C99-based-standards] (SCNdFAST8): Likewise.
7061 [C99-based-standards] (SCNiFAST8): Likewise.
7062 [C99-based-standards] (SCNoFAST8): Likewise.
7063 [C99-based-standards] (SCNuFAST8): Likewise.
7064 [C99-based-standards] (SCNxFAST8): Likewise.
7065 [C99-based-standards] (PRId16): Likewise.
7066 [C99-based-standards] (PRIi16): Likewise.
7067 [C99-based-standards] (PRIo16): Likewise.
7068 [C99-based-standards] (PRIu16): Likewise.
7069 [C99-based-standards] (PRIx16): Likewise.
7070 [C99-based-standards] (PRIX16): Likewise.
7071 [C99-based-standards] (SCNd16): Likewise.
7072 [C99-based-standards] (SCNi16): Likewise.
7073 [C99-based-standards] (SCNo16): Likewise.
7074 [C99-based-standards] (SCNu16): Likewise.
7075 [C99-based-standards] (SCNx16): Likewise.
7076 [C99-based-standards] (PRIdLEAST16): Likewise.
7077 [C99-based-standards] (PRIiLEAST16): Likewise.
7078 [C99-based-standards] (PRIoLEAST16): Likewise.
7079 [C99-based-standards] (PRIuLEAST16): Likewise.
7080 [C99-based-standards] (PRIxLEAST16): Likewise.
7081 [C99-based-standards] (PRIXLEAST16): Likewise.
7082 [C99-based-standards] (SCNdLEAST16): Likewise.
7083 [C99-based-standards] (SCNiLEAST16): Likewise.
7084 [C99-based-standards] (SCNoLEAST16): Likewise.
7085 [C99-based-standards] (SCNuLEAST16): Likewise.
7086 [C99-based-standards] (SCNxLEAST16): Likewise.
7087 [C99-based-standards] (PRIdFAST16): Likewise.
7088 [C99-based-standards] (PRIiFAST16): Likewise.
7089 [C99-based-standards] (PRIoFAST16): Likewise.
7090 [C99-based-standards] (PRIuFAST16): Likewise.
7091 [C99-based-standards] (PRIxFAST16): Likewise.
7092 [C99-based-standards] (PRIXFAST16): Likewise.
7093 [C99-based-standards] (SCNdFAST16): Likewise.
7094 [C99-based-standards] (SCNiFAST16): Likewise.
7095 [C99-based-standards] (SCNoFAST16): Likewise.
7096 [C99-based-standards] (SCNuFAST16): Likewise.
7097 [C99-based-standards] (SCNxFAST16): Likewise.
7098 [C99-based-standards] (PRId32): Likewise.
7099 [C99-based-standards] (PRIi32): Likewise.
7100 [C99-based-standards] (PRIo32): Likewise.
7101 [C99-based-standards] (PRIu32): Likewise.
7102 [C99-based-standards] (PRIx32): Likewise.
7103 [C99-based-standards] (PRIX32): Likewise.
7104 [C99-based-standards] (SCNd32): Likewise.
7105 [C99-based-standards] (SCNi32): Likewise.
7106 [C99-based-standards] (SCNo32): Likewise.
7107 [C99-based-standards] (SCNu32): Likewise.
7108 [C99-based-standards] (SCNx32): Likewise.
7109 [C99-based-standards] (PRIdLEAST32): Likewise.
7110 [C99-based-standards] (PRIiLEAST32): Likewise.
7111 [C99-based-standards] (PRIoLEAST32): Likewise.
7112 [C99-based-standards] (PRIuLEAST32): Likewise.
7113 [C99-based-standards] (PRIxLEAST32): Likewise.
7114 [C99-based-standards] (PRIXLEAST32): Likewise.
7115 [C99-based-standards] (SCNdLEAST32): Likewise.
7116 [C99-based-standards] (SCNiLEAST32): Likewise.
7117 [C99-based-standards] (SCNoLEAST32): Likewise.
7118 [C99-based-standards] (SCNuLEAST32): Likewise.
7119 [C99-based-standards] (SCNxLEAST32): Likewise.
7120 [C99-based-standards] (PRIdFAST32): Likewise.
7121 [C99-based-standards] (PRIiFAST32): Likewise.
7122 [C99-based-standards] (PRIoFAST32): Likewise.
7123 [C99-based-standards] (PRIuFAST32): Likewise.
7124 [C99-based-standards] (PRIxFAST32): Likewise.
7125 [C99-based-standards] (PRIXFAST32): Likewise.
7126 [C99-based-standards] (SCNdFAST32): Likewise.
7127 [C99-based-standards] (SCNiFAST32): Likewise.
7128 [C99-based-standards] (SCNoFAST32): Likewise.
7129 [C99-based-standards] (SCNuFAST32): Likewise.
7130 [C99-based-standards] (SCNxFAST32): Likewise.
7131 [C99-based-standards] (PRId64): Likewise.
7132 [C99-based-standards] (PRIi64): Likewise.
7133 [C99-based-standards] (PRIo64): Likewise.
7134 [C99-based-standards] (PRIu64): Likewise.
7135 [C99-based-standards] (PRIx64): Likewise.
7136 [C99-based-standards] (PRIX64): Likewise.
7137 [C99-based-standards] (SCNd64): Likewise.
7138 [C99-based-standards] (SCNi64): Likewise.
7139 [C99-based-standards] (SCNo64): Likewise.
7140 [C99-based-standards] (SCNu64): Likewise.
7141 [C99-based-standards] (SCNx64): Likewise.
7142 [C99-based-standards] (PRIdLEAST64): Likewise.
7143 [C99-based-standards] (PRIiLEAST64): Likewise.
7144 [C99-based-standards] (PRIoLEAST64): Likewise.
7145 [C99-based-standards] (PRIuLEAST64): Likewise.
7146 [C99-based-standards] (PRIxLEAST64): Likewise.
7147 [C99-based-standards] (PRIXLEAST64): Likewise.
7148 [C99-based-standards] (SCNdLEAST64): Likewise.
7149 [C99-based-standards] (SCNiLEAST64): Likewise.
7150 [C99-based-standards] (SCNoLEAST64): Likewise.
7151 [C99-based-standards] (SCNuLEAST64): Likewise.
7152 [C99-based-standards] (SCNxLEAST64): Likewise.
7153 [C99-based-standards] (PRIdFAST64): Likewise.
7154 [C99-based-standards] (PRIiFAST64): Likewise.
7155 [C99-based-standards] (PRIoFAST64): Likewise.
7156 [C99-based-standards] (PRIuFAST64): Likewise.
7157 [C99-based-standards] (PRIxFAST64): Likewise.
7158 [C99-based-standards] (PRIXFAST64): Likewise.
7159 [C99-based-standards] (SCNdFAST64): Likewise.
7160 [C99-based-standards] (SCNiFAST64): Likewise.
7161 [C99-based-standards] (SCNoFAST64): Likewise.
7162 [C99-based-standards] (SCNuFAST64): Likewise.
7163 [C99-based-standards] (SCNxFAST64): Likewise.
7164 [C99-based-standards] (PRIdMAX): Likewise.
7165 [C99-based-standards] (PRIiMAX): Likewise.
7166 [C99-based-standards] (PRIoMAX): Likewise.
7167 [C99-based-standards] (PRIuMAX): Likewise.
7168 [C99-based-standards] (PRIxMAX): Likewise.
7169 [C99-based-standards] (PRIXMAX): Likewise.
7170 [C99-based-standards] (SCNdMAX): Likewise.
7171 [C99-based-standards] (SCNiMAX): Likewise.
7172 [C99-based-standards] (SCNoMAX): Likewise.
7173 [C99-based-standards] (SCNuMAX): Likewise.
7174 [C99-based-standards] (SCNxMAX): Likewise.
7175 [C99-based-standards] (PRIdPTR): Likewise.
7176 [C99-based-standards] (PRIiPTR): Likewise.
7177 [C99-based-standards] (PRIoPTR): Likewise.
7178 [C99-based-standards] (PRIuPTR): Likewise.
7179 [C99-based-standards] (PRIxPTR): Likewise.
7180 [C99-based-standards] (PRIXPTR): Likewise.
7181 [C99-based-standards] (SCNdPTR): Likewise.
7182 [C99-based-standards] (SCNiPTR): Likewise.
7183 [C99-based-standards] (SCNoPTR): Likewise.
7184 [C99-based-standards] (SCNuPTR): Likewise.
7185 [C99-based-standards] (SCNxPTR): Likewise.
7186 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7188 * conform/data/stdint.h-data: Update comments to clarify
7190 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7192 [C99-based standards] (INT8_MAX): Likewise.
7193 [C99-based standards] (INT16_MIN): Likewise.
7194 [C99-based standards] (INT16_MAX): Likewise.
7195 [C99-based standards] (INT32_MIN): Likewise.
7196 [C99-based standards] (INT32_MAX): Likewise.
7197 [C99-based standards] (INT64_MIN): Likewise.
7198 [C99-based standards] (INT64_MAX): Likewise.
7199 [C99-based standards] (UINT8_MAX): Likewise.
7200 [C99-based standards] (UINT16_MAX): Likewise.
7201 [C99-based standards] (UINT32_MAX): Likewise.
7202 [C99-based standards] (UINT64_MAX): Likewise.
7203 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7204 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7205 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7206 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7207 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7208 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7209 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7210 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7211 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7212 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7213 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7214 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7215 [C99-based standards] (INT_FAST8_MIN): Likewise.
7216 [C99-based standards] (INT_FAST8_MAX): Likewise.
7217 [C99-based standards] (INT_FAST16_MIN): Likewise.
7218 [C99-based standards] (INT_FAST16_MAX): Likewise.
7219 [C99-based standards] (INT_FAST32_MIN): Likewise.
7220 [C99-based standards] (INT_FAST32_MAX): Likewise.
7221 [C99-based standards] (INT_FAST64_MIN): Likewise.
7222 [C99-based standards] (INT_FAST64_MAX): Likewise.
7223 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7224 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7225 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7226 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7227 [C99-based standards] (INTPTR_MIN): Likewise.
7228 [C99-based standards] (INTPTR_MAX): Likewise.
7229 [C99-based standards] (UINTPTR_MAX): Likewise.
7230 [C99-based standards] (INTMAX_MIN): Likewise.
7231 [C99-based standards] (INTMAX_MAX): Likewise.
7232 [C99-based standards] (UINTMAX_MAX): Likewise.
7233 [C99-based standards] (PTRDIFF_MIN): Likewise.
7234 [C99-based standards] (PTRDIFF_MAX): Likewise.
7235 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7236 [C99-based standards] (SIZE_MAX): Likewise.
7237 [C99-based standards] (WCHAR_MAX): Likewise.
7238 [C99-based standards] (WINT_MAX): Likewise.
7239 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7240 constraint on value.
7241 [C99-based standards] (WCHAR_MIN): Likewise.
7242 [C99-based standards] (WINT_MIN): Likewise.
7243 [C99-based standards] (*_t): Allow.
7244 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7245 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7246 Include math.h-data and complex.h-data. Remove all expectations
7247 of math.h and complex.h contents.
7248 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7250 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7251 (struct tm): Expect tag.
7252 [C99-based-standards] (wcstof): Expect function.
7253 [C99-based-standards] (wcstold): Likewise.
7254 [C99-based-standards] (wcstoll): Likewise.
7255 [C99-based-standards] (wcstoull): Likewise.
7256 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7257 macro-int-constant. Specify type.
7258 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7259 constraint on value.
7260 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7262 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7264 [ISO C standards]: Do not allow headers.
7265 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7266 wcs[abcdefghijklmnopqrstuvwxyz]*.
7267 [ISO C standards] (*_t): Do not allow.
7268 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7270 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7271 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7273 [ISO C standards]: Do not allow headers.
7274 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7275 is[abcdefghijklmnopqrstuvwxyz]*.
7276 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7277 to[abcdefghijklmnopqrstuvwxyz]*.
7278 [ISO C standards] (*_t): Do not allow.
7279 * conform/data/stdalign.h-data: New file.
7280 * conform/data/stdbool.h-data: Likewise.
7281 * conform/data/stdnoreturn.h-data: Likewise.
7283 2012-11-07 Roland McGrath <roland@hack.frob.com>
7286 * manual/filesys.texi (Directory Entries): Typo fix.
7287 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7289 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7291 * elf/elf.h (EM_AARCH64): New macro.
7292 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7293 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7294 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7295 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7296 (R_AARCH64_TLSDESC): Likewise.
7297 (NT_ARM_TLS): Likewise.
7298 (NT_ARM_HW_BREAK): Likewise.
7299 (NT_ARM_HW_WATCH): Likewise.
7301 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7304 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7305 (__ieee754_powl): Saturate nonzero exponents with absolute value
7306 below 0x1p-79 to +/- 0x1p-79.
7307 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7308 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7309 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7310 nonzero exponents with absolute value below 0x1p-32 to +/-
7312 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7313 (__ieee754_powl): Saturate nonzero exponents with absolute value
7314 below 0x1p-79 to +/- 0x1p-79.
7315 * math/libm-test.inc (pow_test): Add more tests.
7317 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7319 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7320 _dl_s390_cap_flags with kernel. Increase string length.
7321 (_dl_s390_platforms): Add z196 and zEC12.
7323 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7325 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7326 Change XOPEN21K to XOPEN2K.
7328 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7330 * string/memmove.c: Use memcpy when possible.
7332 2012-11-06 Andreas Jaeger <aj@suse.de>
7334 * po/eo.po: Update from translation team.
7336 2012-11-06 Joseph Myers <joseph@codesourcery.com>
7339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7340 exponent and small x and y exponents, scale x or y up. Increase
7341 by 2 the exponent used in scaling up.
7342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7343 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7344 * math/libm-test.inc (fma_test): Add more tests.
7345 (fma_test_towardzero): Likewise.
7346 (fma_test_downward): Likewise.
7347 (fma_test_upward): Likewise.
7349 2012-11-05 Joseph Myers <joseph@codesourcery.com>
7352 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7356 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7357 namespace for names of struct fields.
7358 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7360 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7361 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7363 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7366 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7368 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7370 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7374 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7377 2012-11-04 Joseph Myers <joseph@codesourcery.com>
7380 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7381 definitely overflow as x * y not x * y + z.
7382 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7383 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7384 * math/libm-test.inc (fma_test): Add more tests.
7385 (fma_test_towardzero): Likewise.
7386 (fma_test_downward): Likewise.
7387 (fma_test_upward): Likewise.
7389 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7393 * include/stub-tag.h: Remove file.
7394 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7396 * manual/maint.texi (Porting): Don't reference it.
7397 * Makerules ($(objpfx)stubs): Likewise.
7398 * dirent/closedir.c: Don't include <stub-tag.h>.
7399 * dirent/dirfd.c: Likewise.
7400 * dirent/fdopendir.c: Likewise.
7401 * dirent/getdents.c: Likewise.
7402 * dirent/getdents64.c: Likewise.
7403 * dirent/opendir.c: Likewise.
7404 * dirent/readdir.c: Likewise.
7405 * dirent/readdir64.c: Likewise.
7406 * dirent/readdir64_r.c: Likewise.
7407 * dirent/readdir_r.c: Likewise.
7408 * dirent/rewinddir.c: Likewise.
7409 * dirent/seekdir.c: Likewise.
7410 * dirent/telldir.c: Likewise.
7411 * gmon/profil.c: Likewise.
7412 * grp/setgroups.c: Likewise.
7413 * inet/if_index.c: Likewise.
7414 * io/access.c: Likewise.
7415 * io/chdir.c: Likewise.
7416 * io/chmod.c: Likewise.
7417 * io/chown.c: Likewise.
7418 * io/close.c: Likewise.
7419 * io/dup.c: Likewise.
7420 * io/dup2.c: Likewise.
7421 * io/dup3.c: Likewise.
7422 * io/euidaccess.c: Likewise.
7423 * io/faccessat.c: Likewise.
7424 * io/fchdir.c: Likewise.
7425 * io/fchmod.c: Likewise.
7426 * io/fchmodat.c: Likewise.
7427 * io/fchown.c: Likewise.
7428 * io/fchownat.c: Likewise.
7429 * io/fcntl.c: Likewise.
7430 * io/flock.c: Likewise.
7431 * io/fstatfs.c: Likewise.
7432 * io/fstatfs64.c: Likewise.
7433 * io/fstatvfs.c: Likewise.
7434 * io/fstatvfs64.c: Likewise.
7435 * io/futimens.c: Likewise.
7436 * io/fxstat.c: Likewise.
7437 * io/fxstat64.c: Likewise.
7438 * io/fxstatat.c: Likewise.
7439 * io/fxstatat64.c: Likewise.
7440 * io/getcwd.c: Likewise.
7441 * io/isatty.c: Likewise.
7442 * io/lchmod.c: Likewise.
7443 * io/lchown.c: Likewise.
7444 * io/link.c: Likewise.
7445 * io/linkat.c: Likewise.
7446 * io/lseek.c: Likewise.
7447 * io/lseek64.c: Likewise.
7448 * io/lxstat64.c: Likewise.
7449 * io/mkdir.c: Likewise.
7450 * io/mkdirat.c: Likewise.
7451 * io/mkfifo.c: Likewise.
7452 * io/mkfifoat.c: Likewise.
7453 * io/open.c: Likewise.
7454 * io/open64.c: Likewise.
7455 * io/openat.c: Likewise.
7456 * io/openat64.c: Likewise.
7457 * io/pipe.c: Likewise.
7458 * io/pipe2.c: Likewise.
7459 * io/poll.c: Likewise.
7460 * io/posix_fadvise.c: Likewise.
7461 * io/posix_fadvise64.c: Likewise.
7462 * io/posix_fallocate.c: Likewise.
7463 * io/posix_fallocate64.c: Likewise.
7464 * io/read.c: Likewise.
7465 * io/readlink.c: Likewise.
7466 * io/readlinkat.c: Likewise.
7467 * io/rmdir.c: Likewise.
7468 * io/sendfile.c: Likewise.
7469 * io/sendfile64.c: Likewise.
7470 * io/statfs.c: Likewise.
7471 * io/statfs64.c: Likewise.
7472 * io/statvfs.c: Likewise.
7473 * io/statvfs64.c: Likewise.
7474 * io/symlink.c: Likewise.
7475 * io/symlinkat.c: Likewise.
7476 * io/ttyname.c: Likewise.
7477 * io/ttyname_r.c: Likewise.
7478 * io/umask.c: Likewise.
7479 * io/unlink.c: Likewise.
7480 * io/unlinkat.c: Likewise.
7481 * io/utime.c: Likewise.
7482 * io/utimensat.c: Likewise.
7483 * io/write.c: Likewise.
7484 * io/xmknod.c: Likewise.
7485 * io/xmknodat.c: Likewise.
7486 * io/xstat.c: Likewise.
7487 * io/xstat64.c: Likewise.
7488 * login/getpt.c: Likewise.
7489 * login/grantpt.c: Likewise.
7490 * login/unlockpt.c: Likewise.
7491 * math/e_acoshl.c: Likewise.
7492 * math/e_acosl.c: Likewise.
7493 * math/e_asinl.c: Likewise.
7494 * math/e_atan2l.c: Likewise.
7495 * math/e_atanhl.c: Likewise.
7496 * math/e_coshl.c: Likewise.
7497 * math/e_expl.c: Likewise.
7498 * math/e_fmodl.c: Likewise.
7499 * math/e_gammal_r.c: Likewise.
7500 * math/e_hypotl.c: Likewise.
7501 * math/e_j0l.c: Likewise.
7502 * math/e_j1l.c: Likewise.
7503 * math/e_jnl.c: Likewise.
7504 * math/e_lgammal_r.c: Likewise.
7505 * math/e_log10l.c: Likewise.
7506 * math/e_log2l.c: Likewise.
7507 * math/e_logl.c: Likewise.
7508 * math/e_powl.c: Likewise.
7509 * math/e_rem_pio2l.c: Likewise.
7510 * math/e_sinhl.c: Likewise.
7511 * math/e_sqrtl.c: Likewise.
7512 * math/fclrexcpt.c: Likewise.
7513 * math/fedisblxcpt.c: Likewise.
7514 * math/feenablxcpt.c: Likewise.
7515 * math/fegetenv.c: Likewise.
7516 * math/fegetexcept.c: Likewise.
7517 * math/fegetround.c: Likewise.
7518 * math/feholdexcpt.c: Likewise.
7519 * math/fesetenv.c: Likewise.
7520 * math/fesetround.c: Likewise.
7521 * math/feupdateenv.c: Likewise.
7522 * math/fgetexcptflg.c: Likewise.
7523 * math/fraiseexcpt.c: Likewise.
7524 * math/fsetexcptflg.c: Likewise.
7525 * math/ftestexcept.c: Likewise.
7526 * math/k_cosl.c: Likewise.
7527 * math/k_rem_pio2l.c: Likewise.
7528 * math/k_sinl.c: Likewise.
7529 * math/k_tanl.c: Likewise.
7530 * math/s_asinhl.c: Likewise.
7531 * math/s_atanl.c: Likewise.
7532 * math/s_cbrtl.c: Likewise.
7533 * math/s_erfl.c: Likewise.
7534 * math/s_expm1l.c: Likewise.
7535 * math/s_log1pl.c: Likewise.
7536 * math/s_tanhl.c: Likewise.
7537 * misc/acct.c: Likewise.
7538 * misc/brk.c: Likewise.
7539 * misc/chflags.c: Likewise.
7540 * misc/chroot.c: Likewise.
7541 * misc/fchflags.c: Likewise.
7542 * misc/fgetxattr.c: Likewise.
7543 * misc/flistxattr.c: Likewise.
7544 * misc/fremovexattr.c: Likewise.
7545 * misc/fsetxattr.c: Likewise.
7546 * misc/fsync.c: Likewise.
7547 * misc/ftruncate.c: Likewise.
7548 * misc/futimes.c: Likewise.
7549 * misc/futimesat.c: Likewise.
7550 * misc/getdomain.c: Likewise.
7551 * misc/getdtsz.c: Likewise.
7552 * misc/gethostid.c: Likewise.
7553 * misc/gethostname.c: Likewise.
7554 * misc/getloadavg.c: Likewise.
7555 * misc/getpagesize.c: Likewise.
7556 * misc/getsysstats.c: Likewise.
7557 * misc/getxattr.c: Likewise.
7558 * misc/gtty.c: Likewise.
7559 * misc/ioctl.c: Likewise.
7560 * misc/lgetxattr.c: Likewise.
7561 * misc/listxattr.c: Likewise.
7562 * misc/llistxattr.c: Likewise.
7563 * misc/lremovexattr.c: Likewise.
7564 * misc/lsetxattr.c: Likewise.
7565 * misc/lutimes.c: Likewise.
7566 * misc/madvise.c: Likewise.
7567 * misc/mincore.c: Likewise.
7568 * misc/mlock.c: Likewise.
7569 * misc/mlockall.c: Likewise.
7570 * misc/mmap.c: Likewise.
7571 * misc/mprotect.c: Likewise.
7572 * misc/msync.c: Likewise.
7573 * misc/munlock.c: Likewise.
7574 * misc/munlockall.c: Likewise.
7575 * misc/munmap.c: Likewise.
7576 * misc/preadv.c: Likewise.
7577 * misc/preadv64.c: Likewise.
7578 * misc/ptrace.c: Likewise.
7579 * misc/pwritev.c: Likewise.
7580 * misc/pwritev64.c: Likewise.
7581 * misc/readv.c: Likewise.
7582 * misc/reboot.c: Likewise.
7583 * misc/remap_file_pages.c: Likewise.
7584 * misc/removexattr.c: Likewise.
7585 * misc/revoke.c: Likewise.
7586 * misc/select.c: Likewise.
7587 * misc/setdomain.c: Likewise.
7588 * misc/setegid.c: Likewise.
7589 * misc/seteuid.c: Likewise.
7590 * misc/sethostid.c: Likewise.
7591 * misc/sethostname.c: Likewise.
7592 * misc/setregid.c: Likewise.
7593 * misc/setreuid.c: Likewise.
7594 * misc/setxattr.c: Likewise.
7595 * misc/sstk.c: Likewise.
7596 * misc/stty.c: Likewise.
7597 * misc/swapoff.c: Likewise.
7598 * misc/swapon.c: Likewise.
7599 * misc/sync.c: Likewise.
7600 * misc/syncfs.c: Likewise.
7601 * misc/syscall.c: Likewise.
7602 * misc/truncate.c: Likewise.
7603 * misc/ualarm.c: Likewise.
7604 * misc/usleep.c: Likewise.
7605 * misc/ustat.c: Likewise.
7606 * misc/utimes.c: Likewise.
7607 * misc/vhangup.c: Likewise.
7608 * misc/writev.c: Likewise.
7609 * posix/_exit.c: Likewise.
7610 * posix/alarm.c: Likewise.
7611 * posix/execve.c: Likewise.
7612 * posix/fexecve.c: Likewise.
7613 * posix/fork.c: Likewise.
7614 * posix/fpathconf.c: Likewise.
7615 * posix/getaddrinfo.c: Likewise.
7616 * posix/getegid.c: Likewise.
7617 * posix/geteuid.c: Likewise.
7618 * posix/getgid.c: Likewise.
7619 * posix/getgroups.c: Likewise.
7620 * posix/getlogin.c: Likewise.
7621 * posix/getlogin_r.c: Likewise.
7622 * posix/getpgid.c: Likewise.
7623 * posix/getpid.c: Likewise.
7624 * posix/getppid.c: Likewise.
7625 * posix/getresgid.c: Likewise.
7626 * posix/getresuid.c: Likewise.
7627 * posix/getsid.c: Likewise.
7628 * posix/getuid.c: Likewise.
7629 * posix/glob64.c: Likewise.
7630 * posix/nanosleep.c: Likewise.
7631 * posix/pathconf.c: Likewise.
7632 * posix/pause.c: Likewise.
7633 * posix/posix_madvise.c: Likewise.
7634 * posix/pread.c: Likewise.
7635 * posix/pread64.c: Likewise.
7636 * posix/pwrite.c: Likewise.
7637 * posix/pwrite64.c: Likewise.
7638 * posix/sched_getaffinity.c: Likewise.
7639 * posix/sched_getp.c: Likewise.
7640 * posix/sched_gets.c: Likewise.
7641 * posix/sched_primax.c: Likewise.
7642 * posix/sched_primin.c: Likewise.
7643 * posix/sched_rr_gi.c: Likewise.
7644 * posix/sched_setaffinity.c: Likewise.
7645 * posix/sched_setp.c: Likewise.
7646 * posix/sched_sets.c: Likewise.
7647 * posix/sched_yield.c: Likewise.
7648 * posix/setgid.c: Likewise.
7649 * posix/setlogin.c: Likewise.
7650 * posix/setpgid.c: Likewise.
7651 * posix/setresgid.c: Likewise.
7652 * posix/setresuid.c: Likewise.
7653 * posix/setsid.c: Likewise.
7654 * posix/setuid.c: Likewise.
7655 * posix/sleep.c: Likewise.
7656 * posix/spawni.c: Likewise.
7657 * posix/sysconf.c: Likewise.
7658 * posix/times.c: Likewise.
7659 * posix/wait.c: Likewise.
7660 * posix/wait3.c: Likewise.
7661 * posix/wait4.c: Likewise.
7662 * posix/waitpid.c: Likewise.
7663 * resolv/gai_sigqueue.c: Likewise.
7664 * resource/getpriority.c: Likewise.
7665 * resource/getrlimit.c: Likewise.
7666 * resource/getrusage.c: Likewise.
7667 * resource/nice.c: Likewise.
7668 * resource/setpriority.c: Likewise.
7669 * resource/setrlimit.c: Likewise.
7670 * resource/ulimit.c: Likewise.
7671 * rt/aio_cancel.c: Likewise.
7672 * rt/aio_fsync.c: Likewise.
7673 * rt/aio_read.c: Likewise.
7674 * rt/aio_sigqueue.c: Likewise.
7675 * rt/aio_suspend.c: Likewise.
7676 * rt/aio_write.c: Likewise.
7677 * rt/clock_getres.c: Likewise.
7678 * rt/clock_gettime.c: Likewise.
7679 * rt/clock_nanosleep.c: Likewise.
7680 * rt/clock_settime.c: Likewise.
7681 * rt/lio_listio.c: Likewise.
7682 * rt/mq_close.c: Likewise.
7683 * rt/mq_getattr.c: Likewise.
7684 * rt/mq_notify.c: Likewise.
7685 * rt/mq_open.c: Likewise.
7686 * rt/mq_receive.c: Likewise.
7687 * rt/mq_send.c: Likewise.
7688 * rt/mq_setattr.c: Likewise.
7689 * rt/mq_timedreceive.c: Likewise.
7690 * rt/mq_timedsend.c: Likewise.
7691 * rt/mq_unlink.c: Likewise.
7692 * rt/shm_open.c: Likewise.
7693 * rt/shm_unlink.c: Likewise.
7694 * rt/timer_create.c: Likewise.
7695 * rt/timer_delete.c: Likewise.
7696 * rt/timer_getoverr.c: Likewise.
7697 * rt/timer_gettime.c: Likewise.
7698 * rt/timer_settime.c: Likewise.
7699 * setjmp/__longjmp.c: Likewise.
7700 * setjmp/setjmp.c: Likewise.
7701 * signal/kill.c: Likewise.
7702 * signal/killpg.c: Likewise.
7703 * signal/raise.c: Likewise.
7704 * signal/sigaction.c: Likewise.
7705 * signal/sigaltstack.c: Likewise.
7706 * signal/sigblock.c: Likewise.
7707 * signal/sigignore.c: Likewise.
7708 * signal/sigintr.c: Likewise.
7709 * signal/signal.c: Likewise.
7710 * signal/sigpause.c: Likewise.
7711 * signal/sigpending.c: Likewise.
7712 * signal/sigqueue.c: Likewise.
7713 * signal/sigreturn.c: Likewise.
7714 * signal/sigset.c: Likewise.
7715 * signal/sigsetmask.c: Likewise.
7716 * signal/sigstack.c: Likewise.
7717 * signal/sigsuspend.c: Likewise.
7718 * signal/sigtimedwait.c: Likewise.
7719 * signal/sigvec.c: Likewise.
7720 * signal/sigwait.c: Likewise.
7721 * signal/sigwaitinfo.c: Likewise.
7722 * signal/sysv_signal.c: Likewise.
7723 * socket/accept.c: Likewise.
7724 * socket/accept4.c: Likewise.
7725 * socket/bind.c: Likewise.
7726 * socket/connect.c: Likewise.
7727 * socket/getpeername.c: Likewise.
7728 * socket/getsockname.c: Likewise.
7729 * socket/getsockopt.c: Likewise.
7730 * socket/isfdtype.c: Likewise.
7731 * socket/listen.c: Likewise.
7732 * socket/recv.c: Likewise.
7733 * socket/recvfrom.c: Likewise.
7734 * socket/recvmsg.c: Likewise.
7735 * socket/send.c: Likewise.
7736 * socket/sendmsg.c: Likewise.
7737 * socket/sendto.c: Likewise.
7738 * socket/setsockopt.c: Likewise.
7739 * socket/shutdown.c: Likewise.
7740 * socket/sockatmark.c: Likewise.
7741 * socket/socket.c: Likewise.
7742 * socket/socketpair.c: Likewise.
7743 * stdio-common/ctermid.c: Likewise.
7744 * stdio-common/cuserid.c: Likewise.
7745 * stdio-common/remove.c: Likewise.
7746 * stdio-common/rename.c: Likewise.
7747 * stdio-common/renameat.c: Likewise.
7748 * stdio-common/tempname.c: Likewise.
7749 * stdlib/getcontext.c: Likewise.
7750 * stdlib/makecontext.c: Likewise.
7751 * stdlib/setcontext.c: Likewise.
7752 * stdlib/swapcontext.c: Likewise.
7753 * stdlib/system.c: Likewise.
7754 * streams/fattach.c: Likewise.
7755 * streams/fdetach.c: Likewise.
7756 * streams/getmsg.c: Likewise.
7757 * streams/getpmsg.c: Likewise.
7758 * streams/putmsg.c: Likewise.
7759 * streams/putpmsg.c: Likewise.
7760 * sysdeps/unix/bsd/getpt.c: Likewise.
7761 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7762 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7763 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7766 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7767 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7768 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7769 * sysvipc/msgctl.c: Likewise.
7770 * sysvipc/msgget.c: Likewise.
7771 * sysvipc/msgrcv.c: Likewise.
7772 * sysvipc/msgsnd.c: Likewise.
7773 * sysvipc/semctl.c: Likewise.
7774 * sysvipc/semget.c: Likewise.
7775 * sysvipc/semop.c: Likewise.
7776 * sysvipc/semtimedop.c: Likewise.
7777 * sysvipc/shmat.c: Likewise.
7778 * sysvipc/shmctl.c: Likewise.
7779 * sysvipc/shmdt.c: Likewise.
7780 * sysvipc/shmget.c: Likewise.
7781 * termios/tcdrain.c: Likewise.
7782 * termios/tcflow.c: Likewise.
7783 * termios/tcflush.c: Likewise.
7784 * termios/tcgetattr.c: Likewise.
7785 * termios/tcgetpgrp.c: Likewise.
7786 * termios/tcsendbrk.c: Likewise.
7787 * termios/tcsetattr.c: Likewise.
7788 * termios/tcsetpgrp.c: Likewise.
7789 * time/adjtime.c: Likewise.
7790 * time/clock.c: Likewise.
7791 * time/getitimer.c: Likewise.
7792 * time/gettimeofday.c: Likewise.
7793 * time/setitimer.c: Likewise.
7794 * time/settimeofday.c: Likewise.
7795 * time/stime.c: Likewise.
7796 * time/time.c: Likewise.
7798 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7800 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7803 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7805 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7807 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7811 FE_TONEAREST before applying Dekker multiplication and Knuth
7812 addition. Clear inexact exceptions and check for exact zero
7814 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7815 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7816 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7817 * math/libm-test.inc (fma_test): Add more tests.
7818 (fma_test_towardzero): Likewise.
7819 (fma_test_downward): Likewise.
7820 (fma_test_upward): Likewise.
7821 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7823 (libc_fesetround): New macro.
7824 (libc_fesetroundf): Likewise.
7825 (libc_fesetroundl): Likewise.
7826 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7828 (libc_fesetround_387): Likewise.
7829 (libc_fesetroundf): New macro.
7830 (libc_fesetround): Likewise.
7831 (libc_fesetroundl): Likewise.
7832 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7834 (libc_fesetroundf): New macro.
7835 (libc_fesetround): Likewise.
7836 (libc_fesetroundl): Likewise.
7837 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7838 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7839 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7841 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7842 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7844 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7845 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7847 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7851 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7852 integer constant usable in #if and use that to give value to enum
7854 (FE_DIVBYZERO): Likewise.
7855 (FE_UNDERFLOW): Likewise.
7856 (FE_OVERFLOW): Likewise.
7857 (FE_INVALID): Likewise.
7858 (FE_INVALID_SNAN): Likewise.
7859 (FE_INVALID_ISI): Likewise.
7860 (FE_INVALID_IDI): Likewise.
7861 (FE_INVALID_ZDZ): Likewise.
7862 (FE_INVALID_IMZ): Likewise.
7863 (FE_INVALID_COMPARE): Likewise.
7864 (FE_INVALID_SOFTWARE): Likewise.
7865 (FE_INVALID_SQRT): Likewise.
7866 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7867 (FE_TONEAREST): Likewise.
7868 (FE_TOWARDZERO): Likewise.
7869 (FE_UPWARD): Likewise.
7870 (FE_DOWNWARD): Likewise.
7871 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7872 (FE_DIVBYZERO): Likewise.
7873 (FE_OVERFLOW): Likewise.
7874 (FE_UNDERFLOW): Likewise.
7875 (FE_INEXACT): Likewise.
7876 (FE_TONEAREST): Likewise.
7877 (FE_DOWNWARD): Likewise.
7878 (FE_UPWARD): Likewise.
7879 (FE_TOWARDZERO): Likewise.
7880 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7881 (FE_UNDERFLOW): Likewise.
7882 (FE_OVERFLOW): Likewise.
7883 (FE_DIVBYZERO): Likewise.
7884 (FE_INVALID): Likewise.
7885 (FE_TONEAREST): Likewise.
7886 (FE_TOWARDZERO): Likewise.
7887 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7888 (FE_OVERFLOW): Likewise.
7889 (FE_UNDERFLOW): Likewise.
7890 (FE_DIVBYZERO): Likewise.
7891 (FE_INEXACT): Likewise.
7892 (FE_TONEAREST): Likewise.
7893 (FE_TOWARDZERO): Likewise.
7894 (FE_UPWARD): Likewise.
7895 (FE_DOWNWARD): Likewise.
7896 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7897 (FE_DIVBYZERO): Likewise.
7898 (FE_OVERFLOW): Likewise.
7899 (FE_UNDERFLOW): Likewise.
7900 (FE_INEXACT): Likewise.
7901 (FE_TONEAREST): Likewise.
7902 (FE_DOWNWARD): Likewise.
7903 (FE_UPWARD): Likewise.
7904 (FE_TOWARDZERO): Likewise.
7906 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7908 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7910 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7912 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7913 commands. Quote $PWD.
7914 (blacklist_exports): Don't use remove_newlines. Replace "declare
7916 (remove_newlines): Remove.
7918 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7920 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7921 * stdlib/stdlib.h (atof): Moved to ...
7922 * include/bits/stdlib-float.h: Here. New file.
7923 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7924 * stdlib/bits/stdlib-float.h: New file.
7925 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7927 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7930 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7932 * conform/conformtest.pl (@headers): Add fenv.h.
7933 * conform/data/fenv.h-data: New file.
7934 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7935 include of <math/fenv.h>.
7937 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7938 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7939 && !UNIX98]. Enables tests for XOPEN2K8.
7940 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7941 POSIX2008]: Likewise.
7943 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7944 (struct rusage): Do not expect type or its members.
7947 * math/math.h (FP_NAN): Define macro to integer constant usable in
7948 #if and use that to give value to enum constant.
7949 (FP_INFINITE): Likewise.
7950 (FP_ZERO): Likewise.
7951 (FP_SUBNORMAL): Likewise.
7952 (FP_NORMAL): Likewise.
7954 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7956 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7957 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7960 2012-11-02 Roland McGrath <roland@hack.frob.com>
7962 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7963 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7964 autoconf-time if not.
7965 * configure.in: Remove AC_PREREQ.
7967 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7969 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7970 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7971 of the internal implementation.
7973 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7975 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7976 except include of <misc/sys/syslog.h>.
7978 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7981 function returns with a NULL context exit with zero.
7983 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7985 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7987 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7989 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7990 (run_program_cmd): This.
7991 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7992 (tst_langinfo): New variable. Use it.
7994 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7996 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7997 floating point opcodes.
7999 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8001 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8004 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8006 * sysdeps/mach/hurd/powerpc: Remove directory.
8007 * sysdeps/mach/powerpc: Likewise.
8009 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8011 * scripts/check-local-headers.sh: Ignore c++ headers.
8013 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8015 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8016 __libc_cleanup_region_start argument.
8018 2012-11-01 Joseph Myers <joseph@codesourcery.com>
8022 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8023 x * y using scaling, not as x * y + z.
8024 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8025 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8026 * math/libm-test.inc (fma_test): Add more tests.
8027 (fma_test_towardzero): Likewise.
8028 (fma_test_downward): Likewise.
8029 (fma_test_upward): Likewise.
8031 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8033 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8035 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8037 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8040 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8042 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8044 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8051 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8054 Fix the order of the list for glibc 2.17.
8055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8058 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8062 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8065 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8066 for low part of x being zero before using __atanl (y).
8067 * math/libm-test.inc (atan2_test): Add another test.
8069 * manual/install.texi (Configuring and compiling): Document
8070 general use of test-wrapper and test-wrapper-env.
8071 * INSTALL: Regenerated.
8073 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8074 (__fma): Do not extract and scale down low bits on after-rounding
8075 systems when result rounded to normal precision would have normal
8077 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8078 (__fmal): Do not extract and scale down low bits on after-rounding
8079 systems when result rounded to normal precision would have normal
8081 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8082 (__fmal): Do not extract and scale down low bits on after-rounding
8083 systems when result rounded to normal precision would have normal
8085 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8087 (fma_test): Add more tests.
8088 (fma_test_towardzero): Likewise.
8089 (fma_test_downward): Likewise.
8090 (fma_test_upward): Likewise.
8092 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8094 * sysdeps/i386/tininess.h: Renamed to ...
8095 * sysdeps/x86/tininess.h: This.
8096 * sysdeps/x86_64/tininess.h: Removed.
8098 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8100 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8101 input. Use $(build-program-cmd).
8102 ($(objpfx)tst-array1-static.out): Likewise.
8103 ($(objpfx)tst-array2.out): Likewise.
8104 ($(objpfx)tst-array3.out): Likewise.
8105 ($(objpfx)tst-array4.out): Likewise.
8106 ($(objpfx)tst-array5.out): Likewise.
8107 ($(objpfx)tst-array5-static.out): Likewise.
8109 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8111 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8114 * nss/nsswitch.h (nss_interface_function): Provide new
8115 macro for use with NSS functions.
8116 * grp/initgroups.c: Use new macro.
8117 * nss/getXXbyYY.c: Likewise.
8118 * nss/getXXbyYY_r.c: Likewise.
8119 * nss/getXXent.c: Likewise.
8120 * nss/getXXent_r.c: Likewise.
8121 * sysdeps/posix/getaddrinfo.c: Likewise.
8123 2012-10-30 Andreas Jaeger <aj@suse.de>
8125 * po/ru.po: Update Russion translation from translation project.
8127 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8131 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8132 result and shift together with sticky bit instead of replicating
8133 round-to-nearest rounding.
8134 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8135 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8136 * math/libm-test.inc (fma_test): Add more tests. Do not permit
8137 missing underflow exceptions.
8138 (fma_test_towardzero): Add more tests.
8139 (fma_test_downward): Likewise.
8140 (fma_test_upward): Likewise.
8143 * sysdeps/generic/tininess.h: New file.
8144 * sysdeps/i386/tininess.h: Likewise.
8145 * sysdeps/sh/tininess.h: Likewise.
8146 * sysdeps/x86_64/tininess.h: Likewise.
8147 * stdlib/tst-strtod-underflow.c: Likewise.
8148 * stdlib/tst-tininess.c: Likewise.
8149 * stdlib/strtod_l.c: Include <tininess.h>.
8150 (round_and_return): Do not set errno for exact underflow cases.
8151 Force an underflow exception when setting errno for underflow.
8152 Determine underflow based on rounding to normal precision if
8153 TININESS_AFTER_ROUNDING.
8154 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8155 ERANGE for exact underflow cases.
8156 * stdlib/Makefile (tests): Add tst-tininess and
8157 tst-strtod-underflow.
8158 ($(objpfx)tst-tininess): Use $(link-libm).
8159 ($(objpfx)tst-strtod-underflow): Likewise.
8161 2012-10-30 Andreas Jaeger <aj@suse.de>
8164 * elf/Makefile (tests): Remove conditional for have-initfini-array
8165 since this is now always required and the variable does not exist
8167 (tests-static): Likewise.
8168 (modules-names): Likewise.
8170 * po/eo.po: Add Esperanto translation from translation project.
8172 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8173 merged with constructor/destructor.
8174 (init_array): Likewise.
8175 * elf/tst-array2dep.c (fini_array): Likewise.
8176 (init_array): Likewise.
8178 2012-10-29 Mike Frysinger <vapier@gentoo.org>
8180 * manual/message.texi: Delete @cartouche tags.
8182 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8184 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8186 * sysdeps/mach/hurd/fsync.c: Likewise.
8188 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8189 [_POSIX_REALTIME_SIGNALS]: Change condition to
8190 [_POSIX_REALTIME_SIGNALS > 0].
8192 2012-10-27 Andreas Jaeger <aj@suse.de>
8194 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8195 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8196 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8197 [__WORDSIZE != 64]: Likewise.
8199 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8201 * iconvdata/tst-table.sh: Remove ${SHELL}.
8202 * iconvdata/tst-tables.sh: Likewise.
8204 2012-10-25 David S. Miller <davem@davemloft.net>
8206 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8207 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8210 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8212 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8213 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8214 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8217 2012-10-25 Roland McGrath <roland@hack.frob.com>
8219 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8220 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8223 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8224 Jim Blandy <jimb@codesourcery.com>
8226 * scripts/cross-test-ssh.sh: New file.
8227 * manual/install.texi (Configuring and compiling): Document use of
8229 * INSTALL: Regenerated.
8231 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8233 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8236 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8238 * Makeconfig (run-program-prefix): Fix comment.
8240 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8241 Jim Blandy <jimb@codesourcery.com>
8243 * Makeconfig (test-wrapper): New variable,
8244 (test-wrapper-env): Likewise.
8245 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8246 (run-built-tests): Define to yes.
8247 (run-program-prefix): Use $(test-wrapper).
8248 (built-program-cmd): Likewise.
8249 * Rules (make-test-out): Use $(test-wrapper-env) and
8250 $(host-built-program-cmd).
8251 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8252 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8254 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8255 $(test-wrapper-env) to tst-rtld-load-self.sh.
8256 ($(objpfx)order2.out): Use $(test-wrapper).
8257 ($(objpfx)tst-initorder.out): Likewise.
8258 ($(objpfx)tst-initorder2.out): Likewise.
8259 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8260 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8261 (test_wrapper_env): New variable. Use it to run ld.so.
8262 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8263 Use it to run ld.so.
8264 (test_wrapper_env): Likewise.
8265 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8266 $(test-wrapper) to run-iconv-test.sh.
8267 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8268 (ICONV): Use $test_wrapper.
8269 * posix/Makefile ($(objpfx)globtest.out): Pass
8270 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8271 globtest.sh, not $(run-program-prefix).
8272 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8273 (test_wrapper): Likewise.
8274 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8275 set together with run_via_rtld_prefix.
8276 (run_program_prefix): Define in terms of test_wrapper and
8277 run_via_rtld_prefix.
8279 2012-10-24 Roland McGrath <roland@hack.frob.com>
8281 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8282 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8286 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8287 Declare __clock_getres, __clock_gettime, __clock_settime,
8288 __clock_nanosleep, and __clock_getcpuclockid.
8289 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8290 Remove librt_hidden_def (clock_gettime).
8291 * sysdeps/unix/clock_gettime.c: Likewise.
8292 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8293 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8294 * rt/clock_getres.c: Define __clock_getres as an alias.
8295 * sysdeps/posix/clock_getres.c: Likewise.
8296 * rt/clock_settime.c: Define __clock_settime as an alias.
8297 * sysdeps/unix/clock_settime.c: Likewise.
8298 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8299 * sysdeps/unix/clock_nanosleep.c: Likewise.
8300 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8301 * rt/clock-compat.c: New file.
8302 * rt/Makefile (librt-routines): Add clock-compat and move
8303 $(clock-routines) to ...
8304 (routines): ... here, new variable.
8305 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8306 Don't add get_clockfreq here.
8307 * rt/Versions (libc: GLIBC_2.17): New version set.
8308 Add clock_* symbols here.
8309 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8310 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8311 (GLIBC_2.17): Add clock_* symbols.
8312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8314 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8323 * NEWS: Mention the move.
8325 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8326 Use __open, __read, __close rather than their public counterparts.
8327 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8328 (__get_clockfreq_via_cpuinfo): Likewise.
8329 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8330 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8332 * config.h.in (HAVE_IFUNC): New #undef.
8333 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8335 * configure: Regenerated.
8337 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8339 * configure.in: Move READELF check to start of file.
8340 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8341 libc_cv_asm_gnu_indirect_function in the process.
8342 * configure: Regenerated.
8344 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8346 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8347 send the output to /dev/null.
8348 (libc_cv_cc_with_libunwind): Likewise.
8349 (libc_cv_as_noexecstack): Likewise.
8350 * configure: Regenerate.
8352 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8354 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8356 * posix/globtest.sh (TMPDIR): Do not set.
8357 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8358 (testout): Likewise.
8360 2012-10-24 Andreas Jaeger <aj@suse.de>
8362 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8363 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8364 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8365 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8366 posix_fadvise64, posix_fallocate64.
8368 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8369 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8370 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8372 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8374 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8376 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8377 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8378 <bits/fcntl-linux.h>.
8379 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8382 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8383 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8384 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8385 [__WORDSIZE != 64]: Likewise.
8387 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8389 * Makeconfig (run-built-tests): New variable.
8390 * Rules [$(cross-compiling) = yes]: Change condition to
8391 [$(run-built-tests) = no].
8392 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8393 to [$(run-built-tests) = yes].
8394 * elf/Makefile [$(cross-compiling) = no]: Likewise
8395 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8396 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8397 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8398 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8399 * io/Makefile [$(cross-compiling) = no]: Likewise.
8400 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8401 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8402 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8403 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8404 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8405 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8406 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8407 * string/Makefile [$(cross-compiling) = no]: Likewise.
8409 * posix/Makefile ($(objpfx)globtest.out): Pass
8410 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8411 $(rtld-installed-name).
8412 * posix/globtest.sh (elf_objpfx): Remove variable.
8413 (rtld_installed_name): Likewise.
8414 (library_path): Likewise.
8415 (run_program_prefix): New variable. Use for running globtest
8418 2012-10-23 Jim Blandy <jimb@codesourcery.com>
8419 Joseph Myers <joseph@codesourcery.com>
8421 * Makeconfig (host-built-program-cmd): New variable.
8422 * elf/Makefile (tst-stackguard1-ARGS): Use
8423 $(host-built-program-cmd).
8424 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8425 (tst-spawn-ARGS): Likewise.
8426 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8428 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8429 Jim Blandy <jimb@codesourcery.com>
8431 * Makeconfig (run-via-rtld-prefix): New variable.
8432 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8433 (built-program-cmd): Likewise.
8435 2012-10-22 Andreas Jaeger <aj@suse.de>
8437 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8438 __O_RSYNC if it exists, otherwise to O_SYNC.
8440 2012-10-22 Jim Blandy <jimb@codesourcery.com>
8441 Joseph Myers <joseph@codesourcery.com>
8443 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8445 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8447 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8450 2012-10-22 Andreas Jaeger <aj@suse.de>
8452 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8454 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8459 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8460 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8462 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8464 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8467 2012-10-21 Jim Blandy <jimb@codesourcery.com>
8468 Joseph Myers <joseph@codesourcery.com>
8470 * config.make.in (NM): New variable.
8472 2012-10-21 Andreas Jaeger <aj@suse.de>
8474 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8475 definitions and declarations that are provided by
8476 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8478 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8481 * elf/Makefile (tests-static): Add tst-leaks1-static.
8482 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8483 ($(objpfx)tst-leaks1-static): New rule.
8484 ($(objpfx)tst-leaks1-static-mem): Likewise.
8485 (tst-leaks1-static-ENV): New macro.
8486 * elf/dl-open.c (dl_open_worker): Check the main application
8487 only if SHARED is defined.
8488 * elf/tst-leaks1-static.c: New file.
8490 2012-10-20 Andreas Jaeger <aj@suse.de>
8492 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8493 generic values for Linux.
8494 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8495 and declarations that are provided by <bits/fcntl-linux.h> and
8496 include <bits/fcntl-linux.h>.
8497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8498 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8500 2012-10-20 Roland McGrath <roland@hack.frob.com>
8502 * io/fcntl.h: Move include of <bits/types.h> to the top and
8503 include it unconditionally.
8505 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8507 * wcsmbs/Makefile (tests-ifunc): New variable.
8508 (tests): Add $(tests-ifunc).
8509 * wcsmbs/test-wcschr-ifunc.c: New file.
8510 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8511 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8512 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8513 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8514 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8516 * string/Makefile (tests-ifunc): New variable.
8517 (tests): Add $(tests-ifunc).
8518 * string/test-memccpy.c (TEST_NAME): New macro.
8519 * string/test-memchr.c (TEST_NAME): Likewise.
8520 * string/test-memcmp.c (TEST_NAME): Likewise.
8521 * string/test-memcpy.c (TEST_NAME): Likewise.
8522 * string/test-memmem.c (TEST_NAME): Likewise.
8523 * string/test-memmove.c (TEST_NAME): Likewise.
8524 * string/test-memset.c (TEST_NAME): Likewise.
8525 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8526 * string/test-stpcpy.c (TEST_NAME): Likewise.
8527 * string/test-stpncpy.c (TEST_NAME): Likewise.
8528 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8529 * string/test-strcasestr.c (TEST_NAME): Likewise.
8530 * string/test-strcat.c (TEST_NAME): Likewise.
8531 * string/test-strchr.c (TEST_NAME): Likewise.
8532 * string/test-strcmp.c(TEST_NAME): Likewise.
8533 * string/test-strcpy.c (TEST_NAME): Likewise.
8534 * string/test-strcspn.c (TEST_NAME): Likewise.
8535 * string/test-strlen.c (TEST_NAME): Likewise.
8536 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8537 * string/test-strncmp.c (TEST_NAME): Likewise.
8538 * string/test-strncpy.c (TEST_NAME): Likewise.
8539 * string/test-strnlen.c (TEST_NAME): Likewise.
8540 * string/test-strpbrk.c (TEST_NAME): Likewise.
8541 * string/test-strrchr.c (TEST_NAME): Likewise.
8542 * string/test-strspn.c (TEST_NAME): Likewise.
8543 * string/test-strstr.c (TEST_NAME): Likewise.
8544 * string/test-bcopy-ifunc.c: New file.
8545 * string/test-bzero-ifunc.c: Likewise.
8546 * string/test-memccpy-ifunc.c: Likewise.
8547 * string/test-memchr-ifunc.c: Likewise.
8548 * string/test-memcmp-ifunc.c: Likewise.
8549 * string/test-memcpy-ifunc.c: Likewise.
8550 * string/test-memmem-ifunc.c: Likewise.
8551 * string/test-memmove-ifunc.c: Likewise.
8552 * string/test-mempcpy-ifunc.c: Likewise.
8553 * string/test-memset-ifunc.c: Likewise.
8554 * string/test-rawmemchr-ifunc.c: Likewise.
8555 * string/test-stpcpy-ifunc.c: Likewise.
8556 * string/test-stpncpy-ifunc.c: Likewise.
8557 * string/test-strcasecmp-ifunc.c: Likewise.
8558 * string/test-strcasestr-ifunc.c: Likewise.
8559 * string/test-strcat-ifunc.c: Likewise.
8560 * string/test-strchr-ifunc.c: Likewise.
8561 * string/test-strchrnul-ifunc.c: Likewise.
8562 * string/test-strcmp-ifunc.c: Likewise.
8563 * string/test-strcpy-ifunc.c: Likewise.
8564 * string/test-strcspn-ifunc.c: Likewise.
8565 * string/test-strlen-ifunc.c: Likewise.
8566 * string/test-strncasecmp-ifunc.c: Likewise.
8567 * string/test-strncat-ifunc.c: Likewise.
8568 * string/test-strncmp-ifunc.c: Likewise.
8569 * string/test-strncpy-ifunc.c: Likewise.
8570 * string/test-strnlen-ifunc.c: Likewise.
8571 * string/test-strpbrk-ifunc.c: Likewise.
8572 * string/test-strrchr-ifunc.c: Likewise.
8573 * string/test-strspn-ifunc.c: Likewise.
8574 * string/test-strstr-ifunc.c: Likewise.
8576 * debug/Makefile (tests-ifunc): New variable.
8577 (tests): Add $(tests-ifunc).
8578 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8579 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8580 * debug/test-stpcpy_chk-ifunc.c: New file.
8581 * debug/test-strcpy_chk-ifunc.c: Likewise.
8583 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8586 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8587 header is not read in.
8589 2012-10-19 Joseph Myers <joseph@codesourcery.com>
8591 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8592 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8593 directly. Pass built executable to script as
8594 $(built-program-cmd).
8595 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8596 $testprogram without using LD_LIBRARY_PATH and $ldso.
8598 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8599 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8600 $(rtld-installed-name).
8601 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8602 (rtld_installed_name): Likewise.
8603 (library_path): Likewise.
8604 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8605 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8606 $(run-program-prefix) to tst-tables.sh.
8607 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8608 it to run tst-table-from and tst-table-to.
8609 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8610 Pass it to tst-table.sh.
8611 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8612 $(run-program-prefix) to tst-gettext.sh.
8613 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8615 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8617 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8619 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8620 to run tst-gettext2.
8621 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8622 to run tst-translit.
8623 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8624 $(run-program-prefix) to tst-mtrace.sh.
8625 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8627 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8628 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8629 $(rtld-installed-name).
8630 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8631 (rtld_installed_name): Likewise.
8632 (run_program_prefix): New variable. Use it to run wordexp-test.
8634 * Makeconfig (ARCH): Remove all definitions.
8635 (machine): Likewise.
8636 [ARCH]: Remove conditional code.
8637 [!objdir]: Give error.
8638 [!objdir] (objpfx): Remove.
8639 [!objdir] (common-objpfx): Likewise.
8640 [!objdir] (common-objdir): Likewise.
8641 * configure.in (config_makefile): Remove. Hardcode Makefile in
8642 AC_CONFIG_FILES call.
8643 * configure: Regenerated.
8646 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8648 (testout): Likewise.
8650 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8651 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8652 $(rtld-installed-name).
8653 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8654 (rtld_installed_name): Likwise.
8655 (runit): Remove function.
8656 (run_getconf): New variable, Use it for running getconf binary.
8658 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8661 * string/test-memmem.c (check_result): New function.
8662 (do_one_test): Use it.
8663 (check1): New function.
8664 (test_main): Use it.
8666 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8668 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8670 2012-10-18 Joseph Myers <joseph@codesourcery.com>
8672 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8673 (_G_LSEEK64): Likewise.
8674 (_G_MMAP64): Likewise.
8675 (_G_FSTAT64): Likewise.
8676 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8677 (_G_LSEEK64): Likewise.
8678 (_G_MMAP64): Likewise.
8679 (_G_FSTAT64): Likewise.
8680 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8681 unconditional. Call __mmap64 directly.
8682 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8683 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8685 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8686 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8688 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8689 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8691 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8692 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8694 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8695 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8697 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8698 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8699 __fxstat64 directly.
8700 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8701 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8703 (freopen64) [!_G_OPEN64]: Remove conditional code.
8704 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8706 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8707 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8709 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8710 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8712 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8713 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8715 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8716 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8718 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8719 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8721 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8722 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8724 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8726 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8729 * manual/memory.texi (Malloc Tunable Parameters): Add note
8730 about free list pointers overwriting some perturb bytes.
8731 Wording suggested by Roland McGrath.
8733 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8735 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8736 (lgamma_test): Likewise.
8737 (tgamma_test): Likewise.
8739 2012-10-16 Florian Weimer <fweimer@redhat.com>
8742 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8743 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8745 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8747 * NEWS: Mention BZ #14716.
8748 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8749 when removing AVAILABLE1_USES_J macro.
8751 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8753 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8754 (__bswap_64): __uint64_t for unsigned 64-bit int.
8756 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8758 * include/string.h (memmem): Declare libc hidden alias.
8759 * string/memmem.c (memmem): Define libc hidden alias.
8760 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8761 __read, __close instead of open, read, close.
8763 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8765 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8766 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8768 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8769 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8770 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8772 (__rawmemchr_sse2): Likewise.
8773 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8774 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8775 (__strchr_sse2): Likewise.
8776 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8777 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8778 (__strcasecmp_sse2): Likewise.
8779 (__strncasecmp_sse2): Likewise.
8780 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8781 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8782 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8783 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8784 (__strrchr_sse2): Likewise.
8785 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8787 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8788 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8789 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8790 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8791 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8792 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8793 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8794 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8795 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8796 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8797 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8798 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8799 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8800 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8801 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8802 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8803 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8804 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8805 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8806 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8807 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8808 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8809 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8810 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8811 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8812 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8813 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8814 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8815 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8816 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8818 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8820 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8821 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8822 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8823 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8825 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8827 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8828 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8829 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8830 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8832 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8833 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8834 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8835 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8836 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8837 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8838 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8839 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8840 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8841 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8842 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8843 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8844 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8845 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8846 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8847 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8848 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8849 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8850 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8851 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8852 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8853 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8854 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8855 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8856 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8857 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8858 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8859 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8860 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8861 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8862 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8863 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8864 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8865 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8866 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8867 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8868 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8869 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8870 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8871 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8872 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8874 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8875 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8876 * include/ifunc-impl-list.h: New file.
8877 * misc/ifunc-impl-list.c: Likewise.
8878 * misc/Makefile (routines): Add ifunc-impl-list.
8879 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8880 * string/test-string.h: Include <ifunc-impl-list.h>.
8881 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8882 impl_array): New variables.
8883 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8885 (test_init): Call __libc_ifunc_impl_list to initialize
8886 func_list if TEST_IFUNC and TEST_NAME are defined.
8888 * string/Makefile (strop-tests): Add bcopy and bzero.
8889 * string/test-bcopy.c: New file.
8890 * string/test-bzero.c: Likewise.
8891 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8893 * string/test-memset.c: Support bzero test if TEST_BZERO is
8895 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8897 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8899 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8902 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8904 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8905 * configure: Regenerated.
8907 * Makeconfig (+link-static-before-libc): Don't include
8908 $(link-static-libc).
8910 * libio/libio.h (_IO_pos_t): Remove.
8912 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8914 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8917 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8919 * crypt/crypt-entry.c: Include fips-private.h.
8920 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8921 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8922 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8923 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8925 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8927 * crypt/crypt-private.h: Include stdbool.h.
8928 (_ufc_setup_salt_r): Return bool.
8929 * crypt/crypt-entry.c: Include errno.h.
8930 (__crypt_r): Return NULL with EINVAL for bad salt.
8931 * crypt/crypt_util.c (bad_for_salt): New.
8932 (_ufc_setup_salt_r): Check that salt is long enough and within
8933 the specified alphabet.
8934 * crypt/badsalttest.c: New file.
8935 * crypt/Makefile (tests): Add it.
8936 ($(objpfx)badsalttest): New.
8938 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8940 * NEWS: Add entry for BZ #14602.
8942 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8944 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8946 * math/libm-test.inc: Update comment listing what functions and
8948 (isgreater_test): New function.
8949 (isgreaterequal_test): Likewise.
8950 (isless_test): Likewise.
8951 (islessequal_test): Likewise.
8952 (islessgreater_test): Likewise.
8953 (isunordered_test): Likewise.
8954 (main): Call the new functions.
8956 2012-10-09 Roland McGrath <roland@hack.frob.com>
8958 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8959 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8960 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8961 * sysdeps/i386/configure: Regenerated.
8962 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8963 * sysdeps/mach/configure: Regenerated.
8964 * sysdeps/mach/hurd/configure: Regenerated.
8965 * sysdeps/powerpc/configure: Regenerated.
8966 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8967 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8968 * sysdeps/s390/s390-32/configure: Regenerated.
8969 * sysdeps/s390/s390-64/configure: Regenerated.
8970 * sysdeps/sh/configure: Regenerated.
8971 * sysdeps/sparc/configure: Regenerated.
8972 * sysdeps/unix/sysv/linux/configure: Regenerated.
8973 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8974 * sysdeps/x86_64/configure: Regenerated.
8976 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8977 defined. Don't check if MAP is NULL.
8979 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8981 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8982 (_G_stat64): Likewise.
8983 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8984 (_G_stat64): Likewise.
8985 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8986 instead of struct _G_stat64.
8987 * libio/fileops.c (mmap_remap_check): Likewise.
8988 (decide_maybe_mmap): Likewise.
8989 (_IO_new_file_seekoff): Likewise.
8990 (_IO_file_stat): Likewise.
8991 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8993 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8994 instead of struct _G_stat64.
8995 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8997 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9000 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9002 (CHECK_EOL): New macro.
9003 (two_way_short_needle): Check beginning of haystack for EOL. Use
9005 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9006 Replace with CHECK_EOL.
9007 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9008 Replace with CHECK_EOL.
9010 2012-10-08 Joseph Myers <joseph@codesourcery.com>
9012 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9014 * math/libm-test.inc: Update comment listing what functions and
9016 (finite_test): New function.
9017 (isinf_test): Likewise.
9018 (isnan_test): Likewise.
9019 (fpclassify_test): Test subnormal input.
9020 (isfinite_test): Likewise.
9021 (isnormal_test): Likewise.
9022 (main): Call the new functions.
9024 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9027 * Makerules (%.dynsym): Force C locale when running
9028 $(OBJDUMP) --dynamic-syms.
9030 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9032 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9035 2012-10-06 David S. Miller <davem@davemloft.net>
9037 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9038 upper 32-bits of the length value in %o2 since we use branch-on-register
9039 tests which consider the entire 64-bit register.
9041 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9043 * string/test-strstr.c (check2): Add a test for page boundary.
9045 2012-10-05 David S. Miller <davem@davemloft.net>
9047 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9048 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9050 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9052 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9053 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9054 and bzero when HWCAP_SPARC_CRYPTO is present.
9056 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9059 * string/test-strstr.c (check2): New function.
9060 (test_main): Call check2.
9062 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9064 * string/bug-strcasestr1.c (do_test): Moved to ...
9065 * string/test-strcasestr.c (check1): Here. New function.
9066 (do_one_test): Break out result checking code into ...
9067 (check_result): This. New function.
9068 (do_one_test): Call check_result.
9069 (test_main): Call check1.
9070 * string/bug-strchr1.c (do_test): Moved to ...
9071 * string/test-strchr.c (check1): Here. New function.
9072 (do_one_test): Break out result checking code into ...
9073 (check_result): This. New function.
9074 (do_one_test): Call check_result.
9075 (test_main): Call check1.
9076 * string/bug-strstr1.c (main): Moved to ...
9077 * string/test-strstr.c (check1): Here. New function.
9078 (do_one_test): Break out result checking code into ...
9079 (check_result): This. New function.
9080 (do_one_test): Call check_result.
9081 (test_main): Call check1.
9082 * string/bug-strcasestr1.c: Removed.
9083 * string/bug-strchr1.c: Likewise.
9084 * string/bug-strstr1.c: Likewise.
9086 * elf/Makefile (dl-routines): Add hwcaps.
9087 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9088 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9089 (_dl_important_hwcaps): Moved to ...
9090 * elf/dl-hwcaps.c: Here. New file.
9091 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9094 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9095 if IS_IN_rtld isn't defined.
9097 * elf/dl-support.c (_dl_sysinfo_map): New.
9098 Include "get-dynamic-info.h" and "setup-vdso.h".
9099 (_dl_non_dynamic_init): Call setup_vdso.
9100 * elf/dynamic-link.h: Don't include <assert.h>.
9101 (elf_get_dynamic_info): Moved to ...
9102 * elf/get-dynamic-info.h: Here. New file.
9103 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9104 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9105 * elf/setup-vdso.h: Here. New file.
9106 * elf/rtld.c: Include "setup-vdso.h".
9107 (dl_main): Call setup_vdso.
9109 2012-10-05 Joseph Myers <joseph@codesourcery.com>
9111 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9112 creal in comment listing functions tested. List finite, isinf,
9113 isnan, isless, islessequal, isgreater, isgreaterequal,
9114 islessgreater, isunordered, lgamma_r and pow10 as functions and
9115 macros not tested. Mention which functions not tested are aliases
9116 for other functions. Fix typo. Note that signs of NaNs are not
9119 * scripts/config.guess: Update from config.git.
9120 * scripts/config.sub: Likewise.
9122 2012-10-04 Roland McGrath <roland@hack.frob.com>
9124 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9125 * misc/madvise.c (madvise): Renamed to __madvise.
9126 Make madvise a weak alias.
9127 * include/sys/mman.h: Declare __madvise.
9128 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9129 * sysdeps/unix/syscalls.list
9130 (madvise): Make __madvise the strong name, and madvise a weak alias.
9131 * sysdeps/unix/sysv/linux/syscalls.list
9132 (madvise, mmap): Remove redundant entries.
9133 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9134 * malloc/malloc.c (mtrim): Likewise.
9135 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9137 2012-10-03 Roland McGrath <roland@hack.frob.com>
9139 * sysdeps/mach/hurd/dl-cache.c: File removed.
9140 * config.h.in (USE_LDCONFIG): New #undef.
9141 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9142 * configure: Regenerated.
9143 * elf/Makefile (dl-routines): Add dl-cache only under
9144 [$(use-ldconfig) = yes].
9145 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9146 cache on [USE_LDCONFIG].
9147 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9149 * elf/rtld.c (dl_main): Likewise.
9151 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9153 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9154 _SC_LEVEL4_CACHE_LINESIZE.
9156 2012-10-03 Roland McGrath <roland@hack.frob.com>
9158 * sysdeps/unix/bsd/confstr.h: File removed.
9160 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
9162 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9165 2012-10-02 Roland McGrath <roland@hack.frob.com>
9167 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9168 Make 'mapoff' field ElfW(Off) rather than off_t.
9170 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9172 * nscd/Makefile: Remove nscd-cflags and all its users.
9173 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9174 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9177 * malloc.c (malloc_printerr): Clarify error message.
9179 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9183 Set bit_FMA_Usable if FMA is supported.
9184 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9186 (bit_FMA4_Usable): Updated.
9187 (index_FMA_Usable): New macro.
9188 (CPUID_FMA): Likewise
9189 (HAS_FMA): Defined with bit_FMA_Usable.
9191 2012-10-01 Roland McGrath <roland@hack.frob.com>
9193 * bits/types.h (__swblk_t): Type removed.
9194 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9195 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9196 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9197 (__SWBLK_T_TYPE): Likewise.
9198 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9199 (__SWBLK_T_TYPE): Likewise.
9200 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9201 (__SWBLK_T_TYPE): Likewise.
9202 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9203 (__SWBLK_T_TYPE): Likewise.
9205 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
9206 Honza Horak <hhorak@redhat.com>
9208 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9209 (xdr_mapname): Use YPMAXMAP as maxsize.
9210 (xdr_peername): Use YPMAXPEER as maxsize.
9211 (xdr_keydat): Use YPAXRECORD as maxsize.
9212 (xdr_valdat): Use YPMAXRECORD as maxsize.
9214 2012-10-01 Roland McGrath <roland@hack.frob.com>
9216 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9218 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9219 * csu/init-first.c: ... here.
9220 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9221 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9222 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9223 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9224 * sysdeps/i386/init-first.c: File removed.
9225 * sysdeps/sh/init-first.c: File removed.
9227 2012-10-01 Joseph Myers <joseph@codesourcery.com>
9230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9231 if x * y might underflow to zero and z is zero.
9232 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9233 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9234 * math/libm-test.inc (min_subnorm_value): New variable.
9235 (fma_test): Add more tests.
9236 (fma_test_towardzero): Likewise.
9237 (fma_test_downward): Likewise
9238 (fma_test_upward): Likewise.
9239 (initialize): Set min_subnorm_value.
9241 2012-09-29 Joseph Myers <joseph@codesourcery.com>
9244 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9246 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9247 mode for addition resulting in exact zero.
9248 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9249 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9251 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9252 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9253 * math/libm-test.inc (fma_test): Add more tests.
9254 (fma_test_towardzero): New function.
9255 (fma_test_downward): Likewise.
9256 (fma_test_upward): Likewise.
9257 (main): Call the new functions.
9259 2012-09-28 David S. Miller <davem@davemloft.net>
9261 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9263 2012-09-28 Roland McGrath <roland@hack.frob.com>
9265 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9268 * sysdeps/gnu/_G_config.h: Moved to ...
9269 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9270 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9271 * sysdeps/generic/_G_config.h: ... here.
9273 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9275 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9277 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9278 Conditionalize target on [libnss_test1.so-version].
9280 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9282 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9283 (elfobjdir): Move out of conditionals.
9285 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9286 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9287 (__nss_lookup_function): Conditionalize label remove_from_tree on
9288 [!DO_STATIC_NSS || SHARED], matching its only use.
9290 2012-09-28 David S. Miller <davem@davemloft.net>
9292 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9293 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9295 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9297 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9298 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9299 when HWCAP_SPARC_CRYPTO is present.
9301 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9303 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9305 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9308 * stdio-common/vfprintf.c (process_string_arg): Revert
9311 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9313 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9315 * stdio-common/tst-sprintf.c: Include <locale.h>
9316 (main): Test sprintf's handling of incomplete multibyte
9319 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9321 * elf/dl-runtime.c (VERSYMIDX): Removed.
9322 * elf/dl-version.c (VERSYMIDX): Likewise.
9323 * elf/do-rel.h (VERSYMIDX): Likewise.
9325 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9326 * elf/rtld.c (VALIDX): Likewise.
9327 (ADDRIDX): Likewise.
9328 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9329 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9330 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9331 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9333 (ADDRIDX): Likewise.
9335 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9337 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9339 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9342 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9344 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9345 addresses are in the same scope as 192.0.2/24.
9346 * posix/gai.conf: Document new scope table defaults.
9348 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9351 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9352 for ftell. Compute offsets from write pointers instead.
9353 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9355 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9358 * libio/Makefile (tests): New test case tst-fseek.
9359 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9360 combination works in wide mode.
9361 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9362 state when the external buffer state changes.
9364 2012-09-27 David S. Miller <davem@davemloft.net>
9367 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9368 pass reloc->r_addend in as the 'high' argument to
9369 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9373 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9375 * rt/tst-aio2.c: Include <pthread.h>.
9376 * rt/tst-aio3.c: Likewise.
9378 2012-09-27 Steve Ellcey <sellcey@mips.com>
9380 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9382 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9384 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9385 contents on [SHARED].
9387 2012-09-26 Marek Polacek <polacek@redhat.com>
9391 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9392 for C++ and GCC <4.3 as well as for non GCC compilers.
9394 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9398 2012-09-25 Roland McGrath <roland@hack.frob.com>
9400 * Makefile.in (all, install): Declare with .PHONY.
9401 Reported by Michael Hope <michael.hope@linaro.org>.
9403 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9405 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9406 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9408 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9410 (sydep_routines): Add the new and the internal functions.
9411 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9412 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9414 (GLIBC_2.17): Add the new function.
9415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9416 (GLIBC_2.17): Likewise.
9417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9418 (GLIBC_2.17): Likewise.
9419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9420 (GLIBC_2.17): Likewise.
9421 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9423 2012-09-25 Alan Modra <amodra@gmail.com>
9425 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9426 Add release barrier before setting once_control to say
9427 initialisation is done. Add hints on lwarx. Use macro in
9429 (clear_once_control): Add release barrier.
9431 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9434 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9436 * math/s_clog10.c (__clog10): Likewise.
9437 * math/s_clog10f.c (__clog10f): Likewise.
9438 * math/s_clog10l.c (__clog10l): Likewise.
9439 * math/s_clogf.c (__clogf): Likewise.
9440 * math/s_clogl.c (__clogl): Likewise.
9441 * math/Makefile (libm-calls): Add x2y2m1.
9442 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9443 (__x2y2m1): Likewise.
9444 (__x2y2m1l): Likewise.
9445 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9446 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9447 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9448 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9449 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9450 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9451 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9452 * sysdeps/i386/fpu/libm-test-ulps: Update.
9453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9456 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9457 int as type of variable DEPTH.
9458 (glob): Use size_t instead of int as type of variables NEWCOUNT
9461 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9463 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9465 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9466 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9467 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9468 macros for using routine as __sincosf_ia32.
9469 Use macro for function declaration and weak_alias.
9470 * sysdeps/i386/fpu/libm-test-ulps: Update.
9472 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9475 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
9477 * math/s_cexpf.c (__cexpf): Likewise.
9478 * math/s_csinf.c (__csinf): Likewise.
9479 * math/s_csinhf.c (__csinhf): Likewise.
9480 * math/s_ctanf.c (__ctanf): Likewise.
9481 * math/s_ctanhf.c (__ctanhf): Likewise.
9482 * math/s_ccosh.c (__ccoshf): Likewise.
9483 * math/s_cexp.c (__cexpl): Likewise.
9484 * math/s_csin.c (__csin): Likewise.
9485 * math/s_csinh.c (__csinh): Likewise.
9486 * math/s_ctan.c (__ctan): Likewise.
9487 * math/s_ctanh.c (ctanh): Likewise.
9488 * math/s_ccoshl.c (__ccoshl): Likewise.
9489 * math/s_cexpl.c (__cexpl): Likewise.
9490 * math/s_csinl.c (__csinl): Likewise.
9491 * math/s_csinhl.c (__csinhl): Likewise.
9492 * math/s_ctanl.c (__ctanl): Likewise.
9493 * math/s_ctanhl.c (__ctanhl): Likewise.
9495 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9497 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9498 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9499 (_IO_off_t): Define to __off_t, not _G_off_t.
9500 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9501 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9502 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9503 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9504 type of __dummy and __dummy2 fields.
9505 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9506 (_G_ssize_t): Likewise.
9507 (_G_off_t): Likewise.
9508 (_G_pid_t): Likewise.
9509 (_G_uid_t): Likewise.
9510 (_G_wchar_t): Likewise.
9511 (_G_wint_t): Likewise.
9512 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9513 (_G_ssize_t): Likewise.
9514 (_G_off_t): Likewise.
9515 (_G_pid_t): Likewise.
9516 (_G_uid_t): Likewise.
9517 (_G_wchar_t): Likewise.
9518 (_G_wint_t): Likewise.
9519 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9520 (_G_ssize_t): Likewise.
9521 (_G_off_t): Likewise.
9522 (_G_pid_t): Likewise.
9523 (_G_uid_t): Likewise.
9524 (_G_wchar_t): Likewise.
9525 (_G_wint_t): Likewise.
9527 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9529 * malloc/arena.c: Include malloc-sysdep.h.
9530 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9531 is sufficient to shrink the heap or an unmap is needed.
9532 * sysdeps/generic/malloc-sysdep.h: New file. Define
9533 new function check_may_shrink_heap.
9534 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9535 new function check_may_shrink_heap.
9537 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9539 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9542 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9544 * catgets/test-gencat.sh: Add "set -e".
9545 * elf/tst-pathopt.sh: Likewise.
9546 * grp/tst_fgetgrent.sh: Likewise.
9547 * iconvdata/run-iconv-test.sh: Likewise.
9548 * intl/tst-gettext.sh: Likewise.
9549 * intl/tst-gettext2.sh: Likewise.
9550 * intl/tst-gettext4.sh: Likewise.
9551 * intl/tst-gettext6.sh: Likewise.
9552 * intl/tst-translit.sh: Likewise.
9553 * io/ftwtest-sh: Likewise.
9554 * libio/test-freopen.sh: Likewise.
9555 * malloc/tst-mtrace.sh: Likewise.
9556 * posix/globtest.sh: Likewise.
9557 * posix/tst-getconf.sh: Likewise.
9558 * posix/wordexp-tst.sh: Likewise.
9559 * stdio-common/tst-printf.sh: Likewise.
9560 * stdio-common/tst-unbputc.sh: Likewise.
9561 * stdlib/tst-fmtmsg.sh: Likewise.
9562 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9563 * catgets/Makefile: Do not specify -e option when running
9564 testsuite shell scripts.
9565 * elf/Makefile: Likewise.
9566 * grp/Makefile: Likewise.
9567 * iconvdata/Makefile: Likewise.
9568 * intl/Makefile: Likewise.
9569 * io/Makefile: Likewise.
9570 * libio/Makefile: Likewise.
9571 * malloc/Makefile: Likewise.
9572 * posix/Makefile: Likewise.
9573 * stdio-common/Makefile: Likewise.
9574 * stdlib/Makefile: Likewise.
9575 * sysdeps/x86_64/Makefile: Likewise.
9577 * io/ftwtest-sh: Add copyright header.
9578 * posix/globtest.sh: Likewise.
9579 * posix/tst-getconf.sh: Likewise.
9580 * posix/wordexp-tst.sh: Likewise.
9581 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9583 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9586 * Makeconfig (+link): Defined as $(+link-static) if
9587 $(build-shared) isn't yes.
9588 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9590 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9592 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9595 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9596 new chunk size with MALLOC_ALIGN_MASK.
9598 2012-09-24 Joseph Myers <joseph@codesourcery.com>
9601 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9603 (__printf_fphex): Determine rounding using get_rounding_mode and
9605 * stdio-common/tst-printf-round.c (struct hex_test): New
9607 (hex_tests): New variable.
9608 (test_hex_in_one_mode): New function.
9609 (do_test): Also run tests for hex float output.
9611 2012-09-21 Joseph Myers <joseph@codesourcery.com>
9613 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9614 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9615 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9616 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9617 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9618 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9619 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9620 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9622 2012-09-20 Joseph Myers <joseph@codesourcery.com>
9624 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9625 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9626 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9627 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9629 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9632 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9634 * elf/tst-rtld-load-self.sh: New test.
9635 * elf/Makefile: Run it.
9637 2012-09-18 Joseph Myers <joseph@codesourcery.com>
9639 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9640 (tst-writev-ENV): Remove.
9641 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9643 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9645 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9647 2012-09-17 Joseph Myers <joseph@codesourcery.com>
9649 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9651 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9653 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9654 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9655 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9658 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9661 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9662 * config.make.in (have-cpp-asm-debuginfo): Removed.
9663 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9664 * configure: Regenerated.
9666 2012-09-14 Joseph Myers <joseph@codesourcery.com>
9669 * stdio-common/printf_fp.c: Include <stdbool.h> and
9671 (___printf_fp): Determine rounding using get_rounding_mode and
9673 * stdio-common/tst-printf-round.c: New file.
9674 * stdio-common/Makefile (tests): Add tst-printf-round.
9675 (link-libm): New variable.
9676 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9678 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9681 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9682 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9684 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9687 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9689 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9690 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9691 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9692 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9694 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9697 * include/rounding-mode.h: New file.
9698 * sysdeps/generic/get-rounding-mode.h: Likewise.
9699 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9700 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9701 (MAX_VALUE): New macro.
9702 (MIN_VALUE): Likewise.
9703 (overflow_value): New function.
9704 (underflow_value): Likewise.
9705 (round_and_return): Use overflow_value and underflow_value to
9706 determine return values in overflow and underflow cases. Use
9707 round_away to determine rounding depending on rounding mode.
9708 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9709 determine return values in overflow and underflow cases.
9710 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9711 (struct test_results): New structure.
9712 (struct test): Use struct test_results to store expected results
9713 for all rounding modes.
9714 (TEST): Include expected results for all rounding modes.
9715 (test_in_one_mode): New function.
9716 (do_test): Use test_in_one_mode to compute and check results.
9717 Check results for all rounding modes.
9718 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9721 2012-12-09 Allan McRae <allan@archlinux.org>
9723 * sysdeps/i386/fpu/libm-test-ulps: Update
9725 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9727 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9728 (_G_int32_t): Likewise.
9729 (_G_uint16_t): Likewise.
9730 (_G_uint32_t): Likewise.
9731 (_G_HAVE_BOOL): Likewise.
9732 (_G_HAVE_ATEXIT): Likewise.
9733 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9734 (_G_HAVE_IO_FILE_OPEN): Likewise.
9735 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9736 (_G_int32_t): Likewise.
9737 (_G_uint16_t): Likewise.
9738 (_G_uint32_t): Likewise.
9739 (_G_HAVE_BOOL): Likewise.
9740 (_G_HAVE_ATEXIT): Likewise.
9741 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9742 (_G_HAVE_IO_FILE_OPEN): Likewise.
9743 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9744 (_G_int32_t): Likewise.
9745 (_G_uint16_t): Likewise.
9746 (_G_uint32_t): Likewise.
9747 (_G_HAVE_BOOL): Likewise.
9748 (_G_HAVE_ATEXIT): Likewise.
9749 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9750 (_G_HAVE_IO_FILE_OPEN): Likewise.
9752 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9754 * csu/libc-tls.c: Update copyright years.
9756 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9758 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9759 [!_G_USING_THUNKS]: Remove conditional code.
9760 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9761 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9763 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9764 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9765 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9766 (_G_VTABLE_LABEL_PREFIX): Likewise.
9767 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9768 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9769 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9770 (_G_VTABLE_LABEL_PREFIX): Likewise.
9771 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9772 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9773 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9774 (_G_VTABLE_LABEL_PREFIX): Likewise.
9775 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9777 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9779 * libio/Makefile: Include ../Makeconfig before tests.
9780 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9781 only if $(build-shared) is yes.
9783 * iconv/gconv_db.c: Update copyright years.
9785 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9787 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9788 unwind info if defined PIC. Fix special cases description.
9789 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9791 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9793 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9795 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9797 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9799 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9802 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9803 (LDLIBS-tst-chk4): This.
9804 (LDFLAGS-tst-chk5): Renamed to ...
9805 (LDLIBS-tst-chk5): This.
9806 (LDFLAGS-tst-chk6): Renamed to ...
9807 (LDLIBS-tst-chk6): This.
9808 (LDFLAGS-tst-lfschk4): Renamed to ...
9809 (LDLIBS-tst-lfschk4): This.
9810 (LDFLAGS-tst-lfschk5): Renamed to ...
9811 (LDLIBS-tst-lfschk5): This.
9812 (LDFLAGS-tst-lfschk6): Renamed to ...
9813 (LDLIBS-tst-lfschk6): This.
9815 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9816 on $(common-objpfx)soversions.mk.
9818 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9821 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9824 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9826 * malloc/arena.c (arena_get_retry): New function that gets
9827 another arena for the caller to try its request on.
9828 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9829 current arena cannot fulfill the request.
9830 (__libc_memalign): Likewise.
9831 (__libc_memalign): Likewise.
9832 (__libc_pvalloc): Likewise.
9833 (__libc_calloc): Likewise.
9835 2012-09-05 John Tobey <john.tobey@gmail.com>
9838 * manual/arith.texi (Operations on Complex): Fix description
9841 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9844 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9848 * manual/memory.texi (Memory): Make order of menu items match
9851 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9853 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9854 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9855 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9857 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9859 * csu/libc-tls.c (static_dtv): Renamed to ...
9860 (_dl_static_dtv): This. Make it global.
9861 (_dl_initial_dtv): Removed.
9862 (__libc_setup_tls): Updated.
9863 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9864 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9867 2012-09-06 Petr Machata <pmachata@redhat.com>
9869 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9870 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9871 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9872 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9874 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9877 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9878 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9881 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9884 * Makeconfig (link-static-before-libc): Replace $(+prector)
9886 (link-static-after-libc): Replace $(+postctor) with
9888 (link-bounded): Replace $(+prector)/$(+postctor) with
9889 $(+prectorT)/$(+postctorT).
9890 (+prectorT): New macro.
9891 (+postctorT): Likewise.
9893 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9895 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9896 (round_str): Handle values above the maximum for IBM long double
9898 * stdlib/tst-strtod-round.c (tests): Regenerated.
9900 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9902 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9904 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9905 zarch_nohighgprs around the zarch optimized routines.
9906 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9907 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9908 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9911 2012-09-05 David S. Miller <davem@davemloft.net>
9913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9915 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9916 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9917 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9918 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9921 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9923 * malloc/arena.c: Fold copyright years.
9924 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9926 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9928 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9930 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9932 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9934 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9936 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9937 change internal state upon failure.
9939 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9941 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9942 * malloc/memusage.c (mmap): Likewise.
9943 (mmap64, mremap): Likewise. Adjust name in comment.
9945 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9947 * libio/fileops.c: Fix typos in comments.
9948 * libio/oldfileops.c: Likewise.
9949 * libio/wfileops.c: Likewise.
9951 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9954 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9955 (tst-malloc-usable-ENV): Set environment for test case.
9956 * malloc/hooks.c (malloc_check_get_size): New function to get
9958 * malloc/malloc.c (musable): Use malloc_check_get_size.
9959 * malloc/tst-malloc-usable.c: New test case.
9961 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9963 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9965 2012-09-05 Allan McRae <allan@archlinux.org>
9968 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9969 determine header location.
9970 * configure: Regenerated.
9972 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9974 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9976 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9977 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9981 2012-09-04 David S. Miller <davem@davemloft.net>
9983 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9984 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9985 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9987 2012-09-04 Florian Weimer <fweimer@redhat.com>
9989 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9992 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9994 2012-09-04 Joseph Myers <joseph@codesourcery.com>
9997 * libio/iogetdelim.c: Include <limits.h>.
9998 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9999 + len + 1 would overflow.
10001 2012-09-03 Andreas Jaeger <aj@suse.de>
10003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10004 * sysdeps/i386/fpu/libm-test-ulps: Update.
10006 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10008 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10009 Add s_sinf-sse2, s_conf-sse2.
10011 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10012 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10013 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10014 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10016 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10017 for using routine as __sinf_ia32.
10018 Use macro for function declaration and weak_alias.
10019 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10020 for using routine as __cosf_ia32.
10021 Use macro for function declaration and weak_alias.
10023 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10024 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10026 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10027 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10030 * math/libm-test.inc (cos_test): Add more test cases.
10031 (sin_test): Likewise.
10032 (sincos_test): Likewise.
10034 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10036 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10037 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10039 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10041 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10044 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10045 first element of the GOT.
10046 (elf_machine_load_address): Return the difference between
10047 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10049 2012-09-01 Allan McRae <allan@archlinux.org>
10052 * configure.in (AWK): Require gawk version 3.0 or later.
10053 * configure: Regenerated.
10055 2012-09-01 Joseph Myers <joseph@codesourcery.com>
10057 * sysdeps/unix/sysv/linux/kernel-features.h
10058 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10059 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10060 [__NR_clock_getres]: Make code unconditional.
10061 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10062 (clock_getcpuclockid): Remove code left unreachable by removal of
10064 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10065 code unconditional.
10066 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10067 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10068 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10069 Make code unconditional.
10070 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10071 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10072 * sysdeps/unix/sysv/linux/clock_settime.c
10073 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10075 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10076 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10078 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10081 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10082 scripts/test-installation.pl.
10084 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10085 and $ld_so_version if it is set.
10087 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10090 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10091 failure if reading from procfs failed.
10092 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10094 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10096 * sysdeps/unix/sysv/linux/kernel-features.h
10097 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10098 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10099 Remove conditional code.
10100 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10101 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10102 Remove conditional code.
10103 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10104 * sysdeps/unix/sysv/linux/i386/fxstat.c
10105 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10106 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10107 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10108 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10109 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10110 * sysdeps/unix/sysv/linux/i386/lxstat.c
10111 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10112 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10113 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10114 Remove conditional code.
10115 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10116 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10117 Remove conditional code.
10118 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10119 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10120 <kernel-features.h>.
10121 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10123 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10124 Remove conditional code.
10125 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10126 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10127 Remove conditional.
10129 2012-08-27 Mike Frysinger <vapier@gentoo.org>
10132 * NEWS: Add fixed bug number.
10134 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10137 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10138 underflowing exponent in case of negative sign.
10139 * stdlib/tst-strtod-round-data: Add more tests.
10140 * stdlib/tst-strtod-round.c (tests): Regenerated.
10143 * stdlib/strtod_l.c (NDIG): Remove.
10144 (HEXNDIG): Likewise.
10145 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10146 smallest representable value.
10147 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10148 lie within an exact representation of 1/2 ulp of the result.
10149 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10151 (TENS_P9_IDX): Define unconditionally.
10152 (TENS_P9_SIZE): Likewise.
10153 (TENS_P10_IDX): Likewise.
10154 (TENS_P10_SIZE): Likewise.
10155 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10156 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10157 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10158 entries for 10^2^13 and 10^2^14.
10159 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10160 (TENS_P13_IDX): Define.
10161 (TENS_P13_SIZE): Likewise.
10162 (TENS_P14_IDX): Likewise.
10163 (TENS_P14_SIZE): Likewise.
10164 (_fpioconst_pow10): Change array size to
10165 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10167 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10168 1024]: Add entries for 10^2^13 and 10^2^14.
10169 [LAST_POW10 > _LAST_POW10]: Remove #error.
10170 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10171 (_fpioconst_pow10): Change array size to
10172 FPIOCONST_POW10_ARRAY_SIZE.
10173 * stdlib/gen-fpioconst.c: New file.
10174 * stdlib/gen-tst-strtod-round.c: Likewise.
10175 * stdlib/tst-strtod-round-data: Likewise.
10176 * stdlib/tst-strtod-round.c: Likewise.
10177 * stdlib/Makefile (tests): Add tst-strtod-round.
10180 * stdlib/strtod_l.c: Include <stdint.h>.
10181 (NDEBUG): Do not define.
10182 (round_and_return): Change EXPONENT parameter to type intmax_t.
10183 Rearrange calculations to avoid internal overflow possibilities.
10184 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10185 Rearrange calculations to avoid internal overflow possibilities.
10186 Assert that number fits inside MPNSIZE limbs.
10187 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10188 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10189 calculations and add assertions to avoid internal overflow
10190 possibilities. Add casts to avoid signed/unsigned operations.
10191 * stdlib/tst-strtod-overflow.c: New file.
10192 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10194 2012-08-25 Marek Polacek <polacek@redhat.com>
10196 * time/time.h: Fix some typos in comments.
10198 2012-08-23 Roland McGrath <roland@hack.frob.com>
10200 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10201 * posix/tst-rfc3484-2.c: Likewise.
10202 * posix/tst-rfc3484-3.c: Likewise.
10204 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10206 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10207 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10209 2012-08-23 Joseph Myers <joseph@codesourcery.com>
10211 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10212 #include of fxstatat64.c.
10214 2012-08-22 Roland McGrath <roland@hack.frob.com>
10216 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10217 * shadow/getspent_r.c: Likewise.
10218 * shadow/getspnam.c: Likewise.
10219 * shadow/getspnam_r.c: Likewise.
10220 * gshadow/getsgent.c: Likewise.
10221 * gshadow/getsgent_r.c: Likewise.
10222 * gshadow/getsgnam.c: Likewise.
10223 * gshadow/getsgnam_r.c: Likewise.
10224 * inet/getnetbyad.c: Likewise.
10225 * inet/getnetbyad_r.c: Likewise.
10226 * inet/getnetbynm.c: Likewise.
10227 * inet/getnetbynm_r.c: Likewise.
10228 * inet/getnetent.c: Likewise.
10229 * inet/getnetent_r.c: Likewise.
10230 * inet/getproto.c: Likewise.
10231 * inet/getproto_r.c: Likewise.
10232 * inet/getprtent.c: Likewise.
10233 * inet/getprtent_r.c: Likewise.
10234 * inet/getprtname.c: Likewise.
10235 * inet/getprtname_r.c: Likewise.
10236 * inet/getrpcbyname.c: Likewise.
10237 * inet/getrpcbyname_r.c: Likewise.
10238 * inet/getrpcbynumber.c: Likewise.
10239 * inet/getrpcbynumber_r.c: Likewise.
10240 * inet/getrpcent.c: Likewise.
10241 * inet/getrpcent_r.c: Likewise.
10242 * inet/getaliasent.c: Likewise.
10243 * inet/getaliasent_r.c: Likewise.
10244 * inet/getaliasname.c: Likewise.
10245 * inet/getaliasname_r.c: Likewise.
10246 * nscd/getgrgid_r.c: Likewise.
10247 * nscd/getgrnam_r.c: Likewise.
10248 * nscd/gethstbyad_r.c: Likewise.
10249 * nscd/gethstbynm3_r.c: Likewise.
10250 * nscd/getpwnam_r.c: Likewise.
10251 * nscd/getpwuid_r.c: Likewise.
10252 * nscd/getsrvbynm_r.c: Likewise.
10253 * nscd/getsrvbypt_r.c: Likewise.
10254 * nscd/gai.c: Likewise.
10256 * configure.in (build_nscd): New substituted variable, set
10257 by --disable-build-nscd and defaults to $use_nscd.
10258 * configure: Regenerated.
10259 * config.make.in (build-nscd): New substituted variable.
10260 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10261 Change conditional to require [$(build-nscd) = yes] as well.
10262 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10265 * configure.in (use_nscd): New substituted variable, set by
10266 --disable-nscd. If enabled, define USE_NSCD.
10267 * configure: Regenerated.
10268 * config.h.in: Add USE_NSCD.
10269 * config.make.in (use-nscd): New substituted variable.
10270 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10271 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10272 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10273 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10274 (CFLAGS-getgrnam_r.c): Likewise.
10275 (CFLAGS-initgroups.c): Likewise.
10276 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10277 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10279 * inet/getnetgrent_r.c
10280 (nscd_setnetgrent): New function, broken out of ...
10281 (setnetgrent): ... here. Call it.
10282 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10283 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10284 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10285 * nscd/Makefile (routines, aux): Move definitions after include of
10286 Makeconfig. Conditionalize on [$(use-nscd) != no].
10287 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10288 Conditionalize on [USE_NSCD].
10289 (is_nscd, nscd_init_cb): Likewise.
10290 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10291 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10292 * nss/nss_db/db-init.c: Likewise.
10293 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10295 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10296 (make_request): Use it.
10297 (cache_valid_p): New function.
10298 (__check_pf): Use it.
10299 * NEWS: Add item for --disable-nscd.
10301 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10303 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10304 to support sed >= 4.2.1-20-ga9bf076.
10305 * configure: Regenerated.
10307 2012-08-22 Roland McGrath <roland@hack.frob.com>
10309 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10310 Conditionalize whole body on [IREL].
10312 2012-08-22 Jeff Law <law@redhat.com>
10315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10316 if the family is PF_UNSPEC.
10318 2012-08-22 Mike Frysinger <vapier@gentoo.org>
10320 * Makerules (lib-version): Rename from V.
10321 (install-lib-nosubdir): Change V to lib-version.
10323 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10326 * powerpc32/power6/wcschr.c: New file.
10327 * powerpc32/power6/wcscpy.c: New file.
10328 * powerpc32/power6/wcsrchr.c: New file.
10329 * powerpc64/power6/wcschr.c: New file.
10330 * powerpc64/power6/wcscpy.c: New file.
10331 * powerpc64/power6/wcsrchr.c: New file.
10333 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10335 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10336 (two_way_short_needle): Use it.
10337 * string/strstr.c (AVAILABLE1_USES_J): Define.
10338 * string/strcasestr.c: Likewise.
10340 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10342 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10345 * NEWS: Add an entry.
10346 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10347 define their defaults.
10348 (two_way_short_needle): Detect end-of-string on-the-fly.
10349 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10350 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10351 * string/bug-strcasestr1.c: New test.
10352 * string/Makefile: Run it.
10354 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10357 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10358 the first character.
10360 2012-08-21 Roland McGrath <roland@hack.frob.com>
10362 * csu/elf-init.c (__libc_csu_irel): Function removed.
10363 * csu/libc-start.c (apply_irel): New function.
10364 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10366 2012-08-21 Joseph Myers <joseph@codesourcery.com>
10368 * sysdeps/unix/sysv/linux/kernel-features.h
10369 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10370 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10371 <kernel-features.h>.
10372 [__NR_fadvise64_64]: Make code unconditional.
10373 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10374 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10375 !__NR_fadvise64_64)]: Likewise.
10376 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10377 !__NR_fadvise64_64))]: Likewise.
10378 [__NR_fadvise64]: Make code unconditional.
10379 [!__NR_fadvise64]: Remove conditional code.
10380 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10381 <kernel-features.h>.
10382 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10384 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10387 not include <kernel-features.h>.
10388 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10390 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10392 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10393 include <kernel-features.h>.
10394 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10396 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10399 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10401 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10402 slight instruction rearrangements per scrollpipe analysis.
10403 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10405 2012-08-20 Roland McGrath <roland@hack.frob.com>
10407 * manual/syslog.texi (syslog; vsyslog, closelog):
10408 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10409 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10411 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10412 DSOCAPS to match condition on defining it.
10414 2012-08-20 Joseph Myers <joseph@codesourcery.com>
10416 * sysdeps/unix/sysv/linux/kernel-features.h
10417 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10419 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10420 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10422 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10423 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10425 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10426 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10428 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10429 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10431 * sysdeps/unix/sysv/linux/kernel-features.h
10432 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10433 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10435 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10436 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10437 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10438 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10439 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10440 Make code unconditional.
10441 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10442 (__mmap64) [!__NR_mmap2]: Likewise.
10443 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10444 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10445 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10446 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10447 [__NR_mmap2]: Make code unconditional.
10448 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10449 (__mmap64) [!__NR_mmap2]: Likewise.
10451 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10453 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10455 2012-08-18 Andreas Jaeger <aj@suse.de>
10457 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10459 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10461 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10462 * include/unistd.h (__have_sock_cloexec): Likewise.
10463 (__have_pipe2): Likewise.
10464 (__have_dup3): Likewise.
10466 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10469 * include/unistd.h (__have_pipe2): Change define into an extern int.
10470 (__have_dup3): Likewise.
10471 * socket/have_sock_cloexec.c: Include fcntl.h.
10472 (__have_pipe2): New variable.
10473 (__have_dup3): Likewise.
10475 2012-08-17 Mike Frysinger <vapier@gentoo.org>
10477 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10479 2012-08-17 Marek Polacek <polacek@redhat.com>
10481 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10482 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10484 2012-08-17 Roland McGrath <roland@hack.frob.com>
10486 * configure.in: Add AC_SUBST for sysheaders.
10487 * configure: Regenerated.
10488 * config.make.in (sysheaders): New substituted variable.
10490 * sysdeps/unix/mkfifo.c: Moved ...
10491 * sysdeps/posix/mkfifo.c: ... here.
10492 * sysdeps/unix/mkfifoat.c: Moved ...
10493 * sysdeps/posix/mkfifoat.c: ... here.
10495 * sysdeps/unix/utime.c: Moved ...
10496 * sysdeps/posix/utime.c: ... here.
10498 * sysdeps/unix/time.c: Moved ...
10499 * sysdeps/posix/time.c: ... here.
10500 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10501 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
10503 * sysdeps/unix/nice.c: Moved ...
10504 * sysdeps/posix/nice.c: ... here.
10506 * sysdeps/unix/alarm.c: Moved ...
10507 * sysdeps/posix/alarm.c: ... here.
10509 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10511 2012-08-17 Jeff Law <law@redhat.com>
10513 * intl/Makefile (codeset_mo): New variable.
10514 ($(codeset_mo)): New target.
10515 (tst-codeset.out): Depend on that. Remove explicit rule.
10516 (tst-gettext3.out, tst-gettext5.out): Likewise.
10517 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10518 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10519 * intl/tst-codeset.sh: Remove.
10520 * intl/tst-gettext3.sh: Likewise.
10521 * intl/tst-gettext5.sh: Likewise.
10523 2012-08-17 Roland McGrath <roland@hack.frob.com>
10525 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10526 * sysdeps/unix/syscalls.list: ... here.
10528 * sysdeps/posix/getaddrinfo.c
10529 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10530 (gaiconf_init, gaiconf_reload): Use them.
10531 [!_STATBUF_ST_NSEC]
10532 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10533 Define using time_t rather than struct timespec.
10535 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10536 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10538 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10540 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10541 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10544 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10545 __libc_cleanup_push argument.
10547 * bits/param.h: New file.
10548 * misc/sys/param.h: New file.
10549 * include/sys/param.h: New file.
10550 * misc/Makefile (headers): Add bits/param.h.
10551 * sysdeps/generic/sys/param.h: File removed.
10552 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10553 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10554 * sysdeps/mach/hurd/bits/param.h: New file.
10555 * sysdeps/mach/hurd/sys/param.h: File removed.
10557 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10560 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10562 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10563 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10566 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10567 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10568 rather than -D_IO_MTSAFE_IO conditionally.
10569 * stdio-common/Makefile (CPPFLAGS): Likewise.
10570 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10571 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10572 Use $(libio-mtsafe).
10573 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10574 of -D_IO_MTSAFE_IO.
10575 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10576 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10577 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10578 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10579 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10580 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10581 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10582 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10583 (CFLAGS-fread_u_chk.c): Likewise.
10584 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10585 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10586 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10587 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10588 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10589 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10590 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10591 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10592 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10594 * libio/Makefile: Test [$(libc-reentrant) = yes]
10595 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10598 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10599 * sysdeps/pthread/configure: File removed.
10600 * sysdeps/pthread/Makeconfig: New file.
10601 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10602 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10604 2012-08-16 Gary Benson <gbenson@redhat.com>
10606 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10607 unmapping the first object in a namespace.
10609 2012-08-16 Roland McGrath <roland@hack.frob.com>
10611 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10612 (__internal_setnetgrent): ... this. Add internal_function to
10613 definition. Add libc_hidden_def.
10614 (setnetgrent): Update caller.
10615 (internal_endnetgrent): Renamed to ...
10616 (__internal_endnetgrent): ... this. Add internal_function to
10617 definition. Add libc_hidden_def.
10618 (endnetgrent): Update caller.
10619 (internal_getnetgrent_r): Renamed to ...
10620 (__internal_getnetgrent_r): ... this. Add internal_function to
10621 definition. Add libc_hidden_def.
10622 (__getnetgrent_r): Update caller.
10623 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10625 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10627 * stdlib/longlong.h: Update from GCC.
10629 2012-08-16 Roland McGrath <roland@hack.frob.com>
10631 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10632 on _QL, which is set by umul_ppmm but never used.
10633 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10634 variables, which are set by GMP macros but never used.
10635 * stdio-common/_itowa.c (_itowa): Likewise.
10636 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10637 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10639 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10641 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10642 struct La_sh_regs is not constant.
10643 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10644 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10645 and struct La_sparc64_regs are not constant.
10647 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10649 * sysdeps/unix/sysv/linux/kernel-features.h
10650 (__ASSUME_POSIX_TIMERS): Remove.
10651 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10652 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10653 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10654 Make code unconditional.
10655 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10656 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10657 Make code unconditional.
10658 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10659 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10660 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10661 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10662 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10663 Make code unconditional.
10664 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10665 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10666 (__libc_missing_posix_timers): Remove.
10668 2012-08-15 Roland McGrath <roland@hack.frob.com>
10670 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10671 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10673 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10675 * elf/dl-sym.c: Include <stdlib.h>.
10677 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10678 constants, which avoids warnings in 32-bit builds.
10680 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10681 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10683 * misc/lseek.c: File moved to ...
10684 * io/lseek.c: ... here.
10686 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10688 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10689 shifting LEN more than 31 bits at once.
10691 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10694 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10695 segmentation fault for a case of two empty input strings.
10696 * string/test-strncasecmp.c (check1): Renamed to...
10697 (bz12205): ...this.
10698 (bz14195): Add new testcase for two empty input strings and N > 0.
10699 (test_main): Call new testcase, adapt for renamed function.
10701 2012-08-15 Andreas Jaeger <aj@suse.de>
10704 * crypt/md5test2.c: New test, based on test supplied by Serge
10705 Belyshev <belyshev@depni.sinp.msu.ru>.
10706 * crypt/Makefile (xtests): Add md5test-giant..
10707 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10709 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10712 * crypt/md5.c (md5_process_block): Don't assume the buffer
10713 length is less than 2**32.
10714 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10715 length is less than 2**64.
10717 2012-08-15 Roland McGrath <roland@hack.frob.com>
10719 * string/str-two-way.h: Include <sys/param.h>.
10720 (MAX): Macro removed.
10722 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10723 Move #define and #undef of memmove to just before and after
10724 including <string.h>.
10726 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10727 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10728 and after including <string.h>. Move declarations of
10729 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10730 to before #include "string/memmove.c".
10732 * include/dirent.h: Declare __getdirentries.
10734 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10735 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10737 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10739 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10740 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10741 * sysdeps/i386/configure: Regenerated.
10742 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10743 STABS_CURRENT_FILE, and STABS_FUN.
10744 (END): Remove call to STABS_FUN_END.
10745 (STABS_CURRENT_FILE1): Delete.
10746 (STABS_CURRENT_FILE): Likewise.
10747 (STABS_FUN): Likewise.
10748 (STABS_FUN_END): Likewise.
10749 (STABS_FUN2): Likewise.
10750 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10751 * sysdeps/x86_64/configure: Regenerated.
10753 2012-08-14 Roland McGrath <roland@hack.frob.com>
10755 * elf/dl-open.c: Include <atomic.h>.
10756 * elf/dl-lookup.c: Likewise.
10758 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10760 * sysdeps/unix/sysv/linux/kernel-features.h
10761 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10762 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10764 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10766 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10767 condition on __ASSUME_CLONE_THREAD_FLAGS.
10769 2012-08-14 Andreas Jaeger <aj@suse.de>
10771 * sysdeps/i386/fpu/libm-test-ulps: Update.
10773 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10775 * include/atomic.h (atomic_exchange_and_add): Split into ...
10776 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10779 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10783 2012-08-13 Jeff Law <law@redhat.com>
10785 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10786 null byte in the output string.
10788 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10790 * sysdeps/unix/sysv/linux/kernel-features.h
10791 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10792 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10793 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10794 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10795 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10796 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10797 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10799 2012-08-09 Jeff Law <law@redhat.com>
10802 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10803 When avoid_arena is set, don't retry in the that arena. Pick the
10804 next one, whatever it might be.
10805 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10806 (arena_lock): Pass in new parameter to arena_get2.
10807 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10809 (__libc_malloc): Unify retrying after main arena failure with
10810 __libc_memalign version.
10811 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10813 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10816 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10817 to __redirect_strstr.
10818 (__strstr_sse42): Use typeof __redirect_strstr.
10819 (__strstr_ia32): Likewise.
10820 (__libc_strstr): New prototype.
10821 (strstr): Renamed to ...
10822 (__libc_strstr): This.
10823 (strstr): New strong alias of __libc_strstr.
10824 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10825 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10828 (__libc_time): New prototype.
10829 (time_ifunc): Replace time with __libc_time.
10830 (time): New strong alias and hidden definition of __libc_time.
10831 (__GI_time): Remove strong alias.
10832 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10833 Include <stddef.h>.
10834 (memmove): Redefined to __redirect_memmove.
10835 (__memmove_sse2): Use typeof __redirect_memmove.
10836 (__memmove_ssse3): Likewise.
10837 (__memmove_ssse3_back): Likewise.
10838 (__libc_memmove): New prototype.
10839 (memmove): Renamed to ...
10840 (__libc_memmove): This.
10841 (memmove): New strong alias of __libc_memmove.
10843 2012-08-08 Mark Salter <msalter@redhat.com>
10846 (R_MN10300_TLS_GD): Define.
10847 (R_MN10300_TLS_LD): Likewise.
10848 (R_MN10300_TLS_LDO): Likewise.
10849 (R_MN10300_TLS_GOTIE): Likewise.
10850 (R_MN10300_TLS_IE): Likewise.
10851 (R_MN10300_TLS_LE): Likewise.
10852 (R_MN10300_TLS_DTPMOD): Likewise.
10853 (R_MN10300_TLS_DTPOFF): Likewise.
10854 (R_MN10300_TLS_TPOFF): Likewise.
10855 (R_MN10300_SYM_DIFF): Likewise.
10856 (R_MN10300_ALIGN): Likewise.
10857 (R_MN10300_NUM): Update.
10859 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10861 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10864 2012-08-08 Roland McGrath <roland@hack.frob.com>
10866 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10868 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10869 sysdeps/unix -> sysdeps/posix move.
10870 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10872 2012-08-07 Allan McRae <allan@archlinux.org>
10875 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10876 (SUNOS_CPP): Likewise.
10877 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10879 (open_input): Call CPP using execvp.
10881 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10883 * sysdeps/unix/sysv/linux/kernel-features.h
10884 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10885 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10886 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10887 (__ASSUME_WAITID_SYSCALL): Likewise.
10888 * sysdeps/unix/sysv/linux/dl-execstack.c
10889 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10890 code unconditional.
10891 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10893 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10894 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10895 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10897 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10899 [__ASSUME_WAITID_SYSCALL]: Likewise.
10900 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10902 2012-08-07 Roland McGrath <roland@hack.frob.com>
10904 * sysdeps/unix/closedir.c: Renamed to ...
10905 * sysdeps/posix/closedir.c: ... here.
10906 * sysdeps/unix/dirfd.c: Renamed to ...
10907 * sysdeps/posix/dirfd.c: ... here.
10908 * sysdeps/unix/dirstream.h: Renamed to ...
10909 * sysdeps/posix/dirstream.h: ... here.
10910 * sysdeps/unix/fdopendir.c: Renamed to ...
10911 * sysdeps/posix/fdopendir.c: ... here.
10912 * sysdeps/unix/opendir.c: Renamed to ...
10913 * sysdeps/posix/opendir.c: ... here.
10914 * sysdeps/unix/readdir.c: Renamed to ...
10915 * sysdeps/posix/readdir.c: ... here.
10916 * sysdeps/unix/readdir_r.c: Renamed to ...
10917 * sysdeps/posix/readdir_r.c: ... here.
10918 * sysdeps/unix/rewinddir.c: Renamed to ...
10919 * sysdeps/posix/rewinddir.c: ... here.
10920 * sysdeps/unix/seekdir.c: Renamed to ...
10921 * sysdeps/posix/seekdir.c: ... here.
10922 * sysdeps/unix/telldir.c: Renamed to ...
10923 * sysdeps/posix/telldir.c: ... here.
10924 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10925 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10926 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10927 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10929 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10930 * bits/fcntl.h: ... here.
10932 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10934 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10935 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10936 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10937 (struct flock): Move l_start, l_len to the beginning.
10938 Use __pid_t for l_pid.
10939 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10940 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10941 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10942 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10943 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10944 [__USE_LARGEFILE64] (struct flock64): New type.
10945 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10947 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10948 * bits/dirent.h: ... here.
10950 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10951 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10953 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10955 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10956 Change from 2.6.0 to 2.6.16.
10957 * sysdeps/unix/sysv/linux/configure: Regenerated.
10958 * sysdeps/unix/sysv/linux/kernel-features.h
10959 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10960 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10962 (__ASSUME_UTIMES): Likewise.
10963 (__ASSUME_CLONE_STOPPED): Remove.
10964 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10965 architectures, not kernel version.
10966 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10967 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10968 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10969 (__ASSUME_WAITID_SYSCALL): Likewise.
10970 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10971 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10972 * README: State 2.6.16 as minimum Linux kernel version. Do not
10973 refer to older versions.
10975 2012-08-06 Roland McGrath <roland@hack.frob.com>
10977 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10978 Define alphasort64 as an alias.
10979 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10980 Define versionsort64 as an alias.
10981 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10982 Define scandir64 as an alias.
10983 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10984 Define scandirat64 as an alias.
10985 * dirent/alphasort64.c (alphasort64):
10986 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10987 * dirent/versionsort64.c: Likewise.
10988 * dirent/scandir64.c: Likewise.
10989 * dirent/scandirat64.c: Likewise.
10990 * sysdeps/wordsize-64/alphasort.c: File removed.
10991 * sysdeps/wordsize-64/alphasort64.c: File removed.
10992 * sysdeps/wordsize-64/scandir.c: File removed.
10993 * sysdeps/wordsize-64/scandir64.c: File removed.
10994 * sysdeps/wordsize-64/scandirat.c: File removed.
10995 * sysdeps/wordsize-64/scandirat64.c: File removed.
10996 * sysdeps/wordsize-64/versionsort.c: File removed.
10997 * sysdeps/wordsize-64/versionsort64.c: File removed.
10998 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10999 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11000 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11001 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11002 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11003 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11004 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11005 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11007 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11008 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11009 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11010 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11011 [defined __arch64__ || defined __sparcv9]
11012 (__INO_T_MATCHES_INO64_T): New macro.
11013 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11014 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11015 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11016 * sysdeps/unix/sysv/linux/bits/dirent.h
11017 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11018 (_DIRENT_MATCHES_DIRENT64): New macro.
11020 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11021 Define lockf64 as an alias.
11022 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11023 Define fseeko64 as an alias.
11024 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11025 Define ftello64 as an alias.
11026 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11027 Define _IO_fgetpos64 and fgetpos64 as aliases.
11028 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11029 Define _IO_fsetpos64 and fsetpos64 as aliases.
11030 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11031 Conditionalize body on this.
11032 * libio/fseeko64.c: Likewise.
11033 * libio/ftello64.c: Likewise.
11034 * libio/iofgetpos64.c: Likewise.
11035 * libio/iofsetpos64.c: Likewise.
11036 * sysdeps/wordsize-64/lockf.c: File removed.
11037 * sysdeps/wordsize-64/lockf64.c: File removed.
11038 * sysdeps/wordsize-64/fseeko.c: File removed.
11039 * sysdeps/wordsize-64/fseeko64.c: File removed.
11040 * sysdeps/wordsize-64/ftello.c: File removed.
11041 * sysdeps/wordsize-64/ftello64.c: File removed.
11042 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11043 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11044 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11045 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11046 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11047 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11048 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11049 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11050 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11051 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11052 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11053 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11054 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11055 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11057 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11058 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11059 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11060 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11061 [defined __arch64__ || defined __sparcv9]
11062 (__OFF_T_MATCHES_OFF64_T): New macro.
11063 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11064 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11065 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11066 (__OFF_T_MATCHES_OFF64_T): New macro.
11068 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11070 * stdlib/secure-getenv.c (__secure_getenv): Replace
11071 GLIBC_2_16 with GLIBC_2_17.
11073 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11075 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11076 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11078 2012-08-03 David S. Miller <davem@davemloft.net>
11080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11082 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11084 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11086 (__ASSUME_CORRECT_SI_PID): Likewise.
11087 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11088 (__ASSUME_TMPFS_NAME): Likewise.
11089 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11090 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11091 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11092 (HAVE_AUX_SECURE): Make definition unconditional.
11093 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11094 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11096 2012-08-03 Roland McGrath <roland@hack.frob.com>
11098 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11099 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11100 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11101 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11102 __eloop_threshold instead of SYMLOOP_MAX.
11104 * sysdeps/generic/eloop-threshold.h: New file.
11105 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11107 * elf/chroot_canon.c (chroot_canon): Likewise.
11109 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11112 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11113 Change to 2.6.0 everywhere.
11114 * sysdeps/unix/sysv/linux/configure: Regenerated.
11115 * sysdeps/unix/sysv/linux/kernel-features.h
11116 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11117 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11119 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11120 (__ASSUME_FUTEX_REQUEUE): Remove.
11121 (__ASSUME_STATFS64): Define unconditionally.
11122 (__ASSUME_AT_SECURE): Likewise.
11123 (__ASSUME_CORRECT_SI_PID): Likewise.
11124 (__ASSUME_TGKILL): Define without depending on kernel version for
11126 (__ASSUME_UTIMES): Likewise.
11127 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11129 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11130 (__ASSUME_TMPFS_NAME): Likewise.
11131 * README: Update reference to Linux kernel versions.
11133 2012-08-02 Marek Polacek <polacek@redhat.com>
11136 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
11137 libc_cv_asm_type_prefix with %.
11138 * configure: Regenerated.
11139 * include/libc-symbols.h: Remove comment about
11140 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11141 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11142 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11143 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11144 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11145 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11146 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11147 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11148 * elf/tst-unique2mod1.c: Likewise.
11149 * elf/tst-unique1mod2.c: Likewise.
11150 * elf/tst-unique1mod1.c: Likewise.
11151 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11152 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11153 Replace ASM_TYPE_DIRECTIVE with .type.
11154 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11155 * sysdeps/i386/sysdep.h: Likewise.
11156 * sysdeps/x86_64/sysdep.h: Likewise.
11157 * sysdeps/sh/sysdep.h: Likewise.
11158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11159 Do not define ASM_TYPE_DIRECTIVE.
11160 * sysdeps/powerpc/sysdep.h: Likewise.
11161 * sysdeps/powerpc/powerpc32/sysdep.h:
11162 Replace ASM_TYPE_DIRECTIVE with .type.
11163 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11164 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11165 * sysdeps/i386/fpu/e_powf.S: Likewise.
11166 * sysdeps/i386/fpu/e_expl.S: Likewise.
11167 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11168 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11169 * sysdeps/i386/fpu/e_pow.S: Likewise.
11170 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11171 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11172 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11173 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11174 * sysdeps/i386/fpu/e_log2.S: Likewise.
11175 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11176 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11177 * sysdeps/i386/fpu/e_powl.S: Likewise.
11178 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11179 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11180 * sysdeps/i386/fpu/e_logl.S: Likewise.
11181 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11182 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11183 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11184 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11185 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11186 * sysdeps/i386/fpu/e_log.S: Likewise.
11187 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11188 * sysdeps/i386/fpu/e_logf.S: Likewise.
11189 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11190 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11191 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11192 * sysdeps/i386/fpu/e_log10.S: Likewise.
11193 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11194 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11195 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11196 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11197 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11198 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11199 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11200 * sysdeps/i386/i686/strtok.S: Likewise.
11201 * sysdeps/i386/i386-mcount.S: Likewise.
11202 * sysdeps/i386/strtok.S: Likewise.
11203 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11204 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11205 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11206 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11207 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11208 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11209 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11210 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11211 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11212 * sysdeps/x86_64/_mcount.S: Likewise.
11213 * sysdeps/x86_64/strtok.S: Likewise.
11214 * sysdeps/sh/_mcount.S: Likewise.
11216 2012-08-01 Roland McGrath <roland@hack.frob.com>
11218 * libio/iofopen.c: Include <fcntl.h>.
11219 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11220 (_IO_fopen64, fopen64): Define as aliases.
11221 * libio/iofopen64.c: Include <fcntl.h>.
11222 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11223 Conditionalize body on this.
11224 * sysdeps/wordsize-64/iofopen.c: File removed.
11225 * sysdeps/wordsize-64/iofopen64.c: File removed.
11227 2012-08-01 Marek Polacek <polacek@redhat.com>
11229 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11230 Use dlfcn directly instead of a variable.
11231 (binfmt-subdir): Do not define.
11234 2012-08-01 Joseph Myers <joseph@codesourcery.com>
11236 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11237 Remove all definitions.
11238 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11239 <kernel-features.h>.
11240 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11241 (miss_F_GETOWN_EX): Remove all definitions.
11242 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11244 [!__ASSUME_FCNTL64]: Remove conditional code.
11245 [__ASSUME_FCNTL64]: Make code unconditional.
11246 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11247 <kernel-features.h>.
11248 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11249 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11250 (lockf64) [__NR_fcntl64]: Make code unconditional.
11251 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11253 * sysdeps/unix/sysv/linux/kernel-features.h
11254 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11255 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11256 Make code unconditional.
11257 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11258 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11260 [__NR_vfork]: Make code unconditional.
11261 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11262 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11264 [__NR_vfork]: Make code unconditional.
11265 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11266 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11268 2012-08-01 Roland McGrath <roland@hack.frob.com>
11270 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11271 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11273 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11274 Define mkstemp64 as an alias.
11275 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11276 Define mkstemps64 as an alias.
11277 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11278 Define mkostemp64 as an alias.
11279 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11280 Define mkostemps64 as an alias.
11281 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11282 Conditionalize body on this.
11283 * misc/mkostemp64.c: Likewise.
11284 * misc/mkostemps64.c: Likewise.
11285 * misc/mkstemps64.c: Likewise.
11286 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11287 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11288 * sysdeps/wordsize-64/mkostemp.c: File removed.
11289 * sysdeps/wordsize-64/mkstemp.c: File removed.
11290 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11291 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11292 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11293 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11296 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11297 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11298 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11299 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11301 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11302 compat_symbol macros from <shlib-compat.h> rather than the underlying
11303 default_symbol_version and symbol_version macros, so that DEFAULT
11304 lines in shlib-versions are respected.
11305 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11307 2012-08-01 Florian Weimer <fweimer@redhat.com>
11309 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11310 Declare with warn_unused_result.
11311 (setgid, setregid, setegid, setresgid): Likewise.
11312 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11314 * WUR-REPORT: Remove set*id functions.
11316 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11318 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11320 2012-07-31 Roland McGrath <roland@hack.frob.com>
11323 * include/sys/socket.h (__libc_accept, __libc_accept4):
11324 Add attribute_hidden.
11325 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11327 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11329 * inet/getnetgrent_r.c (setup): Likewise.
11331 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11333 2012-07-31 David S. Miller <davem@davemloft.net>
11335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11337 2012-07-31 Joseph Myers <joseph@codesourcery.com>
11340 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11341 value between 1.0 and 2.0 and smaller part has absolute value less
11343 * math/s_clog10.c (__clog10): Likewise.
11344 * math/s_clog10f.c (__clog10f): Likewise.
11345 * math/s_clog10l.c (__clog10l): Likewise.
11346 * math/s_clogf.c (__clogf): Likewise.
11347 * math/s_clogl.c (__clogl): Likewise.
11348 * math/libm-test.inc (clog_test): Add more tests.
11349 (clog10_test): Likewise.
11350 * sysdeps/i386/fpu/libm-test-ulps: Update.
11351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11353 2012-07-31 Florian Weimer <fweimer@redhat.com>
11355 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11356 Exit with zero in case no suitable GID is found, and write a
11357 message to standard error.
11359 2012-07-30 Roland McGrath <roland@hack.frob.com>
11361 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11363 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11364 (MAXPATHLEN): Removed.
11365 (NOGROUP, NODEV): New macros.
11366 (setbit, clrbit, isset, isclr): New macros.
11367 (howmany, roundup, powerof2): New macros.
11368 (DEV_BSIZE): New macro.
11370 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11371 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11373 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11374 definition on [!__NO_LONG_DOUBLE_MATH].
11376 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11377 PTR_MANGLE and PTR_DEMANGLE.
11379 * socket/accept4.c (accept4): Rename to __libc_accept4.
11380 Define accept4 as a weak alias.
11382 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11383 on [_DIRENT_HAVE_D_TYPE].
11384 * io/ftw.c (ftw_dir): Likewise.
11386 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11388 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11390 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11391 Use the BSD numbers rather than the arbitrary ones we had.
11392 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11393 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11394 (SIGXCPU, SIGXFSZ): New macros.
11397 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11398 initializer on [_LIBC_REENTRANT].
11400 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11401 definitions inside [_POSIX_MAPPED_FILES].
11403 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11405 * dirent/opendir.c: Include <fcntl.h>.
11407 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11408 (__libc_getspecific): Likewise.
11409 (__libc_key_create): Likewise.
11411 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11412 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11413 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11414 (tmpfile64): Define as alias.
11415 * sysdeps/wordsize-64/tmpfile.c: File removed.
11416 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11417 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11418 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11420 * stdio-common/vfscanf.c: Include <stdbool.h>.
11421 * nss/makedb.c: Likewise.
11422 * stdio-common/_i18n_number.h: Likewise.
11423 * argp/argp-help.c: Likewise.
11424 * posix/wordexp.c: Likewise.
11425 * sysdeps/posix/spawni.c: Likewise.
11426 * nss/nss_files/files-initgroups.c: Likewise.
11427 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11428 * nss/nss_files/files-initgroups.c: Likewise.
11429 * nss/nss_db/db-netgrp.c: Likewise.
11430 * nss/nss_db/db-initgroups.c: Likewise.
11431 * io/fchmodat.c: Include <sys/stat.h>.
11433 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11434 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11436 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11439 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11440 Add multiple inclusion protection.
11442 2012-07-27 David S. Miller <davem@davemloft.net>
11444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11446 2012-07-27 Gary Benson <gbenson@redhat.com>
11449 * elf/rtld.c: Include <stap-probe.h>.
11450 (dl_main): Added static probes "init_start" and "init_complete".
11451 * elf/dl-load.c: Include <stap-probe.h>.
11452 (lose): Take new parameter "nsid".
11453 Added static probe "map_failed".
11454 (_dl_map_object_from_fd): Pass namespace id to lose.
11455 Added static probe "map_start".
11456 (open_verify): Pass namespace id to lose.
11457 * elf/dl-open.c: Include <stap-probe.h>.
11458 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11459 and "reloc_complete".
11460 * elf/dl-close.c: Include <stap-probe.h>.
11461 (_dl_close_worker): Added static probes "unmap_start" and
11463 * elf/rtld-debugger-interface.txt: New file documenting the above.
11465 2012-07-26 Roland McGrath <roland@hack.frob.com>
11467 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11468 rather than a string variable.
11469 * sunrpc/rpc_main.c (h_output): Likewise.
11470 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11472 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11474 * inet/check_native.c: New file.
11476 2012-07-26 Joseph Myers <joseph@codesourcery.com>
11479 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11480 if larger part has absolute value 1.0.
11481 * math/s_clog10.c (__clog10): Likewise.
11482 * math/s_clog10f.c (__clog10f): Likewise.
11483 * math/s_clog10l.c (__clog10l): Likewise.
11484 * math/s_clogf.c (__clogf): Likewise.
11485 * math/s_clogl.c (__clogl): Likewise.
11486 * math/libm-test.inc (clog_test): Add more tests.
11487 (clog10_test): Likewise.
11488 * sysdeps/i386/fpu/libm-test-ulps: Update.
11489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11491 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11492 (pltexit): Likewise.
11493 (La_regs): Likewise.
11494 (La_retval): Likewise.
11495 (int_retval): Likewise.
11496 Update #error for removed macros to refer only to definitions in
11498 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11500 (pltexit): Likewise.
11501 (La_regs): Likewise.
11502 (La_retval): Likewise.
11503 (int_retval): Likewise.
11504 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11506 (pltexit): Likewise.
11507 (La_regs): Likewise.
11508 (La_retval): Likewise.
11509 (int_retval): Likewise.
11510 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11512 (pltexit): Likewise.
11513 (La_regs): Likewise.
11514 (La_retval): Likewise.
11515 (int_retval): Likewise.
11516 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11518 (pltexit): Likewise.
11519 (La_regs): Likewise.
11520 (La_retval): Likewise.
11521 (int_retval): Likewise.
11522 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11524 (pltexit): Likewise.
11525 (La_regs): Likewise.
11526 (La_retval): Likewise.
11527 (int_retval): Likewise.
11528 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11530 (pltexit): Likewise.
11531 (La_regs): Likewise.
11532 (La_retval): Likewise.
11533 (int_retval): Likewise.
11534 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11535 macro definitions in tst-audit.h.
11536 * sysdeps/i386/tst-audit.h: New file.
11537 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11538 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11539 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11540 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11541 * sysdeps/sh/tst-audit.h: Likewise.
11542 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11543 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11544 * sysdeps/x86_64/tst-audit.h: Likewise.
11546 2012-07-26 Andreas Jaeger <aj@suse.de>
11548 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11551 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11552 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11553 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11555 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11556 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11557 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11559 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11562 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11564 (si_call_addr, si_syscall, si_arch): Define new macro.
11565 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11567 (si_call_addr, si_syscall, si_arch): Define new marcro.
11568 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11570 (si_call_addr, si_syscall, si_arch): Define new macro.
11571 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11573 (si_call_addr, si_syscall, si_arch): Define new macro.
11575 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11578 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11579 Change to 2.4.21 where previously 2.4.1.
11580 * sysdeps/unix/sysv/linux/configure: Regenerated.
11581 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11582 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11583 Linux kernel version.
11584 (__ASSUME_STD_AUXV): Remove.
11585 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11587 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11588 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11589 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11590 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11591 (__ASSUME_NETLINK_SUPPORT): Likewise.
11592 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11593 (__no_netlink_support): Remove conditional definition.
11594 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11596 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11597 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11598 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11599 (if_nameindex_ioctl): Remove.
11600 (if_nameindex_netlink): Do not handle __no_netlink_support.
11601 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11603 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11604 Remove conditional code.
11605 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11607 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11609 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11610 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11611 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11613 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11614 [!__ASSUME_STD_AUXV]: Remove conditional code.
11615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11616 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11617 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11619 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11620 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11622 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11624 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11625 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11627 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11629 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11632 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11635 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11636 code unconditional.
11637 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11639 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11641 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11644 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11646 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11649 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11650 code unconditional.
11651 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11653 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11655 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11658 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11659 code unconditional.
11660 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11662 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11664 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11667 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11669 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11670 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11671 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11672 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11673 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11674 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11675 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11676 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11677 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11678 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11679 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11680 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11681 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11682 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11683 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11684 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11685 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11686 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11687 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11688 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11689 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11690 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11691 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11693 2012-07-25 Florian Weimer <fweimer@redhat.com>
11695 * Versions.def: Add GLIBC_2.17.
11696 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11697 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11698 Introduce __libc_secure_getenv.
11699 * stdlib/Versions (2.17): Add secure_getenv
11700 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11701 * stdlib/secure-getenv.c: Rename __secure_getenv to
11702 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11703 symbol __secure_getenv for GLIBC_2.0.
11704 * stdlib/tst-secure-getenv.c: New.
11705 * stdlib/Makefile (tests): Add testcase.
11706 * manual/startup.texi (Environment Access): Document
11708 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11709 __libc_secure_getenv.
11710 * inet/ruserpass.c (ruserpass): Likewise.
11711 * malloc/mtrace.c (mtrace): Likewise.
11712 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11713 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11714 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11715 * sysdeps/posix/tempname.c: Likewise. Evaluate
11716 HAVE_SECURE_GETENV.
11717 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11718 __secure_getenv to __libc_secure_getenv.
11719 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11726 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11732 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11734 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11735 (struct La_i86_retval): Likewise.
11736 (struct La_x86_64_regs): Likewise.
11737 (struct La_x86_64_retval): Likewise.
11738 (struct La_x32_regs): Likewise.
11739 (struct La_x32_retval): Likewise.
11740 (struct La_ppc32_regs): Likewise.
11741 (struct La_ppc32_retval): Likewise.
11742 (struct La_ppc64_regs): Likewise.
11743 (struct La_ppc64_retval): Likewise.
11744 (struct La_sh_regs): Likewise.
11745 (struct La_sh_retval): Likewise.
11746 (struct La_s390_32_regs): Likewise.
11747 (struct La_s390_32_retval): Likewise.
11748 (struct La_s390_64_regs): Likewise.
11749 (struct La_s390_64_retval): Likewise.
11750 (struct La_sparc32_regs): Likewise.
11751 (struct La_sparc32_retval): Likewise.
11752 (struct La_sparc64_regs): Likewise.
11753 (struct La_sparc64_retval): Likewise.
11754 (struct audit_ifaces): Remove architecture-specific pltenter and
11756 * sysdeps/i386/ldsodefs.h: New file.
11757 * sysdeps/powerpc/ldsodefs.h: Likewise.
11758 * sysdeps/s390/ldsodefs.h: Likewise.
11759 * sysdeps/sh/ldsodefs.h: Likewise.
11760 * sysdeps/sparc/ldsodefs.h: Likewise.
11761 * sysdeps/x86_64/ldsodefs.h: Likewise.
11763 2012-07-25 Marek Polacek <polacek@redhat.com>
11766 * math/libm-test.inc (yn_test): Add another test.
11767 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11768 to ERANGE when the result is +-Inf.
11769 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11770 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11771 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11772 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11774 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11776 * conform/data/time.h-data (NULL): Use macro-constant. Require
11778 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11780 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11782 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11784 * configure.in <sysdeps resolving>: Correct printing
11786 * configure: Regenerate.
11788 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11790 * math/w_ilogb.c: Include <limits.h>.
11791 * math/w_ilogbl.c: Likewise.
11793 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11795 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11796 va_copy. Document allowing for unavailable va_copy only as
11797 pre-C99 compatibility.
11798 * manual/string.texi (Copying and Concatenation): Use va_copy
11799 instead of __va_copy in concat example.
11801 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11803 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11804 (__sendto): Use create_address_port. Initialize APORT and deallocate
11807 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11808 with O_NOLINK passed to __file_name_lookup.
11810 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11811 with O_NOLINK passed to __file_name_lookup.
11813 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11814 negative N or less than NGIDS.
11816 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11817 type to string_t. Set ERANGE as errno and return it if NAME is not big
11818 enough. Use memcpy instead of strncpy.
11820 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11822 * elf/Makefile (check-data): Remove.
11823 (localplt.data): New vpath directive.
11824 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11825 instead of $(check-data).
11826 * scripts/data/localplt-generic.data: Move to ...
11827 * sysdeps/generic/localplt.data: ... here.
11828 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11829 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11830 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11833 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11836 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11839 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11842 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11845 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11849 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11851 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11852 PPC32 and PPC64 files.
11853 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11854 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11856 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11858 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11859 __makecontext_ret to ...
11860 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11861 ... here and call exit if uc_link is NULL. New file.
11862 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11863 __makecontext_ret.S.
11864 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11865 __makecontext_ret to ...
11866 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11867 ... here and call exit if uc_link is NULL. New file.
11868 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11869 __makecontext_ret.S.
11871 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11873 * elf/elf.h (R_390_IRELATIVE): New definition.
11874 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11875 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11876 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11877 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11878 (elf_machine_lazy_rel): Likewise.
11879 * sysdeps/s390/dl-irel.h: New file.
11880 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11881 * sysdeps/s390/s390-64/memset.S: New asm code.
11882 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11883 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11884 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11885 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11886 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11887 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11888 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11889 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11890 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11891 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11892 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11893 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11894 * sysdeps/s390/s390-32/memset.S: New asm code.
11895 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11897 2012-07-17 Marek Polacek <polacek@redhat.com>
11900 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11901 * sysdeps/s390/s390-64/configure.in: Likewise.
11902 * sysdeps/sparc/configure.in: Likewise.
11903 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11904 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11905 * sysdeps/i386/configure.in: Likewise.
11906 * sysdeps/x86_64/configure.in: Likewise.
11907 * sysdeps/sh/configure.in: Likewise.
11908 * sysdeps/s390/s390-32/configure: Regenerated.
11909 * sysdeps/s390/s390-64/configure: Likewise.
11910 * sysdeps/x86_64/configure: Likewise.
11911 * sysdeps/sh/configure: Likewise.
11912 * sysdeps/powerpc/powerpc64/configure: Likewise.
11913 * sysdeps/powerpc/powerpc32/configure: Likewise.
11914 * sysdeps/sparc/configure: Likwise.
11915 * sysdeps/i386/configure: Likewise.
11917 * elf/dl-open.c: Comment fixes.
11919 2012-07-17 Joseph Myers <joseph@codesourcery.com>
11921 * Makefile [CXX] (check-data): Remove.
11922 [CXX] (c++-types.data): New vpath directive.
11923 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11924 vpath. Do not allow for C++ type data being missing.
11925 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11926 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11927 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11928 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11929 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11930 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11931 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11934 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11937 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11940 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11943 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11946 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11949 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11952 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11955 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11956 definitions to architecture-specific files.
11957 (TLS_IE): Likewise.
11958 (TLS_LD): Likewise.
11959 (TLS_GD): Likewise.
11960 * sysdeps/i386/tls-macros.h: New file.
11961 * sysdeps/powerpc/tls-macros.h: Likewise.
11962 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11963 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11964 * sysdeps/sh/tls-macros.h: Likewise.
11965 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11966 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11967 * sysdeps/x86_64/tls-macros.h: Likewise.
11969 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11971 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11972 zero value for regular exit case.
11974 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11975 (__start_context): Preserve zero value for regular exit case.
11977 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11978 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11980 * manual/setjmp.texi (setcontext): Clarify normal process
11981 termination when uc_link is the null pointer.
11982 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11985 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11987 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11988 preprocessor. Test for each exception mask separately.
11990 2012-07-16 Andreas Jaeger <aj@suse.de>
11992 * po/ru.po: Update from translation team.
11994 2012-07-15 Joseph Myers <joseph@codesourcery.com>
11996 * conform/data/string.h-data (NULL): Use macro-constant. Require
11998 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11999 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12000 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12001 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12002 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12004 2012-07-13 Andreas Jaeger <aj@suse.de>
12006 * po/fr.po: Update from translation team.
12008 2012-07-12 Marek Polacek <polacek@redhat.com>
12011 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12012 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12015 2012-07-12 Joseph Myers <joseph@codesourcery.com>
12018 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12019 Change to 2.4.1 where previously 2.4.0.
12020 * sysdeps/unix/sysv/linux/configure: Regenerated.
12021 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12022 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12024 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12025 (__ASSUME_AT_CLKTCK): Remove.
12026 (__ASSUME_AT_PAGESIZE): Likewise.
12027 (__ASSUME_AT_XID): Likewise.
12028 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12029 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12030 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12032 (HAVE_AUX_PAGESIZE): Likewise.
12033 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12034 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12035 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12037 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12041 the temporary buffer used to invoke __gethostbyname2_r,
12042 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12043 host_data / struct gaih_addrtuple.
12044 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12045 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12046 header file nss/nsswitch.h.
12047 * nss/nsswitch.h (global scope): Add definition of implementation
12048 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12049 resolv/nss_dns/dns-host.c).
12051 2012-07-11 Andreas Jaeger <aj@suse.de>
12053 * po/fr.po: Update from translation team.
12055 * po/sv.po: Update from translation team
12056 * po/fr.po: Another update from translation team.
12058 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12060 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12061 for subnormals or multiply small sinh result by itself.
12062 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12065 2012-07-11 David S. Miller <davem@davemloft.net>
12067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12069 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12072 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12073 (INTERNAL_MARK): Shift it here.
12075 2012-07-10 Marek Polacek <polacek@redhat.com>
12078 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12079 libc_cv_asm_global_directive with .globl.
12080 * configure: Regenerated.
12081 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12083 * sysdeps/i386/configure: Regenerated.
12084 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12086 * sysdeps/x86_64/configure: Regenerated.
12087 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12088 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12089 * elf/tst-unique2mod2.c: Likewise.
12090 * elf/tst-unique2mod1.c: Likewise.
12091 * elf/tst-unique1mod2.c: Likewise.
12092 * elf/tst-unique1mod1.c: Likewise.
12093 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12094 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12095 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12096 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12097 * sysdeps/mach/sysdep.h: Likewise.
12098 * sysdeps/i386/sysdep.h: Likewise.
12099 * sysdeps/i386/i386-mcount.S: Likewise.
12100 * sysdeps/x86_64/_mcount.S: Likewise.
12101 * sysdeps/x86_64/sysdep.h: Likewise.
12102 * sysdeps/sh/_mcount.S: Likewise.
12103 * sysdeps/sh/sysdep.h: Likewise.
12104 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12105 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12106 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12107 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12108 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12109 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12110 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12111 * locale/localeinfo.h: Likewise.
12112 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12113 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12115 2012-07-09 Roland McGrath <roland@hack.frob.com>
12118 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12120 * manual/message.texi (The Uniforum approach): Likewise.
12121 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12122 (glibc iconv Implementation): Likewise.
12124 2012-07-09 Joseph Myers <joseph@codesourcery.com>
12127 * math/s_clog.c (__clog): Avoid scaling a value down where that
12128 could result in underflow.
12129 * math/s_clog10.c (__clog10): Likewise.
12130 * math/s_clog10f.c (__clog10f): Likewise.
12131 * math/s_clog10l.c (__clog10l): Likewise.
12132 * math/s_clogf.c (__clogf): Likewise.
12133 * math/s_clogl.c (__clogl): Likewise.
12134 * math/libm-test.inc (clog_test): Add more tests.
12135 (clog10_test): Likewise.
12136 * sysdeps/i386/fpu/libm-test-ulps: Update.
12137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12139 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12142 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12143 by 7 not 8 to examine high bit of fractional part.
12146 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12147 for call to __mcount_internal.
12148 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12149 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12150 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12152 2012-07-06 Joseph Myers <joseph@codesourcery.com>
12155 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12156 approximation for values within 0x1p-13f of an odd multiple of
12158 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12159 exception. Add more tests.
12160 * sysdeps/i386/fpu/libm-test-ulps: Update.
12163 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12164 inputs and return -1 for them. Do not check for +Inf in case not
12165 reachable for +Inf.
12166 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12167 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12168 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12169 and return -1 for them. Do not check for +Inf in case not
12170 reachable for +Inf.
12171 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12173 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12174 and return -1 for them. Do not check for +Inf in case not
12175 reachable for +Inf.
12176 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12177 spurious underflow.
12178 * sysdeps/i386/fpu/libm-test-ulps: Update.
12179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12181 2012-07-06 Mike Frysinger <vapier@gentoo.org>
12183 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12185 2012-07-05 Joseph Myers <joseph@codesourcery.com>
12189 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12190 could result in spurious underflow. Scale down values above
12191 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12192 * math/s_csqrtf.c (__csqrtf): Likewise.
12193 * math/s_csqrtl.c (__csqrtl): Likewise.
12194 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12195 spurious underflow.
12196 * sysdeps/i386/fpu/libm-test-ulps: Update.
12197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12199 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12201 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12203 * catgets/xopen-msg.awk: New file.
12204 * catgets/xopen-msg.sed: Removed.
12206 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12208 * intl/po2test.awk: New file.
12209 * intl/po2test.sed: Removed.
12211 2012-07-04 Joseph Myers <joseph@codesourcery.com>
12214 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12215 or multiply small sinh result by itself.
12216 * math/s_ctanf.c (__ctanf): Likewise.
12217 * math/s_ctanh.c (__ctanh): Likewise.
12218 * math/s_ctanhf.c (__ctanhf): Likewise.
12219 * math/s_ctanhl.c (__ctanhl): Likewise.
12220 * math/s_ctanl.c (__ctanl): Likewise.
12221 * math/libm-test.inc (ctan_test_tonearest): New function.
12222 (ctan_test_towardzero): Likewise.
12223 (ctan_test_downward): Likewise.
12224 (ctan_test_upward): Likewise.
12225 (ctanh_test_tonearest): Likewise.
12226 (ctanh_test_towardzero): Likewise.
12227 (ctanh_test_downward): Likewise.
12228 (ctanh_test_upward): Likewise.
12229 (main): Call these new functions.
12230 * sysdeps/i386/fpu/libm-test-ulps: Update.
12231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12233 2012-07-03 Mike Frysinger <vapier@gentoo.org>
12235 * .gitignore: Delete /ports entry.
12237 2012-07-03 Andreas Jaeger <aj@suse.de>
12239 * po/bg.po: Update from translation team.
12240 * po/cs.po: Likewise.
12241 * po/de.po: Likewise.
12242 * po/hr.po: Likewise.
12243 * po/nl.pl: Likewise.
12244 * po/pl.po: Likewise.
12245 * po/vi.po: Likewise.
12247 2012-07-03 Joseph Myers <joseph@codesourcery.com>
12249 * Makeconfig [!+link] (+link-before-libc): New variable.
12250 [!+link] (+link-after-libc): Likewise.
12251 [!+link] (+link-tests): Likewise.
12252 [!+link] (+link): Define in terms of $(+link-before-libc) and
12253 $(+link-after-libc).
12254 [!+link-static] (+link-static-before-libc): New variable.
12255 [!+link-static] (+link-static-after-libc): Likewise.
12256 [!+link-static] (+link-static-tests): Likewise.
12257 [!+link-static] (+link-static): Define in terms of
12258 $(+link-static-before-libc) and $(+link-static-after-libc).
12259 [build-shared] (link-libc-before-gnulib): New variable.
12260 [build-shared] (link-libc-tests): Likewise.
12261 [build-shared] (link-libc): Define in terms of
12262 $(link-libc-before-gnulib).
12263 [!build-shared] (link-libc-tests): New variable.
12264 (link-libc-static-tests): New variable.
12265 [!gnulib] (gnulib-arch): New variable.
12266 [!gnulib] (gnulib-tests): Likewise.
12267 [!gnulib] (static-gnulib-arch): Likewise.
12268 [!gnulib] (static-gnulib-tests): Likewise.
12269 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12270 Define with "=" instead of ":=".
12271 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12272 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12273 * Rules (binaries-all-notests): New variable.
12274 (binaries-all-tests): Likewise.
12275 (binaries-static-notests): Likewise.
12276 (binaries-static-tests): Likewise.
12277 (binaries-all): Define using $(binaries-all-notests) and
12278 $(binaries-all-tests).
12279 (binaries-static): Define using $(binaries-static-notests) and
12280 $(binaries-static-tests).
12281 (binaries-shared-tests): New variable.
12282 (binaries-shared-notests): Likewise.
12283 (binaries-shared): Remove variable.
12284 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12285 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12286 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12287 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12288 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12289 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12290 * elf/Makefile (sln-modules): New variable.
12291 (extra-objs): Add $(sln-modules:=.o).
12292 (ldconfig-modules): Add static-stubs.
12293 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12294 * elf/static-stubs.c: New file.
12297 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12298 by 7 not 8 to examine high bit of fractional part. Use volatile
12299 variables when splitting into final array of floats if
12300 __FLT_EVAL_METHOD__ != 0.
12301 * math/libm-test.inc (cos_test): Add another test.
12302 (sin_test): Likewise.
12303 * sysdeps/i386/fpu/libm-test-ulps: Update.
12306 * math/libm-test.inc (cosh_test): Add more tests.
12308 * version.h (RELEASE): Set to "development".
12309 (VERSION): Set to "2.16.90".
12311 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12313 * NEWS: Update copyright. Remove last-updated date.
12314 Mention math library bug fixes and timezone data changes.
12315 * README: Mention GNU/Hurd, x32, and HPPA support status.
12317 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12319 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12321 2012-06-27 Andreas Jaeger <aj@suse.de>
12323 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12325 2012-06-25 Andreas Jaeger <aj@suse.de>
12327 * sysdeps/s390/fpu/libm-test-ulps: Update.
12329 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12330 Thomas Schwinge <thomas@codesourcery.com>
12332 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12333 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12334 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12337 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12339 * sysdeps/mach/start.c: Remove file.
12340 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12341 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12342 * sysdeps/sh/init-first.c: Likewise.
12344 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12345 registers for frame unwinding purposes, add CFI directives.
12346 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12347 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12348 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12351 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12352 __fortify_fail returning.
12353 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12355 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12356 sysdeps/sh/____longjmp_chk.S.
12357 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12358 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12359 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12360 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12362 * sysdeps/sh/abort-instr.h: New file.
12363 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12364 process in case exit returns.
12366 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12367 initialize the GOT register before use.
12369 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12370 calculation of ARGC > 4.
12372 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12373 meaningful names to some local labels.
12375 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12376 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12378 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12379 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12380 (__arch_compare_and_exchange_val_16_acq): Likewise.
12381 (__arch_compare_and_exchange_val_32_acq): Likewise.
12382 (atomic_exchange_and_add): Fix gUSA sequence.
12383 (atomic_add): Likewise.
12384 (atomic_add_negative): Likewise.
12385 (atomic_add_zero): Likewise.
12386 (atomic_bit_test_set): Likewise.
12388 2012-06-22 Andreas Schwab <schwab@redhat.com>
12391 * include/link.h (struct link_map): Add l_free_initfini.
12392 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12394 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12395 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12396 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12399 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12401 * configure.in: Use AC_LANG_SOURCE.
12402 * configure: Regenerate.
12404 2012-06-22 Roland McGrath <roland@hack.frob.com>
12406 * configure.in (libc_cv_localstatedir): New substituted variable.
12407 * configure: Regenerated.
12408 * config.make.in (localstatedir): New variable, substituted from
12409 libc_cv_localstatedir.
12410 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12411 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12412 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12413 * sysdeps/gnu/configure: Regenerated.
12415 2012-06-21 Jeff Law <law@redhat.com>
12418 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12419 free. Simplify list management for _LIBC case.
12421 2012-06-21 Joseph Myers <joseph@codesourcery.com>
12424 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12425 Clear sign bit of 64-bit integer value before comparing against
12428 * sysdeps/mach/configure: Regenerated.
12430 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12433 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12435 2012-06-21 Jeff Law <law@redhat.com>
12438 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12439 uint16_t for elements in the "seen" array to avoid char overflows.
12440 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12441 * elf/dl-open.c (dl_open_worker): Likewise.
12443 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12445 * scripts/list-sources.sh: Scan PORTS for translations.
12446 * po/libc.pot: Regenerated.
12448 2012-06-21 Andreas Jaeger <aj@suse.de>
12451 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12453 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12454 * bits/byteswap-16.h (__bswap_16): Likewise.
12455 * bits/byteswap.h (__bswap_constant_16): Likewise.
12457 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12460 * sysdeps/i386/fpu_control.h: Removed.
12461 * sysdeps/x86_64/fpu_control.h: Moved to ...
12462 * sysdeps/x86/fpu_control.h: Here.
12464 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12465 (_FPU_SETCW): Likewise.
12467 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12470 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12471 * sysdeps/x86/fpu/bits/mathinline.h: This.
12472 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12476 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12477 functions if __x86_64__ is defined.
12479 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12481 * string/endian.h: Add !__ASSEMBLER__ condition for including
12482 conversion interfaces.
12484 2012-06-15 Joseph Myers <joseph@codesourcery.com>
12487 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12488 of ABS(x) in calculating zero to negative powers other than odd
12490 * math/libm-test.inc (pow_test): Add more tests.
12492 2012-06-15 Andreas Jaeger <aj@suse.de>
12494 * manual/contrib.texi (Contributors): Update entry of Liubov
12495 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12498 2012-06-15 Cyril Hrubis <metan@ucw.cz>
12500 * string/string.h: Add __wur to GNU version of strerror_r.
12502 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12505 * string/Makefile (tests): Add tst-strtok_r.
12506 * string/tst-strtok_r.c: New file.
12507 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12508 RAX_LP/RDX_LP on SAVE_PTR.
12510 2012-06-14 Roland McGrath <roland@hack.frob.com>
12512 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12514 2012-06-14 Joseph Myers <joseph@codesourcery.com>
12516 * libm_test.inc (csqrt_test): Allow more spurious underflow
12518 (j0_test): Likewise.
12519 (j1_test): Likewise.
12520 (y0_test): Likewise.
12521 (y1_test): Likewise.
12523 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12525 * po/Makefile (libc.pot): Use UTF-8 charset.
12527 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12530 Suppress sign-conversion warning from FD_SET.
12531 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12532 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12533 not unsigned long int.
12534 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12536 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12540 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12541 __extern_always_inline instead of __extern_inline.
12542 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12543 (__signbit): Likewise.
12544 (__signbitl): Support C++ namespace.
12545 (lrintf): New inline function.
12547 (llrintf): Likewise.
12548 (llrint): Likewise.
12558 (floorf): Likewise.
12559 (nearbyint): Likewise.
12560 (nearbyintf): Likewise.
12562 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12564 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12565 non-default versions.
12567 2012-06-11 Roland McGrath <roland@hack.frob.com>
12570 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12572 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12574 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12575 (FE_UPWARD, FE_DOWNWARD): Don't define.
12576 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12577 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12579 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12581 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12582 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12584 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12586 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12587 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12588 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12589 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12591 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12594 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12595 * sysdeps/i386/fpu/Implies: New file.
12596 * sysdeps/x86_64/fpu/Implies: Likewise.
12597 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12598 * sysdeps/x86/fpu/bits/fenv.h: This.
12600 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12603 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12606 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12607 character 0xffff that matches the last element of the
12610 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12612 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12615 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12617 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12618 values higher than 25.6283.
12620 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12622 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12623 subnormal exponent extraction and add some __builtin_expect.
12624 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12625 Fix for subnormal mantissa calculation.
12627 2012-06-04 Mike Frysinger <vapier@gentoo.org>
12629 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12630 cpu2 is -1 and errno is not ENOSYS.
12632 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12635 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12636 * sysdeps/x86/bits/string.h: This.
12637 * sysdeps/x86_64/bits/string.h: Removed.
12639 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12640 if not compiling for x86-64, but compiling for >= i486.
12642 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12643 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12645 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12646 New macro from Linux kernel 3.4.0.
12647 (FP_XSTATE_MAGIC2): Likewise.
12648 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12649 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12650 (struct _fpx_sw_bytes): New struct.
12651 (struct _xsave_hdr): Likewise.
12652 (struct _ymmh_state): Likewise.
12653 (struct _xstate): Likewise.
12655 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12656 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12657 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12658 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12659 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12660 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12662 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12663 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12664 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12665 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12666 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12667 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12669 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12672 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12673 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12674 (sysdep_headers): Include sys/platform/ppc.h.
12675 * sysdeps/powerpc/test-gettimebase.c: Test for
12676 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12677 * manual/Makefile (appendices): Include platform.texi.
12678 * manual/contrib.texi (Contributors): Update @node pointers.
12679 * manual/maint.texi (Maintenance): Likewise.
12680 (Platform): New node.
12681 * manual/platform.texi: New file. Document the new features.
12683 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12684 Jakub Jelinek <jakub@redhat.com>
12687 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12688 where __builtin_expect is unavailable.
12690 2012-06-03 David S. Miller <davem@davemloft.net>
12692 * stdlib/longlong.h: Updated from GCC.
12694 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12697 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12698 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12701 (GLIBC_2.16): Likewise.
12703 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12705 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12707 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12710 (default-abi): New variable.
12711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12712 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12714 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12716 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12718 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12721 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12722 definition. Document in comment.
12724 2012-06-01 David S. Miller <davem@davemloft.net>
12726 * stdlib/longlong.h: Updated from GCC.
12728 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12731 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12732 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12733 sys/debugreg.h sys/io.h here.
12734 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12735 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12737 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12738 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12739 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12740 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12741 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12742 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12744 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12745 Define only if __x86_64__ is defined.
12747 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12750 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12751 Use int64_t for variable i.
12752 * math/libm-test.inc (fmod_test): Add more tests.
12754 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12755 z computation is not scheduled after fetestexcept.
12756 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12757 Use math_force_eval instead of asm to ensure calculation scheduled
12758 before exception test.
12759 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12760 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12762 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12764 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12765 computation is not scheduled after fetestexcept.
12767 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12770 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12771 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12773 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12775 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12776 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12778 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12781 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12783 (__WCHAR_MIN): Support __WORDSIZE == 64.
12784 (__WCHAR_MAX): Likewise.
12786 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12787 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12790 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12791 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12794 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12795 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12797 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12798 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12800 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12801 Defined to 1 if __x86_64__ isn't defined.
12802 (_STAT_VER_LINUX_OLD): New.
12803 (st_atime): Remove duplicate.
12804 (st_mtime): Likewise.
12805 (st_ctime): Likewise.
12807 2012-05-31 David S. Miller <davem@davemloft.net>
12809 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12812 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12814 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12818 * elf/dl-reloc.c: Include <_itoa.h>.
12819 (_dl_reloc_bad_type): Remove use of INTUSE.
12820 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12821 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12822 * stdio-common/psiginfo.c (psiginfo): Likewise.
12823 * stdio-common/psignal.c (psignal): Likewise.
12824 * string/strsignal.c (strsignal): Likewise.
12825 * include/signal.h (_sys_siglist): Declare hidden proto.
12826 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12827 INTVARDEF with libc_hidden_data_def.
12828 * stdio-common/itoa-udigits.c: Likewise.
12829 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12830 (_itoa_lower_digits_internal): Remove declaration.
12831 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12832 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12833 (_sys_sigabbrev_internal): Remove aliases.
12834 (_sys_siglist): Define hidden alias.
12836 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12841 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12844 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12845 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12847 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12848 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12849 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12850 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12851 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12852 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12854 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12855 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12856 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12858 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12866 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12867 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12868 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12870 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12871 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12872 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12873 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12874 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12875 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12877 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12878 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12880 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12881 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12883 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12884 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12885 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12887 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12888 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12890 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12892 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12893 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12894 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12896 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12898 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12900 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12902 * math/math.h (M_El): Use two more decimal places.
12903 (M_LOG2El): Likewise.
12904 (M_LOG10El): Likewise.
12905 (M_LN2l): Likewise.
12906 (M_LN10l): Likewise.
12908 (M_PI_2l): Likewise.
12909 (M_PI_4l): Likewise.
12910 (M_1_PIl): Likewise.
12911 (M_2_PIl): Likewise.
12912 (M_2_SQRTPIl): Likewise.
12913 (M_SQRT2l): Likewise.
12914 (M_SQRT1_2l): Likewise.
12916 2012-05-31 David S. Miller <davem@davemloft.net>
12918 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12919 values between float registers.
12920 * sysdeps/sparc/sparc64/memset.S: Likewise.
12921 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12923 2012-05-31 Mike Frysinger <vapier@gentoo.org>
12925 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12926 -D_FORTIFY_SOURCE=1.
12927 (CPPFLAGS-tst-longjmp_chk.c): Define.
12928 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12929 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12930 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12931 CFLAGS-tst-wchar-h.c.
12933 2012-05-31 Marek Polacek <polacek@redhat.com>
12936 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12937 __endmntent_internal): Remove declaration.
12938 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12939 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12940 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12942 2012-05-30 David S. Miller <davem@davemloft.net>
12944 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12945 (___Q_simulate_exceptions): Use real FP ops rather than writing
12947 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12950 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12953 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12954 * sysdeps/x86/bits/xtitypes.h: This.
12956 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12957 * sysdeps/x86/bits/wordsize.h: This.
12959 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12960 * sysdeps/x86/bits/huge_vall.h: This.
12962 * sysdeps/i386/bits/select.h: Removed.
12963 * sysdeps/x86_64/bits/select.h: Renamed to ...
12964 * sysdeps/x86/bits/select.h: This.
12966 * sysdeps/i386/bits/setjmp.h: Removed.
12967 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12968 * sysdeps/x86/bits/setjmp.h: This.
12970 * sysdeps/i386/bits/mathdef.h: Removed.
12971 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12972 * sysdeps/x86/bits/mathdef.h: This.
12974 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12977 * include/sys/socket.h (__connect_internal)
12978 (__libc_sa_len_internal): Remove declaration.
12979 (__connect, __libc_sa_len): Declare hidden_proto.
12980 (SA_LEN): Remove use of INTUSE.
12981 * socket/connect.c: Add libc_hidden_def.
12982 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12983 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12984 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12986 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12987 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12988 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12989 of adding _internal alias.
12991 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12994 * sysdeps/i386/bits/link.h: Removed.
12995 * sysdeps/i386/bits/linkmap.h: Likewise.
12996 * sysdeps/x86_64/bits/link.h: Renamed to ...
12997 * sysdeps/x86/bits/link.h: This.
12998 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12999 * sysdeps/x86/bits/linkmap.h: This.
13001 * sysdeps/i386/bits/endian.h: Removed.
13002 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13003 * sysdeps/x86/bits/endian.h: This.
13005 * sysdeps/i386/bits/byteswap.h: Removed.
13006 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13007 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13008 * sysdeps/x86/bits/byteswap.h: This.
13009 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13010 * sysdeps/x86/bits/byteswap-16.h: This.
13011 * sysdeps/i386/Implies: Add x86.
13012 * sysdeps/x86_64/Implies: Likewise.
13014 2012-05-30 David S. Miller <davem@davemloft.net>
13016 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13017 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13018 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13019 (FP_TRAPPING_EXCEPTIONS): Define.
13020 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13021 (FP_TRAPPING_EXCEPTIONS): Define.
13022 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13023 subnormals only when inexact has been signalled or underflow
13024 exceptions are enabled.
13025 (_FP_PACK_CANONICAL): Likewise.
13027 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13030 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13031 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13033 2012-05-30 Richard Henderson <rth@twiddle.net>
13035 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13036 with #ifndef NOT_IN_libc.
13038 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13039 marked to avoid plt entry.
13041 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13044 * Makeconfig (default-abi): New macro.
13045 (abi-includes): Likewise.
13046 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13047 $(abi-$(default-abi)-lib-soname) for soname if defined.
13048 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13050 * Makefile (installed-stubs): Likewise.
13051 * include/stubs-biarch.h: Removed.
13052 * scripts/lib-names.awk: Only handle one library at a time.
13053 * scripts/soversions.awk: Remove WORDSIZE support.
13054 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13056 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13058 (syscall-list-default-condition): Likewise.
13059 (syscall-list-default-condition): Likewise.
13060 (syscall-list-includes): Likewise.
13061 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13062 syscall-list-* with abi-*. Handle undefined abi-variants.
13063 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13064 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13065 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13066 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13067 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13068 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13070 (syscall-list-32-options): Likewise.
13071 (syscall-list-32-condition): Likewise.
13072 (syscall-list-64-options): Likewise.
13073 (syscall-list-64-condition): Likewise.
13074 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13076 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13079 (abi-64-ld-soname): New macro.
13080 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13081 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13084 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13085 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13087 2012-05-30 Joseph Myers <joseph@codesourcery.com>
13089 * sysdeps/unix/sysv/linux/kernel-features.h
13090 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13091 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13092 include <kernel-features.h>.
13093 [!__NR_ftruncate64]: Remove conditional code.
13094 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13095 [__NR_ftruncate64]: Make code unconditional.
13096 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13097 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13098 include <kernel-features.h>.
13099 [!__NR_ftruncate64]: Remove conditional code.
13100 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13101 [__NR_ftruncate64]: Make code unconditional.
13102 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13104 include <kernel-features.h>.
13105 [!__NR_ftruncate64]: Remove conditional code.
13106 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13107 [__NR_ftruncate64]: Make code unconditional.
13108 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13110 include <kernel-features.h>.
13111 [!__NR_ftruncate64]: Remove conditional code.
13112 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13113 [__NR_ftruncate64]: Make code unconditional.
13114 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13116 * configure.in (libc_cv_fpie): Weaken to a compile test using
13117 LIBC_TRY_CC_OPTION.
13118 * configure: Regenerated.
13120 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13135 2012-05-27 David S. Miller <davem@davemloft.net>
13137 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13139 (__Q_simulate_exceptions): Return void. Change to simulate
13140 exceptions by writing into the %fsr.
13141 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13142 (__Qp_handle_exceptions): Likewise.
13144 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13145 __Qp_handle_exceptions.
13146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13147 __Qp_handle_exceptions.
13148 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13149 as unused and give dummy FP_RND_NEAREST initializer.
13150 (FP_INHIBIT_RESULTS): Define.
13151 (___Q_simulate_exceptions): Update declaration.
13152 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13154 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13155 as unused and give dummy FP_RND_NEAREST initializer.
13156 (__Qp_handle_exceptions): Update declaration.
13157 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13160 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13162 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13163 the temporary FPU control word.
13164 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13165 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13166 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13167 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13168 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13169 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13170 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13171 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13172 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13173 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13174 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13176 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13178 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13181 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13183 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13184 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13185 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13186 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13188 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13189 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13192 2012-05-27 Ulrich Drepper <drepper@gmail.com>
13194 * po/h.po: Update from translation team.
13196 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13198 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13200 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13201 handling of denormals.
13202 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13203 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13204 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13205 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13206 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13207 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13208 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13211 2012-05-26 Marek Polacek <polacek@redhat.com>
13214 * math/libm-test.inc (fma_test): Don't always expect underflow
13217 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13220 * elf/tst-execstack.c: Include stackinfo.h.
13221 (do_test): Adjust test case to ensure that pthread_getattr_np
13222 behaviour remains the same after marking stack executable.
13224 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13226 * sysdeps/unix/sysv/linux/kernel-features.h
13227 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13228 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13230 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13231 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13232 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13234 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13235 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13237 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13239 * configure.in: Define the default includes to being none.
13240 * configure: Regenerated.
13242 2012-05-25 Roland McGrath <roland@hack.frob.com>
13244 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13245 * sysdeps/x86_64/setjmp.S: Likewise.
13246 * sysdeps/i386/bsd-setjmp.S: Likewise.
13247 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13248 * sysdeps/i386/setjmp.S: Likewise.
13249 * sysdeps/i386/__longjmp.S: Likewise.
13250 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13251 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13253 * include/stap-probe.h: New file.
13254 * configure.in: Handle --enable-systemtap.
13255 * configure: Regenerated.
13256 * config.h.in (USE_STAP_PROBE): New #undef.
13257 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13258 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13259 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13261 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13264 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13265 to 2.4.0 where earlier.
13266 * sysdeps/unix/sysv/linux/configure: Regenerated.
13267 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13268 <kernel-features.h>.
13269 [__ASSUME_32BITUIDS]: Make code unconditional.
13270 [!__ASSUME_32BITUIDS]: Remove conditional code.
13271 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
13272 <kernel-features.h>.
13273 [__ASSUME_32BITUIDS]: Make code unconditional.
13274 [!__ASSUME_32BITUIDS]: Remove conditional code.
13275 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
13276 [__ASSUME_32BITUIDS]: Make code unconditional.
13277 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13278 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13279 <kernel-features.h>.
13280 [__ASSUME_32BITUIDS]: Make code unconditional.
13281 [!__ASSUME_32BITUIDS]: Remove conditional code.
13282 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13283 <kernel-features.h>.
13284 [__ASSUME_32BITUIDS]: Make code unconditional.
13285 [!__ASSUME_32BITUIDS]: Remove conditional code.
13286 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13287 <kernel-features.h>.
13288 [__ASSUME_32BITUIDS]: Make code unconditional.
13289 [!__ASSUME_32BITUIDS]: Remove conditional code.
13290 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13291 <kernel-features.h>.
13292 [__ASSUME_32BITUIDS]: Make code unconditional.
13293 [!__ASSUME_32BITUIDS]: Remove conditional code.
13294 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13295 <kernel-features.h>.
13296 [__ASSUME_32BITUIDS]: Make code unconditional.
13297 [!__ASSUME_32BITUIDS]: Remove conditional code.
13298 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13299 <kernel-features.h>.
13300 [__ASSUME_32BITUIDS]: Make code unconditional.
13301 [!__ASSUME_32BITUIDS]: Remove conditional code.
13302 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13303 <kernel-features.h>.
13304 [__ASSUME_32BITUIDS]: Make code unconditional.
13305 [!__ASSUME_32BITUIDS]: Remove conditional code.
13306 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13307 <kernel-features.h>.
13308 [__ASSUME_32BITUIDS]: Make code unconditional.
13309 [!__ASSUME_32BITUIDS]: Remove conditional code.
13310 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13311 <kernel-features.h>.
13312 [__ASSUME_32BITUIDS]: Make code unconditional.
13313 [!__ASSUME_32BITUIDS]: Remove conditional code.
13314 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13315 <kernel-features.h>.
13316 [__ASSUME_32BITUIDS]: Make code unconditional.
13317 [!__ASSUME_32BITUIDS]: Remove conditional code.
13318 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13319 <kernel-features.h>.
13320 [__NR_setresgid] (__setresgid): Do not declare.
13321 [__ASSUME_32BITUIDS]: Make code unconditional.
13322 [!__ASSUME_32BITUIDS]: Remove conditional code.
13323 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13324 <kernel-features.h>.
13325 [__NR_setresuid] (__setresuid): Do not declare.
13326 [__ASSUME_32BITUIDS]: Make code unconditional.
13327 [!__ASSUME_32BITUIDS]: Remove conditional code.
13328 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13329 <kernel-features.h>.
13330 [__ASSUME_32BITUIDS]: Make code unconditional.
13331 [!__ASSUME_32BITUIDS]: Remove conditional code.
13332 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13333 <kernel-features.h>.
13334 [__ASSUME_32BITUIDS]: Make code unconditional.
13335 [!__ASSUME_32BITUIDS]: Remove conditional code.
13336 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13337 <kernel-features.h>.
13338 [__ASSUME_32BITUIDS]: Make code unconditional.
13339 [!__ASSUME_32BITUIDS]: Remove conditional code.
13340 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13341 <kernel-features.h>.
13342 [__ASSUME_32BITUIDS]: Make code unconditional.
13343 [!__ASSUME_32BITUIDS]: Remove conditional code.
13344 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13345 <kernel-features.h>.
13346 [__ASSUME_32BITUIDS]: Make code unconditional.
13347 [!__ASSUME_32BITUIDS]: Remove conditional code.
13348 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13349 <kernel-features.h>.
13350 [__ASSUME_32BITUIDS]: Make code unconditional.
13351 [!__ASSUME_32BITUIDS]: Remove conditional code.
13352 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13353 <kernel-features.h>.
13354 [__ASSUME_32BITUIDS]: Make code unconditional.
13355 [!__ASSUME_32BITUIDS]: Remove conditional code.
13356 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13357 <kernel-features.h>.
13358 [__ASSUME_32BITUIDS]: Make code unconditional.
13359 [!__ASSUME_32BITUIDS]: Remove conditional code.
13360 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13361 <kernel-features.h>.
13362 [__ASSUME_32BITUIDS]: Make code unconditional.
13363 [!__ASSUME_32BITUIDS]: Remove conditional code.
13364 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13365 <kernel-features.h>.
13366 [__ASSUME_32BITUIDS]: Make code unconditional.
13367 [!__ASSUME_32BITUIDS]: Remove conditional code.
13368 * sysdeps/unix/sysv/linux/kernel-features.h
13369 (__ASSUME_SETRESUID_SYSCALL): Remove.
13370 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13371 (__ASSUME_32BITUIDS): Likewise.
13372 (__ASSUME_LDT_WORKS): Likewise.
13373 (__ASSUME_O_DIRECTORY): Likewise.
13374 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13375 architecture but not kernel version.
13376 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13377 (__ASSUME_MMAP2_SYSCALL): Likewise.
13378 (__ASSUME_STAT64_SYSCALL): Likewise.
13379 (__ASSUME_IPC64): Likewise.
13380 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13381 <kernel-features.h>.
13382 [__ASSUME_32BITUIDS]: Make code unconditional.
13383 [!__ASSUME_32BITUIDS]: Remove conditional code.
13384 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13385 <kernel-features.h>.
13386 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13387 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13388 132096]: Remove conditional code.
13389 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13390 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13391 <kernel-features.h>.
13392 [__ASSUME_32BITUIDS]: Make code unconditional.
13393 [!__ASSUME_32BITUIDS]: Remove conditional code.
13394 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13395 <kernel-features.h>.
13396 [__ASSUME_32BITUIDS]: Make code unconditional.
13397 [!__ASSUME_32BITUIDS]: Remove conditional code.
13398 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13399 <kernel-features.h>.
13400 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13402 (__setresgid): Do not declare.
13403 [__ASSUME_32BITUIDS]: Make code unconditional.
13404 [!__ASSUME_32BITUIDS]: Remove conditional code.
13405 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13406 <kernel-features.h>.
13407 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13409 (__setresuid): Do not declare.
13410 [__ASSUME_32BITUIDS]: Make code unconditional.
13411 [!__ASSUME_32BITUIDS]: Remove conditional code.
13412 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13413 <kernel-features.h>.
13414 [__ASSUME_32BITUIDS]: Make code unconditional.
13415 [!__ASSUME_32BITUIDS]: Remove conditional code.
13416 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13417 <kernel-features.h>.
13418 [__ASSUME_32BITUIDS]: Make code unconditional.
13419 [!__ASSUME_32BITUIDS]: Remove conditional code.
13421 2012-05-25 Richard Henderson <rth@twiddle.net>
13423 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13424 dl_hwcap to ifunc resolver.
13425 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13427 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13428 dl_hwcap to ifunc resolver.
13429 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13431 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13434 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13435 for |x| <= 2**-26, not 2**-57.
13436 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13439 2012-05-24 Jeff Law <law@redhat.com>
13441 * stdio-common/Makefile (tests): Add bug25.
13442 * stdio-common/bug25.c: New test.
13444 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13447 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13448 multiple of MALLOC_ALIGNMENT in size.
13449 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13451 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13453 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13455 (FILENAME_MAX): Use macro-int-constant.
13456 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13457 (_IOFBF): Use macro-int-constant.
13458 (_IOLBF): Likewise.
13459 (_IONBF): Likewise.
13460 (SEEK_CUR): Likewise.
13461 (SEEK_END): Likewise.
13462 (SEEK_SET): Likewise.
13463 (TMP_MAX): Likewise.
13464 (EOF): Use macro-int-constant. Require < 0.
13465 (NULL): Use macro-constant. Require == 0.
13466 (stdin): Require type to be FILE *.
13467 (stdout): Likewise.
13468 (stderr): Likewise.
13469 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13470 macro-int-constant.
13471 (EXIT_SUCCESS): Likewise.
13472 (NULL): Use macro-constant. Require == 0.
13473 (RAND_MAX): Use macro-int-constant.
13474 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13475 [C99-based standards] (strtof): Require function.
13476 [C99-based standards] (strtold): Likewise.
13477 [C99-based standards] (strtoll): Likewise.
13478 [C99-based standards] (strtoull): Likewise.
13479 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13480 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13481 [ISO || ISO99 || ISO11] (math.h): Likewise.
13482 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13483 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13484 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13486 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13489 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13490 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13491 * intl/dgettext.c (DCGETTEXT): Likewise.
13492 * intl/gettext.c (DCGETTEXT): Likewise.
13493 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13494 * posix/regex_internal.h (gettext): Likewise.
13495 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13496 Remove declaration.
13497 * include/argz.h (__argz_count_internal)
13498 (__argz_stringify_internal): Remove declaration.
13499 (__argz_count, __argz_stringify): Declare hidden proto.
13500 * intl/dcgettext.c: Remove use of INTDEF.
13501 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13502 * string/argz-stringify.c: Likewise.
13503 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13504 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13505 Declare hidden proto.
13506 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13507 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13508 Declare hidden proto.
13509 * include/stdio.h (__asprintf_internal): Don't declare.
13510 (__asprintf): Don't define as macro. Declare hidden proto.
13511 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13512 (__fsetlocking): Declare hidden proto.
13513 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13514 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13516 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13517 (_IO_setlinebuf): Remove use of INTUSE.
13518 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13519 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13520 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13521 Remove declaration.
13522 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13523 (_IO_do_flush): Remove use of INTUSE.
13524 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13525 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13526 (_IO_adjust_column, _IO_least_wmarker)
13527 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13528 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13529 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13530 (_IO_default_doallocate, _IO_wdefault_doallocate)
13531 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13532 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13533 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13534 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13535 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13536 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13537 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13538 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13539 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13540 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13541 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13542 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13543 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13545 (_IO_flush_all_internal, _IO_adjust_column_internal)
13546 (_IO_default_uflow_internal, _IO_default_finish_internal)
13547 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13548 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13549 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13550 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13551 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13552 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13553 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13554 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13555 (_IO_file_close_internal, _IO_file_close_it_internal)
13556 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13557 (_IO_file_init_internal, _IO_file_attach_internal)
13558 (_IO_file_fopen_internal, _IO_file_read_internal)
13559 (_IO_file_sync_internal, _IO_file_seek_internal)
13560 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13561 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13562 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13563 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13564 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13565 (_IO_list_all_internal, _IO_link_in_internal)
13566 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13567 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13568 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13569 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13570 (_IO_do_write_internal, _IO_padn_internal)
13571 (_IO_getline_info_internal, _IO_getline_internal)
13572 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13573 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13574 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13575 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13576 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13577 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13578 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13579 with libc_hidden_ver, remove use of INTUSE.
13580 * libio/genops.c: Likewise.
13581 * libio/freopen.c: Likewise.
13582 * libio/freopen64.c: Likewise.
13583 * libio/iofclose.c: Likewise.
13584 * libio/iofdopen.c: Likewise.
13585 * libio/iofflush.c: Likewise.
13586 * libio/iofflush_u.c: Likewise.
13587 * libio/iofgets.c: Likewise.
13588 * libio/iofgets_u.c: Likewise.
13589 * libio/iofopen.c: Likewise.
13590 * libio/iofopncook.c: Likewise.
13591 * libio/iofread.c: Likewise.
13592 * libio/iofread_u.c: Likewise.
13593 * libio/ioftell.c: Likewise.
13594 * libio/iofwrite.c: Likewise.
13595 * libio/iogetline.c: Likewise.
13596 * libio/iogets.c: Likewise.
13597 * libio/iogetwline.c: Likewise.
13598 * libio/iopadn.c: Likewise.
13599 * libio/iopopen.c: Likewise.
13600 * libio/ioseekoff.c: Likewise.
13601 * libio/ioseekpos.c: Likewise.
13602 * libio/iosetbuffer.c: Likewise.
13603 * libio/iosetvbuf.c: Likewise.
13604 * libio/ioungetc.c: Likewise.
13605 * libio/ioungetwc.c: Likewise.
13606 * libio/iovdprintf.c: Likewise.
13607 * libio/iovsprintf.c: Likewise.
13608 * libio/iovsscanf.c: Likewise.
13609 * libio/memstream.c: Likewise.
13610 * libio/obprintf.c: Likewise.
13611 * libio/oldfileops.c: Likewise.
13612 * libio/oldiofclose.c: Likewise.
13613 * libio/oldiofdopen.c: Likewise.
13614 * libio/oldiofopen.c: Likewise.
13615 * libio/oldiopopen.c: Likewise.
13616 * libio/oldstdfiles.c: Likewise.
13617 * libio/putc.c: Likewise.
13618 * libio/setbuf.c: Likewise.
13619 * libio/setlinebuf.c: Likewise.
13620 * libio/stdfiles.c: Likewise.
13621 * libio/strops.c: Likewise.
13622 * libio/vasprintf.c: Likewise.
13623 * libio/vscanf.c: Likewise.
13624 * libio/vsnprintf.c: Likewise.
13625 * libio/vswprintf.c: Likewise.
13626 * libio/wfiledoalloc.c: Likewise.
13627 * libio/wfileops.c: Likewise.
13628 * libio/wgenops.c: Likewise.
13629 * libio/wmemstream.c: Likewise.
13630 * libio/wstrops.c: Likewise.
13631 * libio/__fpurge.c: Likewise.
13632 * libio/__fsetlocking.c: Likewise.
13633 * assert/assert.c: Likewise.
13634 * debug/fgets_chk.c: Likewise.
13635 * debug/fgets_u_chk.c: Likewise.
13636 * debug/fread_chk.c: Likewise.
13637 * debug/fread_u_chk.c: Likewise.
13638 * debug/gets_chk.c: Likewise.
13639 * debug/obprintf_chk.c: Likewise.
13640 * debug/vasprintf_chk.c: Likewise.
13641 * debug/vdprintf_chk.c: Likewise.
13642 * debug/vsnprintf_chk.c: Likewise.
13643 * debug/vsprintf_chk.c: Likewise.
13644 * malloc/mtrace.c: Likewise.
13645 * misc/error.c: Likewise.
13646 * misc/syslog.c: Likewise.
13647 * stdio-common/asprintf.c: Likewise.
13648 * stdio-common/fxprintf.c: Likewise.
13649 * stdio-common/getw.c: Likewise.
13650 * stdio-common/isoc99_fscanf.c: Likewise.
13651 * stdio-common/isoc99_scanf.c: Likewise.
13652 * stdio-common/isoc99_vfscanf.c: Likewise.
13653 * stdio-common/isoc99_vscanf.c: Likewise.
13654 * stdio-common/isoc99_vsscanf.c: Likewise.
13655 * stdio-common/printf-prs.c: Likewise.
13656 * stdio-common/printf_fp.c: Likewise.
13657 * stdio-common/printf_fphex.c: Likewise.
13658 * stdio-common/printf_size.c: Likewise.
13659 * stdio-common/putw.c: Likewise.
13660 * stdio-common/scanf.c: Likewise.
13661 * stdio-common/sprintf.c: Likewise.
13662 * stdio-common/tmpfile.c: Likewise.
13663 * stdio-common/vfprintf.c: Likewise.
13664 * stdio-common/vfscanf.c: Likewise.
13665 * stdlib/strfmon_l.c: Likewise.
13666 * sunrpc/openchild.c: Likewise.
13667 * sunrpc/xdr_stdio.c: Likewise.
13668 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13669 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13671 2012-05-24 Roland McGrath <roland@hack.frob.com>
13673 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13675 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13676 in the third column, to generate for the shared library an IFUNC
13677 that uses _dl_vdso_vsym.
13678 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13679 * Makeconfig (object-suffixes-noshared): New variable.
13681 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13682 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13683 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13684 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13687 * include/sys/time.h (__gettimeofday): Remove macro.
13688 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13689 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13691 (__gettimeofday): Add libc_hidden_def.
13692 (gettimeofday): Add libc_hidden_weak.
13693 * sysdeps/mach/gettimeofday.c: Likewise.
13694 * sysdeps/posix/gettimeofday.c: Likewise.
13695 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13696 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13697 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13698 (__gettimeofday_internal): Remove strong_alias.
13699 (__gettimeofday): Add libc_hidden_def.
13700 (gettimeofday): Add libc_hidden_weak.
13701 * sysdeps/unix/syscalls.list (gettimeofday):
13702 Remove __gettimeofday_internal alias.
13704 2012-05-24 Daniel Jacobowitz <drow@false.org>
13705 H.J. Lu <hongjiu.lu@intel.com>
13708 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13709 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13710 (largebin_index_32_big): New.
13711 (largebin_index): Use it for 16-byte alignment.
13712 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13713 correction with front_misalign.
13715 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13743 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13744 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13746 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13750 * math/libm-test.inc (exp_test): Add test from bug 14036.
13751 (pow_test): Add test from bug 10846.
13753 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13755 (special_function): Do not include flags in test name.
13756 (parse_args): Likewise.
13757 * sysdeps/i386/fpu/libm-test-ulps: Update.
13758 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13759 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13760 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13763 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13765 * math/libm-test.inc ("Philosophy"): Update comment about
13767 (UNDERFLOW_EXCEPTION): New macro.
13768 (UNDERFLOW_EXCEPTION_OK): Likewise.
13769 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13770 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13771 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13772 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13773 (INVALID_EXCEPTION_OK): Update value.
13774 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13775 (OVERFLOW_EXCEPTION_OK): Likewise.
13776 (IGNORE_ZERO_INF_SIGN): Likewise.
13777 (test_exceptions): Handle underflow exceptions.
13778 (acos_test): Update for underflow exception expectations.
13779 (cexp_test): Likewise.
13780 (clog_test): Likewise.
13781 (clog10_test): Likewise.
13782 (csqrt_test): Likewise.
13783 (ctan_test): Likewise.
13784 (ctanh_test): Likewise.
13785 (exp_test): Likewise.
13786 (exp10_test): Likewise.
13787 (exp2_test): Likewise.
13788 (expm1_test): Likewise.
13789 (fma_test): Likewise.
13790 (j0_test): Likewise.
13791 (jn_test): Likewise.
13792 (nexttoward_test): Likewise.
13793 (pow_test): Likewise.
13794 (scalbn_test): Likewise.
13795 (scalbln_test): Likewise.
13796 (tan_test): Likewise.
13797 (y1_test): Likewise.
13798 * sysdeps/i386/fpu/libm-test-ulps: Update.
13799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13801 2012-05-23 David S. Miller <davem@davemloft.net>
13803 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13804 (__libc_sigaction): Remove unused local variables.
13806 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13808 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13810 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13812 mktime: avoid signed integer overflow
13813 * time/mktime.c (__mktime_internal): Do not mishandle the case
13814 where diff == INT_MIN.
13816 mktime: simplify computation of average
13817 * time/mktime.c (ranged_convert): Use new time_t_avg function
13818 instead of rolling our own (probably-slower) code.
13820 mktime: do not assume signed right shift propagates sign bit
13821 * time/mktime.c (isdst_differ): New static function.
13822 (__mktime_internal): No need to normalize tm_isdst now.
13823 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13826 mktime: merge another wrapv change from gnulib
13827 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13828 from some compilers.
13830 mktime: remove incorrect attempt at unusual arithmetics
13831 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13832 The code didn't really work on such machines anyway.
13833 (TYPE_MINIMUM): Assume two's complement.
13834 (twos_complement_arithmetic): Verify that long_int and time_t
13835 are two's complement (or unsigned, in the latter case).
13837 mktime: check signed shifts on long_int and time_t, too
13838 * time/mktime.c (SHR): Check that shifts work as desired
13839 on the types long_int and time_t too, as SHR is used on
13842 mktime: do not assume 'long' is wide enough
13843 * time/mktime.c (verify): Move decl up.
13844 (long_int): New type.
13845 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13846 to remove assumption in the code that 'long' is wide enough to
13847 store year values. This assumption is not true on x32 and on
13848 some non-glibc platforms.
13850 mktime: merge wrapv change from gnulib
13851 * time/mktime.c (WRAPV): New macro.
13852 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13853 (guess_time_tm, __mktime_internal): Do not assume that signed
13854 integer overflow wraps around; modern compilers generate code
13855 where this assumption is no longer valid.
13857 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13859 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13860 Replace "jmp L(pseudo_end)" with "ret".
13861 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13864 2012-05-23 Andreas Jaeger <aj@suse.de>
13866 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13867 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13869 2012-05-23 Andreas Jaeger <aj@suse.de>
13870 Maximilian Attems <max@stro.at>
13872 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13875 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13877 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13878 code so that pseudo_end is just ret and the stack pointer is
13879 correct also for static library in error case.
13881 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13883 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13884 move to syscalls.list.
13885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13890 * manual/install.texi (Running make install): Do not mention Linux
13891 kernel version for which pt_chown is not needed.
13892 (Linux): Do not mention problems with nscd with 2.0 kernels.
13893 * INSTALL: Regenerated.
13895 2012-05-23 Andreas Jaeger <aj@suse.de>
13897 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13898 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13900 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13901 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13902 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13903 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13904 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13905 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13906 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13907 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13908 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13909 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13910 * sysdeps/unix/sysv/linux/bits/in.h
13911 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13913 2012-05-22 Roland McGrath <roland@hack.frob.com>
13915 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13916 (PREPARE_VERSION): Just use assert instead, it will be elided
13917 under [NDEBUG] anyway.
13919 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13921 * sysdeps/unix/sysv/linux/Makefile: Include
13922 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13923 (sysdep_routines): Remove sysctl.
13924 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13925 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13926 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13927 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13928 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13930 2012-05-22 Andreas Jaeger <aj@suse.de>
13932 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13933 that pseudo_end is just ret and the stack pointer is correct also
13934 for static library in error case.
13936 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13939 * nss/nsswitch.c (defconfig_entries): New variable.
13940 (__nss_database_lookup): Don't leak defconfig entries.
13941 (nss_parse_service_list): Don't leak on error paths.
13942 (free_database_entries): New function.
13943 (free_defconfig): New function.
13944 (free_mem): Move common code to free_database_entries.
13946 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13948 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13950 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13952 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13953 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13956 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13957 (INTERNAL_SYSCALL_TYPES): Likewise.
13958 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13959 (LOAD_REGS_TYPES_[1-6]): Likewise.
13960 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13961 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13963 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13965 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13966 copysignl for GLIBC_2_0.
13967 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13968 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13969 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13970 logbl for GLIBC_2_0.
13971 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13972 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13974 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13976 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13977 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13979 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13982 * time/mktime.c: Update copyright years.
13984 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13986 mktime: merge comment-quoting-style change from gnulib
13987 * time/mktime.c: Quote 'like this' in comments.
13988 The GNU coding standards suggest that we no longer quote `like this',
13989 as "`" and "'" are typically rendered asymmetrically nowadays.
13990 The typical gnulib style is to quote 'like this' when quoting
13991 code, and "like this" when quoting English.
13993 * time/mktime.c (compile-command): Add "-I.".
13995 mktime: merge mktime-internal.h change from gnulib
13996 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13998 mktime: merge time_r change from gnulib
13999 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14001 mktime: merge DEBUG change from gnulib
14002 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14003 case system <time.h> has a #define.
14005 mktime: merge <sys/types.h> change from gnulib
14006 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14007 since <time.t> is now guaranteed to define time_t.
14009 mktime: merge HAVE_CONFIG_H change from gnulib
14010 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14012 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14017 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14019 (struct rusage): Use anonymous union to pad each field to
14022 2012-05-21 David S. Miller <davem@davemloft.net>
14024 * Makefules (o-iterator): Remove .s cases.
14025 (compile-command.s): Delete.
14026 (COMPILE.s): Delete.
14027 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14029 2012-05-21 Joseph Myers <joseph@codesourcery.com>
14031 * configure.in (libc_cv_predef_stack_protector): Only consider
14032 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14033 * configure: Regenerated.
14035 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14037 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14038 New macro. Use R*LP on int and pointer.
14039 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
14040 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14041 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
14042 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14044 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14045 [__WORDSIZE_TIME64_COMPAT32] instead of
14046 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14047 (struct utmp): Likewise.
14048 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14049 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14051 (__WORDSIZE_TIME64_COMPAT32): This.
14052 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14053 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14054 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14055 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14056 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14057 (__WORDSIZE_TIME64_COMPAT32): New macro.
14059 2012-05-21 Andreas Jaeger <aj@suse.de>
14061 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14062 only if [SHARED]. Add prototype for __wcschr_ia32.
14064 2012-05-21 Roland McGrath <roland@hack.frob.com>
14066 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14067 of %rbp unmolested in the jmp_buf while mangling the low bits.
14068 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14069 unmolested high bits of %rbp while demangling the low bits.
14070 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14072 2012-05-21 Andreas Jaeger <aj@suse.de>
14074 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14075 * sunrpc/svc_simple.c: Use it for registerrpc.
14076 * sunrpc/xcrypt.c: Use it for passwd2des.
14078 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14080 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14082 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14083 Don't define if [__SYSCALL_WORDSIZE != 32].
14084 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14087 2012-05-21 Bruno Haible <bruno@clisp.org>
14088 Andreas Jaeger <aj@suse.de>
14090 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14091 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14092 inptr and inend for must_buffer_ch.
14093 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14094 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14095 * stdio-common/Makefile (tests): Remove bug15.
14096 (bug15-ENV): Remove macro.
14097 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14100 2012-05-19 Andreas Jaeger <aj@suse.de>
14101 Roland McGrath <roland@hack.frob.com>
14103 * manual/contrib.texi: Completely rewritten. It contains now an
14104 alphabetical list of contributors and their contributions.
14106 2012-05-21 Richard Henderson <rth@twiddle.net>
14108 * misc/getauxval.c (__getauxval): Use unsigned long int.
14109 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14110 (getauxval): Use unsigned long int.
14112 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14114 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14116 2012-05-21 Roland McGrath <roland@hack.frob.com>
14118 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14119 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14120 __alignof__ (long double).
14122 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14126 2012-05-20 Richard Henderson <rth@twiddle.net>
14128 * misc/getauxval.c: New file.
14129 * misc/sys/auxv.h: New file.
14130 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14131 (routines): Add getauxval.
14132 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14133 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14134 * elf/dl-sysdep.c (_dl_auxv): Remove.
14135 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14136 * elf/dl-support.c (_dl_auxv): New variable.
14137 (_dl_aux_init): Initialize it.
14138 * manual/startup.texi (Auxiliary Vector): New node.
14139 * sysdeps/generic/bits/hwcap.h: New file.
14140 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14141 * sysdeps/powerpc/sysdep.h: ... here. Include it.
14142 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14143 * sysdeps/sparc/sysdep.h: ... here. Include it.
14144 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14145 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
14146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14151 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14157 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14161 2012-05-19 David S. Miller <davem@davemloft.net>
14163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14165 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14168 * math/s_ccosh.c: Include <float.h>
14169 (__ccosh): Avoid internal overflow calculating sinh and cosh
14170 values before multiplying by sin and cos values.
14171 * math/s_ccoshf.c: Likewise.
14172 * math/s_ccoshl.c: Likewise.
14173 * math/s_csin.c: Likewise.
14174 * math/s_csinf.c: Likewise.
14175 * math/s_csinl.c: Likewise.
14176 * math/s_csinh.c: Likewise.
14177 * math/s_csinhf.c: Likewise.
14178 * math/s_csinhl.c: Likewise.
14179 * math/libm-test.inc (ccos_test): Add more tests.
14180 (ccosh_test): Likewise.
14181 (csin_test): Likewise.
14182 (csinh_test): Likewise.
14183 * sysdeps/i386/fpu/libm-test-ulps: Update.
14184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14186 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14188 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14189 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14191 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14193 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14195 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14196 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14197 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14198 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14199 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14200 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14201 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14202 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14203 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14204 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14205 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14206 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14207 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14208 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14209 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14210 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14211 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14212 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14213 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14214 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14215 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14216 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14217 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14218 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14219 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14220 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14221 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14222 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14223 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14224 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14225 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14227 2012-05-18 Andreas Jaeger <aj@suse.de>
14229 * csu/.gitignore: Delete.
14231 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14233 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14234 (timex): Use __syscall_slong_t.
14236 2012-05-18 Andreas Jaeger <aj@suse.de>
14237 Carlos O'Donell <carlos_odonell@mentor.com>
14239 * manual/install.texi (Configuring and compiling): Update
14240 description about files modified in the source directory.
14241 * INSTALL: Regenerated.
14243 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14245 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14246 value. Use "or" to set return value to -1.
14247 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14248 negate return value.
14250 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14252 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14253 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14254 failure if the compiler has Graphite support disabled.
14255 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14257 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14258 CFLAGS-memmove.c): Likewise.
14259 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14262 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14264 * sysdeps/x86_64/x32/_itoa.h: New file.
14266 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14267 getdents system call only if kernel and user dirents have the
14268 same d_ino and d_off.
14270 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14271 LLONG_MAX != LONG_MAX.
14272 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14273 (_fitoa_word): Likewise.
14275 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14277 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14278 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14279 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14281 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14282 include <bits/wordsize.h>. Check __x86_64__ instead of
14284 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14285 if __x86_64__ is defined. Use anonymous union on fpstate.
14287 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14290 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14292 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14293 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14294 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14295 Refer to _rtld_local_ro instead of _rtld_global_ro.
14296 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14298 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14300 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14302 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14303 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14304 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14306 * sysdeps/powerpc/powerpc32/dl-machine.c
14307 (__elf_machine_runtime_setup) [PROF]: Don't reference
14310 2012-05-18 Andreas Jaeger <aj@suse.de>
14312 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14313 function only available for GCCs before 3.4 since GCC 3.4
14314 introduced a builtin.
14316 (llrintf): Likewise.
14317 (llrint): Likewise.
14324 (nearbyint): Likewise.
14325 (nearbyintf): Likewise.
14329 (floorf): Likewise.
14331 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14333 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14334 on both fields and cast pointer to __syscall_ulong_t.
14336 * bits/types.h (__fsword_t): New type.
14337 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14338 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14339 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14340 (__FSWORD_T_TYPE): Likewise.
14341 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14342 (__FSWORD_T_TYPE): Likewise.
14343 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14344 (__FSWORD_T_TYPE): Likewise.
14345 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14346 (__FSWORD_T_TYPE): Likewise.
14347 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14348 __SWORD_TYPE with __fsword_t.
14349 (statfs64): Likewise.
14351 2012-05-17 David S. Miller <davem@davemloft.net>
14353 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14355 2012-05-17 Andreas Jaeger <aj@suse.de>
14357 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14360 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14362 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14364 2012-05-17 Andreas Jaeger <aj@suse.de>
14366 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14369 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14371 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14373 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14375 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14376 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14378 2012-05-17 Andreas Jaeger <aj@suse.de>
14379 Carlos O'Donell <carlos_odonell@mentor.com>
14382 * sysdeps/x86_64/multiarch/init-arch.h
14383 (bit_YMM_Usable): Rename to...
14384 (bit_AVX_Usable): ... this.
14385 (bit_FMA4_Usable): New macro.
14386 (bit_XMM_state): New macro.
14387 (bit_YMM_state): New macro.
14388 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14389 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14390 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14391 (CPUID_OSXSAVE): New macro.
14392 (CPUID_AVX): New macro.
14393 (CPUID_FMA4): New macro.
14394 (index_YMM_Usable): Rename to...
14395 (index_AVX_Usable): ... this.
14396 (HAS_AVX): Use HAS_ARCH_FEATURE.
14397 (HAS_FMA4): Likewise.
14398 (HAS_YMM_USABLE): Remove.
14399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14400 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14402 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14403 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14404 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14405 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14406 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14408 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14410 * math/libm-test.c: Support platforms without multiple rounding modes.
14411 * math/bug-nextafter.c: Support platforms without FP exceptions.
14412 * math/bug-nexttoward.c: Likewise.
14413 * math/test-fenv.c: Likewise.
14414 * math/test-misc.c: Likewise.
14415 * stdlib/bug-getcontext.c: Likewise.
14417 2012-05-17 Andreas Jaeger <aj@suse.de>
14419 * manual/examples/search.c (critter_cmp): Change signature to
14421 * manual/string.texi (Collation Functions): Likewise.
14423 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14425 * bits/types.h: Fold copyright years.
14426 * bits/typesizes.h: Likewise.
14427 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14428 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14429 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14430 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14431 * time/time.h: Likewise.
14433 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14436 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14437 in instead of returning them. Return void.
14438 (__libc_mallinfo): Accumulate over all arenas.
14439 (__malloc_stats): Adjust for change in int_mallinfo interface.
14441 2012-05-16 Roland McGrath <roland@hack.frob.com>
14444 * configure.in (NM): Add AC_CHECK_TOOL for it.
14445 (libc_extra_cflags): New substituted variable.
14446 Check for -fstack-protector being used implicitly.
14447 * configure: Regenerated.
14448 * config.make.in (config-extra-cflags): New variable,
14449 gets @libc_extra_cflags@.
14450 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14453 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14454 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14455 * configure: Regenerated.
14456 * config.make.in (CPPUNDEFS): New substituted variable.
14457 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14458 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14459 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14461 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14463 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14464 (mq_attr): Use __syscall_slong_t.
14466 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14468 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14469 Check __x86_64__ instead of __WORDSIZE.
14470 (_STAT_VER_LINUX): Likewise.
14471 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14472 __syscall_ulong_t and __syscall_slong_t.
14473 (stat64): Likewise.
14475 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14477 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14479 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14481 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14483 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14485 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14488 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14489 include <bits/wordsize.h>. Check __x86_64__ instead of
14491 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14493 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14495 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14496 include <bits/wordsize.h>. Check __x86_64__ instead of
14498 (user_regs_struct): Use "__extension__ unsigned long long"
14499 instead of "unsigned long" if __x86_64__ is defined.
14500 (user): Likewise. Pad after pointer field if __ILP32__ is
14503 2012-05-16 Joseph Myers <joseph@codesourcery.com>
14505 * configure.in (makeinfo): Require version 4.5 or later. Allow
14507 * configure: Regenerated.
14508 * manual/install.texi (texinfo): Increase version requirement to
14510 * INSTALL: Regenerated.
14512 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14514 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14516 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14518 * sysdeps/x86_64/x32/ffs.c: New file.
14520 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14522 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14523 defined. Use __syscall_ulong_t.
14524 (shminfo): Use __syscall_ulong_t.
14525 (shm_info): Likewise.
14527 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14530 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14532 (msgqnum_t): Use __syscall_ulong_t.
14533 (msglen_t): Likewise.
14534 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14537 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14538 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14540 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14542 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14543 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14545 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14548 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14549 include <bits/wordsize.h>. Check __x86_64__ instead of
14552 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14553 "unsigned long long int" if __x86_64__ is defined.
14554 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14556 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14557 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14558 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14560 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14562 (GET_PC): Cast to uintptr_t first.
14563 (GET_FRAME): Likewise.
14564 (GET_STACK): Likewise.
14566 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14567 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14568 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14569 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14570 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14571 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14572 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14573 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14574 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14575 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14576 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14577 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14578 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14579 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14580 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14581 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14582 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14583 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14584 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14585 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14586 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14587 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14588 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14589 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14590 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14591 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14592 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14593 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14594 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14596 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14598 * Makerules (+depfiles): Also collect depfiles from .oS in
14600 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14601 .oS, $(libnldbl-routines)).
14603 * Makerules (native-compile-mkdep-flags): Define.
14604 * sunrpc/Makefile (extra-objs): Add $(addprefix
14605 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14606 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14607 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14608 calling $(make-target-directory).
14610 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14612 * bits/types.h (__snseconds_t): Removed.
14613 * time/time.h (struct timespec): Replace __snseconds_t with
14615 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14616 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14618 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14619 (__SNSECONDS_T_TYPE): Likewise.
14620 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14621 (__SNSECONDS_T_TYPE): Likewise.
14622 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14623 (__SNSECONDS_T_TYPE): Likewise.
14625 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14627 * sysdeps/mach/hurd/bits/typesizes.h
14628 (__SYSCALL_SLONG_TYPE): New macro.
14629 (__SYSCALL_ULONG_TYPE): Likewise.
14631 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14633 * bits/types.h (__syscall_slong_t): New type.
14634 (__syscall_ulong_t): Likewise.
14636 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14637 (__SYSCALL_ULONG_TYPE): Likewise.
14638 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14639 (__SYSCALL_SLONG_TYPE): Likewise.
14640 (__SYSCALL_ULONG_TYPE): Likewise.
14641 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14642 (__SYSCALL_SLONG_TYPE): Likewise.
14643 (__SYSCALL_ULONG_TYPE): Likewise.
14644 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14645 (__SYSCALL_SLONG_TYPE): Likewise.
14646 (__SYSCALL_ULONG_TYPE): Likewise.
14648 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14650 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14651 Add sigaltstack-offsets.sym.
14652 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14653 <sigaltstack-offsets.h>.
14654 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14655 longjmp_msg pointer.
14656 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14657 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14659 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14661 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14663 * elf/stackguard-macros.h: Remove file.
14664 * sysdeps/generic/stackguard-macros.h: New file.
14665 * sysdeps/i386/stackguard-macros.h: Likewise.
14666 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14667 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14668 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14669 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14670 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14671 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14672 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14673 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14674 <elf/stackguard-macros.h>.
14677 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14678 __aligned__ in attribute.
14679 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14680 (gregset_t): Likewise.
14682 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14684 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14685 * sysdeps/x86_64/64/Implies-after: Here. New file.
14686 * sysdeps/x86_64/x32/Implies-after: New file.
14688 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14690 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14691 and access return value for _dl_profile_fixup. Use R10_LP to
14694 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14696 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14698 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14700 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14701 * sysdeps/x86_64/x32/sysdep.h: New file.
14703 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14705 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14706 * sysdeps/x86_64/setjmp.S: Likewise.
14708 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14710 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14711 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14712 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14713 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14714 remove unused global constant.
14716 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14718 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14719 include of <not-cancel.h>.
14721 2012-05-15 Roland McGrath <roland@hack.frob.com>
14723 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14725 2012-05-15 Jeff Law <law@redhat.com>
14726 Andreas Jaeger <aj@suse.de>
14729 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14731 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14732 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14733 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14734 code changing __hst_map_handle.map.
14736 2012-05-15 Roland McGrath <roland@hack.frob.com>
14738 * configure.in (sysnames): Look for Implies-before and Implies-after
14740 * configure: Regenerated.
14742 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14744 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14745 8-byte data alignment with LP_SIZE alignment.
14747 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14749 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14752 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14754 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14756 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14758 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14759 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14760 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14762 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14764 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14766 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14767 (stackinfo_sub_sp): Likewise.
14769 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14771 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14774 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14776 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14779 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14781 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14784 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14786 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14788 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14790 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14791 into R11_LP and load __x86_64_shared_cache_size_half into
14794 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14796 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14799 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14801 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14803 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14805 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14807 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14808 powerpc32/power7/fpu/s_logb.c via #include.
14809 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14810 powerpc32/power7/fpu/s_logbf.c via #include.
14811 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14812 powerpc32/power7/fpu/s_logbl.c via #include.
14814 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14816 * README.libm: Remove file.
14818 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14820 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14821 count for x32. Use R*_LP and omit operand-size suffix.
14823 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14825 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14826 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14827 * sysdeps/x86_64/x32/shlib-versions: New file.
14829 2012-05-14 Roland McGrath <roland@hack.frob.com>
14831 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14832 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14833 Use _dl_fatal_printf instead.
14835 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14837 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14838 set if not set by the user. Do not allow for being unset.
14839 * sysdeps/unix/sysv/linux/configure: Regenerated.
14841 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14843 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14844 the `q' suffix from lea and replace .quad with ASM_ADDR.
14846 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14849 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14851 (PTR_DEMANGLE): Likewise.
14853 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14855 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14857 (ASM_ADDR): Likewise.
14858 (RAX_LP): Likewise.
14859 (RBP_LP): Likewise.
14860 (RBX_LP): Likewise.
14861 (RCX_LP): Likewise.
14862 (RDI_LP): Likewise.
14863 (RSI_LP): Likewise.
14864 (RSP_LP): Likewise.
14867 (R10_LP): Likewise.
14868 (R10_LP): Likewise.
14869 (R11_LP): Likewise.
14870 (R12_LP): Likewise.
14871 (R13_LP): Likewise.
14872 (R14_LP): Likewise.
14873 (R15_LP): Likewise.
14875 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14877 * sysdeps/x86_64/x32/dl-machine.h: New file.
14879 2012-05-14 Andreas Jaeger <aj@suse.de>
14881 * manual/Makefile (subdir): Remove export of subdir.
14882 (all): Remove target.
14883 (.PHONY): Remove all from list.
14884 (mkinstalldirs): Remove.
14885 (.PHONY): Remove installdirs from list.
14886 ($(inst_infodir)/libc.info): Use make-target-directory.
14887 (installdirs): Remove.
14888 (subdir_%): Remove.
14889 (glibc-targets): Remove.
14892 ($(objpfx)stubs ../po/manual.pot): Remove.
14893 ($(objpfx)stamp%): Remove.
14894 (make-target-directory): Remove.
14895 (subdir_install): Remove.
14896 (routines): Remove.
14903 * manual/.gitignore: Remove, it's not needed anymore.
14904 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14906 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14908 (texis): Renamed to $(objpfx)texis.
14909 (texis-path): New, contains path to generated files.
14910 (chapters.%): Use texis-path for complete path, add extra argument
14912 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14913 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14914 (summary,texi, stamp-summary): Use complete path of
14915 files. Generate files in build dir.
14916 (dir-add.texi): Build in build dir.
14917 (libm-err.texi,stamp-libm-err): Likewise.
14918 (version.texi, stamp-version): Likewise.
14919 (.%c.texi): Likewise.
14920 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14921 (mostlyclean): Remove target.
14922 (realclean): Remove target.
14923 (generated): Add new variable with contents from mostlyclean and
14924 realclean, remove entries duplicated in common-mostlyclean, add
14925 stamp-libm-err and stamp-version.
14926 (generated-dirs): Add libc directory.
14927 ($(inst_infodir)/libc.info): Install files from build dir.
14929 * manual/install.texi (Configuring and compiling): Adjust since
14930 the info files are not part of the tar ball anymore.
14932 2012-05-14 Andreas Jaeger <aj@suse.de>
14934 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14937 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14940 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14941 to 2.2.0 where earlier.
14942 * sysdeps/unix/sysv/linux/configure: Regenerated.
14943 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14944 Remove conditional code.
14945 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14946 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14947 Remove conditional code.
14948 [!__NR_lchown]: Likewise.
14949 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14950 [__NR_lchown]: Likewise.
14951 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14952 comment referencing __ASSUME_LCHOWN_SYSCALL.
14953 * sysdeps/unix/sysv/linux/i386/sigaction.c
14954 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14955 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14956 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14957 Remove conditional code.
14958 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14959 (__protocol_available): Remove #if 0 code.
14960 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14962 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14963 * sysdeps/unix/sysv/linux/kernel-features.h
14964 (__ASSUME_GETCWD_SYSCALL): Don't define.
14965 (__ASSUME_REALTIME_SIGNALS): Likewise.
14966 (__ASSUME_PREAD_SYSCALL): Likewise.
14967 (__ASSUME_PWRITE_SYSCALL): Likewise.
14968 (__ASSUME_POLL_SYSCALL): Likewise.
14969 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14970 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14972 (__ASSUME_SIOCGIFNAME): Don't define.
14973 (__ASSUME_MSG_NOSIGNAL): Likewise.
14974 (__ASSUME_SENDFILE): Define unconditionally.
14975 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14976 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14978 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14979 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14980 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14981 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14982 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14983 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14984 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14986 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14987 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14989 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14990 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14992 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14993 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14995 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14996 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14998 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14999 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15001 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15002 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15004 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15005 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15007 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15008 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15009 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15010 Remove conditional code.
15011 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15012 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15013 Remove conditional code.
15014 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15015 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15016 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15017 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15018 Remove conditional code.
15019 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15020 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15021 Remove conditional code.
15022 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15023 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15024 Remove conditional code.
15025 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15026 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15027 Remove conditional code.
15028 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15029 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15030 Remove conditional code.
15031 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15032 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15033 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15034 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15035 * sysdeps/unix/sysv/linux/sigaction.c
15036 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15037 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15038 * sysdeps/unix/sysv/linux/sigpending.c
15039 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15040 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15041 * sysdeps/unix/sysv/linux/sigprocmask.c
15042 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15043 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15044 * sysdeps/unix/sysv/linux/sigsuspend.c
15045 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15046 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15047 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15048 (__libc_missing_rt_sigs): Remove.
15049 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15050 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15051 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15052 Remove conditional code.
15053 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15054 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15056 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15057 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15058 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15059 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15061 2012-05-14 Andreas Jaeger <aj@suse.de>
15063 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15064 it's not used in glibc.
15065 (__coshm1): Likewise.
15066 (__acosh1p): Likewise.
15069 * manual/string.texi (Copying and Concatenation): Add missing
15070 variable in concat example.
15071 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15073 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15076 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15077 __builtin_clzl with __builtin_clzll.
15079 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15082 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15085 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15087 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15088 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15089 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15090 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15092 2012-05-14 Mike Frysinger <vapier@gentoo.org>
15094 * NEWS: Update ia64 info.
15096 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15098 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15101 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15103 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15104 * sysdeps/unix/syscalls.list (dup3): Likewise.
15105 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15106 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15108 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15110 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15111 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15113 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15115 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15117 (TLS_IE): Use mov/add instead of movq/addq to load thread
15119 (TLS_GD_PREFIX): New.
15122 2012-05-11 David S. Miller <davem@davemloft.net>
15124 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15125 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15126 (_FPU_SETCW): Likewise.
15128 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15130 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15131 is 32-byte aligned.
15133 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
15136 * iconvdata/gb18030.c: Update tables.
15137 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
15138 characters specially.
15139 (BODY for TO_LOOP): Add encoding of missing ranges.
15141 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
15144 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15145 * sysdeps/mach/hurd/dup3.c: Likewise.
15146 * sysdeps/mach/hurd/readlinkat.c: Likewise.
15147 * sysdeps/powerpc/memmove.c:: Likewise.
15149 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15151 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15152 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15154 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15156 * elf/elf.h (R_X86_64_RELATIVE64): New.
15157 (R_X86_64_NUM): Updated.
15158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15159 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15160 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15161 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15162 tst-quad1pie tst-quad2pie
15163 (modules-names): Add tst-quadmod1 tst-quadmod2.
15164 ($(objpfx)tst-quad1): New dependency.
15165 ($(objpfx)tst-quad2): Likewise.
15166 ($(objpfx)tst-quad1pie): Likewise.
15167 ($(objpfx)tst-quad2pie): Likewise.
15168 * sysdeps/x86_64/tst-quad1.c: New file.
15169 * sysdeps/x86_64/tst-quad1pie.c: New file.
15170 * sysdeps/x86_64/tst-quad2.c: Likewise.
15171 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15172 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15173 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15174 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15175 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15177 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15179 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15180 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15181 * streams/stropts.h (t_scalar_t): Define type.
15183 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15184 (_PATH_PRESERVE): Set to "/var/lib".
15185 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15187 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15190 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15191 if __dir_mkfile succeeded.
15193 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15194 checking for _hurd_dtablesize. Unlock it right after having
15195 finished _hurd_dtable allocation.
15197 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15199 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15200 * sysdeps/mach/hurd/configure: Regenerated.
15201 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15202 special-casing to...
15203 * sysdeps/gnu/configure.in: ... this new file.
15204 * sysdeps/unix/sysv/linux/configure: Regenerated.
15205 * sysdeps/gnu/configure: New generated file.
15207 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15208 for Linux: use nsec instead of usec, as well as:
15209 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15210 members of type struct timespec.
15211 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15213 (struct stat64): Likewise.
15214 (_STATBUF_ST_NSEC): New macro.
15215 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15217 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15218 __strtoul_internal rather than strtoul.
15220 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15222 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15225 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15227 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15228 which preserves existing values.
15229 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15231 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15233 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15234 TIMEOUT values. Return EINVAL for NFDS values either negative or
15235 greater than FD_SETSIZE.
15237 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15239 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15240 allocated, call __vm_protect to finish enabling the existing space, and
15241 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15242 allocate the remainder.
15244 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15246 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15247 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15249 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15251 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15252 sysdeps/mach/hurd/readlink.c.
15254 * posix/tst-sysconf.c (posix_options): Only use
15255 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15256 _POSIX_SYNCHRONIZED_IO when they are defined
15257 * sysdeps/mach/hurd/bits/posix_opt.h:
15258 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15259 (_XOPEN_REALTIME): Undefine macro.
15260 (_XOPEN_REALTIME_THREADS): Undefine macro.
15261 (_XOPEN_SHM): Undefine macro.
15262 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15264 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15266 (_POSIX_ASYNC_IO): Undefine macro.
15267 (_POSIX_PRIORITIZED_IO): Undefine macro.
15268 (_POSIX_SPIN_LOCKS): Define macro to -1.
15270 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15271 SA_NODEFER, SA_RESETHAND.
15272 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15273 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15276 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15278 * elf/Makefile (pldd-modules): Define unconditionally.
15280 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15282 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15284 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15286 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15287 Return ENOENT when name is empty.
15288 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15290 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15292 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15294 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15296 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15298 Fix mlock in all cases except non-readable pages.
15299 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15300 instead of VM_PROT_ALL as parameter to __vm_wire function.
15302 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15303 (__mkdir): When path is `/', just fail with EEXIST.
15304 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15306 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15308 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15309 <sys/uio.h> (for writev).
15310 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15311 and <sys/param.h> (for MIN).
15313 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15315 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15316 REQUESTED_TIME. Properly set the remaining time and return EINTR
15319 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15321 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15322 Depend on against $(link-rpcuserlibs).
15324 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15326 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15327 (__libc_stack_end): Do not use attribute_relro.
15328 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15329 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
15330 to libthread-provided value.
15331 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15334 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15337 * bits/libc-lock.h (__libc_once_get): New macro.
15338 * sysdeps/mach/bits/libc-lock.h: Likewise.
15339 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15340 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15341 instead of using implementation details.
15343 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15344 * libio/freopen.c: Likewise.
15345 * libio/freopen64.c: Likewise.
15346 * misc/syslog.c: Likewise.
15347 * nscd/connections.c: Likewise.
15348 * nscd/netgroupcache.c: Likewise.
15349 * sysdeps/posix/getcwd.c: Likewise.
15351 2012-05-10 Roland McGrath <roland@hack.frob.com>
15353 * math/w_ilogbf.c: Add #include <limits.h>.
15355 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15357 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
15358 path instead of returning without unlocking.
15360 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15361 immediate-write ioctls.
15362 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15364 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15366 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15367 __builtin_frame_address instead of making assumptions about the
15368 location of the return address relative to DATA. Force early load of
15369 the return address.
15370 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15371 __builtin_frame_address.
15374 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15375 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15376 implement dup3 and do some further code clean-ups.
15377 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15378 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15380 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15382 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15384 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15385 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15386 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15387 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15388 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15391 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15392 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15393 when handler == SIG_ERR, not when handler != SIG_ERR.
15395 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15397 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15398 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15401 accept4 for GNU Hurd.
15402 * include/sys/socket.h (__libc_accept4): New prototype.
15403 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15404 to implement __libc_accept4.
15405 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15407 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15409 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15410 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15411 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15412 signal-defines.sym.
15414 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15416 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
15418 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15420 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15421 assertion on O_CLOEXEC flag.
15422 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15423 * hurd/intern-fd.c: Likewise.
15424 * hurd/port2fd.c: Likewise.
15426 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15429 * bits/in.h (IPV6_PKTINFO): Define new macro.
15430 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15432 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15437 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15438 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15439 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15440 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15441 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15442 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15443 * math/libm-test.inc (logb_test) : Additional logb tests.
15445 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15446 Andreas Jaeger <aj@suse.de>
15448 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15449 * configure: Regenerated.
15450 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15451 * config.make.in (link-obsolete-rpc): New substituted variable.
15452 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15453 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15454 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15455 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15456 so that libc.a contains the symbols.
15457 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15458 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15459 * sunrpc/auth_none.c: Likewise.
15460 * sunrpc/auth_unix.c: Likewise.
15461 * sunrpc/authdes_prot.c: Likewise.
15462 * sunrpc/authuxprot.c: Likewise.
15463 * sunrpc/clnt_gen.c: Likewise.
15464 * sunrpc/clnt_perr.c: Likewise.
15465 * sunrpc/clnt_raw.c: Likewise.
15466 * sunrpc/clnt_simp.c: Likewise.
15467 * sunrpc/clnt_tcp.c: Likewise.
15468 * sunrpc/clnt_udp.c: Likewise.
15469 * sunrpc/clnt_unix.c: Likewise.
15470 * sunrpc/des_crypt.c: Likewise.
15471 * sunrpc/des_soft.c: Likewise.
15472 * sunrpc/get_myaddr.c: Likewise.
15473 * sunrpc/key_call.c: Likewise.
15474 * sunrpc/key_prot.c: Likewise.
15475 * sunrpc/netname.c: Likewise.
15476 * sunrpc/pm_getmaps.c: Likewise.
15477 * sunrpc/pm_getport.c: Likewise.
15478 * sunrpc/pmap_clnt.c: Likewise.
15479 * sunrpc/pmap_prot.c: Likewise.
15480 * sunrpc/pmap_prot2.c: Likewise.
15481 * sunrpc/pmap_rmt.c: Likewise.
15482 * sunrpc/publickey.c: Likewise.
15483 * sunrpc/rpc_cmsg.c: Likewise.
15484 * sunrpc/rpc_common.c: Likewise.
15485 * sunrpc/rpc_dtable.c: Likewise.
15486 * sunrpc/rpc_prot.c: Likewise.
15487 * sunrpc/rpc_thread.c: Likewise.
15488 * sunrpc/rtime.c: Likewise.
15489 * sunrpc/svc.c: Likewise.
15490 * sunrpc/svc_auth.c: Likewise.
15491 * sunrpc/svc_raw.c: Likewise.
15492 * sunrpc/svc_run.c: Likewise.
15493 * sunrpc/svc_tcp.c: Likewise.
15494 * sunrpc/svc_udp.c: Likewise.
15495 * sunrpc/svc_unix.c: Likewise.
15496 * sunrpc/svcauth_des.c: Likewise.
15497 * sunrpc/xcrypt.c: Likewise.
15498 * sunrpc/xdr.c: Likewise.
15499 * sunrpc/xdr_array.c: Likewise.
15500 * sunrpc/xdr_float.c: Likewise.
15501 * sunrpc/xdr_intXX_t.c: Likewise.
15502 * sunrpc/xdr_mem.c: Likewise.
15503 * sunrpc/xdr_rec.c: Likewise.
15504 * sunrpc/xdr_ref.c: Likewise.
15505 * sunrpc/xdr_sizeof.c: Likewise.
15506 * sunrpc/xdr_stdio.c: Likewise.
15508 2012-05-10 Roland McGrath <roland@hack.frob.com>
15510 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15511 change. Update copyright years.
15513 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15515 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15517 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15518 Joseph Myers <joseph@codesourcery.com>
15519 Paul Pluzhnikov <ppluzhnikov@google.com>
15522 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15524 [cross-compiling] (extra-libs): Likewise.
15525 [cross-compiling] (extra-libs-others): Likewise.
15526 [cross-compiling] (librpcsvc-routines): Likewise.
15527 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15528 [cross-compiling] (omit-deps): Likewise.
15529 (sunrpc-CPPFLAGS): New variable.
15530 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15531 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15532 (cross-rpcgen-objs): New variable.
15533 (extra-objs): Append $(cross-rpcgen-objs).
15534 ($(cross-rpcgen-objs)): New rule.
15535 ($(objpfx)cross-rpcgen): Likewise.
15536 (rpcgen-cmd): Define to use $(built-program-file). Expand
15538 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15539 ($(objpfx)x%.stmp): Likewise.
15540 * sunrpc/proto.h [IS_IN_build] (_): Define.
15541 [IS_IN_build] (_libc_intl_domainname): Likewise.
15543 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15545 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15546 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15547 and R_X86_64_TPOFF64.
15549 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15551 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15552 sysdeps/unix/sysv/syscalls.list.
15555 * sysdeps/unix/sysv/syscalls.list: Remove file.
15557 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15560 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15561 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15562 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15563 (__LC_IDENTIFICATION): Make these macros useful in #if
15564 expressions, as required by C99.
15566 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15568 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15569 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15572 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15574 * stdlib/longlong.h: Updated from GCC.
15576 2012-05-09 Andreas Jaeger <aj@suse.de>
15578 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15579 default is first entry.
15580 (run_mode): Set type.
15581 (main): Remove informal message about syslog.
15582 (options): Fix typo.
15585 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15588 (llrintf): Likewise.
15589 (llrint): Likewise.
15592 (nearbyint): Likewise.
15593 (nearbyintf): Likewise.
15595 2012-05-09 Andreas Jaeger <aj@suse.de>
15596 Pedro Alves <palves@redhat.com>
15598 * nscd/nscd.c (run_mode): Use enum.
15599 (main): Cleanup coding style issue.
15601 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
15602 Andreas Jaeger <aj@suse.de>
15604 * nscd/nscd.c (go_background): Replaced with...
15605 (run_mode): ... this.
15606 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15607 (options): Add -F --foreground.
15608 (main): Implement it.
15609 (parse_opt): Parse it.
15611 2012-05-09 Andreas Jaeger <aj@suse.de>
15614 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15615 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15616 -Wconversion warning.
15617 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15620 2012-05-09 Joseph Myers <joseph@codesourcery.com>
15622 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15624 (LC_ALL): Use macro-int-constant.
15625 (LC_COLLATE): Likewise.
15626 (LC_CTYPE): Likewise.
15627 (LC_MESSAGES): Likewise.
15628 (LC_MONETARY): Likewise.
15629 (LC_NUMERIC): Likewise.
15630 (LC_TIME): Likewise.
15631 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15632 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15633 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15634 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15636 [C99-based standards] (float_t): Expect type.
15637 [C99-based standards] (double_t): Expect type.
15638 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15640 [C99-based standards] (HUGE_VALL): Likewise.
15641 [C99-based standards] (INFINITY): Likewise.
15642 [C99-based standards] (NAN): Likewise.
15643 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15644 [C99-based standards] (FP_NAN): Likewise.
15645 [C99-based standards] (FP_NORMAL): Likewise.
15646 [C99-based standards] (FP_SUBNORMAL): Likewise.
15647 [C99-based standards] (FP_ZERO): Likewise.
15648 [C99-based standards] (FP_FAST_FMA): Use
15649 optional-macro-int-constant. Specify type. Require == 1.
15650 [C99-based standards] (FP_FAST_FMAF): Likewise.
15651 [C99-based standards] (FP_FAST_FMAL): Likewise.
15652 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15653 [C99-based standards] (FP_ILOGBNAN): Likewise.
15654 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15656 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15657 [C99-based standards] (math_errhandling): Specify type.
15658 [ISO99 || ISO11] (signgam): Do not allow.
15659 [non-C99-based standards] (copysignf): Do not allow.
15660 [non-C99-based standards] (exp2f): Likewise.
15661 [non-C99-based standards] (log2f): Likewise.
15662 [non-C99-based standards] (modff): Allow.
15663 [non-C99-based standards] (erff): Do not allow.
15664 [non-C99-based standards] (erfcf): Likewise.
15665 [non-C99-based standards] (gammaf): Likewise.
15666 [non-C99-based standards] (hypotf): Likewise.
15667 [non-C99-based standards] (j0f): Likewise.
15668 [non-C99-based standards] (j1f): Likewise.
15669 [non-C99-based standards] (jnf): Likewise.
15670 [non-C99-based standards] (lgammaf): Likewise.
15671 [non-C99-based standards] (tgammaf): Likewise.
15672 [non-C99-based standards] (y0f): Likewise.
15673 [non-C99-based standards] (y1f): Likewise.
15674 [non-C99-based standards] (ynf): Likewise.
15675 [non-C99-based standards] (isnanf): Likewise.
15676 [non-C99-based standards] (acoshf): Likewise.
15677 [non-C99-based standards] (asinhf): Likewise.
15678 [non-C99-based standards] (atanhf): Likewise.
15679 [non-C99-based standards] (cbrtf): Likewise.
15680 [non-C99-based standards] (expm1f): Likewise.
15681 [non-C99-based standards] (ilogbf): Likewise.
15682 [non-C99-based standards] (log1pf): Likewise.
15683 [non-C99-based standards] (logbf): Likewise.
15684 [non-C99-based standards] (nextafterf): Likewise.
15685 [non-C99-based standards] (remainderf): Likewise.
15686 [non-C99-based standards] (rintf): Likewise.
15687 [non-C99-based standards] (scalbf): Likewise.
15688 [non-C99-based standards] (copysignl): Likewise.
15689 [non-C99-based standards] (exp2l): Likewise.
15690 [non-C99-based standards] (log2l): Likewise.
15691 [non-C99-based standards] (modfl): Allow.
15692 [non-C99-based standards] (erfl): Do not allow.
15693 [non-C99-based standards] (erfcl): Likewise.
15694 [non-C99-based standards] (gammal): Likewise.
15695 [non-C99-based standards] (hypotl): Likewise.
15696 [non-C99-based standards] (j0l): Likewise.
15697 [non-C99-based standards] (j1l): Likewise.
15698 [non-C99-based standards] (jnl): Likewise.
15699 [non-C99-based standards] (lgammal): Likewise.
15700 [non-C99-based standards] (tgammal): Likewise.
15701 [non-C99-based standards] (y0l): Likewise.
15702 [non-C99-based standards] (y1l): Likewise.
15703 [non-C99-based standards] (ynl): Likewise.
15704 [non-C99-based standards] (isnanl): Likewise.
15705 [non-C99-based standards] (acoshl): Likewise.
15706 [non-C99-based standards] (asinhl): Likewise.
15707 [non-C99-based standards] (atanhl): Likewise.
15708 [non-C99-based standards] (cbrtl): Likewise.
15709 [non-C99-based standards] (expm1l): Likewise.
15710 [non-C99-based standards] (ilogbl): Likewise.
15711 [non-C99-based standards] (log1pl): Likewise.
15712 [non-C99-based standards] (logbl): Likewise.
15713 [non-C99-based standards] (nextafterl): Likewise.
15714 [non-C99-based standards] (remainderl): Likewise.
15715 [non-C99-based standards] (rintl): Likewise.
15716 [non-C99-based standards] (scalbl): Likewise.
15717 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15718 [non-C99-based standards] (FP_*): Do not allow.
15719 [C99-based standards] (FP_*): Change to
15720 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15721 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15723 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15724 (SIG_ERR): Likewise.
15725 [X/Open-based standards] (SIG_HOLD): Likewise.
15726 (SIG_IGN): Likewise.
15727 (SIGABRT): Use macro-int-constant. Specify type. Require
15729 (SIGFPE): Likewise.
15730 (SIGILL): Likewise.
15731 (SIGINT): Likewise.
15732 (SIGSEGV): Likewise.
15733 (SIGTER): Likewise.
15734 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15735 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15736 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15737 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15738 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15739 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15740 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15741 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15742 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15743 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15744 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15745 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15746 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15747 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15748 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15749 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15750 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15751 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15752 [X/Open-based standards] (SIGTRAP): Likewise.
15753 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15754 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15755 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15756 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15757 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15760 2012-05-08 Ian Wienand <ianw@vmware.com>
15763 * time/tzset.c (__tzset_parse_tz): Update default rules for
15764 daylight time changes in the Energy Policy Act of 2005.
15766 2012-05-09 Andreas Jaeger <aj@suse.de>
15769 * elf/ldconfig.c (parse_conf): Change string to make clear that
15770 ldconfig only issued a warning if ld.so.conf does not exist.
15772 2012-05-08 David S. Miller <davem@davemloft.net>
15774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15775 movxtod instead of popping the value on the stack.
15777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15779 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15781 * config.h.in: Add HAVE_ARM_PCS_VFP.
15783 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15786 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15787 checking but the checks are disabled for any reason.
15789 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15791 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15792 and ELF64_R_TYPE with ELFW(R_TYPE).
15794 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15796 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15797 (ulimit): Likewise.
15799 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15800 (settimeofday): Likewise.
15802 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15804 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15805 a struct th_u2 inside the union, and move tu_block/tu_code into
15806 a new th_u3 union of tu_block/tu_code inside of that. Move
15807 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15808 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15809 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15810 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15811 (th_stuff): Change to th_u1.tu_stuff.
15813 (th_msg): Change to th_u1.th_u2.tu_data.
15815 2012-05-07 David S. Miller <davem@davemloft.net>
15817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15820 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15821 (SETUP_PIC_REG): Use it.
15822 (SETUP_PIC_REG_LEAF): Use it.
15824 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15828 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15830 (EXPL_FINITE): Likewise.
15831 (FLDLOG): Likewise.
15832 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15833 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15835 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15837 (EXPL_FINITE): Likewise.
15838 (FLDLOG): Likewise.
15839 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15840 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15842 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15843 test of -max_value argument for long double.
15844 * sysdeps/i386/fpu/libm-test-ulps: Update.
15845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15847 2012-05-06 David S. Miller <davem@davemloft.net>
15849 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15850 quad soft-float symbols whose references which are compiler
15852 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15854 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15858 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15860 (EXPL_FINITE): Likewise.
15861 (FLDLOG): Likewise.
15864 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15865 Adjust comments for base varying.
15866 (__expl_finite): Change alias to EXPL_FINITE.
15867 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15869 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15870 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15871 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15872 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15873 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15875 (EXPL_FINITE): Likewise.
15876 (FLDLOG): Likewise.
15879 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15880 Adjust comments for base varying.
15881 (__expl_finite): Change alias to EXPL_FINITE.
15882 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15884 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15887 * math/libm-test.inc (check_float_internal): Correct ulp
15888 calculation for subnormal expected results.
15890 2012-05-06 Andreas Jaeger <aj@suse.de>
15892 * Makeconfig (+math-flags): New, set to -frounding-math.
15893 (+cflags): Add +math-flags so that all of glibc gets compiled with
15896 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15898 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15900 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15906 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15907 (__ieee754_expl): Allow for and saturate large arguments.
15908 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15909 (u_threshold): Likewise.
15910 (__exp): Call __ieee754_exp before checking for overflow and
15912 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15913 (u_threshold): Likewise.
15914 (__expf): Call __ieee754_expf before checking for overflow and
15916 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15917 (u_threshold): Likewise.
15918 (__expl): Call __ieee754_expl before checking for overflow and
15920 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15921 (__ieee754_expl): Allow for and saturate large arguments.
15922 * math/libm-test.inc (exp_test): Add another test. Do not allow
15923 missing overflow exception on overflow.
15924 (expm1_test): Do not allow missing overflow exception on overflow.
15926 * sysdeps/i386/fpu/e_expl.c: Move to ...
15927 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15928 rather than using inline asm.
15929 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15930 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15931 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15933 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15936 (signal): Likewise.
15940 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15942 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15943 sysdeps/unix/common/syscalls.list.
15944 (fchmod): Likewise.
15945 (fchown): Likewise.
15946 (ftruncate): Likewise.
15947 (getrusage): Likewise.
15948 (gettimeofday): Likewise.
15949 (setpgid): Likewise.
15950 (setregid): Likewise.
15951 (setreuid): Likewise.
15952 (sigaction): Likewise.
15953 (truncate): Likewise.
15954 (vhangup): Likewise.
15955 * sysdeps/unix/common/syscalls.list: Remove file.
15956 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15957 * sysdeps/unix/sysv/linux/Implies: Likewise.
15959 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15961 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15963 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15967 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15970 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15973 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15976 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15979 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15982 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15985 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15989 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15993 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15996 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16000 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16004 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16006 * sysdeps/unix/common/bits/dirent.h: Remove file.
16007 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16009 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16010 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16011 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16012 * sysdeps/unix/bsd/isatty.c: Likewise.
16013 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16014 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16015 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16017 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16020 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16021 long double comparison inaccuracies.
16022 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16025 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16027 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16028 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16030 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16033 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16034 nonzero digits before rounding a hex value.
16035 * stdlib/tst-strtod.c (tests): Add another test.
16037 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16039 * sysdeps/s390/fpu/libm-test-ulps: Update.
16041 2012-05-03 Andreas Jaeger <aj@suse.de>
16043 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16044 does not get optimized out.
16045 (malloc_opt_barrier): New.
16047 2012-05-03 Andreas Jaeger <aj@suse.de>
16048 Roland McGrath <roland@hack.frob.com>
16050 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
16051 intermediate file deletion.
16052 (generated): Add .symlist files.
16054 2012-05-03 Joseph Myers <joseph@codesourcery.com>
16057 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16058 Redirect under this condition.
16059 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16060 [__USE_GNU] (__dprintf_chk): Not under this condition.
16061 [__USE_GNU] (__vdprintf_chk): Likewise.
16062 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16063 under this condition.
16064 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16065 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16066 [__USE_XOPEN2K8] (vdprintf): Likewise.
16067 [__USE_GNU] (__dprintf_chk): Not under this condition.
16068 [__USE_GNU] (__vdprintf_chk): Likewise.
16069 [__USE_GNU] (dprintf): Likewise.
16070 [__USE_GNU] (vdprintf): Likewise.
16072 2012-05-03 Roland McGrath <roland@hack.frob.com>
16074 * elf/Makefile (common-generated): Set this instead of generated for
16075 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16076 $(all-built-dso)-derived lists.
16078 2012-05-03 Andreas Jaeger <aj@suse.de>
16080 * sysdeps/i386/fpu/libm-test-ulps: Update.
16083 * FAQ.in: Likewise.
16084 * scripts/gen-FAQ.pl: Likewise.
16085 * manual/install.texi (Installation): Point to online location of
16087 * Makefile (files-for-dist): Remove FAQ.
16090 2012-05-02 Allan McRae <allan@archlinux.org>
16092 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16093 (LDFLAGS-reldepmod5.so): Likewise.
16094 (LDFLAGS-reldep6mod1.so): Likewise.
16095 (LDFLAGS-reldep6mod4.so): Likewise.
16096 (LDFLAGS-reldep8mod3.so): Likewise.
16097 (LDFLAGS-unload4mod1.so): Likewise.
16098 (LDFLAGS-unload4mod2.so): Likewise.
16099 (LDFLAGS-tst-initorder): Likewise.
16100 (LDFLAGS-tst-initordera2.so): Likewise.
16101 (LDFLAGS-tst-initordera3.so): Likewise.
16102 (LDFLAGS-tst-initordera4.so): Likewise.
16103 (LDFLAGS-tst-initorderb2.so): Likewise.
16104 (LDFLAGS-noload): Likewise.
16105 (LDFLAGS-next): Likewise.
16106 (LDFLAGS-order2mod1.so): Likewise.
16107 (LDFLAGS-order2mod2.so): Likewise.
16108 (LDFLAGS-tst-initorder2): Likewise.
16109 (LDFLAGS-tst-initorder2a.so): Likewise.
16110 (LDFLAGS-tst-initorder2b.so): Likewise.
16111 (LDFLAGS-tst-initorder2c.so): Likewise.
16112 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16114 2012-05-02 David S. Miller <davem@davemloft.net>
16116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16118 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16121 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16123 2012-05-02 Andreas Jaeger <aj@suse.de>
16125 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16126 since we manipulate rounding mode.
16127 (CPPFLAGS-test-idouble.c): Likewise.
16128 (CPPFLAGS-test-ifloat.c): Likewise.
16129 (CFLAGS-test-ldouble.c): Likewise.
16130 (CFLAGS-test-double.c): Likewise.
16131 (CFLAGS-test-float.c): Likewise.
16132 (CFLAGS-test-misc.c): Likewise.
16133 (CFLAGS-test-test-fenv.c): Likewise.
16135 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16139 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16140 comparisons to determine direction to adjust input.
16142 2012-05-01 Roland McGrath <roland@hack.frob.com>
16144 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16145 output to the target.
16147 * scripts/localplt.awk: New file.
16148 * elf/Makefile ($(objpfx)check-localplt): Target removed.
16149 (check-localplt-CFLAGS): Variable removed.
16150 ($(all-built-dso:=.jmprel)): New static pattern rule.
16151 (generated): Add those targets.
16152 (localplt-built-dso): New variable.
16153 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16155 * elf/check-localplt.c: File removed.
16157 * scripts/check-execstack.awk: New file.
16158 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16159 (check-execstack-CFLAGS): Variable removed.
16160 ($(objpfx)check-execstack.h): Target removed.
16161 ($(objpfx)execstack-default): New target.
16162 (generated): Add that instead of check-execstack.h.
16163 ($(all-built-dso:=.phdr)): New static pattern rule.
16164 (generated): Add those targets.
16165 * elf/check-execstack.c: File removed.
16167 * scripts/check-textrel.awk: New file.
16168 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16169 (check-textrel-CFLAGS): Variable removed.
16170 (all-built-dso): Use := to define.o
16171 ($(all-built-dso:=.dyn)): New static pattern rule.
16172 (generated): Add those targets.
16173 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16174 * config.make.in (READELF): New substituted variable.
16175 * elf/check-textrel.c: File removed.
16177 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16179 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16181 * conform/data/ctype.h-data [C99-based standards] (isblank):
16183 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16184 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16185 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16186 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16187 Specify type. Require positive value.
16188 (EILSEQ): Likewise.
16189 (ERANGE): Likewise.
16190 [ISO || POSIX] (EILSEQ): Do not expect.
16191 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16192 Specify type. Require positive value.
16193 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16194 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16195 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16196 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16197 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16198 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16199 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16200 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16201 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16202 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16203 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16204 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16205 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16206 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16207 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16208 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16209 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16210 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16211 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16212 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16213 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16214 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16215 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16216 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16217 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16218 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16219 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16220 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16221 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16222 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16223 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16224 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16225 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16226 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16227 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16228 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16229 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16230 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16231 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16232 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16233 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16234 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16235 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16236 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16237 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16238 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16239 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16240 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16241 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16242 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16243 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16244 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16245 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16246 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16247 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16248 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16249 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16250 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16251 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16252 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16253 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16254 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16255 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16256 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16257 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16258 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16259 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16260 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16261 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16262 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16263 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16264 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16265 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16266 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16267 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16268 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16269 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16271 (FLT_ROUNDS): Expect as macro, not constant.
16272 (FLT_MANT_DIG): Use macro-int-constant.
16273 (DBL_MANT_DIG): Likewise.
16274 (LDBL_MANT_DIG): Likewise.
16275 (FLT_DIG): Likewise.
16276 (DBL_DIG): Likewise.
16277 (LDBL_DIG): Likewise.
16278 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16279 (DBL_MIN_EXP): Likewise.
16280 (LDBL_MIN_EXP): Likewise.
16281 (FLT_MAX_EXP): Use macro-int-constant.
16282 (DBL_MAX_EXP): Likewise.
16283 (LDBL_MAX_EXP): Likewise.
16284 (FLT_MAX_10_EXP): Likewise.
16285 (DBL_MAX_10_EXP): Likewise.
16286 (LDBL_MAX_10_EXP): Likewise.
16287 (FLT_MAX): Use macro-constant.
16288 (DBL_MAX): Likewise.
16289 (LDBL_MAX): Likewise.
16290 (FLT_EPSILON): Use macro-constant. Give upper bound.
16291 (DBL_EPSILON): Likewise.
16292 (LDBL_EPSILON): Likewise.
16293 (FLT_MIN): Likewise.
16294 (DBL_MIN): Likewise.
16295 (LDBL_MIN): Likewise.
16296 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16297 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16298 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16299 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16300 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16301 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16302 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16303 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16304 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16305 [ISO11] (FLT_TRUE_MIN): Likewise.
16306 [ISO11] (LDBL_TRUE_MIN): Likewise.
16307 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16308 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16309 (SCHAR_MIN): Use macro-int-constant. Specify type.
16310 (SCHAR_MAX): Likewise.
16311 (UCHAR_MAX): Likewise.
16312 (CHAR_MIN): Likewise.
16313 (CHAR_MAX): Likewise.
16314 (MB_LEN_MAX): Use macro-int-constant.
16315 (SHRT_MIN): Use macro-int-constant. Specify type.
16316 (SHRT_MAX): Likewise.
16317 (USHRT_MAX): Likewise.
16318 (INT_MAX): Likewise.
16319 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16321 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16323 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16325 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16326 bound negative. Suffix upper bound with "L".
16327 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16329 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16331 [C99-based standards] (LLONG_MAX): Likewise.
16332 [C99-based standards] (ULLONG_MAX): Likewise.
16333 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16335 [ISO11] (max_align_t): Require type.
16336 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16338 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16339 from $CFLAGS, without defining away __attribute__ calls.
16340 (checknamespace): Use $CFLAGS_namespace.
16342 * conform/conformtest.pl (@keywords): Only include C99 keywords
16343 for standards based on C99 or C11.
16345 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16347 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16350 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16351 usability of symbols in #if.
16353 * conform/conformtest.pl: If macro or constant types start
16354 "promoted:", expect the symbol to be of the following type
16355 promoted by the integer promotions.
16357 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16358 in one place. Also handle "macro-constant".
16360 * conform/conformtest.pl: Only accept expected macro values with
16361 "==". Parse all "macro" lines in one place.
16362 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16364 * conform/conformtest.pl: Handle braced types on "constant" lines
16365 instead of handling "typed-constant".
16366 * conform/data/signal.h-data: Use "constant" instead of
16369 * conform/conformtest.pl: Handle "optional-" at start of lines in
16370 one place rather than duplicating several cases. Handle each
16371 format of "macro" line with initial "optional-".
16373 * conform/conformtest.pl: Only accept expected constant or
16374 optional-constant values with "==". Parse all "constant" lines in
16375 one place. Parse all "optional-constant" lines in one place.
16376 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16377 * conform/data/fmtmsg.h-data: Likewise.
16378 * conform/data/netinet/in.h-data: Likewise.
16379 * conform/data/tar.h-data: Likewise.
16380 * conform/data/limits.h-data: Use "==" form on "constant" and
16381 "optional-constant" lines.
16383 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16384 Use -std=c99 for XOPEN2K.
16385 (@knownproblems): Remove.
16386 (newtoken): Don't check %isknown.
16388 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16389 Do not expect macro.
16390 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16391 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16392 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16393 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16394 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16395 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16396 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16397 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16398 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16399 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16400 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16401 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16402 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16403 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16404 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16405 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16406 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16407 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16408 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16409 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16410 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16411 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16412 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16413 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16414 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16415 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16416 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16417 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16418 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16419 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16420 [XPG3] (acosh): Likewise.
16421 [XPG3] (asinh): Likewise.
16422 [XPG3] (atanh): Likewise.
16423 [XPG3] (cbrt): Likewise.
16424 [XPG3] (expm1): Likewise.
16425 [XPG3] (ilogb): Likewise.
16426 [XPG3] (log1p): Likewise.
16427 [XPG3] (logb): Likewise.
16428 [XPG3] (nextafter): Likewise.
16429 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16430 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16431 [XPG3] (remainder): Likewise.
16432 [XPG3] (rint): Likewise.
16433 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16434 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16435 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16436 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16437 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16438 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16439 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16440 [UNIX98 || XOPEN2K] (scalb): Expect.
16441 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16442 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16443 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16444 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16445 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16446 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16447 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16448 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16449 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16450 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16451 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16452 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16453 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16454 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16455 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16456 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16457 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16458 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16459 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16460 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16461 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16462 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16463 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16464 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16465 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16466 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16467 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16468 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16469 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16470 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16471 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16472 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16473 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16474 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16475 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16476 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16477 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16478 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16479 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16480 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16481 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16482 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16483 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16484 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16485 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16486 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16487 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16488 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16489 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16490 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16491 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16492 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16493 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16494 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16495 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16496 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16497 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16498 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16499 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16500 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16501 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16502 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16503 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16504 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16505 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16506 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16507 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16508 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16509 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16510 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16511 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16512 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16513 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16514 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16515 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16516 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16517 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16518 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16519 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16520 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16521 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16522 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16523 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16524 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16525 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16526 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16527 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16528 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16529 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16530 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16531 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16532 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16533 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16534 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16535 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16536 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16537 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16538 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16539 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16540 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16541 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16542 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16543 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16544 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16545 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16546 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16547 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16548 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16549 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16550 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16551 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16552 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16553 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16554 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16555 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16556 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16557 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16558 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16559 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16560 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16561 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16562 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16563 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16564 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16565 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16566 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16567 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16568 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16569 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16570 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16571 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16572 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16573 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16574 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16575 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16576 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16577 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16579 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16580 _XOPEN_SOURCE_EXTENDED for XPG4.
16582 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16584 * Makeconfig (localtime): Remove variable.
16585 (inst_localtime-file): Likewise.
16587 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16608 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16612 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16613 comparisons to determine direction to adjust input.
16614 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16615 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16616 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16618 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16620 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16622 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16623 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16625 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16627 * math/libm-test.inc (nexttoward_test): Add more tests.
16629 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16632 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16633 in version GLIBC_2.1, not GLIBC_2.0.
16634 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16637 2012-04-30 Joseph Myers <joseph@codesourcery.com>
16640 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16642 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16643 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16644 * math/libm-test.inc (acos_test): Add more tests.
16645 (asin_test): Likewise.
16646 * sysdeps/i386/fpu/libm-test-ulps: Update.
16647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16650 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16652 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16653 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16654 * math/libm-test.inc (acos_test_tonearest): New function.
16655 (acos_test_towardzero): Likewise.
16656 (acos_test_downward): Likewise.
16657 (acos_test_upward): Likewise.
16658 (asin_test_tonearest): Likewise.
16659 (asin_test_towardzero): Likewise.
16660 (asin_test_downward): Likewise.
16661 (asin_test_upward): Likewise.
16662 (main): Call the new functions.
16663 * sysdeps/i386/fpu/libm-test-ulps: Update.
16664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16668 * math/e_exp10.c: Include <float.h>.
16669 (__ieee754_exp10): Handle underflow here rather than multiplying
16670 large negative argument by M_LN10.
16671 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16673 * math/e_exp10l.c: Include <float.h>.
16674 (__ieee754_exp10l): Handle underflow here rather than multiplying
16675 large negative argument by M_LN10l.
16676 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16677 spurious overflow exception on underflow.
16679 2012-04-29 Marek Polacek <polacek@redhat.com>
16681 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16682 (__fortify_function): New macro.
16683 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16684 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16685 __extern_always_inline.
16686 * libio/bits/stdio2.h: Likewise.
16687 * libio/bits/stdio.h: Likewise.
16688 * string/string.h: Likewise.
16689 * string/bits/string3.h: Likewise.
16690 * include/stdio.h: Likewise.
16691 * stdlib/bits/stdlib.h: Likewise.
16692 * stdlib/stdlib.h: Likewise.
16693 * rt/bits/mqueue2.h: Likewise.
16694 * rt/mqueue.h: Likewise.
16695 * posix/bits/unistd.h: Likewise.
16696 * posix/unistd.h: Likewise.
16697 * io/bits/poll2.h: Likewise.
16698 * io/bits/fcntl2.h: Likewise.
16699 * io/fcntl.h: Likewise.
16700 * io/sys/poll.h: Likewise.
16701 * misc/bits/syslog.h: Likewise.
16702 * misc/bits/syslog-ldbl.h: Likewise.
16703 * misc/sys/syslog.h: Likewise.
16704 * socket/bits/socket2.h: Likewise.
16705 * socket/sys/socket.h: Likewise.
16706 * debug/tst-chk1.c: Likewise.
16707 * wcsmbs/bits/wchar2.h: Likewise.
16708 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16709 * wcsmbs/wchar.h: Likewise.
16711 2012-04-29 Andreas Jaeger <aj@suse.de>
16713 * Makerules (tests): Remove enable-check-abi protection.
16714 (check-abi-warn): Remove.
16715 (check-abi-%): Remove check-abi-warn usage.
16717 * configure.in: Remove check-abi configure option.
16718 * configure: Regenerated.
16719 * config.make.in (enable-check-abi): Remove.
16721 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16724 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16725 double functions to double *_finite functions.
16728 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16729 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16731 * stdio-common/Makefile (tests): Add tst-sprintf3.
16732 * stdio-common/tst-sprintf3.c: New file.
16734 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16735 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16737 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16739 * conform/conformtest.pl: Remove duplicate typed-constant
16742 2012-04-28 David S. Miller <davem@davemloft.net>
16744 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16745 (check-abi-%): Remove AWK script prerequisite and explicit
16747 (check-abi): Rewrite to just diff the symlist with the abilist.
16748 (config-tls, config-abi-config): Delete, no longer used.
16749 (update-abi-%): Remove AWK script and explicit abilist directory.
16750 (update-abi): Rewrite to simply compare and conditionally copy the
16751 symlist and the sysdep abilist file. Remove update-abi-config
16753 * abilist/ld.abilist: Remove.
16754 * abilist/libBrokenLocale.abilist: Remove.
16755 * abilist/libanl.abilist: Remove.
16756 * abilist/libcrypt.abilist: Remove.
16757 * abilist/libdl.abilist: Remove.
16758 * abilist/librt.abilist: Remove.
16759 * abilist/libthread_db.abilist: Remove.
16760 * abilist/libutil.abilist: Remove.
16761 * scripts/extract-abilist.awk: Remove.
16762 * scripts/merge-abilist.awk: Remove.
16763 * sysdeps/generic/libcidn.abilist: New file.
16764 * sysdeps/generic/libnss_compat.abilist: New file.
16765 * sysdeps/generic/libnss_db.abilist: New file.
16766 * sysdeps/generic/libnss_dns.abilist: New file.
16767 * sysdeps/generic/libnss_files.abilist: New file.
16768 * sysdeps/generic/libnss_hesiod.abilist: New file.
16769 * sysdeps/generic/libnss_nis.abilist: New file.
16770 * sysdeps/generic/libnss_nisplus.abilist: New file.
16771 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16772 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16773 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16775 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16776 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16777 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16778 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16779 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16780 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16781 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16782 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16783 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16785 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16786 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16787 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16788 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16790 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16791 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16792 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16793 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16794 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16795 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16797 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16798 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16799 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16801 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16816 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16820 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16822 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16824 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16826 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16904 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16905 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16906 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16908 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16909 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16910 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16911 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16912 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16913 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16914 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16915 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16916 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16917 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16969 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16971 * conform/conformtest.pl: Fix typo in handling typed-constant from
16974 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16976 * README: Cut down references to pre-2.6 Linux kernels and
16977 Linuxthreads. Update lists of configurations in libc and ports
16978 and sort alphabetically. Say "or newer" with Linux kernel version
16981 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16983 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16986 * math/libm-test.inc (logb_test_downward): New test to expose
16987 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16990 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16993 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16995 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16996 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16998 2012-04-26 Joseph Myers <joseph@codesourcery.com>
17000 * sysdeps/unix/i386/brk.S: Remove file.
17001 * sysdeps/unix/i386/dl-brk.S: Likewise.
17002 * sysdeps/unix/i386/pipe.S: Likewise.
17003 * sysdeps/unix/i386/sigreturn.S: Likewise.
17004 * sysdeps/unix/i386/syscall.S: Likewise.
17005 * sysdeps/unix/i386/vfork.S: Likewise.
17006 * sysdeps/unix/i386/wait.S: Likewise.
17008 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17009 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17011 * configure.in (arm*-none*): Do not allow without
17012 --enable-hacker-mode.
17013 (netbsd*): Remove case setting base_os.
17014 (386bsd*): Likewise.
17015 (freebsd*): Likewise.
17018 (sunos*): Likewise.
17019 (ultrix*): Likewise.
17020 (newsos*): Likewise.
17021 (dynix*): Likewise.
17027 (minix*): Likewise.
17028 (irix4*): Likewise.
17029 (irix6*): Likewise.
17030 (solaris[2-9]*): Likewise.
17032 * configure: Regenerated.
17034 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17037 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17038 overflow or cancellation in calculating denominator.
17039 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17040 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17041 down expression to avoid unexpected rounding in newer GCCs.
17042 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17044 2012-04-26 David S. Miller <davem@davemloft.net>
17046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17047 long-double compat symbols.
17048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17062 2012-04-25 David S. Miller <davem@davemloft.net>
17064 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17065 HWCAP_* values only after the memory barriers have been defined.
17066 (atomic_full_barrier): Define.
17067 (atomic_read_barrier): Define.
17068 (atomic_write_barrier): Define.
17070 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17072 * shlib-versions: Add libgcc_s version information.
17073 * sysdeps/generic/libgcc_s.h: Remove.
17074 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17076 * sysdeps/gnu/unwind-resume.c: Likewise.
17077 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17079 2012-04-25 David S. Miller <davem@davemloft.net>
17081 * sysdeps/unix/sparc/brk.S: Delete.
17082 * sysdeps/unix/sparc/dl-brk.S: Delete.
17083 * sysdeps/unix/sparc/pipe.S: Delete.
17084 * sysdeps/unix/sparc/sysdep.S: Delete.
17085 * sysdeps/unix/sparc/sysdep.h: Delete.
17086 * sysdeps/unix/sparc/vfork.S: Delete.
17087 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17088 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17089 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17090 ret_ERRVAL, r0, r1, MOVE): Define.
17091 (JUMPTARGET): Remove.
17092 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17093 sysdeps/unix/sparc/sysdep.h
17094 (ENTRY, END): Remove.
17095 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17097 2012-04-25 Joseph Myers <joseph@codesourcery.com>
17099 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17100 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17103 * timezone/README: Update upstream location and email address for
17105 * timezone/zdump.c: Update from tzcode 2012b.
17106 * timezone/zic.c: Likewise.
17108 * configure.in (libc_cv_as_needed): Remove test.
17109 * configure: Regenerated.
17110 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17111 conditional definition.
17112 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17113 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17114 * config.make.in (have-as-needed): Remove variable.
17116 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17117 Paul Pluzhnikov <ppluzhnikov@google.com>
17119 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17122 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17124 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17125 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17126 * sysdeps/sh/strlen.S: Likewise.
17128 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17130 * sysdeps/unix/fork.S: Remove file.
17131 * sysdeps/unix/i386/fork.S: Likewise.
17132 * sysdeps/unix/sparc/fork.S: Likewise.
17134 * sysdeps/unix/system.c: Remove file.
17135 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17137 * sysdeps/unix/getegid.S: Remove file.
17138 * sysdeps/unix/geteuid.S: Likewise.
17140 2012-04-24 Roland McGrath <roland@hack.frob.com>
17142 * scripts/check-localplt.awk: New file.
17143 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17145 * scripts/data/localplt-generic.data: Add a comment.
17147 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17148 NODE when __dir_mkfile failed.
17149 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17150 Reported by Ludovic Courtès <ludo@gnu.org>.
17152 2012-04-24 Andreas Jaeger <aj@suse.de>
17154 * Makerules (common-clean): Also remove gen-as-const-headers
17157 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17159 * Makerules (native-compile): Do not change working directory for
17160 build. Use $(OUTPUT_OPTION) in command.
17161 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17163 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17166 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17167 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17168 * math/libm-test.inc (floor_test): Add more tests.
17169 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17171 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17173 * sysdeps/unix/getdents.c: Remove file.
17174 * sysdeps/unix/sysv/getdents.c: Likewise.
17175 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17177 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17178 sysdeps/unix/mman/syscalls.list.
17180 (mprotect): Likewise.
17182 (munmap): Likewise.
17183 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17184 * sysdeps/unix/mman/syscalls.list: Remove.
17185 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17187 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17188 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17189 * configure: Regenerated.
17190 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17191 $(libgcc_s_suffix).
17192 * config.make.in (libgcc_s_suffix): Remove variable.
17194 2012-04-23 Joseph Myers <joseph@codesourcery.com>
17196 * sysdeps/unix/sysv/gethostname.c: Move to ...
17197 * sysdeps/posix/gethostname.c: ... here.
17199 * sysdeps/unix/execve.S: Remove file.
17201 * sysdeps/unix/_exit.S: Remove file.
17203 2012-04-23 Andreas Jaeger <aj@suse.de>
17206 * manual/Makefile: Remove make dist support, there's no
17207 need for a stand-alone documentation tar ball.
17208 (TEXI2DVI): Define always, it's not in Makeconfig.
17211 (edition): Removed.
17212 (glibc-doc-$(edition).tar): Removed
17216 (ETAGS): Remove, it's in Makeconfig.
17217 (move-if-change): Remove, it's in Makeconfig.
17219 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
17222 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17223 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17224 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17225 (strtod_l, strtof_l, strtold_l): Remove __wur.
17226 It is not necessarily an error to ignore strtol's return value.
17227 One can reliably look at the stored endptr to decide whether
17228 the number had valid syntax.
17230 2012-04-21 Andreas Jaeger <aj@suse.de>
17233 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17235 2012-04-21 Joseph Myers <joseph@codesourcery.com>
17237 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17238 * sysdeps/unix/sysv/Versions: Remove file.
17240 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17245 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
17248 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17249 version from __vm86.
17251 2012-04-20 Joseph Myers <joseph@codesourcery.com>
17253 * sysdeps/unix/common/lxstat.c: Remove file.
17254 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17256 * sysdeps/unix/sysv/Makefile: Remove file.
17258 * sysdeps/unix/sysv/direct.h: Remove file.
17260 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17261 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17262 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17263 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17264 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17265 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17266 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17268 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17270 * sysdeps/unix/xmknod.c: Remove file.
17271 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17273 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17275 * sysdeps/unix/sysv/i386/time.S: Remove file.
17277 * sysdeps/unix/fxstat.c: Remove file.
17278 * sysdeps/unix/xstat.c: Likewise.
17279 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17281 * sysdeps/unix/sysv/sigaction.c: Remove file.
17283 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17284 (sysdep_headers): Remove variable.
17285 [termio.h not in sysdep_headers] (generated): Likewise.
17286 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17287 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17288 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17289 * sysdeps/unix/sysv/tcflow.c: Likewise.
17290 * sysdeps/unix/sysv/tcflush.c: Likewise.
17291 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17292 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17293 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17294 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17295 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17297 * sysdeps/unix/siglist.c: Remove file.
17299 * sysdeps/unix/getppid.S: Remove file.
17301 * sysdeps/unix/mkdir.c: Remove file.
17302 * sysdeps/unix/rmdir.c: Likewise.
17304 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17306 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17308 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17309 errlist-compat value.
17311 2012-04-18 David S. Miller <davem@davemloft.net>
17313 * sysdeps/generic/memcopy.h (reg_char): Delete.
17314 * debug/strcat_chk.c: Use char, not reg_char.
17315 * debug/strcpy_chk.c: Likewise.
17316 * debug/strncat_chk.c: Likewise.
17317 * debug/strncpy_chk.c: Likewise.
17318 * string/memchr.c: Likewise.
17319 * string/memrchr.c: Likewise.
17320 * string/rawmemchr.c: Likewise.
17321 * string/strcat.c: Likewise.
17322 * string/strchr.c: Likewise.
17323 * string/strchrnul.c: Likewise.
17324 * string/strcmp.c: Likewise.
17325 * string/strcpy.c: Likewise.
17326 * string/strncat.c: Likewise.
17327 * string/strncmp.c: Likewise.
17328 * string/strncpy.c: Likewise.
17330 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17332 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17333 __builtin_memcopy is called when src and dest ranges are known to not
17336 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17338 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17339 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17340 fwd_align_merge macro call.
17341 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17342 bwd_align_merge macro call.
17343 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17345 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17347 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17348 bwd_align_merge macros.
17349 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17350 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17351 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17353 2012-04-18 David S. Miller <davem@davemloft.net>
17355 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17357 2012-04-18 Andreas Jaeger <aj@suse.de>
17360 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17361 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17362 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17364 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17365 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17366 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17368 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17369 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17370 Adjust for changed ldbl-128 files.
17372 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17373 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17374 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17376 2012-04-17 David S. Miller <davem@davemloft.net>
17378 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17380 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17382 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17383 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17384 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17385 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17386 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17387 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17389 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17392 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17393 * math/libm-test.inc: Add ilogb errno and exception tests.
17394 * math/w_ilogb.c: New file: ilogb wrapper.
17395 * math/w_ilogbf.c: New file: ilogbf wrapper.
17396 * math/w_ilogbl.c: New file: ilogbl wrapper.
17397 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17398 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17399 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17400 exception being thrown with 0.0 as argument.
17401 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17402 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17403 exception being thrown with 0.0 as argument.
17404 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17405 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17406 exception being thrown with 0.0 as argument.
17407 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17408 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17409 exception being thrown with 0.0 as argument.
17410 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17411 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
17412 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
17413 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17414 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17415 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17416 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17417 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17418 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17420 2012-04-17 Petr Baudis <pasky@ucw.cz>
17422 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17425 2012-04-16 Marek Polacek <polacek@redhat.com>
17427 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17429 2012-04-16 Marek Polacek <polacek@redhat.com>
17431 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17432 operands of fdivp instruction.
17434 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17436 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17437 * elf/tst-auditmod3b.c: Likewise.
17438 * elf/tst-auditmod4b.c: Likewise.
17439 * elf/tst-auditmod5b.c: Likewise.
17440 * elf/tst-auditmod6b.c: Likewise.
17441 * elf/tst-auditmod6c.c: Likewise.
17442 * elf/tst-auditmod7b.c: Likewise.
17443 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17444 * sysdeps/x86_64/preconfigure.in: Likewise.
17445 * sysdeps/x86_64/preconfigure: Regenerated.
17447 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17449 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17452 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
17454 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17455 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17457 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17460 * locale/iso-639.def: Fix gl language name. Spotted by
17463 2012-04-12 Roland McGrath <roland@hack.frob.com>
17466 * libio/libio.h (__io_write_fn): Update comment.
17468 2012-04-12 Petr Baudis <pasky@ucw.cz>
17471 * stdio.texi (Hook Functions): The user provided writer function
17472 is not allowed to return -1.
17474 2012-04-11 David S. Miller <davem@davemloft.net>
17476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17478 2012-04-11 Mike Frysinger <vapier@gentoo.org>
17480 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17481 Add a leading slash to rtkaio.
17483 2012-04-11 Jim Meyering <meyering@redhat.com>
17486 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17487 It is not necessarily an error to ignore fwrite's return
17488 value. One can reliably use ferror to test for errors after
17491 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17493 * bits/types.h (__snseconds_t): New type.
17494 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17496 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17497 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17498 (__SNSECONDS_T_TYPE): Likewise.
17499 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17500 (__SNSECONDS_T_TYPE): Likewise.
17501 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17502 (__SNSECONDS_T_TYPE): Likewise.
17504 2012-04-10 Andreas Jaeger <aj@suse.de>
17507 * manual/time.texi (Processor Time): Return type of times is
17508 elapsed real time since an arbitrary point in the past.
17509 (CPU Time): Move CLK_TCK from here...
17510 (Processor Time): ...to here. Correct description.
17511 * manual/conf.texi (Constants for Sysconf): Correct description of
17514 2012-04-10 David S. Miller <davem@davemloft.net>
17517 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17518 where the is a gap between DT_REL(A) and DT_JMPREL.
17520 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17522 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17523 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17524 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17526 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17528 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17529 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17530 (dl_main): Handle --inhibit-cache.
17531 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17533 * elf/dl-load.c (_dl_map_object): Use it.
17534 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17536 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17539 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17540 (__ieee754_powl): Saturate large exponents rather than testing for
17541 overflow of y*log2(x).
17542 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17543 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17547 * math/s_ctan.c: Include <float.h>.
17548 (__ctan): Avoid internal overflow or cancellation in calculating
17550 * math/s_ctanf.c: Likewise.
17551 * math/s_ctanl.c: Likewise.
17552 * math/s_ctanh.c: Likewise.
17553 * math/s_ctanhf.c: Likewise.
17554 * math/s_ctanhl.c: Likewise.
17555 * math/libm-test.inc (ctan_test): Add more tests.
17556 (ctanh_test): Likewise.
17557 * sysdeps/i386/fpu/libm-test-ulps: Update.
17558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17560 2012-04-09 Andreas Jaeger <aj@suse.de>
17563 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17564 is an optional BSD extension.
17567 * manual/stdio.texi (Opening Streams): Document additional fopen
17570 2012-04-09 Roland McGrath <roland@hack.frob.com>
17572 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17573 %eax without telling the compiler.
17575 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17578 * manual/install.texi: Use sourceware.org.
17580 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17583 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17584 (__ieee754_pow): Generate overflow and underflow using huge*huge
17585 and tiny*tiny rather than just returning constant infinity or zero
17586 for large exponents.
17587 * math/libm-test.inc (pow_test): Require overflow exceptions for
17588 applicable cases of large exponents.
17591 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17592 (__ieee754_pow): Use iterative multiplication algorithm only for
17593 integer exponents with absolute value below 1024. Check for odd
17594 integer exponents when using algorithm for real exponents.
17595 * math/libm-test.inc (pow_test): Add more tests.
17596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17598 2012-04-08 Joseph Myers <joseph@codesourcery.com>
17601 * math/libm-test.inc (exp_test): Do not allow overflow exception
17604 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17607 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17608 instead of __kernel_standard_f.
17610 2012-04-08 Mike Frysinger <vapier@gentoo.org>
17612 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17613 * sysdeps/x86_64/memset_chk.S: Likewise.
17615 2012-04-08 Andreas Jaeger <aj@suse.de>
17618 * manual/startup.texi (Environment Access): Describe return value
17619 for putenv and setenv.
17622 * manual/filesys.texi (Directory Entries): Add description for
17626 * manual/filesys.texi (Directory Entries): Clarify that it's file
17627 system not operating system in the description of DT_UNKNOWN.
17630 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17632 2012-04-08 Stephen Compall <s11@member.fsf.org>
17635 * manual/llio.texi (Opening and Closing Files): Add cross
17636 reference to explain mode argument.
17638 2012-04-07 Mike Frysinger <vapier@gentoo.org>
17640 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17641 * sysdeps/x86_64/memset_chk.S: Likewise.
17643 2012-04-07 David S. Miller <davem@davemloft.net>
17645 * elf/elf.h (R_SPARC_WDISP10): Define.
17646 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17648 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17649 R_SPARC_SIZE64 and R_SPARC_H34.
17651 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17653 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17654 conditions and remove no longer applicable assertion.
17656 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17658 * bits/byteswap.h: Include <features.h>.
17659 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17660 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17662 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17664 * bits/byteswap.h (__bswap_16): Removed.
17665 Include <bits/byteswap-16.h> to get __bswap_16.
17666 * sysdeps/i386/bits/byteswap.h: Likewise.
17667 * sysdeps/s390/bits/byteswap.h: Likewise.
17668 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17669 * bits/byteswap-16.h: New file.
17670 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17671 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17672 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17673 * string/Makefile (headers): Add bits/byteswap-16.h.
17675 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17678 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17680 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17681 * nss/tst-nss-static.c: New.
17683 2012-04-06 Robert Millan <rmh@gnu.org>
17686 * manual/llio.texi (File Position Primitive): lseek
17687 refers to WHENCE when it really means OFFSET.
17689 2012-04-06 Andreas Jaeger <aj@suse.de>
17691 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17692 strncmp declarations.
17694 * abilist/libc.abilist: Add __poll and __ppoll.
17696 2012-04-05 David S. Miller <davem@davemloft.net>
17698 * scripts/check-local-headers.sh: Accept a host triplet in the
17699 path matched by the exclude regexp.
17701 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17703 * sysdeps/powerpc/powerpc32/dl-machine.h
17704 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17705 * sysdeps/s390/s390-32/dl-machine.h
17706 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17707 * sysdeps/sparc/sparc32/dl-machine.h
17708 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17709 * sysdeps/sparc/sparc64/dl-machine.h
17710 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17712 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17714 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17715 undefined symbol errors.
17717 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17720 2012-04-05 Michael Matz <matz@suse.de>
17723 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17725 2012-04-05 Andreas Jaeger <aj@suse.de>
17728 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17731 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17733 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17734 which ROUND is no valid rounding mode.
17736 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17738 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17740 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17742 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17744 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17745 an exception using FPU order intentionally.
17747 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17749 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17750 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17751 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17752 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17754 2012-04-05 Simon Josefsson <simon@josefsson.org>
17757 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17758 EINVAL when BUFLEN is too smal.
17760 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17763 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17764 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17766 2012-04-03 Andreas Jaeger <aj@suse.de>
17769 * manual/setjmp.texi (System V contexts): Fix sentence.
17772 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17773 New macro for this case.
17774 [!__GNUC__] (__bswap_64): New inline function for this case.
17775 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17776 * bits/byteswap.h: Likewise.
17777 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17778 ull, guard with __GLIBC_HAVE_LONG_LONG.
17780 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17781 __GLIBC_HAVE_LONG_LONG.
17783 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17784 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17786 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17789 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17790 inptr and inend, rather than using last_ch.
17792 2012-04-02 David S. Miller <davem@davemloft.net>
17794 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17795 * stdio-common/printf-parse.h (read_int): Change return type to
17796 'int', return -1 on INT_MAX overflow.
17797 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17798 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17799 overflows INT_MAX. Check for overflow of in-format-string precision
17800 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17801 SIZE_MAX not INT_MAX for integer overflow test.
17802 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17803 skip the construct in the format string but do not record anything.
17804 * stdio-common/bug22.c: Adjust to test both width/prevision
17805 INT_MAX overflow as well as total length INT_MAX overflow. Check
17806 explicitly for proper errno values.
17808 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17810 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17812 * string/test-strcmp.c [! WIDE]: Likewise.
17813 * time/tst-mktime2.c: Likewise for INT_MAX.
17814 * string/test-string.h: #include <sys/param.h> for MIN.
17816 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17817 * sysdeps/i386/init-first.c (init): Likewise.
17818 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17819 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17820 * sysdeps/sh/init-first.c (init): Likewise.
17822 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17824 * po/ru.po: Update from translation team.
17825 * po/vi.po: Likewise.
17827 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17829 * resolv/nss_dns/dns-host.c: Merge copyright years.
17831 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17833 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17834 Optimize memcpy with prefetch if
17835 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17836 src, dst pointers have unequal 16 byte alignments.
17838 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17841 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17842 from a CNAME entry and return the minimum ttl for the query.
17843 (gaih_getanswer_slice): Likewise.
17845 2012-03-30 Jeff Law <law@redhat.com>
17847 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17849 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17850 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17852 * resolv/nss_dns/dns-host.c: Update copyright year.
17854 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17856 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17857 requests to save a system call. Fix check that all bytes are sent.
17859 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17860 comments for sendmmsg.
17862 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17865 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17866 with only 1 character between 0x0041 and 0x01b0.
17867 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17868 * wcsmbs/tst-mbsnrtowcs.c: New file.
17870 2012-03-29 David S. Miller <davem@davemloft.net>
17872 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17873 small copies by hand.
17875 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17878 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17879 _nss_compat_initgroups_dyn): Fall back to malloc/free
17880 for large group memberships.
17882 2012-03-28 David S. Miller <davem@davemloft.net>
17884 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17885 that branches into memcpy.
17886 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17887 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17888 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17889 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17890 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17892 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17893 implementation too.
17894 * sysdeps/sparc/mempcpy.S: New file.
17896 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17897 the IFUNC routine in the libc case.
17898 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17900 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17901 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17902 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17903 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17904 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17905 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17906 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17907 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17909 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17910 loop to 256 bytes instead of 64 bytes and fix test signedness.
17912 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17913 * sysdeps/sparc/sparc32/Makefile: rather than here...
17914 * sysdeps/sparc/sparc64/Makefile: and here.
17916 2012-03-28 Ulrich Drepper <drepper@gmail.com>
17918 * malloc/mallocbug.c: Avoid warnings about unused variables.
17920 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17923 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17924 in the right place. Discard and retry query if response is
17925 larger than input buffer size.
17927 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17932 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17933 x for large integer exponent.
17934 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17935 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17936 sign of result as needed afterwards.
17937 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17938 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17939 result for underflowing pow the same as for overflow.
17940 (__kernel_standard_l): Handle powl overflow and underflow here
17941 rather than calling __kernel_standard.
17942 * math/libm-test.inc (pow_test): Add more tests.
17957 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17958 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17959 (__kernel_standard_l): New function.
17960 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17962 * math/w_acosl.c (__acosl): Likewise.
17963 * math/w_asinl.c (__asinl): Likewise.
17964 * math/w_atan2l.c (__atan2l): Likewise.
17965 * math/w_atanhl.c (__atanhl): Likewise.
17966 * math/w_coshl.c (__coshl): Likewise.
17967 * math/w_exp10l.c (__exp10l): Likewise.
17968 * math/w_exp2l.c (__exp2l): Likewise.
17969 * math/w_fmodl.c (__fmodl): Likewise.
17970 * math/w_hypotl.c (__hypotl): Likewise.
17971 * math/w_j0l.c (__j0l, __y0l): Likewise.
17972 * math/w_j1l.c (__j1l, __y1l): Likewise.
17973 * math/w_jnl.c (__jnl, __ynl): Likewise.
17974 * math/w_lgammal.c (__lgammal): Likewise.
17975 * math/w_log10l.c (__log10l): Likewise.
17976 * math/w_log2l.c (__log2l): Likewise.
17977 * math/w_logl.c (__logl): Likewise.
17978 * math/w_powl.c (__powl): Likewise.
17979 * math/w_remainderl.c (__remainderl): Likewise.
17980 * math/w_scalbl.c (sysv_scalbl): Likewise.
17981 * math/w_sinhl.c (__sinhl): Likewise.
17982 * math/w_sqrtl.c (__sqrtl): Likewise.
17983 * math/w_tgammal.c (__tgammal): Likewise.
17984 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17985 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17986 * math/libm-test.inc (acos_test): Add more tests.
17987 (acosh_test): Likewise.
17988 (asin_test): Likewise.
17989 (atanh_test): Likewise.
17990 (exp_test): Likewise.
17991 (exp10_test): Likewise.
17992 (exp2_test): Likewise.
17993 (expm1_test): Likewise.
17994 (lgamma_test): Likewise.
17995 (log_test): Likewise.
17996 (log10_test): Likewise.
17997 (log1p_test): Likewise.
17998 (log2_test): Likewise.
17999 (pow_test): Do not allow some spurious overflow exceptions.
18000 (sqrt_test): Add more tests.
18001 (tgamma_test): Likewise.
18002 (y0_test): Likewise.
18003 (y1_test): Likewise.
18004 (yn_test): Likewise.
18006 2012-03-27 Anton Blanchard <anton@samba.org>
18008 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18010 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18011 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18012 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18014 2012-03-27 David S. Miller <davem@davemloft.net>
18016 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18018 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18019 have-as-vis3 check.
18021 2012-03-27 Andreas Jaeger <aj@suse.de>
18023 * sysdeps/x86_64/elf/configure.in: Moved to ...
18024 * sysdeps/x86_64/configure.in: ... here.
18025 * sysdeps/x86_64/elf/start.S: Moved to ...
18026 * sysdeps/x86_64/start.S: ... here.
18027 * sysdeps/x86_64/elf/configure: Delete.
18029 * sysdeps/x86_64/configure.in: Merge contents from
18030 sysdeps/i386/configure.in (without i686 check).
18032 * sysdeps/i386/elf/Versions: Merge into ...
18033 * sysdeps/i386/Versions: ... this.
18034 * sysdeps/i386/elf/Versions: Delete file.
18035 * sysdeps/i386/elf/start.S: Moved to ...
18036 * sysdeps/i386/start.S: ...here.
18037 * sysdeps/i386/elf/configure.in: Merge into...
18038 * sysdeps/i386/configure.in: ...here.
18039 * sysdeps/i386/elf/configure.in: Delete file.
18040 * sysdeps/i386/elf/configure: Delete file.
18042 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18043 * debug/backtracesyms.c: ... here.
18044 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18045 * debug/backtracesymsfd.c: ... here.
18046 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18047 * sysdeps/generic/ifunc-sel.h: ... here.
18049 * sysdeps/unix/i386/start.c: Delete file.
18050 * sysdeps/unix/sparc/start.c: Delete file.
18051 * sysdeps/unix/start.c: Delete file.
18053 * sysdeps/sh/elf/configure.in: Moved to ...
18054 * sysdeps/sh/configure.in: ... here.
18055 * sysdeps/sh/elf/start.S: Moved to ...
18056 * sysdeps/sh/start.S: ... here.
18057 * sysdeps/sh/elf/configure: Delete file.
18059 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18060 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18061 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18062 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18063 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18064 * sysdeps/powerpc/powerpc64/start.S: here.
18065 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18066 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18067 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18068 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18069 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18071 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18072 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18073 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18074 * sysdeps/powerpc/powerpc32/start.S: ... here.
18075 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18076 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18077 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18079 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18080 * sysdeps/powerpc/ifunc-sel.h: ... here.
18081 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18082 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18084 * sysdeps/sparc/elf/configure.in: Moved to ...
18085 * sysdeps/sparc/configure.in: ... here.
18086 * sysdeps/sparc/elf/configure: Delete file.
18087 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18088 * sysdeps/sparc/sparc32/start.S: ... here.
18089 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18090 * sysdeps/sparc/sparc64/start.S: ... here.
18091 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18092 * sysdeps/sparc/sparc32/Makefile: ... this.
18093 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18094 * sysdeps/sparc/sparc64/Makefile: ... this.
18096 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18097 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18098 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18099 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18100 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18101 * sysdeps/s390/s390-32/setjmp.S: ... here.
18102 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18103 * sysdeps/s390/s390-32/configure.in: ... here.
18104 * sysdeps/s390/s390-32/elf/configure: Delete file.
18105 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18106 * sysdeps/s390/s390-32/start.S: ... here.
18108 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18109 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18110 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18111 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18112 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18113 * sysdeps/s390/s390-64/setjmp.S: ... here.
18114 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18115 * sysdeps/s390/s390-64/configure.in: ... here
18116 * sysdeps/s390/s390-64/elf/configure: Delete file.
18117 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18118 * sysdeps/s390/s390-64/start.S: ... here.
18119 * sysdeps/s390/s390-64/elf/configure: Delete.
18121 * configure.in: Remove support for elf directories in sysdeps.
18123 * configure: Regenerated.
18124 * sysdeps/i386/configure: Regenerated.
18125 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18126 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18127 * sysdeps/s390/s390-32/configure: Regenerated.
18128 * sysdeps/s390/s390-64/configure: Regenerated.
18129 * sysdeps/sh/configure: Regenerated.
18130 * sysdeps/sparc/configure: Regenerated.
18131 * sysdeps/x86_64/configure: Regenerated.
18133 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
18135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18137 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18138 denormal result into account.
18140 2012-03-25 Roland McGrath <roland@hack.frob.com>
18142 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18143 Reported by Allan McRae <allan@archlinux.org>.
18145 2012-03-23 Jeff Law <law@redhat.com>
18147 * nss/getnssent.c (__nss_getent): Fix typo.
18149 2012-03-23 David S. Miller <davem@davemloft.net>
18151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18153 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18155 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18156 to pad to uint64_t for each field.
18157 (dl_tls_index): Replace unsigned long with uint64_t.
18159 2012-03-23 Daniel Jacobowitz <dmj@google.com>
18160 Paul Pluzhnikov <ppluzhnikov@google.com>
18163 * grp/Makefile (otherlibs): Don't set it.
18164 * inet/Makefile (otherlibs): Likewise.
18165 * login/Makefile (otherlibs): Likewise.
18166 * nscd/Makefile (otherlibs): Likewise.
18167 * posix/Makefile (otherlibs): Likewise.
18168 * pwd/Makefile (otherlibs): Likewise.
18169 * rt/Makefile (otherlibs): Likewise.
18170 * sunrpc/Makefile (otherlibs): Likewise.
18171 * nss/Makefile (otherlibs): Likewise.
18172 Add libnss_files to routines and static-only-routines.
18173 ($(objpfx)getent): Remove rule.
18174 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18175 static-only-routines.
18177 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18180 * math/s_cexp.c: Include <float.h>.
18181 (__cexp): Handle exp result overflowing not necessarily
18182 overflowing both real and imaginary parts of result.
18183 * math/s_cexpf.c: Likewise.
18184 * math/s_cexpl.c: Likewise.
18185 * math/libm-test.inc (cexp_test): Add more tests.
18186 * sysdeps/i386/fpu/libm-test-ulps: Update.
18187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18189 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18191 * include/link.h (ELFW): New macro.
18192 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18193 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18195 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18197 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18200 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18202 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18204 (struct La_x32_retval): Likewise.
18206 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18208 * sysdeps/x86_64/preconfigure.in: New file.
18209 * sysdeps/x86_64/preconfigure: New generated file.
18211 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18214 * math/e_exp2l.c: Include <float.h>.
18215 (__ieee754_exp2l): Handle overflow and underflow cases
18216 separately. Only pass fractional part of argument to
18218 * math/libm-test.inc (exp2_test): Add more tests.
18220 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18221 negating x to take absolute value.
18222 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18224 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18225 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18227 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18228 computing low part if x was negated.
18229 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18231 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18233 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18234 la_x32_gnu_pltexit.
18235 (pltexit): Cast int_retval to ptrdiff_t.
18236 * elf/tst-auditmod3b.c: Likewise.
18237 * elf/tst-auditmod4b.c: Likewise.
18238 * elf/tst-auditmod5b.c: Likewise.
18239 * elf/tst-auditmod6b.c: Likewise.
18240 * elf/tst-auditmod6c.c: Likewise.
18241 * elf/tst-auditmod7b.c: Likewise.
18243 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18244 and x32_gnu_pltexit.
18246 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18247 __ELF_NATIVE_CLASS.
18248 (La_x32_regs): New macro.
18249 (La_x32_retval): Likewise.
18250 (la_x32_gnu_pltenter): New function prototype.
18251 (la_x32_gnu_pltexit): Likewise.
18253 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18255 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18260 * configure.in (libc_cv_cc_nofma): Check for option to disable
18261 generation of FMA instructions.
18262 * configure: Regenerate.
18263 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18264 * sysdeps/ieee754/dbl-64/Makefile: New file.
18265 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18266 Remove brandred-fma4.
18267 (CFLAGS-brandred-fma4.c): Remove.
18268 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18269 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18271 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18274 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18276 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18277 LLONG_MAX != LONG_MAX.
18278 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18279 (_fitoa_word): Likewise.
18280 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18281 LLONG_MAX != LONG_MAX.
18282 * stdio-common/_itowa.h: Include <_itoa.h>.
18283 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18284 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18285 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18286 only if not defined.
18287 (_ITOA_WORD_TYPE): Likewise.
18288 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18289 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18291 2012-03-21 David S. Miller <davem@davemloft.net>
18293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18295 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18297 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18298 of x86_64 when setting libc_cv_slibdir, libdir and
18300 * sysdeps/unix/sysv/linux/configure: Regenerated.
18302 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18304 * manual/lang.texi (Old Varargs): Remove section.
18305 (How Variadic): Update menu.
18306 (va_start): Do not mention varargs.h.
18308 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18309 Joseph Myers <joseph@codesourcery.com>
18311 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18313 * configure: Regenerated.
18315 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18317 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18318 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18321 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18324 * Makefile (files-for-dist): Remove NOTES.
18325 (NOTES): Remove rule.
18326 * README: Don't refer to NOTES.
18327 * manual/creature.texi: Don't include macros.texi.
18328 * manual/intro.texi (creature.texi): Remove comment referring to
18331 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18332 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18333 * configure: Regenerated.
18334 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18335 LIBC_TRY_CC_OPTION.
18336 (libc_cv_as_i686): Likewise.
18337 (libc_cv_cc_avx): Likewise.
18338 (libc_cv_cc_sse2avx): Likewise.
18339 (libc_cv_cc_fma4): Likewise.
18340 (libc_cv_cc_novzeroupper): Likewise.
18341 * sysdeps/i386/configure: Regenerated.
18344 * sysdeps/i386/fpu/s_cexp.S: Remove.
18345 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18346 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18347 * math/libm-test.inc (cexp_test): Add more tests.
18348 * sysdeps/i386/fpu/libm-test-ulps: Update.
18349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18351 2012-03-21 Allan McRae <allan@archlinux.org>
18353 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18355 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18358 * math/w_exp2.c: Do not include <float.h>.
18359 (o_threshold, u_threshold): Remove.
18360 (__exp2): Calculate result before checking finiteness and calling
18362 * math/w_exp2f.c: Likewise.
18363 * math/w_exp2l.c: Likewise.
18364 * math/libm-test.inc (exp2_test): Require overflow exception for
18368 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18369 range of signed 64-bit integers before using fistpll. Remove
18370 checks for whether integers fit in mantissa bits.
18371 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18372 the range of signed 32-bit integers before using fistpl. Remove
18373 checks for whether integers fit in mantissa bits.
18374 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18375 (__ieee754_powl): Test for y outside the range of signed 64-bit
18376 integers before using fistpll. Reduce 64-bit values to 63-bit
18378 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18379 divide-by-zero is raised for zero to large negative powers.
18380 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18381 (__ieee754_powl): Test for y outside the range of signed 64-bit
18382 integers before using fistpll. Reduce 64-bit values to 63-bit
18384 * math/libm-test.inc (pow_test): Add more tests.
18386 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18388 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18389 <stdio-common/_itoa.h>.
18390 * debug/segfault.c: Likewise.
18391 * elf/dl-cache.c: Likewise.
18392 * elf/dl-minimal.c: Likewise.
18393 * elf/dl-misc.c: Likewise.
18394 * elf/dl-sysdep.c: Likewise.
18395 * elf/dl-version.c: Likewise.
18396 * elf/rtld.c: Likewise.
18397 * hurd/hurdsock.c: Likewise.
18398 * hurd/lookup-retry.c: Likewise.
18399 * malloc/malloc.c: Likewise.
18400 * malloc/mtrace.c: Likewise.
18401 * nscd/nscd_getgr_r.c: Likewise.
18402 * nscd/nscd_getpw_r.c: Likewise.
18403 * nscd/nscd_getserv_r.c: Likewise.
18404 * posix/getopt_init.c: Likewise.
18405 * posix/wordexp.c: Likewise.
18406 * stdio-common/_itoa.c: Likewise.
18407 * stdio-common/printf_fphex.c: Likewise.
18408 * stdio-common/vfprintf.c: Likewise.
18409 * string/_strerror.c: Likewise.
18410 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18411 * sysdeps/i386/i686/hp-timing.h: Likewise.
18412 * sysdeps/mach/_strerror.c: Likewise.
18413 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18414 * sysdeps/mach/hurd/sethostid.c: Likewise.
18415 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18416 * sysdeps/mach/xpg-strerror.c: Likewise.
18417 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18418 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18419 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18420 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18421 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18422 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18423 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18424 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18425 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18426 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18427 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18428 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18429 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18430 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18431 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18432 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18433 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18434 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18435 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18436 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18437 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18439 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18441 * stdio-common/_itoa.h: Moved to ...
18442 * sysdeps/generic/_itoa.h: Here.
18444 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18446 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18447 instead of "_itoa.h" and "_itowa.h".
18448 * stdio-common/vfprintf.: Likewise.
18450 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18452 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18454 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18455 (__signbit): Likwise.
18456 (llrintf): Likwise.
18459 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18461 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18464 2012-03-20 Joseph Myers <joseph@codesourcery.com>
18466 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18467 OVERFLOW_EXCEPTION_OK.
18468 * math/libm-test.inc ("Philosophy"): Update comment about
18470 (OVERFLOW_EXCEPTION): Define.
18471 (OVERFLOW_EXCEPTION_OK): Likewise.
18472 (INVALID_EXCEPTION_OK): Renumber.
18473 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18474 (IGNORE_ZERO_INF_SIGN): Likewise.
18475 (test_exceptions): Handle FE_OVERFLOW.
18476 (exp10_test): Expect overflow exceptions.
18477 (exp2_test): Likewise.
18478 (expm1_test): Likewise.
18479 (nextafter_test): Likewise.
18480 (pow_test): Likewise.
18481 (scalbn_test): Likewise.
18482 (scalbln_test): Likewise.
18484 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18486 * sysdeps/x86_64/bits/atomic.h
18487 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18489 (atomic_exchange_acq): Likewise.
18490 (__arch_exchange_and_add_body): Likewise.
18491 (__arch_add_body): Likewise.
18492 (atomic_add_negative): Likewise.
18493 (atomic_add_zero): Likewise.
18495 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18497 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
18498 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18500 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18502 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18503 Check __x86_64__ instead of __WORDSIZE.
18505 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18507 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18509 2012-03-19 David S. Miller <davem@davemloft.net>
18511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18513 * sysdeps/sparc/fpu/fenv_private.h: New file.
18514 * sysdeps/sparc/fpu/math_private.h: Use it.
18515 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18517 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18518 (libc_feholdexcept_setroundl): Remove.
18519 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18521 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18522 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18524 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18526 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18527 int64_t instead of long int.
18528 (INSERT_WORDS64): Likwise.
18530 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18532 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18533 _Unwind_GetCFA return to _Unwind_Ptr first.
18535 2012-03-19 Joseph Myers <joseph@codesourcery.com>
18538 * math/s_clog.c: Include <float.h>.
18539 (__clog): Scale large or subnormal inputs.
18540 * math/s_clogf.c: Likewise.
18541 * math/s_clogl.c: Likewise.
18542 * math/s_clog10.c: Include <float.h>.
18543 (M_LOG10_2): Define.
18544 (__clog10): Scale large or subnormal inputs.
18545 * math/s_clog10f.c: Likewise.
18546 * math/s_clog10l.c: Likewise.
18547 * math/libm-test.inc (clog_test): Add more tests.
18548 (clog10_test): Likewise.
18549 * sysdeps/i386/fpu/libm-test-ulps: Update.
18550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18553 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18555 * math/libm-test.inc (atan2_test): Add another test.
18557 * Makerules (common-objdir-compile): Remove.
18558 * sysdeps/unix/Makefile (config-generated): Do not add
18559 $(unix-generated) to variable.
18560 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18561 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18563 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18565 [generic bits/local_lim.h] (before-compile): Do not append to
18567 [generic bits/local_lim.h] (common-generated): Likewise.
18568 [generic sys/param.h] (before-compile): Do not append to variable.
18569 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18570 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18571 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18572 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18574 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18575 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18576 [generic sys/param.h] ($(addprefix
18577 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18578 [generic sys/param.h] (common-generated): Do not append to
18580 [generic sys/param.h] (sysdep_headers): Likewise.
18581 [generic bits/errno.h] (before-compile): Do not append to
18583 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18585 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18586 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18587 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18588 [generic bits/errno.h] (common-generated): Do not append to
18590 [generic bits/ioctls.h] (before-compile): Do not append to
18592 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18594 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18595 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18596 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18598 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18599 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18600 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18601 [generic bits/ioctls.h] (common-generated): Do not append to
18603 [generic sys/syscall.h] (syscall.h): Remove variable.
18604 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18606 [generic sys/syscall.h] (before-compile): Do not append to
18608 [generic sys/syscall.h] (common-generated): Likewise.
18609 * sysdeps/unix/errnos-tmpl.c: Remove file.
18610 * sysdeps/unix/errnos.awk: Likewise.
18611 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18612 * sysdeps/unix/ioctls.awk: Likewise.
18613 * sysdeps/unix/mk-local_lim.c: Likewise.
18614 * sysdeps/unix/snarf-ioctls: Likewise.
18616 2012-03-19 Richard Henderson <rth@twiddle.net>
18618 * sysdeps/i386/fpu/fenv_private.h: New file.
18619 * sysdeps/i386/fpu/math_private.h: Use it.
18620 (math_opt_barrier, math_force_eval): Remove.
18621 (libc_feholdexcept_setround_53bit): Remove.
18622 (libc_feupdateenv_53bit): Remove.
18623 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18624 (math_opt_barrier, math_force_eval): Remove.
18625 (libc_feholdexcept): Remove.
18626 (libc_feholdexcept_setround): Remove.
18627 (libc_fetestexcept, libc_fesetenv): Remove.
18628 (libc_feupdateenv_test): Remove.
18629 (libc_feupdateenv, libc_feholdsetround): Remove.
18630 (libc_feresetround): Remove.
18632 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18633 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18635 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18636 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18637 (libc_feupdateenv_testl): New.
18638 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18639 (libc_feupdateenv_testf): New.
18640 (libc_feupdateenv): Use libc_feupdateenv_test.
18641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18642 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18644 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18645 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18646 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18647 (libc_feresetround_noex): New.
18648 (libc_feresetround_noexf): New.
18649 (libc_feresetround_noexl): New.
18650 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18651 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18652 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18653 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18655 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18656 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18658 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18659 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18660 SET_RESTORE_ROUND_NOEX.
18661 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18662 SET_RESTORE_ROUND_NOEXF.
18663 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18664 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18665 (libc_feholdsetroundf): New.
18666 (libc_feresetround, libc_feresetroundf): New.
18668 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18669 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18670 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18672 * sysdeps/generic/math_private.h: Include <fenv.h>.
18673 (default_libc_feholdexcept): New.
18674 (default_libc_feholdexcept_setround): New.
18675 (default_libc_fesetenv, default_libc_feupdateenv): New.
18676 (libc_feholdexcept): Only define if undefined.
18677 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18678 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18679 (libc_feholdexcept_setroundl): Likewise.
18680 (libc_feholdexcept_setround_53bit): Likewise.
18681 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18682 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18683 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18684 (libc_feupdateenv_53bit): Likewise.
18685 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18686 (libc_feholdexcept): Convert from macro to inline function.
18687 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18688 (libc_fesetenv, libc_feupdateenv): Likewise.
18690 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18691 not previously defined.
18692 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18693 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18694 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18695 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18696 * sysdeps/ieee754/flt-32/math_private.h: New file.
18697 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18698 math_private.h below SET_FLOAT_WORD.
18699 (__isnan, __isinf_ns, __finite): Remove.
18700 (__isnanf, __isinf_nsf, __finitef): Remove.
18702 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18706 2012-03-17 David S. Miller <davem@davemloft.net>
18709 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18712 2012-03-16 David S. Miller <davem@davemloft.net>
18714 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18718 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18720 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18721 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18722 sysdep_routines when subdir is sysvipc.
18723 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18724 __getshmlba helper.
18726 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18728 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18730 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18733 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18735 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18736 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18737 (__lround): Renamed to ...
18738 (__llround): This. Replace long int with long long int.
18739 Define lround functions as aliases of llround functions.
18740 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18742 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18744 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18745 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18746 adresses to uintptr_t. Replace "long int" and "unsigned long
18747 int" with "greg_t" on va_arg.
18749 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18751 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18752 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18754 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18755 Move e_machine check before EI_CLASS check. Handle x32
18756 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18757 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18758 SKIP_EM_IA_64 and include
18759 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18761 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18762 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18763 (add_system_dir): New macro.
18765 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18766 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18768 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18779 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18781 * math/w_j0f.c (j0f): Likewise.
18783 * math/w_j0l.c (__j0l): Likewise.
18785 * math/w_j1.c (j1): Likewise.
18787 * math/w_j1f.c (j1f): Likewise.
18789 * math/w_j1l.c (__j1l): Likewise.
18791 * math/w_jn.c (jn): Likewise.
18793 * math/w_jnf.c (jnf): Likewise.
18795 * math/w_jnl.c (__jnl): Likewise.
18797 * math/libm-test.inc (j0_test): Add more tests.
18798 (j1_test): Likewise.
18799 (jn_test): Likewise. Add trailing semicolon to existing test.
18800 (y0_test): Likewise.
18801 (y1_test): Likewise.
18802 * sysdeps/i386/fpu/libm-test-ulps: Update.
18803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18807 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18808 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18809 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18810 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18811 (__tanl): Set errno for infinite argument.
18812 * sysdeps/i386/fpu/mptan.c: Remove.
18813 * sysdeps/i386/fpu/s_tan.S: Likewise.
18814 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18815 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18816 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18817 * math/libm-test.inc (tan_test): Add more tests and enable more
18818 tests for double and long double.
18819 * sysdeps/i386/fpu/libm-test-ulps: Update.
18820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18822 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18824 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18825 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18827 2012-03-16 Roland McGrath <roland@hack.frob.com>
18829 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18830 * configure.in: Use it for both main tree and add-ons.
18831 * configure: Regenerated.
18833 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18835 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18837 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18839 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18843 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18844 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18845 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18846 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18847 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18849 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18850 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18851 != 0 for prec == 2.
18852 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18853 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18854 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18855 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18856 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18857 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18858 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18859 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18860 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18861 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18862 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18863 * math/libm-test.inc (cos_test): Add more tests and enable more
18864 tests for long double.
18865 (sin_test): Likewise.
18866 (sincos_test): Likewise.
18867 * sysdeps/i386/fpu/libm-test-ulps: Update.
18868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18870 2012-03-16 David S. Miller <davem@davemloft.net>
18872 * sysdeps/sparc/fpu/math_private.h: New file.
18874 2012-03-15 David S. Miller <davem@davemloft.net>
18876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18882 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18883 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18886 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18890 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18891 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18893 * sysdeps/sparc/sparc-ifunc.h: New file.
18894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18919 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18920 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18921 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18922 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18932 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18933 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18934 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18935 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18936 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18937 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18939 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18941 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18945 2012-03-15 Andreas Jaeger <aj@suse.de>
18948 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18949 ieee754/flt-32 implementation for sin, cos and sincos.
18950 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18951 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18952 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18953 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18954 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18955 ieee754/flt-32 implementation for tan.
18957 * math/libm-test.inc (cos_test): Enable some large input tests for
18959 (sin_test): Likewise.
18960 (sincos_test): Likewise.
18961 (tan_test): Add tests for large input.
18963 * sysdeps/i386/fpu/libm-test-ulps: Update.
18965 2012-03-15 Andreas Jaeger <aj@suse.de>
18968 * math/libm-test.inc (cos_test): Add more test cases.
18969 (sin_test): Likewise.
18970 (sincos_test): Likewise.
18972 2012-03-15 Andreas Jaeger <aj@suse.de>
18975 * math/libm-test.inc (cos_test): Add a test case for large input
18977 (sin_test): Likewise.
18978 (sincos_test): Likewise.
18980 2012-03-15 Andreas Jaeger <aj@suse.de>,
18981 Joseph Myers <joseph@codesourcery.com>
18984 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18985 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18986 * sysdeps/i386/fpu/branred.c: Likewise.
18987 * sysdeps/i386/fpu/dosincos.c: Likewise.
18988 * sysdeps/i386/fpu/mpa.c: Likewise.
18989 * sysdeps/i386/fpu/s_cos.S: Likewise.
18990 * sysdeps/i386/fpu/s_sin.S: Likewise.
18991 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18992 * sysdeps/i386/fpu/sincos32.c: Likewise.
18994 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18996 (libc_feupdateenv_53bit): Define.
18997 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18999 (libc_feupdateenv_53bit): Define.
19001 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19002 53 bit (without extend i386 double precision).
19004 * math/libm-test.inc (sincos_test): Add tests for large input.
19008 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19010 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19014 2012-03-15 David S. Miller <davem@davemloft.net>
19016 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19017 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19018 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19019 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
19031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
19034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
19037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
19040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19043 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19044 fmin/fmax sysdep routines.
19045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19047 2012-03-14 David S. Miller <davem@davemloft.net>
19049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19050 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19051 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19053 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19054 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19055 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19056 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19059 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19061 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19062 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19063 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19069 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19070 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19071 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19072 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19073 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19074 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19075 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19076 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
19077 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
19082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
19085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
19088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
19091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
19094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
19109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
19112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
19115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
19118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19121 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19126 * sysdeps/sparc/configure.in: New file.
19127 * sysdeps/sparc/configure: Generate.
19128 * configure.in (libc_cv_sparc_as_vis3): Substitute.
19129 * configure: Regenerate.
19130 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19131 * config.make.in (have-as-vis3): New.
19132 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19133 available use -Av9d instead of -Av9a.
19134 * sysdeps/sparc/sparc64/Makefile: Likewise.
19135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
19136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19144 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19145 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19146 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19147 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19148 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19150 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19151 fzeros/fnegs to load 0x80000000 into a float register instead of
19153 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19155 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19157 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19159 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19160 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19161 ($(inst_includedir)/bits/syscall.h): Remove rule.
19162 ($(objpfx)bits/syscall.d): Include instead of
19163 $(objpfx)syscall-list.d.
19164 (generated): Change syscall-list.h and syscall-list.d to
19165 bits/syscall.h and bits/syscall.d.
19167 2012-03-14 Roland McGrath <roland@hack.frob.com>
19170 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19172 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19175 * math/s_csqrt.c: Include <float.h>.
19176 (__csqrt): Scale large or subnormal inputs.
19177 * math/s_csqrtf.c: Likewise.
19178 * math/s_csqrtl.c: Likewise.
19179 * math/libm-test.inc (csqrt_test): Add more tests.
19180 * sysdeps/i386/fpu/libm-test-ulps: Update.
19181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19184 * math/libm-test.inc (hypot_test): Add more tests.
19186 2012-03-13 David S. Miller <davem@davemloft.net>
19189 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19190 double-precision for the calculation instead of scaling.
19192 2012-03-13 Joseph Myers <joseph@codesourcery.com>
19194 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19195 manipulate bits before adding and subtracting TWO52[sx].
19196 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19197 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19199 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19201 2012-03-13 David S. Miller <davem@davemloft.net>
19203 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19204 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19206 rtld-global-offsets.h
19207 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19209 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19212 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19214 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19215 'err' in the ifdef scope in which it is actually used.
19217 * nss/nss_db/db-init.c: Include string.h
19219 2012-03-12 David S. Miller <davem@davemloft.net>
19221 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19222 masking out of the most significant byte of random value used.
19223 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19224 Fix coding style in previous change.
19226 * sysdeps/unix/sysv/linux/kernel-features.h
19227 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19228 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19230 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19233 2012-03-11 David S. Miller <davem@davemloft.net>
19235 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19236 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19237 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19238 for 'resultvar' otherwise things get truncated on 64-bit.
19240 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19241 Fix masking out of the most significant byte of random value used.
19243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19245 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19249 2012-03-09 David S. Miller <davem@davemloft.net>
19251 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19252 variables with appropriate CPP guards.
19253 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19254 frame pointer, not the stack pointer. Correct layout comments. Fix test
19255 on resulting framesize and the management of the outregs buffer for pltexit.
19256 Preserve floating point return values across _dl_call_pltexit call.
19257 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19258 framesize and the management of the outregs buffer for pltexit.
19259 Preserve floating point return values across _dl_call_pltexit
19261 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19262 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19263 (print_exit): Fix format string for return register value.
19265 2012-03-10 Joseph Myers <joseph@codesourcery.com>
19267 * sunrpc/Makefile (others): Add rpcgen.
19268 ($(objpfx)rpcgen): Remove special build rule and dependency on
19270 * sunrpc/rpcgen.c: New file.
19272 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19275 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19276 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19277 * sysdeps/i386/crti.S: Likewise.
19278 * sysdeps/i386/crtn.S: Likewise.
19279 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19280 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19281 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19282 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19283 * sysdeps/sh/crti.S: Likewise.
19284 * sysdeps/sh/crtn.S: Likewise.
19285 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19288 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19290 * locale/programs/locfile-kw.gperf: Likewise.
19291 * locale/programs/charmap-kw.h: Regenerated.
19292 * locale/programs/locfile-kw.h: Likewise.
19295 * intl/plural.y: Replace FSF snail mail address with URL.
19296 * intl/plural.c: Regenerated.
19298 2012-03-09 Richard Henderson <rth@twiddle.net>
19300 * include/math_private.h: Remove file.
19301 * math/math_private.h: Move file ...
19302 * sysdeps/generic/math_private.h: ... here.
19304 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19305 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19306 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19308 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
19309 and <math_private.h>.
19310 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19311 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19312 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19313 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19314 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19315 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19316 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19317 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19318 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19319 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19320 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19321 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19322 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19323 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19324 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19325 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19326 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19327 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19328 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19329 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19330 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19331 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19332 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19333 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19334 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19335 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19336 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19337 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19338 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19339 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19340 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19341 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19342 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19343 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19344 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19345 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19346 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19347 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19348 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19349 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19350 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19351 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19352 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19353 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19354 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19355 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19356 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19357 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19358 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19359 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19360 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19361 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19362 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19363 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19364 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19365 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19366 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19367 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19368 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19369 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19370 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19371 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19372 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19373 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19374 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19375 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19376 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19377 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19378 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19379 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19380 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19381 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19382 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19383 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19384 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19385 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19386 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19387 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19388 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19389 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19390 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19391 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19392 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19393 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19394 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19395 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19396 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19397 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19398 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19399 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19400 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19401 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19402 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19403 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19404 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19405 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19406 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19407 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19408 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19409 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19410 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19411 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19412 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19413 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19414 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19415 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19416 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19417 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19418 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19419 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19420 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19421 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19422 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19423 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19424 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19425 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19426 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19427 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19428 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19429 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19430 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19431 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19432 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19433 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19434 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19435 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19436 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19437 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19438 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19439 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19440 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19441 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19442 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19443 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19444 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19445 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19446 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19447 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19448 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19449 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19450 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19451 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19452 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19453 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19454 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19455 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19456 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19457 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19458 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19459 * sysdeps/ieee754/k_standard.c: Likewise.
19460 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19461 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19462 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19463 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19464 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19465 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19466 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19467 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19468 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19469 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19470 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19471 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19472 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19473 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19474 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19475 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19476 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19477 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19478 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19479 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19480 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19481 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19482 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19483 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19484 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19485 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19486 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19487 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19488 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19489 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19490 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19491 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19492 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19493 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19494 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19495 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19496 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19497 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19498 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19499 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19500 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19501 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19502 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19503 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19504 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19505 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19506 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19507 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19508 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19509 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19510 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19511 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19512 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19513 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19514 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19515 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19516 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19517 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19518 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19519 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19520 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19521 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19522 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19523 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19524 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19525 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19526 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19527 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19528 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19529 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19530 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19531 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19532 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19533 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19534 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19535 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19536 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19537 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19538 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19539 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19540 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19541 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19542 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19543 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19544 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19545 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19546 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19547 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19548 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19549 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19550 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19551 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19552 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19553 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19554 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19555 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19558 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19559 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19560 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19561 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19562 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19563 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19564 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19565 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19566 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19567 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19568 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19569 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19570 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19571 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19572 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19573 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19574 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19575 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19576 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19577 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19578 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19579 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19580 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19581 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19582 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19583 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19584 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19585 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19586 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19587 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19588 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19589 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19590 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19591 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19592 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19593 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19594 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19595 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19596 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19597 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19598 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19599 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19600 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19601 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19602 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19603 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19604 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19605 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19606 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19607 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19608 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19609 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19610 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19611 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19612 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19613 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19614 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19615 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19616 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19617 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19618 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19619 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19620 * sysdeps/ieee754/s_lib_version.c: Likewise.
19621 * sysdeps/ieee754/s_matherr.c: Likewise.
19622 * sysdeps/ieee754/s_signgam.c: Likewise.
19623 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19624 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19625 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19626 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19627 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19628 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19629 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19630 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19631 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19632 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19633 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19634 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19635 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19636 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19637 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19638 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19639 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19640 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19641 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19642 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19643 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19645 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19647 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19648 * sunrpc/rpc_main.c: Likewise.
19649 * sunrpc/rpc_svcout.c: Likewise.
19651 2012-03-09 David S. Miller <davem@davemloft.net>
19653 * include/math_private.h: New file.
19655 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19657 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19658 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19659 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19660 from <bits/socket_type.h>.
19661 (enum __socket_type): Don't define here.
19662 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19664 bits/socket_type.h.
19667 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19668 checking __USE_GNU.
19670 * Makerules ($(inst_includedir)/%.h): New rule.
19671 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19672 (install-others): Remove variable setting.
19673 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19675 2012-03-08 Richard Henderson <rth@twiddle.net>
19677 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19678 from macro to inline function; merge with the
19679 !__LIBC_INTERNAL_MATH_INLINES version.
19680 (__ieee754_sqrtf): Likewise.
19682 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19683 to inline function.
19684 (__rintf, __floor, __floorf): Likewise.
19686 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19687 macro to inline function.
19688 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19690 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19691 not <math/math_private.h>.
19693 2012-03-08 David S. Miller <davem@davemloft.net>
19695 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19697 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19699 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19701 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19703 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19704 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19706 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19708 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19709 be defined individually, they must be defined as a block. Define
19710 S for printing a string instead of hidint the different by using a
19711 macro for adding the 'l'.
19712 * stdio-common/tst-fphex-wide.c: Adjust.
19714 2012-03-07 Marek Polacek <polacek@redhat.com>
19716 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19718 2012-03-08 Marek Polacek <polacek@redhat.com>
19721 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19722 * stdio-common/tst-fphex.c: Define a few macros to make the
19723 test reusable. Use them.
19724 * stdio-common/tst-fphex-wide.c: New file.
19726 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19729 * manual/macros.texi (gnusystems): New macro.
19730 (nongnusystems): Likewise.
19731 (gnulinuxhurdsystems): Likewise.
19732 (gnuhurdsystems): Likewise..
19733 (gnulinuxsystems): Likewise.
19734 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19735 variants of the GNU system, not "GNU system".
19736 * manual/conf.texi: Likewise.
19737 * manual/errno.texi: Likewise. Update example of errno macro
19739 * manual/filesys.texi: Likewise.
19740 (getumask): Document as specific to GNU/Hurd.
19741 * manual/install.texi: Likewise. Reword some references to
19743 * manual/intro.texi: Likewise.
19744 * manual/io.texi: Likewise.
19745 (File Name Portability): Detail which constraints are inapplicable
19746 to all GNU systems and which are only inapplicable to GNU/Hurd.
19747 * manual/job.texi: Likewise.
19748 * manual/llio.texi: Likewise.
19749 (O_NOCTTY): Document as present on GNU/Linux.
19750 * manual/maint.texi: Likewise.
19751 * manual/memory.texi: Likewise.
19752 * manual/pattern.texi: Likewise.
19753 * manual/pipe.texi: Likewise.
19754 * manual/process.texi: Likewise.
19755 * manual/resource.texi: Likewise.
19756 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19758 * manual/setjmp.texi: Likewise.
19759 * manual/signal.texi: Likewise.
19760 * manual/startup.texi: Likewise.
19761 * manual/stdio.texi: Likewise.
19762 * manual/terminal.texi: Likewise.
19763 (ONLCR): Document as POSIX.
19764 (OXTABS): Document availability on GNU/Linux as XTABS.
19765 (ONOEOT): Document availability separately from other bits.
19766 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19767 * manual/time.texi: Likewise.
19768 * manual/users.texi: Likewise.
19769 * INSTALL: Regenerated.
19770 * sysdeps/gnu/errlist.c: Regenerated.
19772 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19773 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19774 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19776 * configure: Regenerated.
19778 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19780 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19781 default includes instead of AC_HEADER_CHECK.
19782 * sysdeps/i386/configure: Regenerated.
19785 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19786 * math/s_cacoshf.c (__cacoshf): Likewise.
19787 * math/s_cacoshl.c (__cacoshl): Likewise.
19788 * math/s_casinh.c (__casinh): Set signs of result from argument.
19789 * math/s_casinhf.c (__casinhf): Likewise.
19790 * math/s_casinhl.c (__casinhl): Likewise.
19791 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19792 (casinh_test): Add more tests.
19793 * sysdeps/i386/fpu/libm-test-ulps: Update.
19794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19796 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19798 * po/zh_TW.po: Update from translation team.
19800 * login/Makefile (distribute): Remove variable.
19801 * catgets/Makefile: Likewise.
19802 * mach/Makefile: Likewise.
19803 * malloc/Makefile: Likewise.
19804 * misc/Makefile: Likewise.
19805 * iconv/Makefile: Likewise.
19806 * nscd/Makefile: Likewise.
19807 * hurd/Makefile: Likewise.
19808 * manual/Makefile: Likewise.
19809 * locale/Makefile: Likewise.
19810 * intl/Makefile: Likewise.
19811 * conform/Makefile: Likewise.
19812 * nss/Makefile: Likewise.
19813 * time/Makefile: Likewise.
19814 * soft-fp/Makefile: Likewise.
19815 * dirent/Makefile: Likewise.
19816 * gmon/Makefile: Likewise.
19817 * po/Makefile: Likewise.
19818 * rt/Makefile: Likewise.
19819 * socket/Makefile: Likewise.
19820 * math/Makefile: Likewise.
19821 * signal/Makefile: Likewise.
19822 * debug/Makefile: Likewise.
19823 * elf/Makefile: Likewise.
19824 * timezone/Makefile: Likewise.
19825 * stdlib/Makefile: Likewise.
19826 * iconvdata/Makefile: Likewise.
19827 * sunrpc/Makefile: Likewise.
19828 * io/Makefile: Likewise.
19829 * argp/Makefile: Likewise.
19830 * inet/Makefile: Likewise.
19831 * hesiod/Makefile: Likewise.
19832 * grp/Makefile: Likewise.
19833 * csu/Makefile: Likewise.
19834 * wctype/Makefile: Likewise.
19835 * crypt/Makefile: Likewise.
19836 * libio/Makefile: Likewise.
19837 * string/Makefile: Likewise.
19838 * nis/Makefile: Likewise.
19839 * resolv/Makefile: Likewise.
19840 * stdio-common/Makefile: Likewise.
19841 * wcsmbs/Makefile: Likewise.
19842 * dlfcn/Makefile: Likewise.
19843 * posix/Makefile: Likewise.
19846 * timezone/Makefile: Don't install timezone files, just the programs
19849 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19851 * nss/databases.def: Add missing gshadow entry.
19853 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19855 2012-03-06 Marek Polacek <polacek@redhat.com>
19858 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19859 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19860 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19861 * stdio-common/tst-long-dbl-fphex.c: New file.
19863 2012-03-06 David S. Miller <davem@davemloft.net>
19865 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19866 (set_obp_int): New function.
19867 (get_obp_int): New function.
19868 (__get_clockfreq_via_dev_openprom): Likewise.
19869 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19870 Avoid unused variable warnings on 'val' and use builtin_expect.
19871 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19873 (INLINE_CLONE_SYSCALL): Likewise.
19875 2012-03-05 David S. Miller <davem@davemloft.net>
19877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19879 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19883 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19884 only for |x| >= 40.
19885 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19887 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19889 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19890 Replace gettimeofday with __vdso_gettimeofday.
19892 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19893 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19894 __vdso_clock_gettime and __vdso_getcpu.
19896 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19897 time with __vdso_time.
19899 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19901 * manual/lang.texi (size_t): Note types to which size_t may be
19902 equivalent with the GNU C Library, but do not describe when
19903 differences between them are significant.
19905 2012-03-05 Andreas Jaeger <aj@suse.de>
19907 * sysdeps/i386/fpu/libm-test-ulps: Update.
19909 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19912 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19913 (__ieee754_pow): Save and restore rounding mode and use
19914 round-to-nearest for main computations.
19915 * math/libm-test.inc (pow_test_tonearest): New function.
19916 (pow_test_towardzero): Likewise.
19917 (pow_test_downward): Likewise.
19918 (pow_test_upward): Likewise.
19919 (main): Call the new functions.
19920 * sysdeps/i386/fpu/libm-test-ulps: Update.
19921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19924 * math/libm-test.inc (cosh_test_tonearest): New function.
19925 (cosh_test_towardzero): Likewise.
19926 (cosh_test_downward): Likewise.
19927 (cosh_test_upward): Likewise.
19928 (sinh_test_tonearest): Likewise.
19929 (sinh_test_towardzero): Likewise.
19930 (sinh_test_downward): Likewise.
19931 (sinh_test_upward): Likewise.
19932 (main): Call the new functions.
19933 * sysdeps/i386/fpu/libm-test-ulps: Update.
19934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19936 2012-03-05 Tom de Vries <tom@codesourcery.com>
19938 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19939 default stack guard is set in last bytes.
19940 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19942 2012-03-05 Kees Cook <keescook@chromium.org>
19944 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19947 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19948 possibly allocate from heap instead of stack.
19949 * stdio-common/bug-vfprintf-nargs.c: New file.
19950 * stdio-common/Makefile (tests): Add nargs overflow test.
19952 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19956 2012-03-03 Marek Polacek <polacek@redhat.com>
19958 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19959 * math/math_private.h: Likewise.
19960 * stdlib/tst-strtod.c: Likewise.
19961 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19962 * sysdeps/x86_64/bits/atomic.h: Likewise.
19964 2012-03-02 David S. Miller <davem@davemloft.net>
19966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19970 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19971 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19972 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19973 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19975 2012-03-02 Roland McGrath <roland@hack.frob.com>
19978 * manual/examples/README: New file, says the example source files
19979 can be used under GPL>=2.
19980 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19981 line containing just "*/".
19982 * manual/examples/add.c: Add copyright header (GPL>=2).
19983 * manual/examples/argp-ex1.c: Likewise.
19984 * manual/examples/argp-ex2.c: Likewise.
19985 * manual/examples/argp-ex3.c: Likewise.
19986 * manual/examples/argp-ex4.c: Likewise.
19987 * manual/examples/atexit.c: Likewise.
19988 * manual/examples/db.c: Likewise.
19989 * manual/examples/dir.c: Likewise.
19990 * manual/examples/dir2.c: Likewise.
19991 * manual/examples/execinfo.c: Likewise.
19992 * manual/examples/filecli.c: Likewise.
19993 * manual/examples/filesrv.c: Likewise.
19994 * manual/examples/fmtmsgexpl.c: Likewise.
19995 * manual/examples/genpass.c: Likewise.
19996 * manual/examples/inetcli.c: Likewise.
19997 * manual/examples/inetsrv.c: Likewise.
19998 * manual/examples/isockad.c: Likewise.
19999 * manual/examples/longopt.c: Likewise.
20000 * manual/examples/memopen.c: Likewise.
20001 * manual/examples/memstrm.c: Likewise.
20002 * manual/examples/mkfsock.c: Likewise.
20003 * manual/examples/mkisock.c: Likewise.
20004 * manual/examples/mygetpass.c: Likewise.
20005 * manual/examples/pipe.c: Likewise.
20006 * manual/examples/popen.c: Likewise.
20007 * manual/examples/rprintf.c: Likewise.
20008 * manual/examples/search.c: Likewise.
20009 * manual/examples/select.c: Likewise.
20010 * manual/examples/setjmp.c: Likewise.
20011 * manual/examples/sigh1.c: Likewise.
20012 * manual/examples/sigusr.c: Likewise.
20013 * manual/examples/stpcpy.c: Likewise.
20014 * manual/examples/strdupa.c: Likewise.
20015 * manual/examples/strftim.c: Likewise.
20016 * manual/examples/strncat.c: Likewise.
20017 * manual/examples/subopt.c: Likewise.
20018 * manual/examples/swapcontext.c: Likewise.
20019 * manual/examples/termios.c: Likewise.
20020 * manual/examples/testopt.c: Likewise.
20021 * manual/examples/testpass.c: Likewise.
20022 * manual/examples/timeval_subtract.c: Likewise.
20025 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20027 * manual/timeval_subtract.c.texi: ... here, new file.
20029 2012-03-02 David S. Miller <davem@davemloft.net>
20031 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20033 2012-03-02 Joseph Myers <joseph@codesourcery.com>
20036 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20037 (__sin): Save and restore rounding mode and use round-to-nearest
20038 for all computations.
20039 (__cos): Save and restore rounding mode and use round-to-nearest
20040 for all computations.
20041 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20043 (tan): Save and restore rounding mode and use round-to-nearest for
20045 * math/libm-test.inc (cos_test_tonearest): New function.
20046 (cos_test_towardzero): Likewise.
20047 (cos_test_downward): Likewise.
20048 (cos_test_upward): Likewise.
20049 (sin_test_tonearest): Likewise.
20050 (sin_test_towardzero): Likewise.
20051 (sin_test_downward): Likewise.
20052 (sin_test_upward): Likewise.
20053 (tan_test_tonearest): Likewise.
20054 (tan_test_towardzero): Likewise.
20055 (tan_test_downward): Likewise.
20056 (tan_test_upward): Likewise.
20057 (main): Call the new functions.
20058 * sysdeps/i386/fpu/libm-test-ulps: Update.
20059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20062 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20063 small n, then large n, before computing and testing k+n.
20064 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20065 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20067 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20069 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20070 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20071 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20072 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20073 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20074 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20075 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20076 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20077 * math/libm-test.inc (scalbn_test): Add more tests.
20078 (scalbln_test): Likewise.
20080 * manual/filesys.texi (mode_t): Describe constraints on size and
20081 signedness, not exact equivalence to a particular type.
20083 (ino64_t): Likewise.
20085 (nlink_t): Likewise.
20086 (blkcnt_t): Likewise.
20087 (blkcnt64_t): Likewise.
20088 * manual/llio.texi (off_t): Likewise.
20091 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20092 (__ieee754_exp): Save and restore rounding mode and use
20093 round-to-nearest for all computations.
20094 * math/libm-test.inc (exp_test_tonearest): New function.
20095 (exp_test_towardzero): Likewise.
20096 (exp_test_downward): Likewise.
20097 (exp_test_upward): Likewise.
20098 (main): Call the new functions.
20099 * sysdeps/i386/fpu/libm-test-ulps: Update.
20100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20102 2012-03-01 Chris Demetriou <cgd@google.com>
20104 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20105 have predictable order.
20107 2012-03-01 David S. Miller <davem@davemloft.net>
20109 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20111 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20112 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20113 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20114 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20116 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20117 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20118 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20120 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20121 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20122 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20123 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20124 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20128 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20129 * sysdeps/sparc/fpu/libm-test-ulps: to here.
20130 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20132 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20133 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20134 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20135 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20136 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20137 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20138 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20139 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20140 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20141 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20142 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20143 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20144 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20145 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20146 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20147 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20148 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20149 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20150 * sysdeps/sparc/elf/configure: Regenerated.
20152 2012-03-01 Joseph Myers <joseph@codesourcery.com>
20154 * configure.in (AS, LD): Require binutils 2.20 or later.
20155 * configure: Regenerated.
20156 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20157 as required minimum version.
20158 * INSTALL: Regenerated.
20162 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20163 before squaring exponent.
20164 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20165 bottom long double and 27 bits of top long double before squaring
20167 * math/libm-test.inc (erfc_test): Add more tests.
20168 * sysdeps/i386/fpu/libm-test-ulps: Update.
20169 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20172 2012-03-01 Kai Tietz <ktietz@redhat.com>
20174 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20175 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20176 containing bit-fields.
20177 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20178 * soft-fp/single.h (_FP_UNION_S): Likewise.
20179 * soft-fp/double.h (_FP_UNION_D): Likewise.
20181 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20184 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20185 not include ../strcmp.S.
20186 [USE_AS_STRNCASECMP_L]: Likewise.
20187 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20188 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20189 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20190 (__strncasecmp_l_ia32): Define as alias to
20191 __strncasecmp_l_nonascii.
20194 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20195 * sysdeps/i386/fpu/libm-test-ulps: Update.
20196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20198 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20201 2012-02-29 Jeff Law <law@redhat.com>
20203 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20204 out of bounds read.
20206 2012-02-29 Marek Polacek <polacek@redhat.com>
20209 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20210 * elf/Makefile: Add rules to run tst-unused-dep.out.
20212 2012-02-28 David S. Miller <davem@davemloft.net>
20214 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20215 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20216 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20217 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20218 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20219 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20221 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20223 * math/libm-test.inc (llround_test): Move one test from
20224 lround_test. Use TEST_f_L in moved test.
20225 (lround_test): Move misplaced test to llround_test. Add testcase
20228 2012-02-28 Ulrich Drepper <drepper@gmail.com>
20230 * sysdeps/x86_64/fpu/e_expf.S: New file.
20231 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20233 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20236 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20237 of remain_len that may cause incomplete multi-byte character and
20239 * posix/bug-regex33.c: New file.
20240 * posix/Makefile (tests): Add bug-regex33.
20242 2012-02-28 Joseph Myers <joseph@codesourcery.com>
20244 * manual/macros.texi: New file.
20245 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20246 * manual/libc.texinfo: Include macros.texi.
20247 * manual/creatute.texi: Likewise.
20248 * manual/install.texi: Likewise.
20249 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20250 @glibcadj{} in references to the GNU C Library.
20251 * manual/charset.texi: Likewise.
20252 * manual/conf.texi: Likewise.
20253 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20254 when not using those macros.
20255 * manual/creature.texi: Likewise.
20256 * manual/crypt.texi: Likewise.
20257 * manual/errno.texi: Likewise.
20258 * manual/filesys.texi: Likewise.
20259 * manual/header.texi: Likewise.
20260 * manual/install.texi: Likewise.
20261 * manual/intro.texi: Likewise.
20262 * manual/io.texi: Likewise.
20263 * manual/job.texi: Likewise.
20264 * manual/lang.texi: Likewise.
20265 * manual/libc.texiinfo: Likewise.
20266 * manual/llio.texi: Likewise.
20267 * manual/locale.texi: Likewise.
20268 * manual/maint.texi: Likewise.
20269 * manual/math.texi: Likewise.
20270 * manual/memory.texi: Likewise.
20271 * manual/message.texi: Likewise.
20272 * manual/nss.texi: Likewise.
20273 * manual/pattern.texi: Likewise.
20274 * manual/process.texi: Likewise.
20275 * manual/resource.texi: Likewise.
20276 * manual/search.texi: Likewise.
20277 * manual/setjmp.texi: Likewise.
20278 * manual/signal.texi: Likewise.
20279 * manual/socket.texi: Likewise.
20280 * manual/startup.texi: Likewise.
20281 * manual/stdio.texi: Likewise.
20282 * manual/string.texi: Likewise.
20283 * manual/sysinfo.texi: Likewise.
20284 * manual/syslog.texi: Likewise.
20285 * manual/terminal.texi: Likewise.
20286 * manual/time.texi: Likewise.
20287 * manual/users.texi: Likewise.
20288 * INSTALL: Regenerated.
20289 * NOTES: Regenerated.
20290 * sysdeps/gnu/errlist.c: Regenerated.
20292 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20294 * include/dirent.h: Include <dirstream.h> before
20297 2012-02-28 David S. Miller <davem@davemloft.net>
20299 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20300 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20301 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20302 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20304 2012-02-27 David S. Miller <davem@davemloft.net>
20306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20308 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20309 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20312 frame pointer instead of stack pointer relative arg slot.
20313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20314 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20315 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20317 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20320 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20322 2012-02-27 David S. Miller <davem@davemloft.net>
20324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20328 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20329 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20330 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20331 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20333 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20335 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20336 later. Allow versions 5-9.
20337 * configure: Regenerated.
20338 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20339 required minimum version and 4.6 as recommended version. Do not
20340 mention bugs in GCC 2.7 and 2.8.
20341 * INSTALL: Regenerated.
20343 2012-02-27 David S. Miller <davem@davemloft.net>
20345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20349 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20350 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20351 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20352 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20354 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20355 manipulate bits before adding and subtracting TWO112[sx].
20356 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20358 2012-02-27 Roland McGrath <roland@hack.frob.com>
20361 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20362 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20363 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20364 being in POSIX, because they are in 1003.1-2008.
20366 * rt/tst-aio.c: Include <fcntl.h>.
20367 * rt/tst-aio7.c: Likewise.
20368 * rt/tst-aio64.c: Likewise.
20370 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20372 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20374 * manual/install.texi (--with-headers): Describe headers as
20375 interface headers, not private headers.
20376 (Specific advice for GNU/Linux systems): Describe use of headers
20377 from "make headers_install", not private headers from older
20379 * INSTALL: Regenerated.
20380 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20382 * sysdeps/unix/sysv/linux/configure: Regenerated.
20384 * manual/llio.texi (fclean): Remove documentation.
20386 * manual/Makefile (libc-texi-generated): New variable. Include
20388 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20389 $(libc-texi-generated), not duplicated list of files.
20390 (version.texi, stamp-version): New rules.
20391 (realclean): Remove $(libc-texi-generated), not individual files
20392 from that list. Do not remove dir-add.texinfo.
20393 * manual/libc.texinfo: Comment out uses of edition numbers and
20394 references to printed manual. Remove last-updated dates.
20395 (EDITION): Comment out.
20397 (VERSION, UPDATED): Remove.
20398 (version.texi): Include.
20400 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20402 * sysdeps/posix/spawni.c: Include <signal.h>.
20403 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20404 * sysdeps/pthread/aio_fsync.c: Likewise.
20406 2012-02-26 Ulrich Drepper <drepper@gmail.com>
20408 * conform/Makefile (tests): Run only when not cross-compiling and
20409 when fast-check is not defined.
20411 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20412 * conform/data/limits.h-data: Fixes for POSIX2008.
20413 * conform/run-conformtest.sh: Run all tests.
20414 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20416 * include/bits/dlfcn.h: Likewise.
20417 * include/langinfo.h: Likewise.
20418 * include/monetary.h: Likewise.
20419 * include/sys/poll.h: Likewise.
20421 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20423 * posix/spawn.h: Define __need_sigset_t.
20424 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20425 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20426 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20427 to get sigevent_t only.
20428 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20429 only for __USE_GNU.
20430 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20431 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20432 process_vm_writev only for __USE_GNU.
20433 * termios/termios.h: Declare tcgetsid also for POSIX2008.
20435 * conform/Makefile: For now ignore errors from run-conformtest.
20436 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20437 POSIX to avoid namespace pollution. Don't prepend headers.
20438 * conform/data/aio.h-data: Fixes for POSIX testing.
20439 * conform/data/fcntl.h-data: Likewise.
20440 * conform/data/glob.h-data: Likewise.
20441 * conform/data/grp.h-data: Likewise.
20442 * conform/data/pthread.h-data: Likewise.
20443 * conform/data/pwd.h-data: Likewise.
20444 * conform/data/signal.h-data: Likewise.
20445 * conform/data/spawn.h-data: Likewise.
20446 * conform/data/stdio.h-data: Likewise.
20447 * conform/data/stdlib.h-data: Likewise.
20448 * conform/data/stropts.h-data: Likewise.
20449 * conform/data/sys/mman.h-data: Likewise.
20450 * conform/data/sys/stat.h-data: Likewise.
20451 * conform/data/sys/types.h-data: Likewise.
20452 * conform/data/sys/wait.h-data: Likewise.
20453 * conform/data/time.h-data: Likewise.
20454 * conform/data/unistd.h-data: Likewise.
20455 * conform/data/utime.h-data: Likewise.
20457 * io/sys/stat.h: fchmod was always in POSIX.
20458 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20459 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20460 * rt/aio.h: Define __need_timespec before including <time.h>.
20461 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20462 struct. Add forward declaration of pthread_attr_t and use it in
20464 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20465 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20466 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20467 always remove CLK_TCK definition.
20469 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20471 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20473 2012-02-25 Ulrich Drepper <drepper@gmail.com>
20475 * conform/run-conformtest.sh: New file.
20476 * conform/Makefile: Run run-conformtest for tests.
20477 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20480 * conform/data/uchar.h-data: New file.
20481 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20482 * conform/data/arpa/inet.h-data: Likewise.
20483 * conform/data/assert.h-data: Likewise.
20484 * conform/data/complex.h-data: Likewise.
20485 * conform/data/cpio.h-data: Likewise.
20486 * conform/data/ctype.h-data: Likewise.
20487 * conform/data/dirent.h-data: Likewise.
20488 * conform/data/dlfcn.h-data: Likewise.
20489 * conform/data/errno.h-data: Likewise.
20490 * conform/data/fcntl.h-data: Likewise.
20491 * conform/data/float.h-data: Likewise.
20492 * conform/data/fmtmsg.h-data: Likewise.
20493 * conform/data/fnmatch.h-data: Likewise.
20494 * conform/data/ftw.h-data: Likewise.
20495 * conform/data/glob.h-data: Likewise.
20496 * conform/data/grp.h-data: Likewise.
20497 * conform/data/iconv.h-data: Likewise.
20498 * conform/data/inttypes.h-data: Likewise.
20499 * conform/data/langinfo.h-data: Likewise.
20500 * conform/data/libgen.h-data: Likewise.
20501 * conform/data/limits.h-data: Likewise.
20502 * conform/data/locale.h-data: Likewise.
20503 * conform/data/math.h-data: Likewise.
20504 * conform/data/monetary.h-data: Likewise.
20505 * conform/data/mqueue.h-data: Likewise.
20506 * conform/data/ndbm.h-data: Likewise.
20507 * conform/data/net/if.h-data: Likewise.
20508 * conform/data/netdb.h-data: Likewise.
20509 * conform/data/netinet/in.h-data: Likewise.
20510 * conform/data/nl_types.h-data: Likewise.
20511 * conform/data/poll.h-data: Likewise.
20512 * conform/data/pthread.h-data: Likewise.
20513 * conform/data/pwd.h-data: Likewise.
20514 * conform/data/regex.h-data: Likewise.
20515 * conform/data/sched.h-data: Likewise.
20516 * conform/data/search.h-data: Likewise.
20517 * conform/data/semaphore.h-data: Likewise.
20518 * conform/data/setjmp.h-data: Likewise.
20519 * conform/data/signal.h-data: Likewise.
20520 * conform/data/spawn.h-data: Likewise.
20521 * conform/data/stdarg.h-data: Likewise.
20522 * conform/data/stdio.h-data: Likewise.
20523 * conform/data/stdlib.h-data: Likewise.
20524 * conform/data/string.h-data: Likewise.
20525 * conform/data/strings.h-data: Likewise.
20526 * conform/data/stropts.h-data: Likewise.
20527 * conform/data/sys/ipc.h-data: Likewise.
20528 * conform/data/sys/mman.h-data: Likewise.
20529 * conform/data/sys/msg.h-data: Likewise.
20530 * conform/data/sys/resource.h-data: Likewise.
20531 * conform/data/sys/select.h-data: Likewise.
20532 * conform/data/sys/sem.h-data: Likewise.
20533 * conform/data/sys/shm.h-data: Likewise.
20534 * conform/data/sys/socket.h-data: Likewise.
20535 * conform/data/sys/stat.h-data: Likewise.
20536 * conform/data/sys/statvfs.h-data: Likewise.
20537 * conform/data/sys/time.h-data: Likewise.
20538 * conform/data/sys/timeb.h-data: Likewise.
20539 * conform/data/sys/times.h-data: Likewise.
20540 * conform/data/sys/types.h-data: Likewise.
20541 * conform/data/sys/uio.h-data: Likewise.
20542 * conform/data/sys/un.h-data: Likewise.
20543 * conform/data/sys/utsname.h-data: Likewise.
20544 * conform/data/sys/wait.h-data: Likewise.
20545 * conform/data/syslog.h-data: Likewise.
20546 * conform/data/tar.h-data: Likewise.
20547 * conform/data/termios.h-data: Likewise.
20548 * conform/data/utime.h-data: Likewise.
20549 * conform/data/utmpx.h-data: Likewise.
20550 * conform/data/varargs.h-data: Likewise.
20551 * conform/data/wchar.h-data: Likewise.
20552 * conform/data/wctype.h-data: Likewise.
20553 * conform/data/wordexp.h-data: Likewise.
20555 * include/stropts.h: New file.
20556 * include/uchar.h: New file.
20557 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20558 * include/assert.h: Likewise.
20559 * include/ctype.h: Likewise.
20560 * include/dirent.h: Likewise.
20561 * include/dlfcn.h: Likewise.
20562 * include/fcntl.h: Likewise.
20563 * include/fnmatch.h: Likewise.
20564 * include/glob.h: Likewise.
20565 * include/grp.h: Likewise.
20566 * include/libio.h: Likewise.
20567 * include/locale.h: Likewise.
20568 * include/math.h: Likewise.
20569 * include/net/if.h: Likewise.
20570 * include/netdb.h: Likewise.
20571 * include/netinet/in.h: Likewise.
20572 * include/pthread.h: Likewise.
20573 * include/pwd.h: Likewise.
20574 * include/regex.h: Likewise.
20575 * include/sched.h: Likewise.
20576 * include/search.h: Likewise.
20577 * include/setjmp.h: Likewise.
20578 * include/signal.h: Likewise.
20579 * include/stdio.h: Likewise.
20580 * include/stdlib.h: Likewise.
20581 * include/string.h: Likewise.
20582 * include/sys/cdefs.h: Likewise.
20583 * include/sys/mman.h: Likewise.
20584 * include/sys/msg.h: Likewise.
20585 * include/sys/resource.h: Likewise.
20586 * include/sys/select.h: Likewise.
20587 * include/sys/socket.h: Likewise.
20588 * include/sys/stat.h: Likewise.
20589 * include/sys/statvfs.h: Likewise.
20590 * include/sys/time.h: Likewise.
20591 * include/sys/times.h: Likewise.
20592 * include/sys/uio.h: Likewise.
20593 * include/sys/utsname.h: Likewise.
20594 * include/sys/wait.h: Likewise.
20595 * include/termios.h: Likewise.
20596 * include/time.h: Likewise.
20597 * include/ulimit.h: Likewise.
20598 * include/unistd.h: Likewise.
20599 * include/utime.h: Likewise.
20600 * include/wchar.h: Likewise.
20601 * include/wctype.h: Likewise.
20602 * include/wordexp.h: Likewise.
20604 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20606 * time/time.h: TIME_UTC must be a macro.
20607 Make timespec_get available for ISO C11 only as well.
20609 2012-02-24 Ulrich Drepper <drepper@gmail.com>
20611 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20612 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20614 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20616 * configure.in: Use -o not -a in test for unsupported multi-arch.
20618 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20620 * manual/texinfo.tex: Update to version 2012-01-19.16.
20622 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20624 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20626 2012-02-24 Roland McGrath <roland@hack.frob.com>
20629 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20630 * manual/fdl-1.3.texi: New file.
20631 * manual/fdl-1.1.texi: File removed.
20634 * manual/libc.texinfo (FDL_VERSION): New @set.
20635 Use it for mention of FDL in cover text.
20636 (Documentation License): Use it in @include file name.
20638 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20639 Roland McGrath <roland@hack.frob.com>
20642 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20643 not LONG_LONG_MAX and LONG_LONG_MIN.
20644 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20645 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20647 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20649 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20653 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20654 manipulate bits before adding and subtracting TWO23[sx].
20655 * math/libm-test.inc (nearbyint_test): Add more tests.
20657 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20660 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20661 bits before adding and subtracting TWO23[sx].
20662 * math/libm-test.inc (rint_test): Add more tests.
20663 (rint_test_tonearest): Likewise.
20664 (rint_test_towardzero): Likewise.
20665 (rint_test_downward): Likewise.
20666 (rint_test_upward: Likewise.
20668 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20671 * include/stdc-predef.h: New file. Extracted from features.h.
20672 * include/features.h: Include stdc-predef.h.
20673 * Makefile (headers): Add stdc-predef.h.
20674 * CONFORMANCE (Compiler limitations): Update.
20676 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20678 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20680 2012-02-21 David S. Miller <davem@davemloft.net>
20682 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20683 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20685 2012-02-20 David S. Miller <davem@davemloft.net>
20687 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20688 using a normal save/restore sequence, rather than allocating a
20689 dummy stack frame just to store a frame pointer and restore.
20690 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20692 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20694 * manual/install.texi: Fix stray word in line-wrapped comment.
20696 2012-02-20 David S. Miller <davem@davemloft.net>
20698 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20699 both binutils and gcc support GOTDATA.
20701 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20702 "rd %pc" in the PIC register setup sequences.
20704 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20705 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20706 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20707 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20708 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20709 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20710 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20711 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20712 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20713 (SYSCALL_ERROR_HANDLER): Likewise.
20714 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20715 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20716 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20717 (SYSCALL_ERROR_HANDLER): Likewise.
20719 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20720 (HAVE_GCC_GOTDATA): New.
20721 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20722 relocation support in both binutils and gcc.
20723 * sysdeps/sparc/elf/configure: Regenerate.
20725 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20726 * sysdeps/sparc/sparc32/elf/configure: Delete.
20727 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20728 * sysdeps/sparc/sparc64/elf/configure: Delete.
20729 * sysdeps/sparc/elf/configure.in: New file.
20730 * sysdeps/sparc/elf/configure: Generate.
20732 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20733 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20734 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20735 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20736 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20738 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20740 * manual/install.texi: Do not mention specific glibc version
20742 * manual/libc.texinfo (VERSION, UPDATED): Update.
20743 (@copying): Use @copyright{} and range of years.
20745 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20748 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20749 [crti.S not in sysdirs] (generated): Do not append.
20750 [crti.S not in sysdirs] (omit-deps): Likewise.
20751 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20752 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20753 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20754 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20755 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20757 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20758 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20759 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20760 * csu/defs.awk: Remove file.
20761 * sysdeps/generic/initfini.c: Likewise.
20762 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20764 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20767 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20769 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20770 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20771 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20772 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20773 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20774 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20776 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20777 (__EPOLL_PACKED): Define to empty if not defined by
20779 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20780 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20783 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20785 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20786 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20787 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20788 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20790 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20794 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20796 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20798 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20799 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20800 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20803 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20805 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20806 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20808 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20810 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20811 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20813 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20815 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20818 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20820 * math/w_acos.c: Use non-signaling floating-point comparisons.
20821 * math/w_acosf.c: Likewise.
20822 * math/w_acosh.c: Likewise.
20823 * math/w_acoshf.c: Likewise.
20824 * math/w_acoshl.c: Likewise.
20825 * math/w_acosl.c: Likewise.
20826 * math/w_asin.c: Likewise.
20827 * math/w_asinf.c: Likewise.
20828 * math/w_asinl.c: Likewise.
20829 * math/w_atanh.c: Likewise.
20830 * math/w_atanhf.c: Likewise.
20831 * math/w_atanhl.c: Likewise.
20832 * math/w_exp2.c: Likewise.
20833 * math/w_exp2f.c: Likewise.
20834 * math/w_exp2l.c: Likewise.
20835 * math/w_j0.c: Likewise.
20836 * math/w_j0f.c: Likewise.
20837 * math/w_j0l.c: Likewise.
20838 * math/w_j1.c: Likewise.
20839 * math/w_j1f.c: Likewise.
20840 * math/w_j1l.c: Likewise.
20841 * math/w_jn.c: Likewise.
20842 * math/w_jnf.c: Likewise.
20843 * math/w_log.c: Likewise.
20844 * math/w_log10.c: Likewise.
20845 * math/w_log10f.c: Likewise.
20846 * math/w_log10l.c: Likewise.
20847 * math/w_log2.c: Likewise.
20848 * math/w_log2f.c: Likewise.
20849 * math/w_log2l.c: Likewise.
20850 * math/w_logf.c: Likewise.
20851 * math/w_logl.c: Likewise.
20852 * math/w_sqrt.c: Likewise.
20853 * math/w_sqrtf.c: Likewise.
20854 * math/w_sqrtl.c: Likewise.
20855 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20856 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20857 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20858 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20859 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20861 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20864 * manual/string.texi (strnlen): Use correct parameter name in
20865 equivalent expression.
20867 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20870 * manual/users.texi (seteuid): Consistently use neweuid for
20873 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20876 * manual/nss.texi (Services in the NSS configuration): Correct
20877 list of services in example configuration file.
20879 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20882 * manual/arith.texi: Remove statements about negative zero
20883 behaving identically to zero.
20885 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20888 * manual/install.texi: Do not document upgrading from libc5.
20890 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20893 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20895 2012-02-18 David S. Miller <davem@davemloft.net>
20897 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20898 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20899 %o7 across the call.
20900 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20902 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20903 SETUP_PIC_REG_LEAF.
20904 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20905 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20906 * sysdeps/sparc/crtn.S: Likewise.
20908 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20910 * aout/Makefile: Remove.
20912 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20915 * manual/examples/argp-ex1.c (main): Format definition in GNU
20917 * manual/examples/argp-ex2.c (main): Likewise.
20918 * manual/examples/argp-ex3.c (main): Likewise.
20919 * manual/examples/argp-ex4.c (main): Likewise.
20920 * manual/examples/longopt.c (main): Use new-style prototype
20922 * manual/examples/strncat.c (main): Specify return type and use
20923 (void) for arguments.
20924 * manual/examples/subopt.c (main): Use char **argv argument.
20926 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20929 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20932 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20935 * manual/string.texi (strchr): Change when strchrnul is
20938 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20941 * manual/locale.texi (setlocale): Document LOCPATH.
20943 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20946 * manual/process.texi (execle): Move @dots{} before last argument.
20948 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
20951 * manual/charset.texi (Generic Charset Conversion): Fix typo
20952 (LC_TYPE -> LC_CTYPE).
20954 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20957 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20958 (scalbnf): Likewise.
20959 (scalbnl): Likewise.
20960 (scalbln): Likewise.
20961 (scalblnf): Likewise.
20962 (scalblnl): Likewise.
20963 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20964 (vwarnx): Likewise.
20967 * manual/filesys.texi (telldir): Use braces around return type.
20968 * manual/llio.texi (mmap): Add space after comma.
20969 (mmap64): Likewise.
20970 * manual/math.texi (jn): Use @var{} on parameter names.
20976 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20978 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20980 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20981 (sched_get_priority_max): Likewise.
20982 * manual/signal.texi (sigvec): Add space after comma.
20983 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20985 (if_indextoname): Likewise.
20986 (if_freenameindex): Likewise.
20987 (sendto): Use ',' instead of '.' in prototype.
20988 * manual/startup.texi (syscall): Use @dots{} instead of literal
20990 * manual/stdio.texi (__fpending): Separate initial words of
20991 paragraph from @deftypefun line.
20992 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20994 (vsyslog): Use @var{} on parameter names.
20995 * manual/terminal.texi (stty): Use @var{} on parameter names.
20996 * manual/users.texi (getutmp): Use @var{} on parameter names.
20997 (getutmpx): Likewise.
20999 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21002 * manual/stdio.texi (fopen): Fix typos in description of
21005 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21008 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21009 get clock_id definition.
21011 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
21014 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21015 (madvise): Cast every argument to void on its own.
21017 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21020 * manual/startup.texi (Exit Status): Fix typo.
21022 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21025 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21026 * manual/examples/argp-ex2.c: Likewise.
21027 * manual/examples/argp-ex3.c: Likewise.
21029 2012-02-16 Richard Henderson <rth@redhat.com>
21031 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21032 * sysdeps/s390/s390-32/initfini.c: Remove.
21033 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21034 * sysdeps/s390/s390-64/initfini.c: Remove.
21036 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21038 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21039 compiler output for sysdeps/generic/initfini.c.
21040 * sysdeps/sh/elf/initfini.c: Remove file.
21042 2012-02-16 David S. Miller <davem@davemloft.net>
21045 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21047 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21048 * sysdeps/sparc/crti.S: New file.
21049 * sysdeps/sparc/crtn.S: New file.
21050 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21051 * sysdeps/sparc/sparc64/Makefile: Likewise.
21053 2012-02-15 Mike Frysinger <vapier@gentoo.org>
21056 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21058 2012-02-15 Roland McGrath <roland@hack.frob.com>
21061 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21063 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21064 (write, read, close): Likewise.
21065 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21067 2012-02-15 Joseph Myers <joseph@codesourcery.com>
21069 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21070 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21071 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21072 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21074 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21075 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21078 2012-02-14 Marek Polacek <polacek@redhat.com>
21080 * sysdeps/x86_64/crti.S: New file.
21081 * sysdeps/x86_64/crtn.S: New file.
21082 * sysdeps/x86_64/elf/initfini.c: Remove file.
21084 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21086 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21087 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21088 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21089 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21091 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21092 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21095 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21097 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21098 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21099 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21100 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21102 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21106 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21108 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21109 __feraiseexcept instead of feraiseexcept.
21111 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21112 nanosleep invocations.
21113 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21114 strings, and add error checking for a nanosleep invocations.
21116 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21118 Replace FSF snail mail address with URLs, as per GNU coding standards.
21119 Most of the snail mail addresses were wrong anyway, and omitting
21120 them makes the source code easier to maintain. Almost all of the
21121 changes are to license notices and to locale LC_IDENTIFICATION
21122 addresses, except for this one:
21123 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21124 not its snail mail address.
21126 2012-02-09 Richard Henderson <rth@twiddle.net>
21128 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21129 of kernel-features.h.
21131 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21133 2012-02-08 Marek Polacek <polacek@redhat.com>
21135 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21136 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21137 * sysdeps/gnu/_G_config.h: Likewise.
21138 * sysdeps/generic/_G_config.h: Likewise.
21140 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
21142 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21146 * sysdeps/powerpc/powerpc32/crti.S: New file.
21147 * sysdeps/powerpc/powerpc32/crtn.S: New file.
21148 * sysdeps/powerpc/powerpc64/crti.S: New file.
21149 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21151 * Makeconfig (have-initfini): Don't set.
21152 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21153 * configure.in (nopic_initfini): Don't substitute.
21154 * config.h.in (HAVE_INITFINI): Don't #undef.
21155 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21156 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21158 2012-02-08 Joseph Myers <joseph@codesourcery.com>
21160 Support crti.S and crtn.S provided directly by architectures.
21161 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21162 [crti.S in sysdirs] (omit-deps): Likewise.
21163 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21164 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21165 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21166 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21167 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21168 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21169 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21170 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21171 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21172 compiler output for sysdeps/generic/initfini.c.
21173 * sysdeps/i386/elf/Makefile: Remove file.
21174 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21176 2012-02-07 Marek Polacek <polacek@redhat.com>
21178 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21179 * sysdeps/gnu/_G_config.h: Likewise.
21180 * sysdeps/mach/hurd/_G_config.h: Likewise.
21182 2012-02-07 Marek Polacek <polacek@redhat.com>
21184 * math/Makefile (tests): Add tst-CMPLX2.
21185 * math/tst-CMPLX2.c: New file.
21187 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21189 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21191 * math/libm-test.inc (jn_test): Add missing L suffix.
21193 2012-02-06 Marek Polacek <polacek@redhat.com>
21195 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21196 * sysdeps/i386/fpu/e_powf.S: Likewise.
21197 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21198 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21199 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21200 * sysdeps/i386/fpu/e_pow.S: Likewise.
21201 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21202 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21203 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21204 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21205 * sysdeps/i386/fpu/e_log2.S: Likewise.
21206 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21207 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21208 * sysdeps/i386/fpu/e_powl.S: Likewise.
21209 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21210 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21211 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21212 * sysdeps/i386/fpu/e_logl.S: Likewise.
21213 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21214 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21215 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21216 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21217 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21218 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21219 * sysdeps/i386/fpu/e_log.S: Likewise.
21220 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21221 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21222 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21223 * sysdeps/i386/fpu/e_logf.S: Likewise.
21224 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21225 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21226 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21227 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21228 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21229 * sysdeps/i386/fpu/e_log10.S: Likewise.
21230 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21231 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21232 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21233 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21234 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21235 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21236 * sysdeps/i386/asm-syntax.h: Likewise.
21237 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21238 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21239 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21240 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21241 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21242 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21243 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21244 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21245 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21246 * sysdeps/powerpc/sysdep.h: Likewise.
21247 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21248 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21250 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21253 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21255 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21257 * sysdeps/i386/sysdep.h: Include <features.h>.
21258 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21261 2012-02-05 Joseph Myers <joseph@codesourcery.com>
21263 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21265 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21268 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21270 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21271 (SETUP_PIC_REG): Use GET_PC_THUNK.
21272 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21275 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21277 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21278 for non-PIC compilation.
21279 (SETUP_PIC_REG): Add .p2align directive.
21280 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21281 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21282 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21283 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21284 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21285 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21286 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21287 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21288 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21289 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21290 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21291 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21292 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21293 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21294 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21295 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21296 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21297 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21298 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21299 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21300 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21301 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21302 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21303 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21304 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21305 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21306 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21307 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21308 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21309 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21310 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21311 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21312 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21313 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21314 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21315 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21316 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21317 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21318 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21319 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21320 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21322 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21324 * math/tst-CMPLX.c: Include <stdio.h>.
21326 2012-01-31 Joseph Myers <joseph@codesourcery.com>
21328 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21330 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21331 * sysdeps/sparc/bits/mathdef.h: Likewise.
21333 2012-01-31 Marek Polacek <polacek@redhat.com>
21335 * libio/libio.h: Don't define _PARAMS.
21336 * locale/programs/config.h: Don't define PARAMS.
21337 * stdlib/strtol_l.c: Likewise.
21338 (__strtol_l): Remove PARAMS from the prototype.
21340 2012-01-31 Ulrich Drepper <drepper@gmail.com>
21342 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21343 names. Just use the correct names. Remove unnecessary wrapper
21345 * malloc/arena.c: Likewise.
21346 * malloc/hooks.c: Likewise.
21348 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21349 ARENA_TEST says not to. Simplify test for creation of a new arena.
21350 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21352 2012-01-30 Ulrich Drepper <drepper@gmail.com>
21354 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21356 (update_get_addr): New function.
21357 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21358 GET_ADDR_MODULE parameter.
21360 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21362 * crypt/cert.c: Remove __STDC__ conditionals.
21363 * crypt/crypt-entry.c: Likewise.
21364 * crypt/crypt_util.c: Likewise.
21365 * libio/filedoalloc.c: Likewise.
21366 * libio/fileops.c: Likewise.
21367 * libio/genops.c: Likewise.
21368 * libio/iofclose.c: Likewise.
21369 * libio/iofdopen.c: Likewise.
21370 * libio/iofopen.c: Likewise.
21371 * libio/iofopen64.c: Likewise.
21372 * libio/iogetdelim.c: Likewise.
21373 * libio/iopopen.c: Likewise.
21374 * libio/obprintf.c: Likewise.
21375 * libio/oldfileops.c: Likewise.
21376 * libio/oldiofclose.c: Likewise.
21377 * libio/oldiofdopen.c: Likewise.
21378 * libio/oldiofopen.c: Likewise.
21379 * libio/oldiopopen.c: Likewise.
21380 * libio/wfiledoalloc.c: Likewise.
21381 * libio/wgenops.c: Likewise.
21382 * locale/programs/xmalloc.c: Likewise.
21383 * misc/syslog.c: Likewise.
21384 * stdio-common/xbug.c: Likewise.
21385 * string/memchr.c: Likewise.
21386 * string/memcmp.c: Likewise.
21387 * string/memrchr.c: Likewise.
21388 * string/rawmemchr.c: Likewise.
21389 * sysdeps/posix/getcwd.c: Likewise.
21390 * time/strftime_l.c: Likewise.
21392 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21394 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
21395 * config.make.in (config-cflags-sse2avx): Define.
21396 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21399 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21401 * scripts/config.guess: Update from upstream config git repository.
21402 * scripts/config.sub: Likewise.
21404 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21406 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21408 (R_TILEPRO_*, R_TILEGX_*): New macros.
21410 * scripts/firstversions.awk: Fix bug in version range handling.
21412 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21414 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21416 * include/sys/epoll.h: New file.
21417 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21420 2012-01-28 Ulrich Drepper <drepper@gmail.com>
21422 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21423 Avoid unnecessary __WORDSIZE == 64 test.
21424 (fmaxf): Use VEX format if possible.
21429 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21430 * math/math_private.h: Remove libc_fegetround* and
21432 * sysdeps/i386/configure.in: Check for -msse2avx.
21433 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21434 also if SSE2AVX is defined.
21435 Remove libc_fegetround* and libc_fesetround*.
21436 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21437 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21438 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21440 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21441 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21442 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21443 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21444 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21446 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21448 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21450 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21452 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21454 2012-01-27 Ulrich Drepper <drepper@gmail.com>
21457 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21459 * Makeconfig (libm): Define.
21460 * elf/Makefile: Add rules to build and run tst-relsort1.
21461 * elf/tst-relsort1.c: New file.
21462 * elf/tst-relsort1mod1.c: New file.
21463 * elf/tst-relsort1mod2.c: New file.
21465 2012-01-27 Joseph Myers <joseph@codesourcery.com>
21467 * math/s_ldexp.c: Remove __STDC__ conditionals.
21468 * math/s_ldexpf.c: Likewise.
21469 * math/s_ldexpl.c: Likewise.
21470 * math/s_nextafter.c: Likewise.
21471 * math/s_nexttowardf.c: Likewise.
21472 * math/s_significand.c: Likewise.
21473 * math/s_significandf.c: Likewise.
21474 * math/s_significandl.c: Likewise.
21475 * math/w_jnl.c: Likewise.
21476 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21477 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21478 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21479 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21480 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21481 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21482 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21483 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21484 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21485 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21486 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21487 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21488 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21489 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21490 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21491 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21492 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21493 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21494 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21495 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21496 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21497 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21498 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21499 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21500 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21501 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21502 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21503 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21504 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21505 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21506 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21507 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21508 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21509 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21510 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21511 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21512 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21513 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21514 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21515 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21516 * sysdeps/ieee754/k_standard.c: Likewise.
21517 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21518 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21519 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21520 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21521 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21522 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21523 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21524 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21525 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21526 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21527 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21528 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21529 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21530 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21531 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21532 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21533 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21534 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21535 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21536 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21537 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21538 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21539 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21540 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21541 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21542 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21543 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21544 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21545 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21546 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21547 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21548 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21549 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21550 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21551 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21552 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21553 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21554 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21555 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21556 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21557 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21558 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21559 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21560 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21561 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21562 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21563 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21564 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21565 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21566 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21567 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21568 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21569 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21570 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21571 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21572 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21573 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21574 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21575 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21576 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21577 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21578 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21579 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21580 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21581 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21582 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21583 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21584 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21585 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21586 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21587 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21588 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21589 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21590 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21591 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21592 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21593 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21594 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21595 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21596 * sysdeps/ieee754/s_matherr.c: Likewise.
21597 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21598 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21599 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21600 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21602 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21604 * crypt/md5.h: Remove __STDC__ conditionals.
21605 * libio/libioP.h: Likewise.
21606 * locale/programs/config.h: Likewise.
21607 * sysdeps/generic/sysdep.h: Likewise.
21608 * sysdeps/i386/asm-syntax.h: Likewise.
21609 * sysdeps/s390/asm-syntax.h: Likewise.
21610 * sysdeps/unix/sysdep.h: Likewise.
21611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21614 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21616 * libio/libio.h: Remove __STDC__ conditionals.
21617 * malloc/obstack.h: Likewise.
21618 * math/complex.h: Likewise.
21619 * math/math.h: Likewise.
21620 * sysdeps/generic/_G_config.h: Likewise.
21621 * sysdeps/gnu/_G_config.h: Likewise.
21622 * sysdeps/mach/hurd/_G_config.h: Likewise.
21623 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21624 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21625 * sysdeps/sparc/bits/mathdef.h: Likewise.
21627 2012-01-26 Ulrich Drepper <drepper@gmail.com>
21630 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21631 Clean up HAS_* macros.
21632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21633 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21635 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21637 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21638 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21639 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21640 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21641 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21643 2012-01-25 Joseph Myers <joseph@codesourcery.com>
21645 * elf/tst-unique3.cc (gets): Remove declaration.
21646 * elf/tst-unique3lib.cc (gets): Likewise.
21647 * elf/tst-unique3lib2.cc (gets): Likewise.
21648 * elf/tst-unique4.cc (gets): Likewise.
21650 2012-01-24 Ulrich Drepper <drepper@gmail.com>
21652 * include/stdio.h: Add C++ protection. Add gets declarations and
21654 * debug/tst-chk1.c: Don't declare gets here.
21655 * stdio-common/tst-gets.c: Likewise.
21657 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21659 * posix/glob: Remove directory.
21661 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21663 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21665 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21667 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21668 of the non-standard EPFNOSUPPORT.
21670 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21672 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21673 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21674 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21676 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21678 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21680 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21682 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21684 * nscd/grpcache.c (cache_addgr): Likewise.
21685 * nscd/hstcache.c (cache_addhst): Likewise.
21686 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21687 * nscd/pwdcache.c (cache_addpw): Likewise.
21688 * nscd/servicescache.c (cache_addserv): Likewise.
21690 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21692 * malloc/malloc.c: Various cleanups.
21693 * malloc/hooks.c: Likewise.
21695 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21696 * stdlib/bug-fmtmsg1.c: New file.
21698 * stdlib/fmtmsg.c (init): Add missing unlock.
21699 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21701 2012-01-12 Marek Polacek <polacek@redhat.com>
21703 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21706 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21708 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21709 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21710 macro to ensure uniqueness of label name.
21711 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21712 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21714 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21716 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21718 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21719 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21720 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21721 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21723 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21725 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21727 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21728 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21729 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21731 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21733 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21734 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21735 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21736 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21738 * math/bits/math-finite.h: Add ldexp support.
21740 2012-01-10 Marek Polacek <polacek@redhat.com>
21742 * locale/programs/localedef.h (show_archive_content): Add noreturn
21745 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21747 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21749 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21751 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21753 * io/Makefile (headers): Add bits/poll2.h.
21755 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21758 typo #include statement.
21760 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21762 * include/sys/cdefs.h: Define __attribute_alloc_size.
21763 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21764 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21765 * elf/pldd.c: Likewise.
21766 * iconv/iconv_charmap.c: Likewise.
21767 * iconv/iconvconfig.c: Likewise.
21768 * iconv/strtab.c: Likewise.
21769 * locale/programs/locale.c: Likewise.
21770 * locale/programs/localedef.h: Likewise.
21771 * locale/programs/simple-hash.c: Likewise.
21772 * nscd/nscd.h: Likewise.
21773 * nss/makedb.c: Likewise.
21774 * sysdeps/generic/ldconfig.h: Likewise.
21775 * locale/programs/localedef.c: Remove xmalloc prototype.
21776 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21778 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21780 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21783 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21785 * math/Makefile (tests): Add tst-CMPLX.
21786 * math/tst-CMPLX.c: New file.
21788 * math/complex.h (CMPLXL): Fix typo.
21790 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21791 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21793 * debug/tst-chk1.c: Add poll and ppoll tests.
21794 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21795 * include/sys/poll.h: Add hidden proto for ppoll.
21796 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21797 * sysdeps/mach/hurd/ppoll.c: Likewise.
21798 * io/ppoll.c: Likewise.
21799 * debug/poll_chk.c: New file.
21800 * debug/ppoll_chk.c: New file.
21801 * include/bits/poll2.h: New file.
21802 * io/bits/poll2.h: New file.
21805 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21807 * configure.in: static is always set to yes. Remove.
21808 * config.make.in: Don't set build-static.
21809 * Makeconfig: Remove use of build-static.
21810 * dlfcn/Makefile: Likewise.
21811 * elf/Makefile: Likewise.
21812 * math/Makefile: Likewise.
21813 * misc/Makefile: Likewise.
21814 * nptl/Makefile: Likewise.
21815 * sysdeps/mach/hurd/Makefile: Likewise.
21817 * configure.in: PWD_P is not used anymore.
21818 * config.make.in: Remove PWD_P entry.
21820 * configure.in: Remove last remnants of RANLIB.
21821 No need to check for signed size_t anymore.
21822 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21824 Remove __builtin_expect test because we require at least gcc 3.4.
21825 * aclocal.m4: Likewise.
21827 * wcsmbs/mbrtoc16.c: Implement using towc function.
21828 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21829 * wcsmbs/wcsmbsload.c: Likewise.
21830 * iconv/gconv_simple.c: Likewise.
21831 * iconv/gconv_int.h: Likewise.
21832 * iconv/gconv_builtin.h: Likewise.
21833 * iconv/iconv_prog.c: Remove CHAR16 handling.
21835 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21837 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21839 * configure.in: Remove --with-elf and --enable-bounded options.
21840 Dont set base_machine for ia64. More non-ELF conditions removed.
21841 Remove testing and setting of leading underscore information.
21842 * config.make.in (build-bounded): Set to no.
21843 * config.h.in: Remove NO_UNDERSCORES entry.
21844 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21846 * csu/start.c: Remove !NO_UNDERSCORE code.
21847 * locale/localeinfo.h: Likewise.
21848 * sysdeps/generic/machine-gmon.h: Likewise.
21849 * sysdeps/generic/sysdep.h: Likewise.
21850 * sysdeps/i386/sysdep.h: Likewise.
21851 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21852 * sysdeps/mach/sysdep.h: Likewise.
21853 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21854 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21855 * sysdeps/sh/sysdep.h: Likewise.
21856 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21857 * sysdeps/unix/i386/sysdep.S: Likewise.
21858 * sysdeps/unix/sparc/start.c: Likewise.
21859 * sysdeps/unix/sparc/sysdep.S: Likewise.
21860 * sysdeps/unix/sparc/sysdep.h: Likewise.
21861 * sysdeps/unix/start.c: Likewise.
21862 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21863 * sysdeps/x86_64/sysdep.h: Likewise.
21865 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21868 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21870 * argp/argp-fmtstream.h: Use const instead __const.
21871 * argp/argp.h: Likewise.
21872 * assert/assert.h: Likewise.
21873 * bits/fenv.h: Likewise.
21874 * bits/sched.h: Likewise.
21875 * bits/sigset.h: Likewise.
21876 * bits/sigthread.h: Likewise.
21877 * catgets/nl_types.h: Likewise.
21878 * conform/data/pthread.h-data: Likewise.
21879 * crypt/crypt-private.h: Likewise.
21880 * crypt/crypt.h: Likewise.
21881 * crypt/crypt_util.c: Likewise.
21882 * ctype/ctype.h: Likewise.
21883 * debug/execinfo.h: Likewise.
21884 * debug/mbsnrtowcs_chk.c: Likewise.
21885 * debug/mbsrtowcs_chk.c: Likewise.
21886 * debug/wcsnrtombs_chk.c: Likewise.
21887 * debug/wcsrtombs_chk.c: Likewise.
21888 * debug/wcstombs_chk.c: Likewise.
21889 * dirent/dirent.h: Likewise.
21890 * dlfcn/dlfcn.h: Likewise.
21891 * elf/neededtest4.c: Likewise.
21892 * grp/grp.h: Likewise.
21893 * gshadow/gshadow.h: Likewise.
21894 * iconv/gconv.h: Likewise.
21895 * iconv/gconv_int.h: Likewise.
21896 * iconv/gconv_simple.c: Likewise.
21897 * iconv/iconv.h: Likewise.
21898 * iconv/loop.c: Likewise.
21899 * iconv/skeleton.c: Likewise.
21900 * include/aio.h: Likewise.
21901 * include/aliases.h: Likewise.
21902 * include/argz.h: Likewise.
21903 * include/arpa/inet.h: Likewise.
21904 * include/assert.h: Likewise.
21905 * include/dirent.h: Likewise.
21906 * include/dlfcn.h: Likewise.
21907 * include/execinfo.h: Likewise.
21908 * include/fcntl.h: Likewise.
21909 * include/fenv.h: Likewise.
21910 * include/glob.h: Likewise.
21911 * include/grp.h: Likewise.
21912 * include/libintl.h: Likewise.
21913 * include/mntent.h: Likewise.
21914 * include/netdb.h: Likewise.
21915 * include/pwd.h: Likewise.
21916 * include/rpc/netdb.h: Likewise.
21917 * include/sched.h: Likewise.
21918 * include/search.h: Likewise.
21919 * include/shadow.h: Likewise.
21920 * include/signal.h: Likewise.
21921 * include/stdio.h: Likewise.
21922 * include/stdlib.h: Likewise.
21923 * include/string.h: Likewise.
21924 * include/sys/socket.h: Likewise.
21925 * include/sys/stat.h: Likewise.
21926 * include/sys/statfs.h: Likewise.
21927 * include/sys/statvfs.h: Likewise.
21928 * include/sys/syslog.h: Likewise.
21929 * include/sys/time.h: Likewise.
21930 * include/sys/uio.h: Likewise.
21931 * include/time.h: Likewise.
21932 * include/unistd.h: Likewise.
21933 * include/utmp.h: Likewise.
21934 * include/wchar.h: Likewise.
21935 * include/wctype.h: Likewise.
21936 * inet/aliases.h: Likewise.
21937 * inet/arpa/inet.h: Likewise.
21938 * inet/netinet/ether.h: Likewise.
21939 * inet/netinet/in.h: Likewise.
21940 * intl/libintl.h: Likewise.
21941 * io/bits/fcntl2.h: Likewise.
21942 * io/fcntl.h: Likewise.
21943 * io/ftw.h: Likewise.
21944 * io/sys/poll.h: Likewise.
21945 * io/sys/stat.h: Likewise.
21946 * io/sys/statfs.h: Likewise.
21947 * io/sys/statvfs.h: Likewise.
21948 * io/utime.h: Likewise.
21949 * libio/bits/stdio.h: Likewise.
21950 * libio/bits/stdio2.h: Likewise.
21951 * libio/libio.h: Likewise.
21952 * libio/libioP.h: Likewise.
21953 * libio/stdio.h: Likewise.
21954 * locale/lc-ctype.c: Likewise.
21955 * locale/locale.h: Likewise.
21956 * login/utmp.h: Likewise.
21957 * malloc/arena.c: Likewise.
21958 * malloc/malloc.c: Likewise.
21959 * malloc/malloc.h: Likewise.
21960 * malloc/mcheck.c: Likewise.
21961 * malloc/mtrace.c: Likewise.
21962 * math/bits/mathcalls.h: Likewise.
21963 * math/fenv.h: Likewise.
21964 * math/math_private.h: Likewise.
21965 * misc/bits/error.h: Likewise.
21966 * misc/bits/syslog.h: Likewise.
21967 * misc/err.h: Likewise.
21968 * misc/error.h: Likewise.
21969 * misc/fstab.h: Likewise.
21970 * misc/mntent.h: Likewise.
21971 * misc/regexp.h: Likewise.
21972 * misc/search.h: Likewise.
21973 * misc/sgtty.h: Likewise.
21974 * misc/sys/mman.h: Likewise.
21975 * misc/sys/syslog.h: Likewise.
21976 * misc/sys/uio.h: Likewise.
21977 * misc/sys/xattr.h: Likewise.
21978 * misc/ttyent.h: Likewise.
21979 * nis/rpcsvc/ypclnt.h: Likewise.
21980 * nss/nss.h: Likewise.
21981 * posix/bits/unistd.h: Likewise.
21982 * posix/fnmatch.h: Likewise.
21983 * posix/glob.h: Likewise.
21984 * posix/sched.h: Likewise.
21985 * posix/spawn.h: Likewise.
21986 * posix/sys/wait.h: Likewise.
21987 * posix/unistd.h: Likewise.
21988 * posix/wordexp.h: Likewise.
21989 * pwd/pwd.h: Likewise.
21990 * resolv/netdb.h: Likewise.
21991 * resource/sys/resource.h: Likewise.
21992 * rt/aio.h: Likewise.
21993 * rt/bits/mqueue2.h: Likewise.
21994 * rt/mqueue.h: Likewise.
21995 * shadow/shadow.h: Likewise.
21996 * signal/signal.h: Likewise.
21997 * socket/send.c: Likewise.
21998 * socket/sendto.c: Likewise.
21999 * socket/sys/socket.h: Likewise.
22000 * stdio-common/printf.h: Likewise.
22001 * stdlib/bits/stdlib.h: Likewise.
22002 * stdlib/fmtmsg.h: Likewise.
22003 * stdlib/monetary.h: Likewise.
22004 * stdlib/stdlib.h: Likewise.
22005 * stdlib/ucontext.h: Likewise.
22006 * streams/stropts.h: Likewise.
22007 * string/argz.h: Likewise.
22008 * string/bits/string2.h: Likewise.
22009 * string/string.h: Likewise.
22010 * string/strings.h: Likewise.
22011 * sunrpc/rpc/auth.h: Likewise.
22012 * sunrpc/rpc/auth_des.h: Likewise.
22013 * sunrpc/rpc/clnt.h: Likewise.
22014 * sunrpc/rpc/netdb.h: Likewise.
22015 * sunrpc/rpc/pmap_clnt.h: Likewise.
22016 * sunrpc/rpc/xdr.h: Likewise.
22017 * sysdeps/generic/inttypes.h: Likewise.
22018 * sysdeps/generic/net/if.h: Likewise.
22019 * sysdeps/generic/sys/swap.h: Likewise.
22020 * sysdeps/gnu/net/if.h: Likewise.
22021 * sysdeps/gnu/utmpx.h: Likewise.
22022 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22023 * sysdeps/i386/i486/bits/string.h: Likewise.
22024 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22025 * sysdeps/s390/bits/string.h: Likewise.
22026 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22027 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22028 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22029 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22030 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22031 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22032 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22033 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22034 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22035 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22036 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22037 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22038 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22039 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22040 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22041 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22042 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22043 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22044 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22045 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22046 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22047 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22048 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22049 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22050 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22051 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22052 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22053 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22054 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22055 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22056 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22057 * sysvipc/sys/ipc.h: Likewise.
22058 * sysvipc/sys/msg.h: Likewise.
22059 * sysvipc/sys/sem.h: Likewise.
22060 * sysvipc/sys/shm.h: Likewise.
22061 * termios/termios.h: Likewise.
22062 * time/sys/time.h: Likewise.
22063 * time/time.h: Likewise.
22064 * wcsmbs/bits/wchar2.h: Likewise.
22065 * wcsmbs/uchar.h: Likewise.
22066 * wcsmbs/wchar.h: Likewise.
22067 * wctype/wctype.h: Likewise.
22070 * Makeconfig: Remove all but ELF support including AIX support.
22071 * Makerules: Likewise.
22072 * config.h.in: Likewise.
22073 * config.make.in: Likewise.
22074 * configure: Likewise.
22075 * configure.in: Likewise.
22076 * csu/Makefile: Likewise.
22077 * csu/version.c: Likewise.
22078 * debug/Makefile: Likewise.
22079 * dlfcn/Makefile: Likewise.
22080 * elf/Makefile: Likewise.
22081 * extra-lib.mk: Likewise.
22082 * iconv/Makefile: Likewise.
22083 * include/libc-symbols.h: Likewise.
22084 * include/shlib-compat.h: Likewise.
22085 * resolv/Makefile: Likewise.
22086 * resolv/res_libc.c: Likewise.
22087 * rt/Makefile: Likewise.
22088 * sysdeps/i386/asm-syntax.h: Likewise.
22089 * sysdeps/i386/sysdep.h: Likewise.
22090 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22091 * sysdeps/mach/sysdep.h: Likewise.
22092 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22093 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22094 * sysdeps/s390/asm-syntax.h: Likewise.
22095 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22096 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22097 * sysdeps/sh/sysdep.h: Likewise.
22098 * sysdeps/unix/sparc/sysdep.h: Likewise.
22099 * sysdeps/wordsize-32/divdi3.c: Likewise.
22100 * sysdeps/x86_64/sysdep.h: Likewise.
22102 * argp/Versions: Remove _argp_unlock_xxx.
22105 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22106 * abilist/libBrokenLocale.abilist: Likewise.
22107 * abilist/libanl.abilist: Likewise.
22108 * abilist/libc.abilist: Likewise.
22109 * abilist/libcrypt.abilist: Likewise.
22110 * abilist/libdl.abilist: Likewise.
22111 * abilist/libm.abilist: Likewise.
22112 * abilist/libnsl.abilist: Likewise.
22113 * abilist/libpthread.abilist: Likewise.
22114 * abilist/libresolv.abilist: Likewise.
22115 * abilist/librt.abilist: Likewise.
22116 * abilist/libthread_db.abilist: Likewise.
22117 * abilist/libutil.abilist: Likewise.
22118 * abilist/libnss_db.abilist: New file.
22120 * scripts/abilist.awk: Add support for indirect functions.
22122 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22124 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22126 * shlib-versions: Remove entries for ports architectures.
22128 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
22130 * elf/stackguard-macros.h: Remove support for IA-64.
22131 * elf/tst-auditmod1.c: Likewise.
22132 * sysdeps/generic/ldsodefs.h: Likewise.
22134 * sysdeps/unix/sysv/linux/configure.in: Ports should define
22135 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22139 * configure.in: Remove --enable-omitfp support.
22141 * config.make.in: Likewise.
22142 * Makeconfig: Likewise.
22143 * manual/install.texi: Likewise.
22145 In case anyone cares, the IA-64 architecture could move to ports.
22146 * sysdeps/ia64/*: Removed.
22147 * sysdeps/unix/sysv/linux/ia64/*: Removed.
22148 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
22151 * configure.in: Remove entries for unsupported architectures.
22154 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22155 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22157 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22158 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22159 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22160 fall back to using wcrtomb.
22161 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22162 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22164 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22165 * wcsmbs/tst-c16c32-1.c: New file.
22167 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22170 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22172 * elf/tst-unique3.cc: Add explicit declaration of gets.
22173 * elf/tst-unique3lib.cc: Likewise.
22174 * elf/tst-unique3lib2.cc: Likewise.
22175 * elf/tst-unique4.cc: Likewise.
22177 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22179 2012-01-06 Joseph Myers <joseph@codesourcery.com>
22182 * assert/assert.h (static_assert): Don't define for C++.
22183 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22184 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22186 2012-01-03 Ulrich Drepper <drepper@gmail.com>
22188 * iconv/loop.c (single loop): Fix assertion in storing of
22191 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22193 2012-01-01 Ulrich Drepper <drepper@gmail.com>
22195 * posix/getconf.c: Update copyright year.
22196 * nss/getent.c: Likewise.
22197 * nss/makedb.c: Likewise.
22198 * iconv/iconvconfig.c: Likewise.
22199 * iconv/iconv_prog.c: Likewise.
22200 * elf/ldconfig.c: Likewise.
22201 * elf/pldd.c: Likewise.
22202 * elf/sotruss.ksh: Likewise.
22203 * catgets/gencat.c: Likewise.
22204 * csu/version.c: Likewise.
22205 * elf/ldd.bash.in: Likewise.
22206 * elf/sprof.c (print_version): Likewise.
22207 * locale/programs/locale.c: Likewise.
22208 * locale/programs/localedef.c: Likewise.
22209 * login/programs/pt_chown.c: Likewise.
22210 * nscd/nscd.c (print_version): Likewise.
22211 * debug/xtrace.sh: Likewise.
22212 * malloc/memusage.sh: Likewise.
22213 * malloc/mtrace.pl: Likewise.
22214 * debug/catchsegv.sh: Likewise.
22216 2011-12-30 Jakub Jelinek <jakub@redhat.com>
22218 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22221 2011-12-24 Ulrich Drepper <drepper@gmail.com>
22224 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22225 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22227 * iconv/gconv_int.h: Likewise.
22228 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22229 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22230 from libc for GLIBC_2.16.
22231 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22232 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22233 * wcsmbs/uchar.h: Really define mbstate_t.
22234 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22235 * wcsmbs/c16rtomb.c: New file.
22236 * wcsmbs/mbrtoc16.c: New file.
22237 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22238 for C/POSIX locale.
22239 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22240 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22242 * wcsmbs/wchar.h: Add missing __restrict.
22244 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22247 * time/Makefile (routines): Add timespec_get.
22248 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22249 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22250 timespec for ISO C11.
22251 * time/timespec_get.c: New file.
22252 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22253 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22256 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22257 * stdlib/stdlib.h: Declare aligned_alloc.
22258 * Versions.def: Add GLIBC_2.16 for libc.
22259 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22262 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22265 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
22269 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22272 * assert/assert.h (static_assert): Define.
22274 * version.h: Update for 2.16 development version.
22277 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22280 * version.h (RELEASE): Bump for 2.15 release.
22281 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22283 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22284 Patch by Marek Polacek <mpolacek@redhat.com>.
22286 * bits/byteswap.h: Protect long long constants with __extension__.
22287 * sysdeps/i386/bits/byteswap.h: Likewise.
22288 * sysdeps/ia64/bits/byteswap.h: Likewise.
22289 * sysdeps/s390/bits/byteswap.h: Likewise.
22290 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22292 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22295 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22296 destination buffer.
22297 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22299 2011-12-23 Marek Polacek <polacek@redhat.com>
22301 * elf/dl-addr.c (determine_info): Add inline keyword.
22302 * elf/tst-auditmod4b.c (check_avx): Likewise.
22303 * elf/tst-auditmod6b.c (check_avx): Likewise.
22304 * elf/tst-auditmod6c.c (check_avx): Likewise.
22305 * elf/tst-auditmod7b.c (check_avx): Likewise.
22307 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22309 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22312 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22315 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22316 processing for last bytes.
22318 2011-08-06 Bruno Haible <bruno@clisp.org>
22321 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22322 U+0385, not to U+1FEE.
22325 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22326 entry for U+00A5 U+0301.
22328 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22331 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22332 buffer for the output is too small.
22334 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22338 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22339 SSE flags if possible.
22341 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22344 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22345 processing for last bytes.
22347 2011-12-22 Joseph Myers <joseph@codesourcery.com>
22349 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22350 (syscall-list-default-options, syscall-list-default-condition)
22351 (syscall-list-includes): Define.
22352 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22353 list of ABIs and options and #if conditions for each ABI. Do not
22354 handle common syscalls between ABIs specially.
22355 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22357 (syscall-list-variants, syscall-list-32bit-options)
22358 (syscall-list-32bit-condition, syscall-list-64bit-options)
22359 (syscall-list-64bit-condition): Define.
22360 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22361 (syscall-list-variants, syscall-list-32bit-options)
22362 (syscall-list-32bit-condition, syscall-list-64bit-options)
22363 (syscall-list-64bit-condition): Define.
22364 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22366 (syscall-list-variants, syscall-list-32bit-options)
22367 (syscall-list-32bit-condition, syscall-list-64bit-options)
22368 (syscall-list-64bit-condition): Define.
22369 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22371 (syscall-list-variants, syscall-list-32bit-options)
22372 (syscall-list-32bit-condition, syscall-list-64bit-options)
22373 (syscall-list-64bit-condition): Define.
22375 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22377 * locale/iso-639.def: Add brx entry.
22380 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22381 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22383 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22384 __feraiseexcept_renamed.
22386 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22389 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22390 EPOLLET with unsigned values.
22391 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22392 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22394 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22395 to large cancellation.
22396 * math/s_cacoshf.c: Likewise.
22397 * math/s_cacoshl.c: Likewise.
22399 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22403 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22404 * math/s_cacoshf.c: Likewise.
22405 * math/s_cacoshl.c: Likewise.
22407 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22410 * iconv/gconv.h: Define __GCONV_SWAP.
22411 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22412 * iconvdata/utf-16.c: Likewise.
22413 * iconvdata/utf-32.c: Likewise.
22415 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22418 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22419 numerator after shifting it by one limb.
22421 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22423 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22424 under [__USE_EXTERN_INLINES].
22426 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22429 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22431 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22433 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22434 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22436 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22437 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22438 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22439 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22440 for strncasecmp/strncasecmp_l compilation.
22441 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22442 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22444 2011-12-08 Marek Polacek <mpolacek@redhat.com>
22447 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22450 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22453 * time/tzfile.c (__tzfile_read): Check values from file header.
22455 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22457 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22458 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22459 * powerpc/powerpc32/dl-start.S: Likewise.
22460 * powerpc/powerpc32/elf/start.S: Likewise.
22461 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22462 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22463 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22464 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22465 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22466 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22467 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22468 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22469 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22470 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22471 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22472 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22473 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22474 * powerpc/powerpc32/memset.S: Likewise.
22475 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22476 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22477 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22478 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22479 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22480 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22481 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22482 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22483 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22484 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22485 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22486 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22487 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22489 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22491 * math/libm-test.inc: Added more nearbyint tests.
22492 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22493 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22494 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22495 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22497 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22499 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22502 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22504 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22505 Add wcscpy-ssse3 wcscpy-c.
22506 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22507 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22508 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22509 * sysdeps/x86_64/wcschr.S: New file.
22510 * sysdeps/x86_64/wcsrchr.S: New file.
22511 * string/test-strcmp.c: Remove checking of wcscmp function for
22513 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22514 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22515 wcsrchr-sse2 wcsrchr-c.
22516 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22517 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22518 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22519 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22520 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22521 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22522 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22523 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22524 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22525 * wcsmbc/wcschr.c (WCSCHR): New macro.
22527 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22529 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22530 * wcsmbs/test-wcsrchr.c: New file.
22531 * string/test-strrchr.c: Add wcsrchr support.
22533 * wcsmbs/test-wcscpy.c: New file.
22534 * string/test-strcpy.c: Add wcscpy support.
22537 2011-12-10 Ulrich Drepper <drepper@gmail.com>
22539 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22542 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22545 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22547 2011-12-04 Ulrich Drepper <drepper@gmail.com>
22549 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
22550 Minor optimizations.
22552 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22553 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22554 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22556 2011-12-03 Ulrich Drepper <drepper@gmail.com>
22558 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22559 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22560 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22561 for gcc to avoid warnings.
22562 * inet/Makefile (tests): Add tst-checks.
22563 * inet/tst-checks.c: New file.
22565 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22568 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22571 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22572 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22574 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22576 2011-12-02 Ulrich Drepper <drepper@gmail.com>
22578 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22581 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22583 2011-11-29 Joseph Myers <joseph@codesourcery.com>
22585 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22586 conditional on GCC version.
22587 (__arch_compare_and_exchange_val_8_acq)
22588 (__arch_compare_and_exchange_val_16_acq)
22589 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22590 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22591 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22593 2011-12-02 Joseph Myers <joseph@codesourcery.com>
22595 * sysdeps/sh/backtrace.c: New file.
22597 2011-12-02 Andreas Schwab <schwab@redhat.com>
22599 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22602 2011-12-01 Andreas Schwab <schwab@redhat.com>
22604 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22605 falling back to utime.
22607 2011-11-30 Andreas Schwab <schwab@redhat.com>
22609 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22610 expectations for float.
22612 2011-11-29 Andreas Schwab <schwab@redhat.com>
22614 * locale/weight.h (findidx): Add parameter len.
22615 * locale/weightwc.h (findidx): Likewise.
22616 * posix/fnmatch_loop.c (FCT): Adjust caller.
22617 * posix/regcomp.c (build_equiv_class): Likewise.
22618 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22619 * posix/regexec.c (check_node_accept_bytes): Likewise.
22620 * string/strcoll_l.c (STRCOLL): Likewise.
22621 * string/strxfrm_l.c (STRXFRM): Likewise.
22623 2011-11-17 Ulrich Drepper <drepper@gmail.com>
22625 * Makefile.in: Remove CVSOPT handling.
22626 * configure.in: Remove use of AC_REVISION.
22627 * iconvdata/Makefile (distribute): No need to filter out CVS.
22628 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22631 2011-11-16 Andreas Schwab <schwab@redhat.com>
22633 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22634 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22635 [USE_AS_STRNCASECMP_L]: Likewise.
22636 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22637 NO_TLS_DIRECT_SEG_REFS.
22638 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22639 Fix argument offsets for non-PIC.
22640 [USE_AS_STRNCASECMP_L]: Likewise.
22641 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22642 NO_TLS_DIRECT_SEG_REFS.
22644 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22646 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22648 * locale/loadlocale.c (_nl_load_locale): Likewise.
22650 2011-11-15 Andreas Schwab <schwab@redhat.com>
22652 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22653 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22654 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22655 (SYSCALL_GETTIME): Set errno on error.
22657 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22658 count references to noai6ai_cached.
22660 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22662 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22664 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22665 FD_CLOEXEC for /proc/self/maps.
22667 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22668 FD_CLOEXEC for /proc/meminfo.
22670 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22673 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22674 FD_CLOEXEC for given file.
22676 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22678 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22679 FD_CLOEXEC for /etc/hosts.
22680 (_gethtent): Likewise.
22682 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22684 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22685 cancellation and set FD_CLOEXEC for /etc/netgroup.
22687 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22688 reading /etc/publickey.
22690 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22691 allow cancellation when reading /etc/group.
22693 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22695 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22697 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22698 when using data file.
22700 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22702 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22703 (write_nis_obj): Use "c" and "e" in fopen.
22705 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22707 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22709 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22711 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22713 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22716 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22718 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22720 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22722 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22723 file parsing and set FD_CLOEXEC.
22725 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22727 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22729 2011-11-14 Andreas Schwab <schwab@redhat.com>
22731 * malloc/arena.c (arena_get2): Don't call reused_arena when
22732 _int_new_arena failed.
22734 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22736 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22737 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22738 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22739 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22740 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22741 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22742 to compile strcasecmp and strncasecmp.
22743 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22744 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22746 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22748 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22750 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22751 locale-defines.sym to gen-as-const-headers.
22752 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22753 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22754 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22755 to compile strcasecmp and strncasecmp.
22756 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22757 strcasecmp_l and strncasecmp_l.
22758 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22759 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22760 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22761 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22762 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22763 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22764 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22765 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22766 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22767 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22768 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22770 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22772 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22773 result of SYSDEP_GETTIME_CPU to retval.
22774 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22775 parameter list to macro. Remove trailing semicolon. Adjust users.
22777 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22780 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22782 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22784 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22785 from unused variable.
22787 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22789 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22792 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22795 * sunrpc/rpc_prot.c (rejected): Fix case value.
22797 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22798 unsigned long long int to avoid warnings in shift.
22800 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22802 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22805 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22806 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22807 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22809 * nis/nis_table.c (nis_list): Use variable of correct type for
22810 result of __follow_path call.
22812 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22814 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22815 of math functions ceil, trunc, floor, round, and sqrt, when
22816 avaliable on the platform.
22817 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22819 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22820 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22821 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22823 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22825 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22826 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22828 2011-11-11 Roland McGrath <roland@hack.frob.com>
22830 * include/unistd.h: Fix __readlink return type.
22831 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22833 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22835 * stdlib/ucontext.h: Undo last change for makecontext.
22837 2011-11-11 Andreas Schwab <schwab@redhat.com>
22839 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22841 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22842 * setjmp/setjmp.h: Mark functions as non-leaf.
22843 * setjmp/bits/setjmp2.h: Likewise.
22844 * stdlib/ucontext.h: Likewise.
22846 2011-11-10 Andreas Schwab <schwab@redhat.com>
22848 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22849 (reused_arena): Don't check arena limit.
22850 (arena_get2): Atomically check arena limit.
22852 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22854 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22855 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22857 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22860 2011-11-07 Andreas Schwab <schwab@redhat.com>
22862 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22863 handler when locking.
22865 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22866 Fix size of allocated buffer.
22868 2011-11-04 Andreas Schwab <schwab@redhat.com>
22871 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22872 declarations for long double functions.
22873 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22875 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22877 2011-11-03 Andreas Schwab <schwab@redhat.com>
22879 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22882 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22885 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22887 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22889 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22891 * include/alloca.h (stackinfo_alloca_round): Define.
22892 (extend_alloca): Use it.
22893 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22894 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22897 * scripts/check-local-headers.sh: Ignore libaudit.h.
22899 * nscd/Makefile (extra-objs): Make recursively expanded.
22901 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22903 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22904 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22906 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22907 * posix/tst-rfc3484-2.c: Likewise.
22908 * posix/tst-rfc3484-3.c: Likewise.
22910 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22912 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22914 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22915 process_vm_writev from libc using GLIBC_2.15 version.
22917 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22919 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22921 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22924 2011-10-31 Ulrich Drepper <drepper@gmail.com>
22927 * nss/getent.c (initgroups_keys): Show error message in case no group
22930 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22931 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22932 __bump_nl_timestamp.
22933 * nscd/connections (nscd_init): When host database is served open
22934 netlink socket and request notification about configuration changes.
22935 (main_loop_poll): Track netlink file descriptor and bump timestamp
22936 in case data becomes available.
22937 (main_loop_epoll): Likewise.
22938 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22939 (database_pers_head): Add extra_data fileds.
22940 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22941 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22942 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22944 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22945 in6ai data, call __free_in6ai.
22946 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22947 Add -DHAVE_NETLINK.
22948 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22949 interface information. Reuse previous data if netlink timestamp
22951 (__bump_nl_timestamp): New function.
22952 (__free_in6ai): New function.
22954 2011-10-30 Ulrich Drepper <drepper@gmail.com>
22956 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22957 close_not_cancel_no_status here.
22958 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22960 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22963 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22966 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22967 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22968 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22970 2011-07-03 Andreas Jaeger <aj@suse.de>
22973 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22974 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22975 * math/libm-test.inc (sin_test): Add test case.
22977 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22980 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22981 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22983 * elf/chroot_canon.c (chroot_canon): Cleanups.
22985 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22988 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22989 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22991 * string/test-strchr.c: Make usable for strchrnul testing.
22992 * string/test-strchrnul.c: New file.
22993 * string/Makefile (strop-tests): Add strchrnul.
22995 * po/it.po: Update from translation team.
22996 * po/es.po: Likewise.
22998 2011-10-28 Ulrich Drepper <drepper@gmail.com>
23000 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23001 the three constants needed as parameters. Drop the others.
23002 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23003 __m128i_strloadu_tolower.
23004 Create and initialize variable zero and use it in all the places
23005 where _mm_setzero_si128 was used.
23007 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23008 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23009 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23010 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23012 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23013 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23014 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23015 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23016 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23017 __mpranred, __mptan.
23018 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23019 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23020 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23021 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23022 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23023 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23024 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23025 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23026 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23028 2011-10-28 Andreas Schwab <schwab@redhat.com>
23030 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23031 redefine if SHARED.
23032 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23035 wide char related routines to wcsmbs subdir.
23037 2011-10-27 Andreas Schwab <schwab@redhat.com>
23040 * misc/sys/cdefs.h (__THROWNL): Define.
23041 * posix/unistd.h: Use __THREADNL instead of __THREAD
23042 for memory synchronization functions.
23044 2011-10-26 Roland McGrath <roland@hack.frob.com>
23047 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23049 * manual/stdio.texi (Obstack Streams): Node removed.
23051 2011-10-26 Andreas Schwab <schwab@redhat.com>
23053 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23054 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23055 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23057 * math/math_private.h (math_force_eval): Allow non-addressable
23059 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23061 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23063 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23064 file is not needed.
23066 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23067 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23068 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23069 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23070 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23071 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23072 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23073 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23075 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23076 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23077 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23078 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23079 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23080 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23081 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23082 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23083 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23084 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23085 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23086 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23087 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23088 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23089 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23090 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23091 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23092 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23093 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23095 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23096 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23098 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23099 place. Use VEX encoding when compiling for AVX.
23101 2011-10-25 Andreas Schwab <schwab@redhat.com>
23103 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23104 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23106 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23108 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23110 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
23111 useless if() expression.
23112 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23113 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23114 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23115 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23116 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23117 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23118 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23119 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23120 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23121 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23122 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23123 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23124 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23125 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23126 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23127 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23128 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23129 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23130 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23132 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23134 2011-10-25 Andreas Schwab <schwab@redhat.com>
23136 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23138 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23140 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23142 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23143 .text section. Avoid duplicate constants.
23144 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23145 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23146 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23147 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23148 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23149 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23150 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23151 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23152 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23153 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23154 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23155 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23156 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23157 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23158 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23159 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23160 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23161 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23162 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23163 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23164 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23165 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23166 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23167 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23168 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23169 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23170 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23171 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23172 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23173 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23174 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23175 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23176 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23177 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23178 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23179 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23180 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23181 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23182 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23183 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23184 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23185 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23186 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23187 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23188 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23190 2011-10-24 Ulrich Drepper <drepper@gmail.com>
23192 * sysdeps/x86_64/dla.h: Move to ...
23193 * sysdeps/x86_64/fpu/dla.h: ...here.
23194 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23195 situations. Use __builtin_fma only for gcc 4.6 and up.
23197 * config.make.in: Add have-mfma4 entry.
23198 * configure.in: Substitute libc_cv_cc_fma4.
23199 * math/Makefile (dbl-only-routines): Add sincostab.
23200 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23201 Use __sincostab not sincos.
23202 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23204 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23206 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23207 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23209 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23210 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23211 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23212 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23214 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23215 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23217 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23218 define aliases when function name is a macro.
23219 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23220 sysdeps/ieee754/dbl-64/sincos.tbl.
23221 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23222 fma4-enabled routines.
23223 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23224 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23225 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23226 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23227 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23228 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23229 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23230 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23231 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23232 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23233 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23234 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23235 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23236 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23237 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23238 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23239 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23240 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23241 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23242 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23243 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23244 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23245 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23246 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23247 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23248 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23249 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23250 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23251 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23252 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23254 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23256 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23257 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23258 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23259 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23260 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23261 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23262 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23263 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23265 2011-10-24 Andreas Schwab <schwab@redhat.com>
23267 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23269 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23271 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23273 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23275 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23277 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23278 Remove unused variable magic_bits.
23279 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23281 * string/strnlen.c: Define and use STRNLEN macro.
23282 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23283 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23284 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23285 * wcsmbs/wcslen.c: Define and use WCSLEN.
23286 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23287 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23288 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23289 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23290 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23291 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23292 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23294 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23297 strnlen-sse2-no-bsf.
23298 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23299 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23300 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23301 Add strnlen support.
23302 (USE_AS_STRNLEN): New macro.
23303 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23304 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23305 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23306 * sysdeps/x86_64/wcslen.S: New file.
23308 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23310 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23311 XMM-moves are used for copying on small sizes.
23313 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23315 * wcsmbs/Makefile (strop-tests): Add wcschr.
23316 * wcsmbs/test-wcschr.c: New file.
23317 * string/test-strchr.c: Update.
23318 Add wcschr support.
23321 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23323 * wcsmbs/Makefile (strop-tests): Add wcslen.
23324 * wcsmbs/test-wcslen.c: New file.
23325 * string/test-strlen.c: Update.
23326 Add wcslen support.
23329 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23331 * po/it.po: Update from translation team.
23333 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23335 * sysdeps/x86_64/wcscmp.S: Update.
23336 Fix wrong comparison semantics.
23337 wcscmp shall use signed comparison not unsigned.
23338 Don't use substraction to avoid overflow bug.
23339 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23340 * wcsmbc/wcscmp.c: Likewise.
23341 * string/test-strcmp.c: Likewise.
23342 Add new tests to check cases with negative values.
23344 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23346 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23347 * sysdeps/x86_64/dla.h: ...here. New file.
23348 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23349 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23350 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23352 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23353 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23354 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23355 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23356 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23358 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23360 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23361 __ynl_finite aliases.
23363 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23365 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23367 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23369 [DLA_FMA] (EMULV): Use DLA_FMA.
23370 [DLA_FMA] (MUL12): Use EMULV.
23371 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23372 that are not needed.
23373 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23374 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23375 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23376 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23377 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23378 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23379 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23381 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23383 * math/s_nan.c: Undef __nan.
23384 * math/s_nanf.c: Undef __nanf.
23385 * math/s_nanl.c: Undef __nanl.
23386 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23389 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23391 * math/s_catan.c: Add branch predictions.
23392 * math/s_catanf.c: Likewise.
23393 * math/s_catanh.c: Likewise.
23394 * math/s_catanhf.c: Likewise.
23395 * math/s_catanhl.c: Likewise.
23396 * math/s_catanl.c: Likewise.
23397 * math/s_cexp.c: Likewise.
23398 * math/s_cexpf.c: Likewise.
23399 * math/s_cexpl.c: Likewise.
23400 * math/s_clog.c: Likewise.
23401 * math/s_clog10.c: Likewise.
23402 * math/s_clog10f.c: Likewise.
23403 * math/s_clog10l.c: Likewise.
23404 * math/s_clogf.c: Likewise.
23405 * math/s_clogl.c: Likewise.
23406 * math/s_csqrt.c: Likewise.
23407 * math/s_csqrtf.c: Likewise.
23408 * math/s_csqrtl.c: Likewise.
23409 * math/s_ctanf.c: Likewise.
23410 * math/s_ctanh.c: Likewise.
23411 * math/s_ctanhf.c: Likewise.
23412 * math/s_ctanhl.c: Likewise.
23413 * math/s_ctanl.c: Likewise.
23415 * math/math_private.h: Define __nan, __nanf, __nanl.
23416 * math/s_cacosh.c: Include <math_private.h>.
23417 * math/s_cacoshl.c: Likewise.
23418 * math/s_casinh.c: Likewise.
23419 * math/s_casinhf.c: Likewise.
23420 * math/s_casinhl.c: Likewise.
23421 * math/s_ccos.c: Rely entire on ccosh.
23422 * math/s_ccosf.c: Rely entire on ccoshf.
23423 * math/s_ccosl.c: Rely entirely on ccoshl.
23424 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23425 Remove tests for FE_INVALID.
23426 * math/s_ccoshf.c: Likewise.
23427 * math/s_ccoshl.c: Likewise.
23428 * math/s_csin.c: Likewise.
23429 * math/s_csinf.c: Likewise.
23430 * math/s_csinh.c Likewise.
23431 * math/s_csinhf.c: Likewise.
23432 * math/s_csinhl.c: Likewise.
23433 * math/s_csinl.c: Likewise.
23434 * math/s_ctan.c: Likewise.
23435 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23436 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23437 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23439 2011-10-21 Ulrich Drepper <drepper@gmail.com>
23441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23442 compilation problems.
23444 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23447 2011-10-20 Ulrich Drepper <drepper@gmail.com>
23449 * sysdeps/i386/configure.in: Test for -mfma4 option.
23450 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23451 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23452 COMMON_CPUID_INDEX_80000001.
23453 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23454 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23455 use it if FMA3 is not supported.
23456 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23458 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23459 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23461 2011-10-20 Andreas Schwab <schwab@redhat.com>
23464 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23465 it would create a cycle with a link time dependency.
23467 2011-10-19 Ulrich Drepper <drepper@gmail.com>
23469 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23471 * string/Makefile (strop-tests): Add rawmemchr.
23472 * string/test-rawmemchr.c: New file.
23474 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23475 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23476 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23477 when compiling str{,n}casecmp and when AVX is available. Hook up
23478 new optimized code in initializers.
23480 2011-10-19 Andreas Schwab <schwab@redhat.com>
23482 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23483 __feraiseexcept instead of feraiseexcept.
23485 2011-10-18 Ulrich Drepper <drepper@gmail.com>
23487 * math/math_private.h: Define defaults for libc_fetestexcept and
23489 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23490 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23491 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23492 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23493 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23494 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23495 libc_fetestexcept and libc_feupdateenv.
23497 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23498 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23499 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23500 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23501 libc_feholdexcept_setround.
23503 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23504 Add s_nearbyint-c and s_nearbyintf-c.
23505 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23506 nearbyintf inlines.
23507 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23508 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23509 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23510 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23512 * math/math_private.h: Define defaults for libc_fegetround,
23513 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23514 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23515 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23516 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23517 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23518 standard functions.
23519 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23520 Remove comments and hacks for old compiler versions.
23521 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23522 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23523 libc_feholdexceptl.
23525 2011-10-18 Andreas Schwab <schwab@redhat.com>
23527 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
23528 (__feraiseexcept_renamed): Add __NTH.
23529 (feraiseexcept): Add __NTH. Rename local variables to fix
23530 namespace violations.
23532 2011-10-17 Ulrich Drepper <drepper@gmail.com>
23534 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23536 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23538 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23539 recently added interfaces.
23540 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23542 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23543 about macro parameter expansion.
23545 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23546 __NO_MATH_INLINES is defined. Cleanups.
23548 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23549 and __floorf is target has SSE4.1.
23550 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23551 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23552 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23553 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23555 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23557 (floorf): Likewise.
23559 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23561 2011-10-17 Andreas Schwab <schwab@redhat.com>
23563 * misc/sys/cdefs.h: Fix last change.
23565 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23568 2011-10-16 Ulrich Drepper <drepper@gmail.com>
23570 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23572 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23573 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23574 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23575 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23576 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23577 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23578 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23579 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23580 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23581 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23582 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23583 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23584 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23585 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23586 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23587 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23588 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23589 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23590 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23591 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23592 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23593 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23595 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23596 ceil, ceilf, floor, floorf.
23598 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23599 Perform IRELATIVE relocations last.
23601 * elf/do-rel.h: Add another parameter nrelative, replacing the
23602 local variable with the same name. Change name of the function
23603 to end in Rel or Rela (uppercase).
23604 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23605 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23606 elf_dynamic_do_##reloc function.
23608 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23610 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23611 is sufficient, at least on modern CPUs.
23613 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23615 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23616 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23618 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23620 * math/bits/math-finite.h: Add entries for exp.
23621 * math/e_expl.c: Add __*_finite alias.
23622 * sysdeps/i386/fpu/e_exp.S: Likewise.
23623 * sysdeps/i386/fpu/e_expf.S: Likewise.
23624 * sysdeps/i386/fpu/e_expl.c: Likewise.
23625 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23626 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23627 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23628 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23629 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23630 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23631 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23633 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23634 is sufficient, at least on modern CPUs.
23636 * ctype/ctype-info.c (__ctype_init): Define.
23637 * include/ctype.h (__ctype_init): Declare.
23638 (__ctype_b_loc): The variable is always initialized.
23639 (__ctype_toupper_loc): Likewise.
23640 (__ctype_tolower_loc): Likewise.
23641 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23642 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23644 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23646 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23648 * configure.in: Also look in $cxxmachine/include for C++ system
23651 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23653 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23654 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23655 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23656 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23657 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23658 (USE_AS_WMEMCMP): New macro.
23660 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23661 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23662 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23663 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23665 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23666 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23667 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23668 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23669 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23670 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23671 (USE_AS_WMEMCMP): New macro.
23672 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23673 * sysdeps/string/test-memcmp.c: Update.
23674 Fix simple_wmemcmp.
23676 * wcsmbs/wmemcmp.c: Update.
23677 (WMEMCMP): New macro.
23680 2011-10-12 Andreas Jaeger <aj@suse.de>
23683 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23685 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23687 * libio/iofwide.c (do_length): Avoid warning.
23689 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23691 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23693 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23695 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23696 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23697 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23698 * sysdeps/i386/i686/fpu/e_log.S: New file.
23699 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23700 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23702 * ctype/ctype.h: Add support for inlined isXXX functions when
23703 compiling C++ code.
23705 2011-10-14 Andreas Schwab <schwab@redhat.com>
23707 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23709 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23711 2011-10-13 Roland McGrath <roland@hack.frob.com>
23714 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23716 2011-10-13 Andreas Schwab <schwab@redhat.com>
23718 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23719 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23722 * sysdeps/x86_64/memrchr.S: Check for zero size.
23724 * string/stratcliff.c: Add memrchr tests.
23726 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23728 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23729 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23730 rawmemchr-sse2 rawmemchr-sse2-bsf.
23731 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23732 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23733 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23734 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23735 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23736 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23737 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23738 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23739 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23740 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23741 * string/memrchr.c (MEMRCHR): New macro.
23743 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23745 Add integration with gcc's -ffinite-math-only and optimize wrapper
23747 * Versions.def: Define GLIBC_2.15 version for libm.
23748 * math/Makefile (headers): Add bits/math-finite.h.
23749 * math/bits/math-finite.h: New file.
23750 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23751 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23752 * math/e_acoshl.c: Add __*_finite alias.
23753 * math/e_acosl.c: Likewise.
23754 * math/e_asinl.c: Likewise.
23755 * math/e_atan2l.c: Likewise.
23756 * math/e_atanhl.c: Likewise.
23757 * math/e_coshl.c: Likewise.
23758 * math/e_exp10.c: Likewise.
23759 * math/e_exp10f.c: Likewise.
23760 * math/e_exp10l.c: Likewise.
23761 * math/e_exp2l.c: Likewise.
23762 * math/e_fmodl.c: Likewise.
23763 * math/e_gammal_r.c: Likewise.
23764 * math/e_hypotl.c: Likewise.
23765 * math/e_j0l.c: Likewise.
23766 * math/e_j1l.c: Likewise.
23767 * math/e_jnl.c: Likewise.
23768 * math/e_lgammal_r.c: Likewise.
23769 * math/e_log10l.c: Likewise.
23770 * math/e_log2l.c: Likewise.
23771 * math/e_logl.c: Likewise.
23772 * math/e_powl.c: Likewise.
23773 * math/e_sinhl.c: Likewise.
23774 * math/e_sqrtl.c: Likewise.
23775 * math/e_scalb.c: Completely rewritten and optimized.
23776 * math/e_scalbf.c: Likewise.
23777 * math/e_scalbl.c: Likewise.
23778 * math/w_acos.c: Likewise.
23779 * math/w_acosf.c: Likewise.
23780 * math/w_acosl.c: Likewise.
23781 * math/w_acosh.c: Likewise.
23782 * math/w_acoshf.c: Likewise.
23783 * math/w_acoshl.c: Likewise.
23784 * math/w_asin.c: Likewise.
23785 * math/w_asinf.c: Likewise.
23786 * math/w_asinl.c: Likewise.
23787 * math/w_atan2.c: Likewise.
23788 * math/w_atan2f.c: Likewise.
23789 * math/w_atan2l.c: Likewise.
23790 * math/w_atanh.c: Likewise.
23791 * math/w_atanhf.c: Likewise.
23792 * math/w_atanhl.c: Likewise.
23793 * math/w_exp10.c: Likewise.
23794 * math/w_exp10f.c: Likewise.
23795 * math/w_exp10l.c: Likewise.
23796 * math/w_fmod.c: Likewise.
23797 * math/w_fmodf.c: Likewise.
23798 * math/w_fmodl.c: Likewise.
23799 * math/w_j0.c: Likewise.
23800 * math/w_j0f.c: Likewise.
23801 * math/w_j0l.c: Likewise.
23802 * math/w_j1.c: Likewise.
23803 * math/w_j1f.c: Likewise.
23804 * math/w_j1l.c: Likewise.
23805 * math/w_jn.c: Likewise.
23806 * math/w_jnf.c: Likewise.
23807 * math/w_log.c: Likewise.
23808 * math/w_logf.c: Likewise.
23809 * math/w_logl.c: Likewise.
23810 * math/w_log10.c: Likewise.
23811 * math/w_log10f.c: Likewise.
23812 * math/w_log10l.c: Likewise.
23813 * math/w_log2.c: Likewise.
23814 * math/w_log2f.c: Likewise.
23815 * math/w_log2l.c: Likewise.
23816 * math/w_pow.c: Likewise.
23817 * math/w_powf.c: Likewise.
23818 * math/w_powl.c: Likewise.
23819 * math/w_remainder.c: Likewise.
23820 * math/w_remainderf.c: Likewise.
23821 * math/w_remainderl.c: Likewise.
23822 * math/w_scalb.c: Likewise.
23823 * math/w_scalbf.c: Likewise.
23824 * math/w_scalbl.c: Likewise.
23825 * math/w_sqrt.c: Likewise.
23826 * math/w_sqrtf.c: Likewise.
23827 * math/w_sqrtl.c: Likewise.
23828 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23829 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23831 * math/math_private.h: Declare __kernel_standard_f.
23832 * math/w_cosh.c: Remove cruft and optimize a bit.
23833 * math/w_coshf.c: Likewise.
23834 * math/w_coshl.c: Likewise.
23835 * math/w_exp2.c: Likewise.
23836 * math/w_exp2f.c: Likewise.
23837 * math/w_exp2l.c: Likewise.
23838 * math/w_hypot.c: Likewise.
23839 * math/w_hypotf.c: Likewise.
23840 * math/w_hypotl.c: Likewise.
23841 * math/w_lgamma.c: Likewise.
23842 * math/w_lgamma_r.c: Likewise.
23843 * math/w_lgammaf.c: Likewise.
23844 * math/w_lgammaf_r.c: Likewise.
23845 * math/w_lgammal.c: Likewise.
23846 * math/w_lgammal_r.c: Likewise.
23847 * math/w_sinh.c: Likewise.
23848 * math/w_sinhf.c: Likewise.
23849 * math/w_sinhl.c: Likewise.
23850 * math/w_tgamma.c: Likewise.
23851 * math/w_tgammaf.c: Likewise.
23852 * math/w_tgammal.c: Likewise.
23853 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23854 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23855 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23856 Minor optimizations. Pretty printing. Remove cruft.
23857 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23858 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23859 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23860 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23861 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23862 * sysdeps/i386/fpu/e_asin.S: Likewise.
23863 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23864 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23865 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23866 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23867 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23868 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23869 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23870 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23871 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23872 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23873 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23874 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23875 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23876 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23877 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23878 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23879 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23880 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23881 * sysdeps/i386/fpu/e_log.S: Likewise.
23882 * sysdeps/i386/fpu/e_log10.S: Likewise.
23883 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23884 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23885 * sysdeps/i386/fpu/e_log2.S: Likewise.
23886 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23887 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23888 * sysdeps/i386/fpu/e_logf.S: Likewise.
23889 * sysdeps/i386/fpu/e_logl.S: Likewise.
23890 * sysdeps/i386/fpu/e_pow.S: Likewise.
23891 * sysdeps/i386/fpu/e_powf.S: Likewise.
23892 * sysdeps/i386/fpu/e_powl.S: Likewise.
23893 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23894 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23895 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23896 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23897 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23898 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23899 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23900 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23901 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23902 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23903 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23904 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23905 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23906 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23907 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23908 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23909 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23910 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23911 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23912 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23913 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23914 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23915 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23916 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23917 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23918 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23919 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23920 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23921 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23922 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23923 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23924 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23925 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23926 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23927 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23928 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23929 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23930 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23931 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23932 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23933 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23934 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23935 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23936 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23937 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23938 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23939 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23940 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23941 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23942 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23943 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23944 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23945 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23946 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23947 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23948 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23949 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23950 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23951 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23952 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23953 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23954 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23955 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23956 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23957 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23958 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23959 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23960 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23961 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23962 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23963 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23964 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23965 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23966 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23967 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23968 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23969 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23970 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23971 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23972 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23973 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23974 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23975 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23976 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23977 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23978 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23979 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23980 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23981 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23982 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23983 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23984 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23985 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23986 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23987 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23988 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23989 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23990 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23991 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23992 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23993 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23994 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23995 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23996 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23997 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23998 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23999 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24000 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24001 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24002 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24003 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24004 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24005 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24006 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24007 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24008 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24009 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24010 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24011 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24012 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24013 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24014 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24015 (__isnanf): Likewise.
24016 (__isinf_ns): Likewise.
24017 (__isinf_nsf): Likewise.
24018 (__finite): Likewise.
24019 (__finitef): Likewise.
24020 (__ieee754_sqrt): Define as macro.
24021 (__ieee754_sqrtf): Define as macro.
24022 (__ieee754_sqrtl): Define as macro.
24023 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24025 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24026 __FINITE_MATH_ONLY__ consistent.
24027 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24029 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24031 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24034 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24036 2011-10-09 Ulrich Drepper <drepper@gmail.com>
24038 * po/ja.po: Update from translation team.
24040 2011-10-08 Roland McGrath <roland@hack.frob.com>
24042 * locale/programs/locarchive.c (prepare_address_space): New function.
24043 (create_archive, enlarge_archive, open_archive): Use it.
24045 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24046 inside [SHARED], where it is used.
24048 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24050 * nss/getent.c (netgroup_keys): Remove unused variable.
24051 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24053 2011-10-08 Ulrich Drepper <drepper@gmail.com>
24055 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24056 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24057 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24058 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24059 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24060 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24061 * math/Makefile (libm-calls): Add s_isinf_ns.
24062 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24063 * math/multc3.c: Likewise.
24064 * math/s_casin.c: Likewise.
24065 * math/s_casinf.c: Likewise.
24066 * math/s_casinl.c: Likewise.
24067 * math/s_ccos.c: Likewise.
24068 * math/s_ccosf.c: Likewise.
24069 * math/s_ccosl.c: Likewise.
24070 * math/s_ctan.c: Likewise.
24071 * math/s_ctanf.c: Likewise.
24072 * math/s_ctanh.c: Likewise.
24073 * math/s_ctanhf.c: Likewise.
24074 * math/s_ctanhl.c: Likewise.
24075 * math/s_ctanl.c: Likewise.
24076 * math/w_fmod.c: Likewise.
24077 * math/w_fmodf.c: Likewise.
24078 * math/w_fmodl.c: Likewise.
24079 * math/w_remainder.c: Likewise.
24080 * math/w_remainderf.c: Likewise.
24081 * math/w_remainderl.c: Likewise.
24082 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24083 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24084 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24085 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24086 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24087 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24088 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24089 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24091 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24093 * stdio-common/printf_fphex.c: Likewise.
24094 * stdio-common/printf_size.c: Likewise.
24096 * math/e_exp10.c: Include math_private.h using <...> not "...".
24097 * math/e_exp10f.c: Likewise.
24098 * math/e_exp10l.c: Likewise.
24099 * math/e_exp2l.c: Likewise.
24100 * math/e_j0l.c: Likewise.
24101 * math/e_j1l.c: Likewise.
24102 * math/e_jnl.c: Likewise.
24103 * math/e_lgammal_r.c: Likewise.
24104 * math/e_rem_pio2l.c: Likewise.
24105 * math/e_scalb.c: Likewise.
24106 * math/e_scalbf.c: Likewise.
24107 * math/e_scalbl.c: Likewise.
24108 * math/k_cosl.c: Likewise.
24109 * math/k_sinl.c: Likewise.
24110 * math/k_tanl.c: Likewise.
24111 * math/s_cacoshf.c: Likewise.
24112 * math/s_catan.c: Likewise.
24113 * math/s_catanf.c: Likewise.
24114 * math/s_catanh.c: Likewise.
24115 * math/s_catanhf.c: Likewise.
24116 * math/s_catanhl.c: Likewise.
24117 * math/s_catanl.c: Likewise.
24118 * math/s_ccosh.c: Likewise.
24119 * math/s_ccoshf.c: Likewise.
24120 * math/s_ccoshl.c: Likewise.
24121 * math/s_cexp.c: Likewise.
24122 * math/s_cexpf.c: Likewise.
24123 * math/s_cexpl.c: Likewise.
24124 * math/s_clog.c: Likewise.
24125 * math/s_clog10.c: Likewise.
24126 * math/s_clog10f.c: Likewise.
24127 * math/s_clog10l.c: Likewise.
24128 * math/s_clogf.c: Likewise.
24129 * math/s_clogl.c: Likewise.
24130 * math/s_csin.c: Likewise.
24131 * math/s_csinf.c: Likewise.
24132 * math/s_csinh.c: Likewise.
24133 * math/s_csinhf.c: Likewise.
24134 * math/s_csinhl.c: Likewise.
24135 * math/s_csinl.c: Likewise.
24136 * math/s_csqrt.c: Likewise.
24137 * math/s_csqrtf.c: Likewise.
24138 * math/s_csqrtl.c: Likewise.
24139 * math/s_ctan.c: Likewise.
24140 * math/s_ctanf.c: Likewise.
24141 * math/s_ctanh.c: Likewise.
24142 * math/s_ctanhf.c: Likewise.
24143 * math/s_ctanhl.c: Likewise.
24144 * math/s_ctanl.c: Likewise.
24145 * math/s_ldexp.c: Likewise.
24146 * math/s_ldexpf.c: Likewise.
24147 * math/s_ldexpl.c: Likewise.
24148 * math/s_significand.c: Likewise.
24149 * math/s_significandf.c: Likewise.
24150 * math/s_significandl.c: Likewise.
24151 * math/w_acos.c: Likewise.
24152 * math/w_acosf.c: Likewise.
24153 * math/w_acosh.c: Likewise.
24154 * math/w_acoshf.c: Likewise.
24155 * math/w_acoshl.c: Likewise.
24156 * math/w_acosl.c: Likewise.
24157 * math/w_asin.c: Likewise.
24158 * math/w_asinf.c: Likewise.
24159 * math/w_asinl.c: Likewise.
24160 * math/w_atan2.c: Likewise.
24161 * math/w_atan2f.c: Likewise.
24162 * math/w_atan2l.c: Likewise.
24163 * math/w_atanh.c: Likewise.
24164 * math/w_atanhf.c: Likewise.
24165 * math/w_atanhl.c: Likewise.
24166 * math/w_cosh.c: Likewise.
24167 * math/w_coshf.c: Likewise.
24168 * math/w_coshl.c: Likewise.
24169 * math/w_dremf.c: Likewise.
24170 * math/w_exp10.c: Likewise.
24171 * math/w_exp10f.c: Likewise.
24172 * math/w_exp10l.c: Likewise.
24173 * math/w_exp2.c: Likewise.
24174 * math/w_exp2f.c: Likewise.
24175 * math/w_fmod.c: Likewise.
24176 * math/w_fmodf.c: Likewise.
24177 * math/w_fmodl.c: Likewise.
24178 * math/w_hypot.c: Likewise.
24179 * math/w_hypotf.c: Likewise.
24180 * math/w_hypotl.c: Likewise.
24181 * math/w_j0.c: Likewise.
24182 * math/w_j0f.c: Likewise.
24183 * math/w_j0l.c: Likewise.
24184 * math/w_j1.c: Likewise.
24185 * math/w_j1f.c: Likewise.
24186 * math/w_j1l.c: Likewise.
24187 * math/w_jn.c: Likewise.
24188 * math/w_jnf.c: Likewise.
24189 * math/w_jnl.c: Likewise.
24190 * math/w_lgamma.c: Likewise.
24191 * math/w_lgamma_r.c: Likewise.
24192 * math/w_lgammaf.c: Likewise.
24193 * math/w_lgammaf_r.c: Likewise.
24194 * math/w_lgammal.c: Likewise.
24195 * math/w_lgammal_r.c: Likewise.
24196 * math/w_log.c: Likewise.
24197 * math/w_log10.c: Likewise.
24198 * math/w_log10f.c: Likewise.
24199 * math/w_log10l.c: Likewise.
24200 * math/w_log2.c: Likewise.
24201 * math/w_log2f.c: Likewise.
24202 * math/w_log2l.c: Likewise.
24203 * math/w_logf.c: Likewise.
24204 * math/w_logl.c: Likewise.
24205 * math/w_pow.c: Likewise.
24206 * math/w_powf.c: Likewise.
24207 * math/w_powl.c: Likewise.
24208 * math/w_remainder.c: Likewise.
24209 * math/w_remainderf.c: Likewise.
24210 * math/w_remainderl.c: Likewise.
24211 * math/w_scalb.c: Likewise.
24212 * math/w_scalbf.c: Likewise.
24213 * math/w_scalbl.c: Likewise.
24214 * math/w_sinh.c: Likewise.
24215 * math/w_sinhf.c: Likewise.
24216 * math/w_sinhl.c: Likewise.
24217 * math/w_sqrt.c: Likewise.
24218 * math/w_sqrtf.c: Likewise.
24219 * math/w_sqrtl.c: Likewise.
24220 * math/w_tgamma.c: Likewise.
24221 * math/w_tgammaf.c: Likewise.
24222 * math/w_tgammal.c: Likewise.
24224 * po/ja.po: Update from translation team.
24226 2011-09-29 Andreas Jaeger <aj@suse.de>
24229 * sunrpc/netname.c (netname2host): Fix logic.
24233 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24235 * math/w_remainder.c (__remainder): Likewise.
24236 * math/w_remainderf.c (__remainderf): Likewise.
24237 * math/libm-test.inc (remainder_test): Add test cases.
24239 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24241 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24244 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24246 * string/test-memcmp.c: Avoid unncessary #defines.
24247 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24249 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24251 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24252 Use new sse2 version for core i3 - i7 as it's faster
24253 than sse42 version.
24254 (bit_Prefer_PMINUB_for_stringop): New.
24255 * sysdeps/x86_64/rawmemchr.S: Update.
24256 Replace with faster SSE2 version.
24257 * sysdeps/x86_64/memrchr.S: New file.
24258 * sysdeps/x86_64/memchr.S: Update.
24259 Replace with faster SSE2 version.
24261 2011-09-12 Marek Polacek <mpolacek@redhat.com>
24263 * elf/dl-load.c (lose): Add cast to avoid warning.
24265 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24267 * po/ca.po: Update from translation team.
24269 * inet/getnetgrent_r.c: Hook up nscd.
24270 * nscd/Makefile (routines): Add nscd_netgroup.
24271 (nscd-modules): Add netgroupcache.
24272 (CFLAGS-netgroupcache.c): Define.
24273 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24274 (cache_search): Add const to second parameter.
24275 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24277 (dbs): Add netgrdb entry.
24278 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24279 (verify_persistent_db): Handle netgrdb.
24280 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24281 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24283 (netgroup_response_header): Define.
24284 (innetgroup_response_header): Define.
24285 (datahead): Add netgroup_response_header and innetgroup_response_header
24287 * nscd/nscd.conf: Add entries for netgroup cache.
24288 * nscd/nscd.h (dbtype): Add netgrdb.
24289 (_PATH_NSCD_NETGROUP_DB): Define.
24290 (netgroup_iov_disabled): Declare.
24291 (xmalloc, xcalloc, xrealloc): Move declarations here.
24292 (cache_search): Adjust prototype.
24293 Add netgroup-related prototypes.
24294 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24295 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24296 (__nscd_innetgr): Declare.
24297 * nscd/selinux.c (perms): Use access_vector_t as element type and
24298 add netgroup-related initializers.
24299 * nscd/netgroupcache.c: New file.
24300 * nscd/nscd_netgroup.c: New file.
24301 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24302 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24303 For four parameters use innetgr.
24304 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24305 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24306 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24307 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24309 * nscd/connections.c (register_traced_file): Don't register file
24310 for disabled databases.
24312 2011-10-06 Ulrich Drepper <drepper@gmail.com>
24314 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24316 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24317 from tree and freeing node.
24319 2011-09-25 Jiri Olsa <jolsa@redhat.com>
24321 * nss/nsswitch.c (__nss_database_lookup): Handle
24322 nss_parse_service_list out of memory case.
24324 2011-09-15 Jiri Olsa <jolsa@redhat.com>
24326 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24327 out of memory case.
24329 2011-10-04 Andreas Schwab <schwab@redhat.com>
24331 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24332 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24334 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24335 elf_machine_rela, elf_machine_lazy_rel.
24336 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24337 (ELF_DYNAMIC_DO_REL): Likewise.
24338 (ELF_DYNAMIC_DO_RELA): Likewise.
24339 (ELF_DYNAMIC_RELOCATE): Likewise.
24340 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24341 to ELF_DYNAMIC_DO_REL.
24342 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24343 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24344 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24346 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24347 skip_ifunc, don't call ifunc function if non-zero.
24348 (elf_machine_rela): Likewise.
24349 (elf_machine_lazy_rel): Likewise.
24350 (elf_machine_lazy_rela): Likewise.
24351 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24352 (elf_machine_lazy_rel): Likewise.
24353 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24355 (elf_machine_lazy_rel): Likewise.
24356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24358 (elf_machine_lazy_rel): Likewise.
24359 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24360 (elf_machine_lazy_rel): Likewise.
24361 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24362 (elf_machine_lazy_rel): Likewise.
24363 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24364 (elf_machine_lazy_rel): Likewise.
24365 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24366 (elf_machine_lazy_rel): Likewise.
24367 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24368 (elf_machine_lazy_rel): Likewise.
24369 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24370 (elf_machine_lazy_rel): Likewise.
24372 2011-09-28 Ulrich Drepper <drepper@gmail.com>
24374 * nss/nss_files/files-init.c (_nss_files_init): Use static
24375 initialization for all the *_traced_file variables.
24377 2011-09-28 Andreas Schwab <schwab@redhat.com>
24379 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24381 2011-09-27 Roland McGrath <roland@hack.frob.com>
24384 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24386 2011-09-27 Andreas Schwab <schwab@redhat.com>
24388 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24389 Reread the line before reparsing it.
24391 2011-09-26 Andreas Schwab <schwab@redhat.com>
24393 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24395 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24396 Maxim Kuvyrkov <maxim@codesourcery.com>
24397 Joseph Myers <joseph@codesourcery.com>
24399 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24400 if needed for __stack_chk_guard.
24402 2011-09-19 Roland McGrath <roland@hack.frob.com>
24404 * sysdeps/posix/spawni.c (script_execute): Always define it.
24405 It will be optimized away if unused.
24406 (maybe_script_execute): New function.
24407 (__spawni): Call it.
24409 * Makerules: Don't include tls.make.
24410 (config-tls): Always set to thread.
24411 * tls.make.c: File removed.
24413 2011-09-19 Mike Frysinger <vapier@gentoo.org>
24415 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24416 * config.make.in (CPPFLAGS-config): New substituted variable.
24418 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24420 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24423 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24424 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24426 2011-09-15 Roland McGrath <roland@hack.frob.com>
24428 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24429 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24430 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24431 (CALL_FAIL): Likewise.
24432 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24433 (CALL_FAIL): Macro removed.
24434 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24436 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24438 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24439 for __FINITE_MATH_ONLY__ == 1.
24441 2011-09-15 Andreas Schwab <schwab@redhat.com>
24443 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24444 __ieee754_sqrt instead of sqrt.
24445 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24446 __ieee754_sqrtf instead of sqrtf.
24447 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24448 __floorf instead of floorf.
24449 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24450 __floorf, __truncf instead of floorf, truncf.
24452 2011-09-14 Ulrich Drepper <drepper@gmail.com>
24454 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24456 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24457 __extern_always_inline.
24458 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24461 2011-09-14 Andreas Schwab <schwab@redhat.com>
24463 * elf/rtld.c (dl_main): Also relocate in dependency order when
24464 doing symbol dependency testing.
24466 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24468 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24469 Always define `refsym'.
24471 2011-09-13 Andreas Schwab <schwab@redhat.com>
24473 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24474 (__FD_ELT): Renamed from __FDELT.
24475 * misc/bits/select2.h (__FD_ELT): Likewise.
24476 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24477 __FD_MASK instead of __FDELT, __FDMASK.
24478 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24480 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24483 * elf/Makefile (gen-ldd): Fix pattern.
24485 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24486 (init_tls): Likewise.
24488 2011-09-12 Ulrich Drepper <drepper@gmail.com>
24490 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24492 2011-09-12 Andreas Schwab <schwab@redhat.com>
24494 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24495 `struct cmsghdr *' instead of `void *'.
24496 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24499 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24501 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24503 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24504 ldd_rewrite_script.
24506 2011-09-11 Ulrich Drepper <drepper@gmail.com>
24508 * configure.in: Remove --with-tls option.
24509 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24510 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24511 out in case it is missing.
24512 * sysdeps/ia64/elf/configure.in: Likewise.
24513 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24514 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24515 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24516 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24517 * sysdeps/sh/elf/configure.in: Likewise.
24518 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24519 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24520 * sysdeps/x86_64/elf/configure.in: Likewise.
24521 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24522 * sysdeps/mach/hurd/tls.h: Likewise.
24525 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24528 * configure.in: Fix use of AC_INIT.
24530 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24532 2011-09-10 Ulrich Drepper <drepper@gmail.com>
24534 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24536 * malloc/hooks.c: Likewise.
24539 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24540 variables statically.
24541 (narenas): Initialize.
24542 (list_lock): Initialize.
24543 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24544 initializtion of main_arena and list_lock. Small cleanups.
24545 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24546 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24547 Add initializers to main_arena and mp_.
24548 (malloc_state): Remove pagesize member. Change all users to use
24551 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24552 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24553 is always initialized.
24555 * malloc/malloc.c: Removed unused configurations and dead code.
24556 * malloc/arena.c: Likewise.
24557 * malloc/hooks.c: Likewise.
24558 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
24560 * include/tls.h: Removed. USE___THREAD must always be defined.
24561 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24562 * elf/dl-libc.c: Likewise.
24563 * elf/dl-tsd.c: Likewise.
24564 * include/errno.h: Likewise.
24565 * include/netdb.h: Likewise.
24566 * include/resolv.h: Likewise.
24567 * inet/herrno-loc.c: Likewise.
24568 * inet/herrno.c: Likewise.
24569 * malloc/arena.c: Likewise.
24570 * malloc/hooks.c: Likewise.
24571 * malloc/malloc.c: Likewise.
24572 * resolv/res-state.c: Likewise.
24573 * resolv/res_libc.c: Likewise.
24574 * sysdeps/i386/dl-machine.h: Likewise.
24575 * sysdeps/ia64/dl-machine.h: Likewise.
24576 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24577 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24578 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24579 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24580 * sysdeps/sh/dl-machine.h: Likewise.
24581 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24582 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24583 * sysdeps/unix/i386/sysdep.S: Likewise.
24584 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24585 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24586 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24587 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24588 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24589 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24590 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24591 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24592 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24593 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24594 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24595 * sysdeps/x86_64/dl-machine.h: Likewise.
24596 * tls.make.c: Likewise.
24598 * configure.in: Remove --with-__thread option. Make tests for
24599 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24600 tls_model attribute fail if no support is available. Remove
24602 * Makeconfig: Adjust for dropped configure option. All features are
24604 * Makerules: Likewise.
24605 * Versions.def: Likewise.
24606 * argp/argp-fmtstream.c: Likewise.
24607 * argp/argp-fmtstream.h: Likewise.
24608 * argp/argp-help.c: Likewise.
24609 * assert/assert.c: Likewise.
24610 * config.h.in: Likewise.
24611 * config.make.in: Likewise.
24612 * configure: Likewise.
24613 * configure.in: Likewise.
24614 * csu/Versions: Likewise.
24615 * csu/init.c: Likewise.
24616 * elf/tst-audit2.c: Likewise.
24617 * elf/tst-tls10.c: Likewise.
24618 * elf/tst-tls10.h: Likewise.
24619 * elf/tst-tls11.c: Likewise.
24620 * elf/tst-tls12.c: Likewise.
24621 * elf/tst-tls14.c: Likewise.
24622 * elf/tst-tlsmod11.c: Likewise.
24623 * elf/tst-tlsmod12.c: Likewise.
24624 * elf/tst-tlsmod13.c: Likewise.
24625 * elf/tst-tlsmod13a.c: Likewise.
24626 * elf/tst-tlsmod14a.c: Likewise.
24627 * elf/tst-tlsmod15b.c: Likewise.
24628 * elf/tst-tlsmod16a.c: Likewise.
24629 * elf/tst-tlsmod16b.c: Likewise.
24630 * elf/tst-tlsmod7.c: Likewise.
24631 * elf/tst-tlsmod8.c: Likewise.
24632 * elf/tst-tlsmod9.c: Likewise.
24633 * gmon/gmon.c: Likewise.
24634 * grp/fgetgrent_r.c: Likewise.
24635 * grp/putgrent.c: Likewise.
24636 * hurd/fopenport.c: Likewise.
24637 * include/libc-symbols.h: Likewise.
24638 * include/tls.h: Likewise.
24639 * intl/gettextP.h: Likewise.
24640 * intl/loadinfo.h: Likewise.
24641 * locale/global-locale.c: Likewise.
24642 * locale/localeinfo.h: Likewise.
24643 * mach/devstream.c: Likewise.
24644 * malloc/arena.c: Likewise.
24645 * malloc/set-freeres.c: Likewise.
24646 * misc/err.c: Likewise.
24647 * misc/getttyent.c: Likewise.
24648 * misc/mntent_r.c: Likewise.
24649 * posix/getopt.c: Likewise.
24650 * posix/wordexp.c: Likewise.
24651 * pwd/fgetpwent_r.c: Likewise.
24652 * resolv/Versions: Likewise.
24653 * resolv/res_hconf.c: Likewise.
24654 * shadow/fgetspent_r.c: Likewise.
24655 * shadow/putspent.c: Likewise.
24656 * stdio-common/printf_fphex.c: Likewise.
24657 * stdio-common/tmpfile.c: Likewise.
24658 * stdlib/abort.c: Likewise.
24659 * stdlib/fmtmsg.c: Likewise.
24660 * sunrpc/auth_unix.c: Likewise.
24661 * sunrpc/clnt_perr.c: Likewise.
24662 * sunrpc/clnt_tcp.c: Likewise.
24663 * sunrpc/clnt_udp.c: Likewise.
24664 * sunrpc/clnt_unix.c: Likewise.
24665 * sunrpc/openchild.c: Likewise.
24666 * sunrpc/svc_simple.c: Likewise.
24667 * sunrpc/svc_tcp.c: Likewise.
24668 * sunrpc/svc_udp.c: Likewise.
24669 * sunrpc/svc_unix.c: Likewise.
24670 * sunrpc/xdr.c: Likewise.
24671 * sunrpc/xdr_array.c: Likewise.
24672 * sunrpc/xdr_rec.c: Likewise.
24673 * sunrpc/xdr_ref.c: Likewise.
24674 * sunrpc/xdr_stdio.c: Likewise.
24676 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24678 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24680 2011-07-03 Andreas Jaeger <aj@suse.de>
24682 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24683 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24684 regenerate with gen-libm-tests.pl.
24686 2010-05-12 Petr Baudis <pasky@suse.cz>
24689 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24690 around j0() zero points by switching to j1().
24691 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24692 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24693 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24694 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24696 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24698 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24700 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24702 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24703 Patch in part by Pavel Roskin <proski@gnu.org>.
24706 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24708 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24709 Free memory block if necessary.
24712 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24713 be NULL. Don't lock in this case.
24715 2011-09-09 Roland McGrath <roland@hack.frob.com>
24717 * elf/elf.h (ELFOSABI_GNU): New macro.
24718 (ELFOSABI_LINUX): Define to that.
24720 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24722 * string/strncat.c (strncat): Undef the symbol in case it has been
24723 defined in bits/string.h.
24725 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24727 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24729 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24732 2011-08-17 Andreas Jaeger <aj@suse.de>
24734 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24736 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24737 Ian Lance Taylor <iant@google.com>
24739 * math/libm-test.inc (lround_test): New testcase.
24740 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24742 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24744 * Makefile: Remove support for automatic cvs check-ins.
24745 * Makerules: Likewise.
24746 * config.make.in: Likewise.
24747 * configure.in: Likewise.
24748 * intl/Makefile: Likewise.
24749 * locale/Makefile: Likewise.
24750 * po/Makefile: Likewise.
24751 * posix/Makefile: Likewise.
24752 * sysdeps/gnu/Makefile: Likewise.
24753 * sysdeps/mach/hurd/Makefile: Likewise.
24754 * sysdeps/sparc/sparc32/Makefile: Likewise.
24757 * posix/Makefile (bug-regex32-ENV): Define.
24758 Patch by John Stanley <jpsinthemix@verizon.net>.
24760 * misc/Makefile (headers): Add bits/select2.h.
24761 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24762 * misc/bits/select2.h: New file.
24763 * include/bits/select2.h: New file.
24764 * debug/Makefile (routines): Add fdelt_chk.
24765 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24766 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24768 * debug/fdelt_chk.c: New file.
24770 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24771 * wcsmbs/test-wmemcmp.c: Likewise.
24772 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24773 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24775 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24777 * string/Makefile (strop-tests): Add memcmp.
24778 * string/test-wmemcmp.c: New file.
24779 * string/test-memcmp.c: Add wmemcmp support.
24781 2011-09-08 Roland McGrath <roland@hack.frob.com>
24784 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24787 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24788 garbage value in a __mach_port_mod_refs call in the cases of the
24789 task-self and thread-self ports.
24791 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24793 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24795 2011-09-08 Andreas Schwab <schwab@redhat.com>
24797 * elf/dl-load.c (lose): Check for non-null L.
24799 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24801 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24803 * elf/dl-libc.c (dlerror_run): Pass back error code from
24807 * elf/dl-load.c (lose): Free l_origin if it is valid.
24809 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24811 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24812 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24813 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24814 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24815 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24816 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24818 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24820 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24821 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24822 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24823 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24824 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24825 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24826 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24827 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24828 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24829 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24831 2011-08-15 Alan Modra <amodra@gmail.com>
24834 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24835 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24836 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24837 ppc_mcount to static-only-routines.
24838 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24840 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24841 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24843 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24845 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24846 for finite and infinity parameters.
24848 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24850 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24851 and add nop instructions for throughput optimization.
24852 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24854 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24856 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24857 aligned copy for power7 with vector-scalar instructions.
24858 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24860 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24862 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24865 2011-09-07 Andreas Schwab <schwab@redhat.com>
24868 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24871 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24873 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24874 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24875 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24876 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24879 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24881 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24882 Forgot to demangle the pointer.
24884 * sysdeps/i386/sysdep.h: Define atom_text_section.
24885 * sysdeps/x86_64/sysdep.h: Likewise.
24886 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24887 section with atom_text_section.
24888 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24889 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24890 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24891 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24892 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24894 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24895 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24896 already be defined. Change to take two parameters and don't assign
24897 result to variable. Adjust all users.
24898 Define INTERNAL_GETTIME if not already defined.
24899 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24901 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24902 HAVE_CLOCK_GETTIME_VSYSCALL.
24903 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24905 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24906 gettimeofday vsyscall, just use time.
24908 2011-09-06 Andreas Schwab <schwab@redhat.com>
24910 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24913 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24915 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24917 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24919 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24920 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24921 syscall if possible.
24923 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24925 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24926 e_ident. Don't pass to find_mapsXX.
24927 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24929 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24931 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24932 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24933 * sysdeps/x86_64/multiarch/strchr.S: Update.
24934 Check bit_slow_BSF bit.
24935 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24936 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24937 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24939 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24942 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24944 (tryshell): Define.
24945 (__spawni): Change last parameter to be flag. Test
24946 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24947 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24948 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24949 * posix/spawni.c: Likewise.
24950 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24951 * posix/spawnp.c: Likewise. Change normal version to use
24952 SPAWN_XFLAGS_USE_PATH.
24953 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24954 SPAWN_XFLAGS_TRY_SHELL.
24957 * posix/glob.h: Remove gcc 1.x support.
24960 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24962 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24964 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24965 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24967 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24968 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24969 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24970 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24971 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24972 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24974 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24976 * sysdeps/x86_64/wcscmp.S: New file.
24978 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24979 wcscmp-c wcscmp-sse2
24980 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24981 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24982 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24983 * wcsmbs/wcscmp.c: Allow renaming.
24985 2011-09-05 David S. Miller <davem@davemloft.net>
24987 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24988 stack slot, rather than the struct return pointer slot.
24989 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24990 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24992 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24994 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24996 * po/ja.po: Update from translation team.
24999 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25000 kernel in 64-bit binaries.
25002 2011-09-01 David S. Miller <davem@davemloft.net>
25004 * elf/elf.h (HWCAP_SPARC_*): Move to..
25005 * sysdeps/sparc/sysdep.h: this new file and add new values.
25006 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25007 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25008 _DL_HWCAP_COUNT to 24.
25009 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25011 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25012 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25013 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25014 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25015 instead of magic constants.
25016 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25018 2011-08-31 David S. Miller <davem@davemloft.net>
25020 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25021 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25022 Reimplement to do errno handling inline.
25023 (SYSCALL_ERROR_HANDLER): New macro.
25024 (__SYSCALL_STRING): Do not do errno handling in asm.
25025 (__CLONE_SYSCALL_STRING): Delete.
25026 (__INTERNAL_SYSCALL_STRING): Delete.
25027 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25028 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25029 (PSEUDO): Reimplement to do errno handling inline.
25030 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25031 (SYSCALL_ERROR_HANDLER): New macro.
25032 (__SYSCALL_STRING): Do not do errno handling in asm.
25033 (__CLONE_SYSCALL_STRING): Delete.
25034 (__INTERNAL_SYSCALL_STRING): Delete.
25035 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25036 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25038 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25039 (inline_syscall*): Add 'err' argument.
25040 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25041 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25042 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25043 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25045 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25046 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25048 2011-08-30 Andreas Schwab <schwab@redhat.com>
25050 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25052 2011-08-29 Jiri Olsa <jolsa@redhat.com>
25054 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25057 2011-08-24 David S. Miller <davem@davemloft.net>
25059 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25061 2011-08-24 Andreas Schwab <schwab@redhat.com>
25063 * elf/Makefile: Add rules to build and run unload8 test.
25064 * elf/unload8.c: New file.
25065 * elf/unload8mod1.c: New file.
25066 * elf/unload8mod1x.c: New file.
25067 * elf/unload8mod2.c: New file.
25068 * elf/unload8mod3.c: New file.
25070 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25073 2011-08-23 David S. Miller <davem@davemloft.net>
25075 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25076 subtract stack bias.
25077 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25078 %sp not %fp in calculations.
25079 (_JMPBUF_UNWINDS_ADJ): Likewise.
25081 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25082 (aio_suspend): Call it to force an exception region around the
25083 AIO_MISC_WAIT() invocation.
25085 2011-08-23 Andreas Schwab <schwab@redhat.com>
25087 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25090 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25092 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25094 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25095 and <dl-machine.h>.
25096 (Elf64_FuncDesc): Remove.
25098 2011-08-22 David S. Miller <davem@davemloft.net>
25100 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25101 sigaltstack check, add missing cfi directives.
25102 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25103 missing cfi directives, and sigaltstack handling.
25105 2011-08-16 Andreas Schwab <schwab@redhat.com>
25108 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25109 object is seen twice.
25110 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25112 * elf/Makefile (distribute): Add tst-initorder2.c.
25113 (tests): Add tst-initorder2.
25114 (modules-names): Add tst-initorder2a tst-initorder2b
25115 tst-initorder2c tst-initorder2d. Add rules to build them.
25116 ($(objpfx)tst-initorder2.out): New rule.
25117 * elf/tst-initorder2.c: New file.
25118 * elf/tst-initorder2.exp: New file.
25120 2011-08-22 Andreas Schwab <schwab@redhat.com>
25122 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25124 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25125 dependencies back to end of function.
25127 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25128 $(elfobjdir)/ld.so.
25130 2011-08-21 Ulrich Drepper <drepper@gmail.com>
25132 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25133 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25134 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25135 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25136 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25137 of __vdso_gettimeofday.
25138 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25139 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
25141 (_libc_vdso_platform_setup): Remove initialization of
25142 __vdso_gettimeofday and __vdso_time.
25144 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25146 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25147 and fgetc_unlocked.
25148 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25151 * elf/dl-open.c (add_to_global): Report additions to the global scope
25152 for LD_DEBUG=scopes.
25153 (dl_open_worker): Also print scope of newly loaded dependencies.
25154 (_dl_show_scope): Indicate if there is no scope.
25157 * stdio-common/Makefile (tests): Add bug24.
25158 * stdio-common/bug24.c: New file.
25160 2011-08-19 Andreas Jaeger <aj@suse.de>
25163 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25164 non-existant file when using close-on-exec mode.
25166 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25168 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25169 the very first instruction.
25171 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25172 the CFI state in the end.
25173 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25174 inclusion of dl-trampoline.h.
25175 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25177 2011-08-19 Andreas Schwab <schwab@redhat.com>
25179 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25180 expectations for long double.
25182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25183 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25185 2011-08-14 David S. Miller <davem@davemloft.net>
25187 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25188 artificual limit depends upon the system page size.
25190 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25192 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25193 * resolv/Makefile: Define CFLAGS-libresolv.
25195 2011-08-17 Andreas Schwab <schwab@redhat.com>
25197 * nss/makedb.c (compute_tables): Make variables used in nested
25200 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25202 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25203 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25204 if buffer was too small.
25206 * elf/pldd.c (main): Attach to all threads in the process.
25207 Rewrite /proc handling to use *at functions.
25209 2011-08-16 Ulrich Drepper <drepper@gmail.com>
25211 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25212 specifies first scope to show.
25213 (dl_open_worker): Update callers. Move printing scope of new
25214 object to before the relocation.
25215 * elf/rtld.c (dl_main): Update _dl_show_scope call.
25216 * sysdeps/generic/ldsodefs.h: Update declaration.
25218 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25219 string for the scope number.
25221 2011-08-14 Ulrich Drepper <drepper@gmail.com>
25223 * nscd/servicescache.c (cache_addserv): Make sure written is always
25226 2011-08-14 Roland McGrath <roland@hack.frob.com>
25228 * sysdeps/i386/i486/bits/atomic.h
25229 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25230 statement expression, so as to suppress "set but not used" warning.
25231 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25233 * string/strncat.c (STRNCAT): Use prototype definition.
25235 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25236 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25238 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25239 (localedef-modules): Add localedef.
25240 (locale-modules): Add locale.
25242 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25243 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25244 to avoid a warning.
25246 2011-08-14 David S. Miller <davem@davemloft.net>
25248 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25249 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25251 2011-08-13 Ulrich Drepper <drepper@gmail.com>
25253 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
25254 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25255 * elf/rtld.c (dl_main): Set l_name of vDSO.
25256 Call _dl_show_scope when DL_DEBUG_SCOPES.
25257 (process_dl_debug): Recognize scopes flag and also set it for all.
25258 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25259 Declare _dl_show_scope.
25261 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25262 (do_dlopen): Pass caller_dlopen to dl_open.
25263 (__libc_dlopen_mode): Initialize caller_dlopen.
25265 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25266 of libc. Make tolower call locale-independent. Optimize a bit by
25267 using isdigit instead of isalnum.
25268 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25270 2011-08-12 Ulrich Drepper <drepper@gmail.com>
25272 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25273 was a dependency or dynamically loaded.
25275 2011-08-11 Ulrich Drepper <drepper@gmail.com>
25277 * intl/l10nflist.c: Allow architecture-specific pop function.
25278 * sysdeps/x86_64/l10nflist.c: New file.
25280 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25283 2011-08-10 Andreas Schwab <schwab@redhat.com>
25285 * include/dirent.h: Add libc_hidden_proto for scandirat and
25286 scandirat64. Don't declare __scandirat64.
25287 * dirent/scandirat.c: Add libc_hidden_def.
25288 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25289 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25291 2011-08-10 David S. Miller <davem@davemloft.net>
25293 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25295 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25296 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25297 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25299 2011-08-09 Ulrich Drepper <drepper@gmail.com>
25301 * Versions.def [libc]: Add GLIBC_2.15.
25302 * dirent/Makefile (routines): Add scandirat and scandirat64.
25303 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25305 * dirent/dirent.h: Declare scandirat and scandirat64.
25306 * dirent/scandirat.c: New file.
25307 * dirent/scandirat64.c: New file.
25308 * sysdeps/wordsize-64/scandirat.c: New file.
25309 * sysdeps/wordsize-64/scandirat64.c: New file.
25310 * dirent/opendir.c: Define opendirat.
25311 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25313 * dirent/scandir64.c: Adjust for scandir.c change.
25314 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25315 __scandirat64, and __scandir_cancel_handler.
25316 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25317 additional parameter and use openat instead of open (outside of ld.so).
25318 Add new __opendir as wrapper around __opendirat.
25319 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25320 here without requiring old scandirat implementation.
25322 2011-08-08 Ulrich Drepper <drepper@gmail.com>
25324 * dirent/scandir.c (cancel_handler): Renamed to
25325 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25326 defined. Adjust users.
25327 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25328 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25330 2011-08-04 Ulrich Drepper <drepper@gmail.com>
25332 * string/test-string.h (IMPL): Use __STRING to expand name and then
25335 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25338 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25340 * string/Makefile: Update.
25341 (strop-tests): Append strncat.
25342 * string/test-wcscmp.c: New file.
25343 New comprehensive test for wcscmp.
25344 * string/test-strcmp.c: Update.
25345 (WIDE): New define.
25347 2011-07-22 Andreas Schwab <schwab@redhat.com>
25349 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25352 2011-07-26 Andreas Schwab <schwab@redhat.com>
25354 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25355 encoding to ACE if AI_IDN.
25357 2011-08-01 Jakub Jelinek <jakub@redhat.com>
25359 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25360 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25362 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25364 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25365 Fix overflow bug in strncat.
25366 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25368 * string/test-strncat.c: Update.
25369 Add new tests for checking overflow bugs.
25371 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25373 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25374 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25375 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25376 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25377 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25378 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25379 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25380 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25381 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25383 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25384 (USE_AS_STRCAT): Define.
25385 Add strcat and strncat support.
25386 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25388 2011-07-25 Andreas Schwab <schwab@redhat.com>
25390 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25391 __n bigger than INT_MAX+1.
25392 (__strncmp_g): Likewise.
25394 2011-07-23 Ulrich Drepper <drepper@gmail.com>
25396 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25397 * libio/stido.h: Likewise.
25399 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25401 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25404 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25405 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25406 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25407 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25408 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25411 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25414 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25416 (_dl_x86_64_save_sse): Likewise.
25418 2011-07-22 Ulrich Drepper <drepper@gmail.com>
25420 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25422 (_dl_x86_64_save_sse): Likewise.
25424 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25426 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25428 2011-07-21 Andreas Schwab <schwab@redhat.com>
25430 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25432 (_dl_x86_64_save_sse): Use correct AVX check.
25434 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25436 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25437 bug in strncpy/strncat.
25438 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25440 2011-07-21 Ulrich Drepper <drepper@gmail.com>
25442 * string/tester.c (test_strcat): Add tests for different alignments
25443 of source and destination.
25444 (test_strncat): Likewise.
25446 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25449 * posix/glob.c (glob): Check passed in values before using them in
25450 expressions to avoid some overflows.
25451 (glob_in_dir): Likewise.
25454 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25455 check for AVX enablement so that we don't crash with old kernels and
25457 * elf/tst-audit4.c: Add same checks here.
25458 * elf/tst-audit6.c: Likewise.
25460 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
25462 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25464 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25466 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25468 * po/cs.po: Update from translation team.
25469 * po/bg.po: Likewise.
25471 2011-07-12 Marek Polacek <mpolacek@redhat.com>
25473 * misc/sys/cdefs.h: Add support for const attribute.
25474 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25475 to gnu_dev_{major,minor,makedev} functions.
25477 2011-07-20 Marek Polacek <mpolacek@redhat.com>
25479 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25481 2011-07-20 Andreas Schwab <schwab@redhat.com>
25483 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25486 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25488 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25489 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25490 register in order to avoid conflicts with the soft frame pointer
25491 being held in r11 when necessary.
25492 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25493 (INTERNAL_VSYSCALL_NCS): Likewise.
25495 2011-07-14 Marek Polacek <mpolacek@redhat.com>
25497 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25498 * elf/dl-fini.c (_dl_fini): Adjust caller.
25499 * elf/dl-close.c (_dl_close_worker): Likewise.
25500 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25502 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25504 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25505 "aux_cache->nlibs < 0".
25507 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25508 in the reload-count case.
25510 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25512 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25513 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25514 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25515 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25516 * sysdeps/x86_64/multiarch/strcat.S: New file.
25517 * sysdeps/x86_64/multiarch/strncat.S: New file.
25518 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25519 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25520 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25521 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25522 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25523 (USE_AS_STRCAT): Define.
25524 Add strcat and strncat support.
25525 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25526 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25527 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25528 * string/strncat.c: Update.
25529 (USE_AS_STRNCAT): Define.
25530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25531 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25533 * sysdeps/x86_64/multiarch/init-arch.h
25534 (bit_Prefer_PMINUB_for_stringop): New.
25535 (index_Prefer_PMINUB_for_stringop): Likewise.
25536 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25537 bit_Prefer_PMINUB_for_stringop.
25539 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25541 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25543 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25544 of casting of buffer.
25545 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25546 buffer32 and buffer64.
25547 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25548 writes instead of casting of buffer.
25549 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25551 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25554 2011-07-19 Andreas Schwab <schwab@redhat.com>
25556 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25558 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25560 * nscd/nscd.c (termination_handler): Don't do anything for a database
25561 if it has not yet been initialized.
25563 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25565 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25567 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25569 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25571 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25573 * po/nl.po: Update from translation team.
25574 * po/sv.po: Likewise.
25576 2011-07-16 Roland McGrath <roland@hack.frob.com>
25578 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25579 now disallowed by GCC.
25581 * configure.in (use-default-link): Default to yes if a test -shared
25582 link meets our qualifications.
25583 * configure: Regenerated.
25585 * config.make.in (output-format): New variable.
25586 * configure.in: Check for ld --print-output-format support.
25587 * configure: Regenerated.
25588 * Makerules ($(common-objpfx)format.lds)
25589 [$(output-format) != unknown]: Just use $(output-format),
25590 instead of the linker-script munging.
25592 2011-07-14 Roland McGrath <roland@hack.frob.com>
25594 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25595 of $(common-objpfx)shlib.lds.
25596 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25598 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25599 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25601 * configure.in (-z relro check): Adjust test code to add a large
25602 writable data section after it.
25603 * configure: Regenerated.
25605 2011-07-11 Roland McGrath <roland@hack.frob.com>
25607 * configure.in (-z relro check): Fix test code to make the variable
25609 * configure: Regenerated.
25611 2011-07-11 Ulrich Drepper <drepper@gmail.com>
25613 * nscd/nscd.h (struct traced_file): Define.
25614 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25615 elements. Add traced_files.
25616 (inotify_fd): Declare.
25617 (register_traced_file): Declare.
25618 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25619 (inotify_fd): Export.
25620 (resolv_conf_descr): Remove.
25621 (nscd_init): Move inotify descriptor creation to main.
25622 Don't register files for notification here.
25623 (register_traced_file): New function.
25624 (invalidate_cache): Don't use reset_res to determine whether to call
25625 res_init, go through the list of registered files.
25626 (main_loop_poll): The inotify descriptors are now stored in the
25627 structures for the traced files.
25628 (main_loop_epoll): Likewise
25629 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25630 to __nss_disable_nscd.
25631 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25632 for a database anymore. Check the records for all the registered
25634 * nss/Makefile (libnss_files-routines): Add files-init.
25635 (libnss_db-routines): Add db-init.
25636 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25637 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25638 * nss/nss_db/db-init.c: New file.
25639 * nss/nss_files/files-init.c: New file.
25640 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25641 __nss_lookup_function.
25642 (__nss_lookup_function): Call nss_load_library.
25643 (nss_load_all_libraries): New function.
25644 (__nss_disable_nscd): Take parameter with callback function for files
25645 to register. Set is_nscd. Load all the DSOs for the NSS modules
25646 used for the cached services.
25647 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25648 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25649 options for features to all the files in nscd.
25651 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25653 2011-07-10 Roland McGrath <roland@hack.frob.com>
25655 * csu/elf-init.c (__libc_csu_init): Comment typo.
25657 2011-07-09 Ulrich Drepper <drepper@gmail.com>
25659 * po/pl.po: Update from translation team.
25660 * po/ja.po: Likewise.
25661 * po/ru.po: Likewise.
25662 * po/ko.po: Likewise.
25663 * po/fr.po: Likewise.
25665 2011-07-09 Roland McGrath <roland@hack.frob.com>
25667 * configure.in (.ctors/.dtors header and trailer check):
25668 Use an empirical test on a built program.
25669 * configure: Regenerated.
25671 * configure.in (-z relro check): Use an empirical test on a built DSO.
25672 Detect, but do not require, on ia64.
25673 * configure: Regenerated.
25675 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25676 Update tests that use readelf to use $READELF instead.
25677 * configure: Regenerated.
25679 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25681 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25682 if the result is not used.
25684 2011-07-05 Andreas Jaeger <aj@suse.de>
25687 * stdlib/tst-strtod.c: Add testcase.
25689 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25691 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25692 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25693 The latter has a higher limit. Take additional parameter to pass to
25695 (__pathconf): Pass file to __statfs_link_max.
25696 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25698 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25702 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25703 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25705 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25706 (__statfs_filesize_max): Likewise.
25707 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25709 2011-07-05 Andreas Jaeger <aj@suse.de>
25711 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25713 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25715 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25717 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25720 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25722 * Makefile (strop-tests): Add strncat.
25723 * string/test-strncat.c: New file.
25725 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25727 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25729 2011-06-21 Andreas Jaeger <aj@suse.de>
25731 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25732 Copy rule from iconvdata/Makefile.
25734 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25737 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25738 but no long options are defined, just return 'W'.
25740 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25743 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25745 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25747 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25749 (innetgr): Likewise.
25751 2011-07-05 Roland McGrath <roland@hack.frob.com>
25753 * config.make.in (install_root): Default to $(DESTDIR).
25755 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25757 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25759 2011-07-02 Roland McGrath <roland@hack.frob.com>
25761 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25763 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25764 containing directory rather than embedding absolute directory names.
25766 * scripts/check-local-headers.sh: Rewritten using awk.
25767 Match by word, not by line. Print error messages for matches.
25768 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25770 * Makerules [shlib-lds-flags empty]:
25771 ($(common-objpfx)libc_pic.opts): New target.
25772 ($(common-objpfx)libc_pic.os.clean): New target.
25773 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25775 * config.make.in (OBJCOPY): New variable.
25776 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25777 * configure: Regenerated.
25779 * config.make.in (use-default-link): New variable.
25780 * configure.in (use_default_link): Grok --with-default-link to set it.
25781 * configure: Regenerated.
25782 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25783 (shlib-lds, shlib-lds-flags): Define to empty.
25785 * Makerules (shlib-lds): New variable.
25786 (shlib-lds-flags): New variable.
25787 (build-shlib, build-moduile, build-module-asneeded): Use it.
25788 ($(common-objpfx)libc.so): Use $(shlib-lds).
25789 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25790 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25792 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25793 DT_FLAGS/DT_FLAGS_1 with zero flags.
25795 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25796 linker script munging.
25798 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25800 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25802 * crypt/sha512.c (sha512_process_block): Perform total addition using
25803 128-bit if possible.
25804 (__sha512_finish_ctx): Likewise.
25805 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25807 * crypt/sha256.c (SWAP64): Define.
25808 (sha256_process_block): Perform total addition using 64-bit if
25810 (__sha256_finish_ctx): Likewise.
25812 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25814 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25815 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25816 * nscd/hstcache.c (cache_addhst): Likewise.
25817 * nscd/grpcache.c (cache_addgr): Likewise.
25818 * nscd/aicache.c (addhstaiX): Likewise
25819 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25821 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25823 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25824 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25825 * nscd/hstcache.c (cache_addhst): Likewise.
25826 * nscd/grpcache.c (cache_addgr): Likewise.
25827 * nscd/aicache.c (addhstaiX): Likewise
25829 2011-07-01 Andreas Schwab <schwab@redhat.com>
25831 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25832 domain only when needed.
25834 2011-06-30 Andreas Schwab <schwab@redhat.com>
25836 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25837 is always restored.
25839 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25841 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25842 are re-adding the entry.
25843 * nscd/servicescache.c (cache_addserv): Likewise.
25845 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25847 * sysdeps/generic/dl-irel.h: fix protection against multiple
25849 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25851 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25854 * malloc/memusage.sh: Fix quoting in message.
25855 * debug/xtrace.sh: Likewise.
25857 * configure.in: Remove support for --experimental-malloc option, make
25859 * config.make.in: Likewise.
25860 * malloc/Makefile: Likewise.
25862 2011-06-27 Andreas Schwab <schwab@redhat.com>
25864 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25865 two-byte characters.
25867 2011-06-27 Roland McGrath <roland@hack.frob.com>
25869 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25870 AC_CACHE_CHECK invocation.
25871 * configure: Regenerated.
25873 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25875 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25878 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25879 bit from old_res_options.
25881 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25883 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25884 value type for setfct.
25886 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25888 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25889 __gettimeofday instead of gettimeofday.
25891 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25893 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25895 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25897 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25899 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25902 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25905 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25906 strcpy-sse2-unaligned strncpy-sse2-unaligned
25907 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25908 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25909 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25910 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25911 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25912 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25913 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25914 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25915 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25916 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25917 (STRCPY): Support SSE2 and SSSE3 versions.
25919 2011-06-24 Ulrich Drepper <drepper@gmail.com>
25922 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25923 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25924 kernels which artificially limit size of requests.
25926 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25929 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25930 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25931 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25932 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25933 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25934 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25935 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25936 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25937 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25938 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25939 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25940 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25941 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25942 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25944 Enable unaligned load optimization for Intel Core i3, i5 and i7
25946 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25948 (index_Fast_Unaligned_Load): Define.
25949 (HAS_FAST_UNALIGNED_LOAD): Define.
25951 2011-06-23 Marek Polacek <mpolacek@redhat.com>
25953 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25955 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25958 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25959 until it is clear that the information is realy needed.
25960 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25962 2011-06-22 Andreas Schwab <schwab@redhat.com>
25964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25966 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25968 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25969 /sys/devices/system/cpu/online if it is usable.
25971 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25972 reading the information from the /proc filesystem to once a second.
25974 2011-06-21 Andreas Jaeger <aj@suse.de>
25976 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25977 NULL after inclusion of kernel headers.
25979 2011-06-21 Ulrich Drepper <drepper@gmail.com>
25981 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25982 calls to internal_setent.
25985 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25986 addresses using gethostbyname4_r ignore IPv4 addresses.
25988 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25989 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25991 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25993 2011-06-20 David S. Miller <davem@davemloft.net>
25995 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25997 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25999 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26000 (elf_irel): Use it.
26001 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26002 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26003 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26004 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26005 * sysdeps/x86_64/dl-irel.h: Likewise.
26007 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26008 * elf/dl-sym.c: Likewise.
26010 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26012 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26013 need to dereference resplen2.
26015 2011-06-14 Andreas Schwab <schwab@redhat.com>
26017 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26019 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26021 * Makeconfig: Define vardbdir and inst_vardbdir.
26022 * nss/Makefile: Add rules to install db-Makefile.
26024 * nss/nss_db/db-XXX.c: Cleanup.
26026 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26027 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26029 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26030 * nss/makedb.c: Implement -g option to specify that value strings
26031 are generated and should not be added to table iterated over for
26033 * nss/nss_db/db-initgroups.c: New file.
26035 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26038 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26039 (internal_getgrouplist): Adjust to name change.
26040 Update use_initgroups_entry if this is not the first call.
26041 * nss/databases.def: Add initgroups entry.
26043 * nss/makedb.c (compute_tables): Check result of multiple hash table
26044 sizes to minimize maximum chain length.
26046 2011-06-14 Ulrich Drepper <drepper@gmail.com>
26048 * Versions.def: Add entry for libnss_db.
26049 * shlib-versions: Likewise.
26050 * nss/Makefile: Add rules to build libnss_db.
26051 * nss/Versions: Add libnss_db information. Organize libnss_files
26053 * nss/db-Makefile: Add gshadow support. Change rules for the new
26054 makedb progra. Some minor improvements to generate smaller files.
26055 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26057 * nss/makedb.c: ...here.
26058 Improve database format to be smaller and require less memory at
26060 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26062 * nss/nss_db/db-netgrp.c: Likewise.
26063 * nss/nss_db/db-open.c: Likewise.
26064 * nss/nss_files/flies-XXX.x: Adjust comments.
26065 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26066 * nss/nss_files/files-grp.c: Likewise.
26067 * nss/nss_files/files-hosts.c: Likewise.
26068 * nss/nss_files/files-network.c: Likewise.
26069 * nss/nss_files/files-proto.c: Likewise.
26070 * nss/nss_files/files-pwd.c: Likewise.
26071 * nss/nss_files/files-rpc.c: Likewise.
26072 * nss/nss_files/files-service.c: Likewise.
26073 * nss/nss_files/files-sgrp.c: Likewise.
26074 * nss/nss_files/files-spwd.c: Likewise.
26075 * nss/nss_db/db-alias.c: Removed.
26076 * nss/nss_db/dummy-db.h: Removed.
26078 2011-06-02 Ulrich Drepper <drepper@gmail.com>
26080 * nss/makedb.c: Rewritten to not use database library.
26081 * nss/Makefile: Update to build new makedb program.
26083 2011-06-14 Andreas Jaeger <aj@suse.de>
26085 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26086 memset declaration.
26088 2011-06-10 Andreas Schwab <schwab@redhat.com>
26090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26093 2011-06-10 Roland McGrath <roland@hack.frob.com>
26095 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26096 * elf/Makefile ($(objpfx)ld.so): Likewise.
26098 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26099 Don't list ld.so twice in dependencies.
26101 * posix/bug-regex31.c: Include <stdlib.h>.
26103 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26105 * nis/nss_compat/compat-spwd.c
26106 (getspent_next_nss_netgr): Remove unused variable.
26107 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26109 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26110 nonmembers" output to use the right array.
26112 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26114 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26116 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26117 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26118 * catgets/gencat.c (read_input_file): Likewise.
26119 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26121 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26122 variable definition inside #if's controlling its use.
26124 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26126 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26128 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26130 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26133 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26135 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26136 * configure: Regenerated.
26138 * Makerules: Revert last change.
26139 * elf/Makefile: Likewise.
26141 2011-06-09 Roland McGrath <roland@hack.frob.com>
26143 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26144 * elf/Makefile ($(objpfx)librtld.os): Likewise.
26145 (reloc-link): Likewise.
26147 2011-06-09 Ulrich Drepper <drepper@gmail.com>
26149 * elf/Makefile: Add rules to build pldd.
26150 * elf/pldd.c: New file.
26151 * elf/pldd-xx.c: New file.
26153 2011-06-07 Ulrich Drepper <drepper@gmail.com>
26155 * version.h: Update for 2.15 development version.
26157 2011-06-07 David S. Miller <davem@davemloft.net>
26159 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26161 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26162 elf_machine_lazy_rel): Likewise.
26163 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26164 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26165 elf_machine_lazy_rel): Likewise.
26166 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26167 dl_hwcap via passed in argument.
26168 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26171 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26173 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26175 2011-06-06 Roland McGrath <roland@hack.frob.com>
26178 * manual/fdl-1.1.texi: New file, verbatim from:
26179 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26180 * manual/lgpl-2.1.texi: New file, verbatim from:
26181 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26182 * manual/Makefile (licenses): New variable, list those new file names.
26184 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26186 * manual/fdl.texi: File removed.
26187 * manual/lesser.texi: File removed.
26188 * manual/libc.texinfo (Copying, Documentation License):
26189 Use new @include file names, put @appendix directive before @include.
26191 2011-06-04 Jakub Jelinek <jakub@redhat.com>
26194 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26195 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26196 (mq_open): Add __NTH.
26198 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26201 Assume Intel Core i3/i5/i7 processor if AVX is available.
26203 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26205 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26208 2011-05-31 Andreas Schwab <schwab@redhat.com>
26210 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26211 memory. Use alloca_account. Fix memory leak when retrying.
26213 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26215 * version.h (RELEASE): Bump for 2.14 release.
26216 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26218 * config.make.in (RANLIB): Remove entry.
26220 2011-05-30 Ulrich Drepper <drepper@gmail.com>
26222 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26223 (libc.pot): Work around missing support for .ksh extension in xgettext.
26226 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26227 if both request failed.
26228 (send_dg): In case of server errors clear resplen or *resplen2.
26231 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26232 when there are multiple maps.
26233 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26234 (_dl_fini): Remove test here.
26236 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26238 2011-05-29 Ulrich Drepper <drepper@gmail.com>
26241 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26242 bit from old_res_options.
26243 (gaih_inet): Likewise.
26246 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
26249 * resolv/res_init.c (res_setoptions): Make the code more compact.
26252 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26256 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26258 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26261 * malloc/malloc.h: Declare malloc hook variables as volatile.
26263 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26267 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
26268 raise in the comment.
26269 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26270 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26271 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
26273 2011-05-28 Ulrich Drepper <drepper@gmail.com>
26276 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26277 grow the buffers more if it already has to be sufficient.
26278 (build_wcs_upper_buffer): Likewise.
26279 * posix/regexec.c (check_matching): Likewise.
26280 (clean_state_log_if_needed): Likewise.
26281 (extend_buffers): Don't enlarge buffers beyond size of the input
26283 Patches mostly by Emil Wojak <emil@wojak.eu>.
26284 * posix/bug-regex32.c: New file.
26285 * posix/Makefile (tests): Add bug-regex32.
26287 * locale/findlocale.c (_nl_find_locale): Return right away if
26288 _nl_explode_name failed.
26289 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26291 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26293 * debug/xtrace.sh: Unify messages.
26294 * malloc/memusage.sh: Likewise.
26297 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26298 time symbol from vDSO. Substitute with vsyscall if not available.
26299 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26302 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26303 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26304 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26305 Add sendmmsg and internal_sendmmsg.
26306 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26307 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26308 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26310 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26311 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26312 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26314 2011-05-27 Ulrich Drepper <drepper@gmail.com>
26317 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26318 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26320 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26324 * iconvdata/Makefile (tests): Add bug-iconv9.
26325 * iconvdata/bug-iconv9.c: New file.
26327 2011-05-27 Andreas Schwab <schwab@redhat.com>
26330 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26332 2011-05-25 Jakub Jelinek <jakub@redhat.com>
26334 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26335 (struct user_regs_struct): Change intcs field back to cs.
26337 2011-05-25 Ulrich Drepper <drepper@gmail.com>
26339 * po/ja.po: Update from translation team.
26341 2011-05-23 Ulrich Drepper <drepper@gmail.com>
26344 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26345 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26347 2011-05-20 Andreas Schwab <schwab@redhat.com>
26349 * stdlib/longlong.h: Update from GCC.
26351 2011-05-23 Andreas Schwab <schwab@redhat.com>
26353 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26355 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26356 Add parameter name.
26357 (__sysconf): Pass it down.
26359 2011-05-22 Ulrich Drepper <drepper@gmail.com>
26362 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26364 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26365 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26366 add in in __libc_use_alloca calls. Adjust callers.
26367 (glob): Use malloc in some situations.
26369 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26370 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26373 2011-05-21 Ulrich Drepper <drepper@gmail.com>
26375 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26376 and CLOCK_BOOTTIME_ALARM.
26379 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26382 * string/_strerror.c (__strerror_r): Print negative errors as signed
26386 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26387 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26388 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26390 * configure.in: Fix typo in redirection and correct removal of test
26391 files in two cases.
26394 * locale/setlocale.c (new_composite_name): Fix test to check for
26395 identical name of all categories.
26398 * libio/filedoalloc.c (local_isatty): New function.
26399 (_IO_file_doallocate): Use local_isatty.
26400 * stdio-common/perror.c (perror): In case a new stream is used
26401 forward the stream error.
26402 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26405 2011-05-20 Ulrich Drepper <drepper@gmail.com>
26408 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26410 * include/alloca.h (extend_alloca_account): Define.
26413 * posix/regex.h: Fix comments with documentation of user-accessible
26414 fields after compilation and describe correct free'ing of pattern
26415 after re_compile_pattern.
26416 Patch by Reuben Thomas <rrt@sc3d.org>.
26418 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26420 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26421 and -mno-altivec to prevent the compiler from using Altivec and/or
26422 VSX instructions when the corresponding registers are not available.
26424 2011-05-19 Andreas Schwab <schwab@redhat.com>
26426 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26428 2011-05-19 Ulrich Drepper <drepper@gmail.com>
26430 * libio/freopen.c (freopen): Use __dup2, not dup2.
26431 * libio/freopen64.c (freopen64): Likewise.
26433 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26436 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26437 * math/Makefile (tests): Add test-powl.
26438 (CFLAGS-test-powl.c): Define.
26439 * math/test-powl.c: New file.
26441 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26443 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26445 2011-05-17 Ulrich Drepper <drepper@gmail.com>
26448 * iconvdata/gb18030.c: Update to GB18020-2005.
26450 2011-05-16 Ulrich Drepper <drepper@gmail.com>
26452 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26453 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26454 Patch by Aharon Robbins <arnold@skeeve.com>.
26457 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26461 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26462 through underflows.
26465 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26466 point to strings before performing equality test for error_one_per_line
26470 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26473 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26474 (struct user_fpregs_struct): Avoid __uint*_t types.
26477 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26478 symbol info. Use it instead of calling _dl_addr locally.
26479 (lock_and_info): New function.
26480 (tr_freehook): Call lock_and_info and pass symbol info as additional
26481 parameter to tr_where.
26482 (tr_mallochook): Likewise.
26483 (tr_reallochook): Likewise.
26484 (tr_memalignhook): Likewise.
26486 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26487 used and couldn't be at all thread-safe.
26489 2011-05-15 Ulrich Drepper <drepper@gmail.com>
26491 * libio/freopen.c (freopen): Don't close old file descriptor
26492 before the new one is opened. Instead dup the new file descriptor
26493 to the old one after the new stream is created.
26494 * libio/freopen64.c (freopen64): Likewise.
26495 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26496 * libio/fileops.c (_IO_new_file_close_it): Handle new
26497 _IO_FLAGS2_NOCLOSE flag.
26498 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26499 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26500 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26501 _IO_FLAGS2_NOCLOSE flag.
26502 * include/unistd.h: Add hidden_proto for dup3.
26503 Define __have_dup3.
26504 * io/dup3.c: Define hidden symbol.
26505 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26508 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26509 when an incomplete long option is used.
26510 * posix/tst-getopt_long1.c: New file.
26511 * posix/Makefile (tests): Add tst-getopt_long1.
26514 * scripts/config.guess: Update from autoconf-2.68.
26515 * scripts/config.sub: Likewise.
26518 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26520 (has_cpuclock): ...this. New function.
26521 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26522 macro here based on has_cpuclock code.
26525 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26526 First byte (not low byte) is now always NUL.
26527 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26529 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26530 Use non-cancelable interfaces.
26533 * locale/iso-639.def: Add entry for Sorani.
26536 * include/stdlib.h: Move include protection to the right place.
26537 Define abort_msg_s. Declare __abort_msg with it.
26538 * stdlib/abort.c (__abort_msg): Adjust type.
26539 * assert/assert.c (__assert_fail_base): New function. Majority
26540 of code from __assert_fail. Allocate memory for __abort_msg with
26542 (__assert_fail): Now call __assert_fail_base.
26543 * assert/assert-perr.c: Remove bulk of implementation. Use
26544 __assert_fail_base.
26545 * include/assert.hL Declare __assert_fail_base.
26546 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26548 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26550 2011-05-14 Ulrich Drepper <drepper@gmail.com>
26554 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26555 until all modules are registered in the DTV.
26556 * elf/Makefile: Add rules to build and run tst-tls19.
26557 * elf/tst-tls19.c: New file.
26558 * elf/tst-tls19mod1.c: New file.
26559 * elf/tst-tls19mod2.c: New file.
26560 * elf/tst-tls19mod3.c: New file.
26561 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26564 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26568 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26569 two-byte sequence errors.
26570 * iconvdata/Makefile (tests): Add bug-iconv8.
26571 * iconvdata/bug-iconv8.c: New file.
26574 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26577 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26580 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26581 (dummy_getcfa): New function.
26582 (init): Get _Unwind_GetCFA address, use dummy if not found.
26583 (backtrace_helper): In recursion check, also check whether CFA changes.
26584 (__backtrace): Completely initialize arg.
26586 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26587 storing incomplete byte sequence in state object. Avoid testing for
26588 guaranteed too small input if we know there is enough data available.
26590 2011-05-11 Andreas Schwab <schwab@redhat.com>
26592 * Makeconfig (+link-pie): Indent.
26593 * Rules (binaries-pie): Define if $(have-fpie) and
26595 (binaries-shared): Also filter out $(binaries-pie).
26596 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26597 * nscd/Makefile (others-pie): Add nscd.
26598 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26599 ($(objpfx)nscd): Remove command override.
26600 * login/Makefile (others-pie): Add pt_chown.
26601 ($(objpfx)pt_chown): Remove command override.
26602 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26603 remove command overrides.
26605 2011-05-13 Ulrich Drepper <drepper@gmail.com>
26607 * libio/tst_putwc.c: Fix error messages.
26610 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26611 currently writing and seek to current position when not.
26612 * libio/Makefile (tests): Add bug-fclose1.
26613 * libio/bug-fclose1.c: New file.
26615 2011-05-12 Ulrich Drepper <drepper@gmail.com>
26618 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26619 don't set DF_1_NODELETE here.
26620 (do_lookup_x): When entering new entry test for copy relocation
26621 and if necessary set DF_1_NODELETE flag.
26622 * elf/tst-unique4.cc: New file.
26623 * elf/tst-unique4.h: New file.
26624 * elf/tst-unique4lib.cc: New file.
26625 * elf/Makefile: Add rules to build and run tst-unique4.
26626 Patch by Piotr Bury <pbury@goahead.com>.
26628 2011-05-11 Ulrich Drepper <drepper@gmail.com>
26631 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26634 * misc/mntent_r.c (addmntent): Flush the stream after the output
26637 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26638 (is_trusted_path_normalize): Skip initial colon. Append slash
26639 to empty buffer. Duplicate is_trusted_path code but allow
26640 constructed patch to be prefix.
26641 (is_dst): Allow $ORIGIN followed by /.
26642 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26643 Correct testing of result of is_trusted_path_normalize
26644 (decompose_rpath): Fix warning.
26646 2011-05-10 Ulrich Drepper <drepper@gmail.com>
26649 * grp/initgroups.c (internal_getgrouplist): When we found the service
26650 list through the initgroups entry in nsswitch.conf do not always
26651 continue on a successful lookup. Don't always use the
26652 __nss_group_database value if it is set.
26653 * nss/nsswitch.conf (initgroups): Change action for successful db
26654 lookup to continue for compatibility.
26656 2011-05-09 Ulrich Drepper <drepper@gmail.com>
26659 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26661 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26663 * iconvdata/tst-tables.sh: Likewise.
26664 * iconvdata/cp770.c: New file.
26665 * iconvdata/cp771.c: New file.
26666 * iconvdata/cp772.c: New file.
26667 * iconvdata/cp773.c: New file.
26668 * iconvdata/cp774.c: New file.
26669 * iconvdata/testdata/CP770: New file.
26670 * iconvdata/testdata/CP770..UTF8: New file.
26671 * iconvdata/testdata/CP771: New file.
26672 * iconvdata/testdata/CP771..UTF8: New file.
26673 * iconvdata/testdata/CP772: New file.
26674 * iconvdata/testdata/CP772..UTF8: New file.
26675 * iconvdata/testdata/CP773: New file.
26676 * iconvdata/testdata/CP773..UTF8: New file.
26677 * iconvdata/testdata/CP774: New file.
26678 * iconvdata/testdata/CP774..UTF8: New file.
26680 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26682 * iconvdata/gen-8bit-gap.sh: Likewise.
26683 * iconvdata/gen-8bit.sh: Likewise.
26685 * locale/iso-639.def: Add ary entry.
26688 * locale/C-translit.h.in: Add U20A1 transliteration.
26691 * locale/iso-639.def: Add wae entry.
26692 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26695 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26699 * locale/C-translit.h.in: Add entry for U20B9.
26700 Patch by pravin.d.s@gmail.com.
26702 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26705 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26706 ENAMETOOLONG use generic getcwd.
26707 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26708 in rtld. Use *stat64.
26709 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26710 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26711 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26712 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26713 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26714 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26715 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26716 __fstatat64 macros.
26717 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26718 * dirent/rewinddir.c: Add libc_hidden_def.
26719 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26720 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26722 * include/dirent.h (__alloc_dir): Add flags parameter.
26723 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26724 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26726 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26727 from fdopendir if O_CLOEXEC is already set.
26729 2011-03-15 Alan Modra <amodra@gmail.com>
26731 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26732 l_tls_firstbyte_offset non-zero. Save padding offset in
26733 l_tls_firstbyte_offset for later use.
26734 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26735 freeing static tls block.
26737 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26739 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26740 where #ifdef was intended. The intent is to prevent ARG_MAX from
26741 being defined by the kernel headers.
26743 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26746 * resolv/resolv.h: Define RES_NOTLDQUERY.
26747 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26748 no-tld-query and set RES_NOTLDQUERY.
26749 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26750 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26751 modern BIND to search name as TLD unless forbidden.
26753 2011-05-07 Petr Baudis <pasky@suse.cz>
26754 Ulrich Drepper <drepper@gmail.com>
26757 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26758 (is_trusted_path): ...to here.
26759 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26760 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26761 using is_trusted_path_normalize() in setuid scripts.
26763 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26765 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26766 __BEGIN/__END_DECLS.
26768 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26770 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26771 NSS_STATUS_NOTFOUND if no record was found.
26773 2011-05-05 Andreas Schwab <schwab@redhat.com>
26775 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26776 (headers-not-in-tirpc): Remove rpc/netdb.h
26777 * resolv/netdb.h: Revert last change.
26779 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26781 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26782 circular dependency between libgcc.a and libc.a.
26784 2011-05-05 Andreas Schwab <schwab@redhat.com>
26786 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26787 * nis/Makefile: Don't install rpcsvc/*.
26788 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26789 instead of <rpc/types.h>.
26790 (MAXHOSTNAMELEN): Define.
26792 2011-05-03 Andreas Schwab <schwab@redhat.com>
26794 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26796 2011-04-28 Maciej Babinski <mbabinski@google.com>
26799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26800 gethostbyname4_r when IPv6 results are possible.
26802 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26805 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26806 _PC_PIPE_BUF handling.
26808 2011-04-30 Bruno Haible <bruno@clisp.org>
26811 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26812 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26814 * inet/getnameinfo.c (getnameinfo): Likewise.
26816 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26818 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26819 to groups setting in database lookup.
26820 * nss/nsswitch.conf: Add initgroups entry.
26822 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26825 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26827 Patch by Eric Blake <eblake@redhat.com>.
26829 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26831 * sunrpc/Makefile (need-export-routines): Add svc_run.
26832 (routines): Remove svc_run.
26833 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26834 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26835 * sunrpc/svc_run.c (svc_run): Likewise.
26836 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26838 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26840 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26841 problem in reallocation in last patch.
26843 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26845 * sunrpc/Makefile: Move inclusion of Rules.
26847 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26849 * nss/nss_files/files-initgroups.c: New file.
26850 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26851 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26852 _nss_files_initgroups_dyn.
26854 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26856 * elf/elf.h (R_ARM_IRELATIVE): Define.
26858 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26860 * po/ru.po: Update from translation team.
26862 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26864 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26867 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26870 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26871 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26872 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26873 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26874 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26876 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26878 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26880 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26881 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26882 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26884 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26887 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26889 * stdlib/bug-getcontext.c: New file.
26890 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26892 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26894 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26895 instructions into .machine "z9-109".
26896 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26897 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26899 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26901 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26902 between environment variables and auxiliary vector.
26904 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26906 * Makefile: Add rules to build linkobj/libc.so.
26907 * include/libc-symbols.h: Define libc_hidden_nolink.
26908 * include/rpc/auth.h: Mark functions which are to be hidden.
26909 * include/rpc/auth_des.h: Likewise.
26910 * include/rpc/auth_unix.h: Likewise.
26911 * include/rpc/clnt.h: Likewise.
26912 * include/rpc/des_crypt.h: Likewise.
26913 * include/rpc/key_prot.h: Likewise.
26914 * include/rpc/pmap_clnt.h: Likewise.
26915 * include/rpc/pmap_prot.h: Likewise.
26916 * include/rpc/pmap_rmt.h: Likewise.
26917 * include/rpc/rpc_msg.h: Likewise.
26918 * include/rpc/svc.h: Likewise.
26919 * include/rpc/svc_auth.h: Likewise.
26920 * include/rpc/xdr.h: Likewise.
26921 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26922 * nss/Makefile: Likewise.
26923 * sunrpc/Makefile: Don't install headers. Build library with normal
26924 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26925 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26926 for the compat linking library. Remove use of INTDEF/INTUSE.
26927 * sunrpc/auth_none.c: Likewise.
26928 * sunrpc/auth_unix.c: Likewise.
26929 * sunrpc/authdes_prot.c: Likewise.
26930 * sunrpc/authuxprot.c: Likewise.
26931 * sunrpc/clnt_gen.c: Likewise.
26932 * sunrpc/clnt_perr.c: Likewise.
26933 * sunrpc/clnt_raw.c: Likewise.
26934 * sunrpc/clnt_simp.c: Likewise.
26935 * sunrpc/clnt_tcp.c: Likewise.
26936 * sunrpc/clnt_udp.c: Likewise.
26937 * sunrpc/clnt_unix.c: Likewise.
26938 * sunrpc/des_crypt.c: Likewise.
26939 * sunrpc/des_soft.c: Likewise.
26940 * sunrpc/get_myaddr.c: Likewise.
26941 * sunrpc/key_call.c: Likewise.
26942 * sunrpc/key_prot.c: Likewise.
26943 * sunrpc/netname.c: Likewise.
26944 * sunrpc/pm_getmaps.c: Likewise.
26945 * sunrpc/pm_getport.c: Likewise.
26946 * sunrpc/pmap_clnt.c: Likewise.
26947 * sunrpc/pmap_prot.c: Likewise.
26948 * sunrpc/pmap_prot2.c: Likewise.
26949 * sunrpc/pmap_rmt.c: Likewise.
26950 * sunrpc/publickey.c: Likewise.
26951 * sunrpc/rpc_cmsg.c: Likewise.
26952 * sunrpc/rpc_common.c: Likewise.
26953 * sunrpc/rpc_dtable.c: Likewise.
26954 * sunrpc/rpc_prot.c: Likewise.
26955 * sunrpc/rpc_thread.c: Likewise.
26956 * sunrpc/rtime.c: Likewise.
26957 * sunrpc/svc.c: Likewise.
26958 * sunrpc/svc_auth.c: Likewise.
26959 * sunrpc/svc_authux.c: Likewise.
26960 * sunrpc/svc_raw.c: Likewise.
26961 * sunrpc/svc_run.c: Likewise.
26962 * sunrpc/svc_simple.c: Likewise.
26963 * sunrpc/svc_tcp.c: Likewise.
26964 * sunrpc/svc_udp.c: Likewise.
26965 * sunrpc/svc_unix.c: Likewise.
26966 * sunrpc/svcauth_des.c: Likewise.
26967 * sunrpc/xcrypt.c: Likewise.
26968 * sunrpc/xdr.c: Likewise.
26969 * sunrpc/xdr_array.c: Likewise.
26970 * sunrpc/xdr_float.c: Likewise.
26971 * sunrpc/xdr_intXX_t.c: Likewise.
26972 * sunrpc/xdr_mem.c: Likewise.
26973 * sunrpc/xdr_rec.c: Likewise.
26974 * sunrpc/xdr_ref.c: Likewise.
26975 * sunrpc/xdr_sizeof.c: Likewise.
26976 * sunrpc/xdr_stdio.c: Likewise.
26978 2011-04-10 Ulrich Drepper <drepper@gmail.com>
26981 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26982 * sysdeps/ia64/dl-tls.h: Likewise.
26983 * sysdeps/powerpc/dl-tls.h: Likewise.
26984 * sysdeps/s390/dl-tls.h: Likewise.
26985 * sysdeps/sh/dl-tls.h: Likewise.
26986 * sysdeps/sparc/dl-tls.h: Likewise.
26987 * sysdeps/x86_64/dl-tls.h: Likewise.
26988 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26990 2011-03-14 Andreas Schwab <schwab@redhat.com>
26992 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26993 rpath element also skip the following colon.
26994 (expand_dynamic_string_token): Add is_path parameter and pass
26995 down to DL_DST_REQUIRED and _dl_dst_substitute.
26996 (decompose_rpath): Call expand_dynamic_string_token with
26997 non-zero is_path. Ignore empty rpaths.
26998 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27001 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27006 2011-04-09 Ulrich Drepper <drepper@gmail.com>
27009 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27010 Patch by Filipe David Manana <fdmanana@apache.org>.
27012 2011-04-07 Andreas Schwab <schwab@redhat.com>
27014 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27015 Maintain aligned stack.
27016 (CHECK_RSP): Remove unused macro.
27018 2011-04-03 Ulrich Drepper <drepper@gmail.com>
27020 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27021 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27023 2011-04-02 Ulrich Drepper <drepper@gmail.com>
27025 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27027 * include/features.h: Mention __USE_XOPEN2K8 in comment.
27029 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27032 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27033 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27034 * sysdeps/x86_64/memmove.c: New file.
27035 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27036 (memcpy): Renamed to ...
27037 (__new_memcpy): This.
27038 (memcpy): Provide GLIBC_2_14 memcpy.
27039 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27040 (memcpy): Provide GLIBC_2_2_5 memcpy.
27042 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27045 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27047 2011-03-30 Andreas Schwab <schwab@redhat.com>
27049 * misc/syncfs.c: New file.
27050 * misc/Makefile (routines): Add syncfs.
27051 * posix/unistd.h: Declare syncfs.
27052 * sysdeps/unix/syscalls.list: Add syncfs.
27054 2011-04-01 Andreas Schwab <schwab@redhat.com>
27056 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27058 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27059 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27060 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27061 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27062 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27063 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27064 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27066 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27068 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27069 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27070 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27071 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27072 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27073 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27074 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27076 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27077 sync_file_range.c with -fexceptions.
27078 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27079 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27080 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27081 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27082 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27083 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27084 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
27085 sync_file_range as cancellation point
27086 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27087 now a wrapper around __call_sync_file_range with cancellation handling.
27088 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27089 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27090 function name to __call_sync_file_range.
27091 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27092 Add call_sync_file_range.
27094 2011-04-01 Andreas Schwab <schwab@redhat.com>
27096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27099 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27101 * iconv/iconv.h: Fix typo in comment.
27102 * io/fcntl.h: Likewise.
27103 * libio/stdio.h: Likewise.
27104 * posix/spawn.h: Likewise.
27105 * posix/unistd.h: Likewise.
27106 * stdlib/stdlib.h: Likewise.
27107 * time/time.h: Likewise.
27108 * wcsmbs/wchar.h: Likewise.
27110 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27111 open_by_handle): Add.
27112 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27113 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27114 Augment a few comments.
27115 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27116 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27117 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27119 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27120 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27123 * io/fcntl.h (AT_EMPTY_PATH): Define.
27125 2011-03-30 Ulrich Drepper <drepper@gmail.com>
27127 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27128 * sysdeps/unix/sysv/linux/bits/time.h: New file.
27129 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27131 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
27132 * Versions.def: Add GLIBC_2.14.
27133 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27136 2011-03-22 Ulrich Drepper <drepper@gmail.com>
27138 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27140 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27142 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
27145 * string/test-strncmp.c (do_page_test): New function.
27146 (check2): Likewise.
27147 (test_main): Call check2.
27148 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27150 2011-03-20 Ulrich Drepper <drepper@gmail.com>
27153 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27154 Handle cache information in CPU leaf 4.
27155 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27157 2011-03-18 Ulrich Drepper <drepper@gmail.com>
27160 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27161 character representation.
27162 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27164 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27166 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27167 END(__isnan) to END(__isnanf) to match function entry point/label
27168 EALIGN(__isnanf,...).
27170 2011-03-10 Jakub Jelinek <jakub@redhat.com>
27172 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27174 2011-03-10 Ulrich Drepper <drepper@gmail.com>
27177 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27178 copy from the symbol referenced in the relocation to initialize the
27180 Patch by Piotr Bury <pbury@goahead.com>.
27181 * elf/Makefile: Add rules to build and tst-unique3.
27182 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27183 * elf/tst-unique3.cc: New file.
27184 * elf/tst-unique3.h: New file.
27185 * elf/tst-unique3lib.cc: New file.
27186 * elf/tst-unique3lib2.cc: New file.
27188 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27190 2011-03-10 Mike Frysinger <vapier@gentoo.org>
27192 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27193 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27196 2011-03-06 Ulrich Drepper <drepper@gmail.com>
27198 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27199 to-be-loaded object along a path to loader is ld.so.
27201 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27202 Ulrich Drepper <drepper@gmail.com>
27204 * sysdeps/x86_64/memset.S: After aligning destination, code
27205 branches to different locations depending on the value of
27206 misalignment, when multiarch is enabled. Fix this.
27208 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27210 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27211 Set _x86_64_preferred_memory_instruction for AMD processsors.
27212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27213 Set bit_Prefer_SSE_for_memop for AMD processors.
27215 2011-03-04 Ulrich Drepper <drepper@gmail.com>
27217 * libio/fmemopen.c (fmemopen): Optimize a bit.
27219 2011-03-03 Andreas Schwab <schwab@redhat.com>
27221 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27223 2011-03-03 Roland McGrath <roland@redhat.com>
27225 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27227 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27229 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
27230 __bzero_ultra1 instead of __memset_ultra1.
27232 2011-02-23 Andreas Schwab <schwab@redhat.com>
27233 Ulrich Drepper <drepper@gmail.com>
27236 * include/link.h (struct link_map): Add l_orig_initfini.
27237 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27238 returning unsuccessfully.
27239 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27240 close of a file loaded at startup, restore the original l_initfini
27242 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27243 list, store the pointer.
27244 * elf/Makefile ($(objpfx)noload-mem): New rule.
27245 (noload-ENV): Define.
27246 (tests): Add $(objpfx)noload-mem.
27247 * elf/noload.c: Include <memcheck.h>.
27248 (main): Call mtrace. Close all opened handles.
27250 2011-02-17 Andreas Schwab <schwab@redhat.com>
27253 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27254 dependencies are missing.
27256 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27258 Fix __if_freereq crash: Unlike the generic version which uses free,
27260 * sysdeps/mach/hurd/ifreq.h: New file.
27262 2011-01-27 Petr Baudis <pasky@suse.cz>
27263 Ulrich Drepper <drepper@gmail.com>
27266 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27267 to extend_alloca().
27268 * stdio-common/bug23.c: New file.
27269 * stdio-common/Makefile (tests): Add bug23.
27271 2010-09-28 Andreas Schwab <schwab@redhat.com>
27272 Ulrich Drepper <drepper@gmail.com>
27275 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27276 before performing relro protection. At old place add assertion
27277 to make sure nothing changed.
27279 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27280 Glauber de Oliveira Costa <glommer@gmail.com>
27282 * elf/elf.h: Add new ARM TLS relocs.
27284 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27287 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27289 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27291 * sysdeps/wordsize-64/tst-writev.c: New file.
27293 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27295 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27296 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27297 insns in _dl_start to prevent a TOC reference before relocs are
27300 2011-02-15 Ulrich Drepper <drepper@gmail.com>
27303 * Makeconfig: Remove RANLIB definition.
27304 * Makerules: Don't use RANLIB.
27305 * aclocal.m4: Remove ranlib test.
27306 * configure.in: No need to check for ranlib.
27307 * elf/rtld-Rules: Don't use RANLIB.
27309 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27311 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27313 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27314 inclusion protection macro.
27316 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27317 SIGRTMIN and SIGRTMAX and print information in that case only when
27318 SIGRTMIN is defined.
27320 2011-02-11 Jakub Jelinek <jakub@redhat.com>
27322 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27323 arginfo fn returning -1.
27325 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27326 and thousands string is zero terminated.
27328 2011-02-03 Andreas Schwab <schwab@redhat.com>
27330 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27331 sysdeps/unix/sysv/linux/bits/socket.h.
27333 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27335 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27336 (__CPU_COUNT): Remove old macros.
27337 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27338 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27339 (__CPU_ALLOC, __CPU_FREE): Add macros.
27340 (__sched_cpualloc, __sched_cpufree): Add declarations.
27342 2011-02-05 Ulrich Drepper <drepper@gmail.com>
27344 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27345 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27346 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27347 (readdhstai): Return value of addhstaiX call.
27348 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27349 (addgrbyX): Return value returned by cache_addgr.
27350 (readdgrbyname): Return value returned by addgrbyX.
27351 (readdgrbygid): Likewise.
27352 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27353 (addpwbyX): Return value returned by cache_addpw.
27354 (readdpwbyname): Return value returned by addhstbyX.
27355 (readdpwbyuid): Likewise.
27356 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27357 (addservbyX): Return value returned by cache_addserv.
27358 (readdservbyname): Return value returned by addservbyX:
27359 (readdservbyport): Likewise.
27360 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27361 (addhstbyX): Return value returned by cache_addhst.
27362 (readdhstbyname): Return value returned by addhstbyX.
27363 (readdhstbyaddr): Likewise.
27364 (readdhstbynamev6): Likewise.
27365 (readdhstbyaddrv6): Likewise.
27366 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27367 (readdinitgroups): Return value returned by addinitgroupsX.
27368 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27369 (prune_cache): Keep track of timeout value of re-added entries.
27370 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27371 * nscd/nscd.h: Adjust prototypes of readd* functions.
27373 2011-02-04 Roland McGrath <roland@redhat.com>
27375 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27376 (nis_stats): Likewise.
27377 * nis/nis_modify.c (nis_modify): Likewise.
27378 * nis/nis_remove.c (nis_remove): Likewise.
27379 * nis/nis_add.c (nis_add): Likewise.
27381 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27383 * posix/fnmatch_loop.c: Add some consts.
27385 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27387 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27390 * config.make.in (config-cflags-novzeroupper): Define.
27391 * configure.in: Substitute libc_cv_cc_novzeroupper.
27392 * elf/Makefile (AVX-CFLAGS): Define.
27393 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27394 (CFLAGS-tst-auditmod4a.c): Likewise.
27395 (CFLAGS-tst-auditmod4b.c): Likewise.
27396 (CFLAGS-tst-auditmod6b.c): Likewise.
27397 (CFLAGS-tst-auditmod6c.c): Likewise.
27398 (CFLAGS-tst-auditmod7b.c): Likewise.
27399 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27401 2011-02-02 Ulrich Drepper <drepper@gmail.com>
27403 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27404 function to the callback.
27405 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27407 2011-02-02 Andreas Schwab <schwab@redhat.com>
27409 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27412 2011-01-19 Ulrich Drepper <drepper@gmail.com>
27415 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27417 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27419 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27422 * elf/Makefile: Add rules to build and run new test.
27423 * elf/tst-initorder.c: New file.
27424 * elf/tst-initorder.exp: New file.
27425 * elf/tst-initordera1.c: New file.
27426 * elf/tst-initordera2.c: New file.
27427 * elf/tst-initordera3.c: New file.
27428 * elf/tst-initordera4.c: New file.
27429 * elf/tst-initorderb1.c: New file.
27430 * elf/tst-initorderb2.c: New file.
27431 * elf/tst-order-a1.c: New file.
27432 * elf/tst-order-a2.c: New file.
27433 * elf/tst-order-a3.c: New file.
27434 * elf/tst-order-a4.c: New file.
27435 * elf/tst-order-b1.c: New file.
27436 * elf/tst-order-b2.c: New file.
27437 * elf/tst-order-main.c: New file.
27438 New test case by George Gensure <werkt0@gmail.com>.
27440 2010-10-01 Andreas Schwab <schwab@redhat.com>
27442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27443 decoding ACE if AI_CANONIDN.
27445 2011-01-18 Ulrich Drepper <drepper@gmail.com>
27447 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27449 2011-01-17 Ulrich Drepper <drepper@gmail.com>
27451 * version.h (RELEASE): Bump for 2.13 release.
27452 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27454 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27456 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27458 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27459 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27460 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27461 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27462 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27463 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27465 * posix/getconf.c: Update copyright year.
27466 * catgets/gencat.c: Likewise.
27467 * csu/version.c: Likewise.
27468 * debug/catchsegv.sh: Likewise.
27469 * debug/xtrace.sh: Likewise.
27470 * elf/ldconfig.c: Likewise.
27471 * elf/ldd.bash.in: Likewise.
27472 * elf/sprof.c (print_version): Likewise.
27473 * iconv/iconv_prog.c: Likewise.
27474 * iconv/iconvconfig.c: Likewise.
27475 * locale/programs/locale.c: Likewise.
27476 * locale/programs/localedef.c: Likewise.
27477 * malloc/memusage.sh: Likewise.
27478 * malloc/mtrace.pl: Likewise.
27479 * nscd/nscd.c (print_version): Likewise.
27480 * nss/getent.c: Likewise.
27482 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27483 PF_CAIF, and PF_ALG.
27484 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27486 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27488 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27489 (modules-names): Use them.
27490 (ifunc-test-modules, ifunc-pie-tests): Define.
27491 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27492 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27493 (test-extras): Likewise.
27494 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27495 $(compile-command.c).
27496 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27497 (all-built-dso): Define.
27498 (check-textrel.out, check-execstack.out): Depend on it.
27500 * configure.in: Don't override --enable-multi-arch.
27502 2011-01-15 Ulrich Drepper <drepper@gmail.com>
27505 * nscd/hstcache.c (tryagain): Define.
27506 (cache_addhst): Return tryagain not notfound for temporary errors.
27507 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27510 2011-01-14 Ulrich Drepper <drepper@gmail.com>
27513 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27514 to make the syscall.
27515 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27518 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27519 and fall back to matching as normal character if the string ends before
27520 the matching ']' is found. This is what POSIX requires.
27521 * posix/testfnm.c: Adjust test result.
27522 * posix/globtest.sh: Adjust test result. Add new test.
27523 * posix/tst-fnmatch.input: Likewise.
27524 * posix/tst-fnmatch2.c: Add new test.
27526 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27528 * elf/Makefile (check-execstack): Revert last change. Depend on
27530 (check-execstack.h): New target.
27531 (generated): Add check-execstack.h.
27532 * elf/check-execstack.c: Include "check-execstack.h".
27533 (main): Revert last change.
27534 (handle_file): Return zero if GNU_STACK is absent and
27535 DEFAULT_STACK_PERMS doesn't include PF_X.
27537 2011-01-13 Ulrich Drepper <drepper@gmail.com>
27539 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27540 in child fails because the descriptor is already closed.
27541 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27542 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27543 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
27546 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27550 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27551 temporary buffer used to handle multi lookups locally.
27552 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
27554 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27556 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27559 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27561 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27562 alignment for SSE2.
27564 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27567 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27568 characters. When rounding increased number of integer digits recompute
27570 * stdio-common/tst-grouping.c: New file.
27571 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27573 2011-01-09 Ulrich Drepper <drepper@gmail.com>
27575 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27576 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27578 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27580 * bits/select.h: Likewise.
27582 2011-01-08 Ulrich Drepper <drepper@gmail.com>
27584 * po/ja.po: Update from translation team.
27586 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
27589 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27590 implementation just like for lxstat, fxstatat, et al.
27592 2010-12-27 Jim Meyering <meyering@redhat.com>
27595 * posix/regexec.c (build_trtable): Return failure indication upon
27596 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27598 2010-12-25 Ulrich Drepper <drepper@gmail.com>
27601 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27602 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27603 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27604 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27607 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27610 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27611 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27613 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27615 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27616 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27617 script has SORT_BY_INIT_PRIORITY.
27618 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27619 NO_CTORS_DTORS_SECTIONS is defined.
27620 * elf/soinit.c: Likewise.
27621 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27622 NO_CTORS_DTORS_SECTIONS is defined.
27623 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27624 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27625 * sysdeps/sh/init-first.c: Likewise.
27626 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27628 2010-12-24 Ulrich Drepper <drepper@gmail.com>
27630 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27631 always use the slow path.
27633 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27635 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27636 similar rule which adds the sysdep directories to the header search in
27637 order to pick up the correct platform stackinfo.h.
27638 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27639 perform test if it is, otherwise return successfully without testing.
27640 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27641 DEFAULT_STACK_PERMS define in stackinfo.h.
27642 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27643 defined in stackinfo.h.
27644 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27645 DEFAULT_STACK_PERMS defined in stackinfo.h.
27646 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27647 * sysdeps/ia64/stackinfo.h: Likewise.
27648 * sysdeps/s390/stackinfo.h: Likewise.
27649 * sysdeps/sh/stackinfo.h: Likewise.
27650 * sysdeps/sparc/stackinfo.h: Likewise.
27651 * sysdeps/x86_64/stackinfo.h: Likewise.
27652 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27653 PF_X for powerpc64. Retain PF_X for powerpc32.
27655 2010-12-19 Ulrich Drepper <drepper@gmail.com>
27657 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27659 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27660 GETDENTS_64BIT_ALIGNED.
27662 2010-12-14 Ulrich Drepper <dreper@gmail.com>
27664 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27666 2010-12-10 Andreas Schwab <schwab@redhat.com>
27668 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27671 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27672 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27674 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27675 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27677 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27680 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27683 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27685 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27687 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27689 * po/it.po: Update from translation team.
27691 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27693 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27696 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27698 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27700 2010-11-24 Andreas Schwab <schwab@redhat.com>
27702 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27704 (gaih_getanswer_slice): Likewise.
27706 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27708 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27710 2010-05-31 Petr Baudis <pasky@suse.cz>
27713 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27714 silently even in the chroot mode.
27716 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27718 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27719 last patch a bit. Pretty printing
27721 2010-05-31 Petr Baudis <pasky@suse.cz>
27724 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27725 initialization of skip_initgroups_dyn.
27727 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27729 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27730 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27732 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27734 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27736 2010-11-11 Andreas Schwab <schwab@redhat.com>
27738 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27739 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27740 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27741 ($(objpfx)tst-fnmatch-mem): New rule.
27742 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27743 * posix/tst-fnmatch.c (main): Call mtrace.
27745 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27748 Support Intel processor model 6 and model 0x2c.
27750 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27752 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27755 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27758 * string/test-strncasecmp.c (check_result): New function.
27759 (do_one_test): Use it.
27760 (check1): New function.
27761 (test_main): Use it.
27762 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27763 Support strcasecmp and strncasecmp.
27765 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27768 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27769 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27771 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27773 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27775 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27777 * sysdeps/x86_64/multiarch/bzero.S: New file.
27778 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27779 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27780 * sysdeps/x86_64/multiarch/memset.S: New file.
27781 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27783 Set bit_Prefer_SSE_for_memop for Intel processors.
27784 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27786 (index_Prefer_SSE_for_memop): Define.
27787 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27789 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27791 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27792 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27794 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27797 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27798 (__x86_64_raw_data_cache_size_half): Likewise.
27799 (__x86_64_raw_shared_cache_size): Likewise.
27800 (__x86_64_raw_shared_cache_size_half): Likewise.
27802 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27803 (__x86_64_raw_data_cache_size_half): Likewise.
27804 (__x86_64_raw_shared_cache_size): Likewise.
27805 (__x86_64_raw_shared_cache_size_half): Likewise.
27806 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27807 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27808 and __x86_64_raw_shared_cache_size_half. Round
27809 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27810 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27811 to multiple of 256 bytes.
27813 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27816 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27817 of inacessible symlinks. Verify result of symlink before returning it.
27818 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27819 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27821 2010-10-28 Erich Ritz <erichritz@gmail.com>
27823 * math/math.h (isinf): Fix typo in comment.
27825 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27827 * po/da.po: Update from translation team.
27829 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27831 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27832 is added to the list.
27834 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27835 Ulrich Drepper <drepper@gmail.com>
27837 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27838 the global list here. Move code to...
27839 (_dl_add_to_namespace_list): ...here. New function.
27840 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27841 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27842 * elf/dl-load.c (lose): Don't remove the element from the list.
27843 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27844 (_dl_map_object): Likewise.
27846 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27849 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27850 into all bytes of SSE register.
27851 Patch by Richard Li <richardpku@gmail.com>.
27853 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27856 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27859 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27861 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27862 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27863 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27864 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27869 2010-10-22 Andreas Schwab <schwab@redhat.com>
27871 * include/dlfcn.h (__RTLD_SECURE): Define.
27872 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27873 mode & __RTLD_SECURE instead.
27874 (open_path): Rename preloaded parameter to secure.
27875 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27876 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27877 * elf/dl-deps.c (openaux): Likewise.
27878 * elf/rtld.c (struct map_args): Remove is_preloaded.
27879 (map_doit): Don't use it.
27880 (dl_main): Likewise.
27881 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27882 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27884 2010-09-09 Andreas Schwab <schwab@redhat.com>
27886 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27887 (sysd-rules-targets): Remove duplicates.
27888 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27889 rtld-%.$o dependency.
27891 2010-10-18 Andreas Schwab <schwab@redhat.com>
27893 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27894 _dl_map_object do it.
27896 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27898 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27899 fast fma builtins, define the macros in the C99 standard.
27900 (FP_FAST_FMAF): Likewise.
27901 (FP_FAST_FMAL): Likewise.
27902 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27904 * bits/mathdef.h: Update copyright year.
27905 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27907 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27909 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27910 builtins, define the macros in the C99 standard.
27911 (FP_FAST_FMAF): Likewise.
27912 (FP_FAST_FMAL): Likewise.
27913 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27915 (FP_FAST_FMAF): Likewise.
27917 2010-10-15 Jakub Jelinek <jakub@redhat.com>
27920 * math/libm-test.inc (fma_test): Some new testcases.
27921 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27922 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27923 y and infinite z. Do multiplication by C already in long double.
27924 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27926 y and infinite z. Do bitwise or of inexact bit into u.d.
27927 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27928 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27929 * sysdeps/i386/fpu/s_fma.S: Removed.
27930 * sysdeps/i386/fpu/s_fmal.S: Removed.
27932 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27935 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27937 computation is not scheduled after fetestexcept. Fix value
27938 of minimum denormal long double.
27940 2010-10-14 Jakub Jelinek <jakub@redhat.com>
27943 * math/libm-test.inc (fma_test): Add some more tests.
27944 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27947 2010-10-15 Andreas Schwab <schwab@redhat.com>
27949 * scripts/data/localplt-s390-linux-gnu.data: New file.
27950 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27952 2010-10-13 Jakub Jelinek <jakub@redhat.com>
27955 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27956 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27958 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27960 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27961 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27962 if one of x and y is very large and the other is subnormal.
27963 * sysdeps/s390/fpu/s_fmaf.c: New file.
27964 * sysdeps/s390/fpu/s_fma.c: New file.
27965 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27966 * sysdeps/powerpc/fpu/s_fma.S: New file.
27967 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27968 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27969 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27971 2010-10-12 Jakub Jelinek <jakub@redhat.com>
27974 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27976 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27977 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27978 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27979 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27980 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27981 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27982 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27984 2010-10-12 Ulrich Drepper <drepper@redhat.com>
27987 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27988 * posix/bug-regex31.input: Add test case.
27990 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27992 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27993 * posix/bug-regex31.input: New file.
27996 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27997 (parse_sub_exp): Fix last change, use postorder.
27999 * posix/bug-regex31.c: New file.
28000 * posix/Makefile: Add rules to build and run bug-regex31.
28002 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28005 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28008 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28009 to have entries in sys_siglist.
28012 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28015 2010-10-07 Jakub Jelinek <jakub@redhat.com>
28018 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28019 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28020 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28021 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28022 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28023 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28024 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28025 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28026 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28027 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28028 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28029 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28030 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28031 * math/ftestexcept.c (fetestexcept): Likewise.
28032 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28033 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28034 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28035 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28036 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28037 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28038 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28040 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28043 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28046 2010-10-06 Ulrich Drepper <drepper@gmail.com>
28048 * string/bug-strstr1.c: New file.
28049 * string/Makefile: Add rules to build and run bug-strstr1.
28051 2010-10-05 Eric Blake <eblake@redhat.com>
28054 * string/str-two-way.h (two_way_long_needle): Always clear memory
28055 when skipping input due to the shift table.
28057 2010-10-03 Ulrich Drepper <drepper@gmail.com>
28060 * malloc/mcheck.c: Handle large requests.
28063 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28064 for strncmp and strncasecmp.
28065 * string/stratcliff.c: Add tests for strcmp and strncmp.
28066 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28068 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28070 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28073 2010-09-30 Andreas Jaeger <aj@suse.de>
28075 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28076 (CGROUP_SUPER_MAGIC): Define.
28077 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28078 Handle btrfs and cgroup file systems.
28079 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28082 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
28084 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28085 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28087 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28090 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28091 trying to locate the ELF header.
28093 2010-09-27 Andreas Schwab <schwab@redhat.com>
28096 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28097 Mask out sign-bit copies when constructing f_fsid.
28099 2010-09-24 Petr Baudis <pasky@suse.cz>
28101 * debug/stack_chk_fail_local.c: Add missing licence exception.
28102 * debug/warning-nop.c: Likewise.
28104 2010-09-15 Joseph Myers <joseph@codesourcery.com>
28106 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28107 implementing getdents64 using getdents syscall, set d_type if
28108 __ASSUME_GETDENTS32_D_TYPE.
28110 2010-09-16 Andreas Schwab <schwab@redhat.com>
28112 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28113 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28115 2010-09-21 Ulrich Drepper <drepper@redhat.com>
28118 * posix/unistd.h: Undo change of feature selection for ftruncate from
28121 2010-09-20 Ulrich Drepper <drepper@redhat.com>
28123 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
28126 2010-09-20 Andreas Schwab <schwab@redhat.com>
28128 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28130 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28132 2010-09-14 Andreas Schwab <schwab@redhat.com>
28134 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28135 variables after CHECK_SP call.
28136 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28138 2010-09-13 Andreas Schwab <schwab@redhat.com>
28139 Ulrich Drepper <drepper@redhat.com>
28141 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28142 re-relocationg ld.so.
28143 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28144 _dl_init_paths call.
28145 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
28148 2010-09-14 Ulrich Drepper <drepper@redhat.com>
28150 * resolv/res_init.c (__res_vinit): Count the default server we added.
28152 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28153 Ulrich Drepper <drepper@redhat.com>
28156 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28157 (____longjmp_chk): Use %ebx for saving value across system call.
28160 2010-09-06 Andreas Schwab <schwab@redhat.com>
28162 * manual/Makefile: Don't mix pattern rules with normal rules.
28164 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28166 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28168 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28169 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28170 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28171 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28172 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28175 2010-09-04 Ulrich Drepper <drepper@redhat.com>
28178 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28179 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28181 2010-09-02 Ulrich Drepper <drepper@redhat.com>
28183 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28184 * sysdeps/x86_64/addmul_1.S: Likewise.
28185 * sysdeps/x86_64/lshift.S: Likewise.
28186 * sysdeps/x86_64/mul_1.S: Likewise.
28187 * sysdeps/x86_64/rshift.S: Likewise.
28188 * sysdeps/x86_64/sub_n.S: Likewise.
28189 * sysdeps/x86_64/submul_1.S: Likewise.
28191 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28193 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28194 Define __sched_param instead of SCHED_* and sched_param when
28195 <bits/sched.h> is included with __need_schedparam defined.
28196 * bits/sched.h [__need_schedparam]
28197 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
28198 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28199 (__defined_schedparam): Define to 1.
28200 (__sched_param): New structure, identical to sched_param.
28201 (__need_schedparam): Undefine.
28203 2010-08-31 Mike Frysinger <vapier@gentoo.org>
28205 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28206 (epoll_create1): Declare.
28208 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28210 2010-08-31 Andreas Schwab <schwab@redhat.com>
28213 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28214 shifting retval into place.
28216 2010-09-01 Ulrich Drepper <drepper@redhat.com>
28218 * nis/rpcsvc/nis.h: Update copyright notice.
28219 * nis/rpcsvc/nis.x: Likewise.
28220 * nis/rpcsvc/nis_callback.h: Likewise.
28221 * nis/rpcsvc/nis_callback.x: Likewise.
28222 * nis/rpcsvc/nis_object.x: Likewise.
28223 * nis/rpcsvc/nis_tags.h: Likewise.
28224 * nis/rpcsvc/yp.h: Likewise.
28225 * nis/rpcsvc/yp.x: Likewise.
28226 * nis/rpcsvc/ypupd.h: Likewise.
28227 * nis/yp_xdr.c: Likewise.
28228 * nis/ypupdate_xdr.c: Likewise.
28230 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28231 mainly the body of pmap_getport. Add parameters to specify timeouts.
28232 (pmap_getport): Use __libc_rpc_getport.
28233 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28234 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28235 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28237 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28242 2010-08-27 Roland McGrath <roland@redhat.com>
28244 * sysdeps/i386/i686/multiarch/Makefile
28245 (CFLAGS-varshift.c): New variable.
28247 2010-08-27 Ulrich Drepper <drepper@redhat.com>
28249 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28250 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28252 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28254 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28256 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28258 * sysdeps/x86_64/strlen.S: Unroll the loop.
28259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28260 strlen-sse2 strlen-sse2-bsf.
28261 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28262 __strlen_no_bsf if bit_Slow_BSF is set.
28263 (__strlen_sse42): Removed.
28264 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28265 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28267 2010-08-25 Roland McGrath <roland@redhat.com>
28269 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28270 * sysdeps/x86_64/multiarch/varshift.c: New file.
28271 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28272 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28273 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28274 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28276 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28278 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28279 strlen-sse2 strlen-sse2-bsf.
28280 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28281 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28282 (__strlen_sse2): Removed.
28283 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28284 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28286 bit_Slow_BSF for Atom.
28287 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28288 (index_Slow_BSF): Define.
28289 (HAS_SLOW_BSF): Define.
28291 2010-08-25 Ulrich Drepper <drepper@redhat.com>
28294 * resolv/res_init.c (__res_vinit): When no server address at all
28295 is given default to loopback.
28297 2010-08-24 Roland McGrath <roland@redhat.com>
28299 * configure.in: Remove config-name.h generation.
28300 * configure: Regenerated.
28301 * config-name.in: File removed.
28302 * scripts/config-uname.sh: New file.
28303 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28304 ($(objdir)config-name.h): New target.
28306 * sunrpc/rpc_parse.h: Avoid nested comment.
28308 2010-08-24 Richard Henderson <rth@redhat.com>
28309 Ulrich Drepper <drepper@redhat.com>
28310 H.J. Lu <hongjiu.lu@intel.com>
28312 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28314 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28315 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28316 _mm_alignr_epi8 with _mm_loadu_si128.
28317 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28318 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28319 (__m128i_shift_right): Removed.
28320 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28321 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28322 * sysdeps/x86_64/multiarch/varshift.h: New file.
28323 * sysdeps/x86_64/multiarch/varshift.S: New file.
28325 2010-08-21 Mike Frysinger <vapier@gentoo.org>
28327 * configure.in: Move assembler checks to before sysdep dir checking.
28329 2010-08-20 Petr Baudis <pasky@suse.cz>
28331 * LICENSES: Sync the sunrpc license.
28333 2010-08-19 Ulrich Drepper <drepper@redhat.com>
28335 * sunrpc/auth_des.c: Update copyright notice once again.
28336 * sunrpc/auth_none.c: Likewise.
28337 * sunrpc/auth_unix.c: Likewise.
28338 * sunrpc/authdes_prot.c: Likewise.
28339 * sunrpc/authuxprot.c: Likewise.
28340 * sunrpc/bindrsvprt.c: Likewise.
28341 * sunrpc/clnt_gen.c: Likewise.
28342 * sunrpc/clnt_perr.c: Likewise.
28343 * sunrpc/clnt_raw.c: Likewise.
28344 * sunrpc/clnt_simp.c: Likewise.
28345 * sunrpc/clnt_tcp.c: Likewise.
28346 * sunrpc/clnt_udp.c: Likewise.
28347 * sunrpc/clnt_unix.c: Likewise.
28348 * sunrpc/des_crypt.c: Likewise.
28349 * sunrpc/des_soft.c: Likewise.
28350 * sunrpc/get_myaddr.c: Likewise.
28351 * sunrpc/getrpcport.c: Likewise.
28352 * sunrpc/key_call.c: Likewise.
28353 * sunrpc/key_prot.c: Likewise.
28354 * sunrpc/openchild.c: Likewise.
28355 * sunrpc/pm_getmaps.c: Likewise.
28356 * sunrpc/pm_getport.c: Likewise.
28357 * sunrpc/pmap_clnt.c: Likewise.
28358 * sunrpc/pmap_prot.c: Likewise.
28359 * sunrpc/pmap_prot2.c: Likewise.
28360 * sunrpc/pmap_rmt.c: Likewise.
28361 * sunrpc/rpc/auth.h: Likewise.
28362 * sunrpc/rpc/auth_unix.h: Likewise.
28363 * sunrpc/rpc/clnt.h: Likewise.
28364 * sunrpc/rpc/des_crypt.h: Likewise.
28365 * sunrpc/rpc/key_prot.h: Likewise.
28366 * sunrpc/rpc/netdb.h: Likewise.
28367 * sunrpc/rpc/pmap_clnt.h: Likewise.
28368 * sunrpc/rpc/pmap_prot.h: Likewise.
28369 * sunrpc/rpc/pmap_rmt.h: Likewise.
28370 * sunrpc/rpc/rpc.h: Likewise.
28371 * sunrpc/rpc/rpc_des.h: Likewise.
28372 * sunrpc/rpc/rpc_msg.h: Likewise.
28373 * sunrpc/rpc/svc.h: Likewise.
28374 * sunrpc/rpc/svc_auth.h: Likewise.
28375 * sunrpc/rpc/types.h: Likewise.
28376 * sunrpc/rpc/xdr.h: Likewise.
28377 * sunrpc/rpc_clntout.c: Likewise.
28378 * sunrpc/rpc_cmsg.c: Likewise.
28379 * sunrpc/rpc_common.c: Likewise.
28380 * sunrpc/rpc_cout.c: Likewise.
28381 * sunrpc/rpc_dtable.c: Likewise.
28382 * sunrpc/rpc_hout.c: Likewise.
28383 * sunrpc/rpc_main.c: Likewise.
28384 * sunrpc/rpc_parse.c: Likewise.
28385 * sunrpc/rpc_parse.h: Likewise.
28386 * sunrpc/rpc_prot.c: Likewise.
28387 * sunrpc/rpc_sample.c: Likewise.
28388 * sunrpc/rpc_scan.c: Likewise.
28389 * sunrpc/rpc_scan.h: Likewise.
28390 * sunrpc/rpc_svcout.c: Likewise.
28391 * sunrpc/rpc_tblout.c: Likewise.
28392 * sunrpc/rpc_util.c: Likewise.
28393 * sunrpc/rpc_util.h: Likewise.
28394 * sunrpc/rpcinfo.c: Likewise.
28395 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28396 * sunrpc/rpcsvc/key_prot.x: Likewise.
28397 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28398 * sunrpc/rpcsvc/mount.x: Likewise.
28399 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28400 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28401 * sunrpc/rpcsvc/rex.x: Likewise.
28402 * sunrpc/rpcsvc/rstat.x: Likewise.
28403 * sunrpc/rpcsvc/rusers.x: Likewise.
28404 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28405 * sunrpc/rpcsvc/spray.x: Likewise.
28406 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28407 * sunrpc/rtime.c: Likewise.
28408 * sunrpc/svc.c: Likewise.
28409 * sunrpc/svc_auth.c: Likewise.
28410 * sunrpc/svc_authux.c: Likewise.
28411 * sunrpc/svc_raw.c: Likewise.
28412 * sunrpc/svc_run.c: Likewise.
28413 * sunrpc/svc_simple.c: Likewise.
28414 * sunrpc/svc_tcp.c: Likewise.
28415 * sunrpc/svc_udp.c: Likewise.
28416 * sunrpc/svc_unix.c: Likewise.
28417 * sunrpc/svcauth_des.c: Likewise.
28418 * sunrpc/xcrypt.c: Likewise.
28419 * sunrpc/xdr.c: Likewise.
28420 * sunrpc/xdr_array.c: Likewise.
28421 * sunrpc/xdr_float.c: Likewise.
28422 * sunrpc/xdr_mem.c: Likewise.
28423 * sunrpc/xdr_rec.c: Likewise.
28424 * sunrpc/xdr_ref.c: Likewise.
28425 * sunrpc/xdr_sizeof.c: Likewise.
28426 * sunrpc/xdr_stdio.c: Likewise.
28428 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28431 2010-08-19 Andreas Schwab <schwab@redhat.com>
28433 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28435 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
28437 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28438 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28439 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28440 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28441 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28442 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28443 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28444 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28445 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28446 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28447 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28448 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28449 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28450 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28452 2010-07-26 Anton Blanchard <anton@samba.org>
28454 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28455 * malloc/arena.c (heap_trim): Likewise.
28457 2010-08-16 Ulrich Drepper <drepper@redhat.com>
28459 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28461 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28462 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28464 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28466 * sysdeps/i386/elf/Makefile: New file.
28468 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28470 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28471 from fanotify_init.
28472 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28473 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28475 2010-08-15 Ulrich Drepper <drepper@redhat.com>
28477 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28479 * sysdeps/multiarch/strcmp.S: Likewise.
28481 2010-08-14 Ulrich Drepper <drepper@redhat.com>
28483 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28484 strncase_l-nonascii.
28485 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28486 Add strncase_l-ssse3.
28487 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28488 * sysdeps/x86_64/strcmp.S: Likewise.
28489 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28490 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28491 * sysdeps/x86_64/strncase.S: New file.
28492 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28493 * sysdeps/x86_64/strncase_l.S: New file.
28494 * string/Makefile (strop-tests): Add strncasecmp.
28495 * string/test-strncasecmp.c: New file.
28497 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28500 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28501 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28503 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28505 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28507 2010-08-12 Ulrich Drepper <drepper@redhat.com>
28509 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28510 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28511 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28513 2010-05-01 Alan Modra <amodra@gmail.com>
28515 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28516 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28517 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28518 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28519 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28520 tidying. Don't tail-call __sigjmp_save for static lib.
28521 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28523 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28524 (CALL_MCOUNT): Add eh info, and nop after bl.
28525 (TAIL_CALL_SYSCALL_ERROR): New macro.
28526 (PSEUDO_RET): Use it.
28527 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28528 Correct save location of integer regs and cr.
28529 (_dl_profile_resolve): Correct cr save location. Delete nops
28530 after bl when SHARED. Reduce cfi size a little by better
28531 placement of cfi directives.
28532 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28533 make a stack frame. Instead use parm save area as a temp.
28534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28535 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28537 Don't make a stack frame for parent, use parm save area.
28538 Increase child stack frame to 112 bytes. Don't save unused reg,
28539 and adjust reg usage. Set up cfi on error recovery and
28540 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28542 (__makecontext): Add dummy nop after jump to exit.
28543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28544 Use correct parm save area and cr save, reduce stack frame.
28545 Correct cfi for possible PSEUDO_RET frame setup.
28546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28547 Branch to local label emitted by PSEUDO_RET rather than
28550 2010-08-12 Andreas Schwab <schwab@redhat.com>
28553 * locale/programs/locale.c (print_assignment): New function.
28554 (show_locale_vars): Use it.
28556 2010-08-11 Ulrich Drepper <drepper@redhat.com>
28558 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28560 (struct statfs64): Likewise.
28561 (_STATFS_F_FLAGS): Define.
28562 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28563 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28564 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28565 (ST_VALID): Define locally.
28566 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28567 __statvfs_getflags, use the provided value.
28568 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28569 __ASSUME_STATFS_F_FLAGS.
28571 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28573 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28574 Add sys/fanotify.h.
28575 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28576 fanotify_mask for GLIBC_2.13.
28577 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28578 fanotify_init and fanotify_mark.
28579 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28580 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28582 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28584 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28585 prlimit64 for GLIBC_2.13.
28586 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28588 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28591 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28592 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28593 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28594 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28596 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28599 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28600 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28602 * nss/Makefile: Add rules to build and run tst-nss-test1.
28603 * shlib-versions: Add entry for libnss_test1.
28604 * nss/nss_test1.c: New file.
28605 * nss/tst-nss-test1.c: New file.
28607 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28608 (__nss_configure_lookup): Set appropriate entry in
28609 __nss_configure_lookup to true.
28610 * nss/nsswitch.h: Define enum with indeces of databases in
28611 databases and __nss_database_custom arrays. Declare
28612 __nss_database_custom.
28613 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28614 to avoid using nscd when custom rules are installed.
28615 * nss/getXXbyYY_r.c: Likewise.
28616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28618 * nss/nss_files/files-parse.c: Whitespace fixes.
28620 2010-08-09 Ulrich Drepper <drepper@redhat.com>
28623 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28624 * posix/fnmatch_loop.c: Likewise.
28626 2010-07-17 Andi Kleen <ak@linux.intel.com>
28628 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28629 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28630 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28631 * Versions.def [GLIBC_2.13]: Add.
28633 2010-08-06 Ulrich Drepper <drepper@redhat.com>
28635 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28636 Also fail if tpwd after pwuid call is NULL.
28638 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28640 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28641 when converting to ms.
28643 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28645 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28646 EOPNOTSUPP errors with ENOTTY.
28647 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28648 EOPNOTSUPP errors with ENOTTY.
28650 2010-07-31 Ulrich Drepper <drepper@redhat.com>
28652 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28653 Add strcasecmp_l-ssse3.
28654 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28656 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28657 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28658 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28660 2010-07-30 Ulrich Drepper <drepper@redhat.com>
28662 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28664 * string/Makefile (strop-tests): Add strcasecmp.
28665 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28666 strcasecmp_l-nonascii.
28667 (gen-as-const-headers): Add locale-defines.sym.
28668 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28669 * sysdeps/x86_64/strcasecmp.S: New file.
28670 * sysdeps/x86_64/strcasecmp_l.S: New file.
28671 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28672 * sysdeps/x86_64/locale-defines.sym: New file.
28673 * string/test-strcasecmp.c: New file.
28675 * string/test-strcasestr.c: Test both ends of the range of characters.
28676 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28678 2010-07-29 Roland McGrath <roland@redhat.com>
28681 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28683 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28685 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28688 2010-07-27 Andreas Schwab <schwab@redhat.com>
28690 * manual/memory.texi (Malloc Tunable Parameters): Document
28693 2010-07-26 Roland McGrath <roland@redhat.com>
28696 * configure.in (-fgnu89-inline check): Set and substitute
28697 gnu89_inline, not libc_cv_gnu89_inline.
28698 * configure: Regenerated.
28699 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28701 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28703 * string/test-strnlen.c: New file.
28704 * string/Makefile (strop-tests): Add strnlen.
28705 * string/tester.c (test_strnlen): Add a few more test cases.
28706 * string/tst-strlen.c: Better error reporting.
28708 * sysdeps/x86_64/strnlen.S: New file.
28710 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28712 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28713 lower-latency instructions.
28715 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28717 * string/test-strcasestr.c: New file.
28718 * string/test-strstr.c: New file.
28719 * string/Makefile (strop-tests): Add strstr and strcasestr.
28720 * string/str-two-way.h: Don't undefine MAX.
28721 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28723 2010-07-21 Andreas Schwab <schwab@redhat.com>
28725 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28726 strcasestr-nonascii.
28727 (CFLAGS-strcasestr-nonascii.c): Define.
28728 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28729 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28730 Remove unused attribute.
28732 2010-07-20 Roland McGrath <roland@redhat.com>
28734 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28735 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28736 ld.so.cache was broken. With it, there is no way to disable dsocaps
28737 like LD_HWCAP_MASK can disable hwcaps.
28739 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28741 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28743 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28745 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28746 call in strcasestr.
28747 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28748 __strcasestr_sse42_nonascii.
28749 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28750 strcasestr-nonascii.c.
28751 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28753 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28755 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28756 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28757 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28758 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28760 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28762 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28765 2010-07-06 Andreas Schwab <schwab@redhat.com>
28768 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28771 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28773 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28774 _PC_PIPE_BUF using F_GETPIPE_SZ.
28776 2010-07-05 Roland McGrath <roland@redhat.com>
28778 * manual/arith.texi (Rounding Functions): Fix rint description
28779 implicit in round description.
28781 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28783 * elf/Makefile: Fix linking for a few tests to make recent linker
28786 2010-06-30 Andreas Schwab <schwab@redhat.com>
28788 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28789 $(common-objpfx)libc_nonshared.a.
28791 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28793 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28794 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28795 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28796 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28797 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28798 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28799 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28800 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28815 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28816 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28817 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28818 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28819 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28820 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28821 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28822 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28823 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28824 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28825 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28826 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28842 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28844 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28845 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28846 * string/memmove.c (memmove): Renamed to ...
28847 (MEMMOVE): ...this. Default to memmove.
28848 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28849 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28851 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28852 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28853 mempcpy-ssse3-back memmove-ssse3-back.
28854 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28855 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28856 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28857 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28858 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28859 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28860 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28861 * sysdeps/x86_64/multiarch/memmove.c: New file.
28862 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28863 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28864 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28865 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28866 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28867 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28869 (index_Fast_Copy_Backward): Define.
28870 (HAS_ARCH_FEATURE): Define.
28871 (HAS_FAST_REP_STRING): Define.
28872 (HAS_FAST_COPY_BACKWARD): Define.
28874 2010-06-21 Andreas Schwab <schwab@redhat.com>
28876 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28877 Restore proper fallback handling.
28879 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28882 * posix/group_member.c (__group_member): Correct checking loop.
28884 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28885 OOM in getpwuid_r correctly. Return error number when the caller
28886 should return, otherwise -1.
28887 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28888 call returning > 0 value.
28889 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28891 2010-06-07 Andreas Schwab <schwab@redhat.com>
28893 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28894 libc_nonshared.a from targets in modules-names.
28896 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28898 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28901 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28903 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28904 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28905 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28906 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28908 2010-06-02 Andreas Schwab <schwab@redhat.com>
28910 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28912 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28914 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28916 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28917 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28920 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28921 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28923 2010-06-14 Roland McGrath <roland@redhat.com>
28925 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28927 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28929 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28930 __REDIRECT followed by __THROW.
28931 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28932 * posix/getopt.h (getopt): Likewise.
28934 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28936 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28937 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28938 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28940 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28941 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28943 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
28945 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28947 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28951 Properly check family and model.
28953 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28955 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28957 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
28959 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28961 2010-05-21 Ulrich Drepper <drepper@redhat.com>
28963 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28966 2010-05-19 Andreas Schwab <schwab@redhat.com>
28968 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28971 2010-05-21 Andreas Schwab <schwab@redhat.com>
28973 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28974 and internal_recvmmsg.
28975 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28976 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28977 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28978 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28980 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28981 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28982 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28984 2010-05-20 Andreas Schwab <schwab@redhat.com>
28986 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28988 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
28990 POWER7 optimizations.
28991 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28992 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28994 2010-05-19 Ulrich Drepper <drepper@redhat.com>
28996 * version.h: Update for 2.13 development version.
28998 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
29000 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29001 exceptions. Return 0.
29003 2010-05-07 Roland McGrath <roland@redhat.com>
29005 * elf/ldconfig.c (main): Add a const.
29007 2010-05-06 Ulrich Drepper <drepper@redhat.com>
29009 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29010 (args_options): Add no-idn option.
29011 (ahosts_keys_int): Add idn_flags to ai_flags.
29012 (parse_option): Handle 'i' option to clear idn_flags.
29014 * malloc/malloc.c (_int_free): Possible race in the most recently
29015 added check. Only act on the data if no current modification
29018 See ChangeLog.17 for earlier changes.