1 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3 * math/libm-test.inc (struct test_f_f1_data): New type.
4 (RUN_TEST_LOOP_f_f1): New macro.
5 (gamma_test_data): New variable.
6 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7 (lgamma_test_data): New variable.
8 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
10 2013-05-13 Carlos O'Donell <carlos@redhat.com>
12 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14 (main): Comment "tls" pseudo-hwcap.
16 2013-05-13 Joseph Myers <joseph@codesourcery.com>
18 * math/libm-test.inc (struct test_fl_f_data): New type.
19 (RUN_TEST_LOOP_fl_f): New variable.
20 (scalbln_test_data): New variable.
21 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23 * math/libm-test.inc (struct test_fi_f_data): New type.
24 (RUN_TEST_LOOP_fi_f): New macro.
25 (ldexp_test_data): New variable.
26 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27 (scalbn_test_data): New variable.
28 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
30 * math/libm-test.inc (struct test_c_f_data): New type.
31 (RUN_TEST_LOOP_c_f): New macro.
32 (cabs_test_data): New variable.
33 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
34 (carg_test_data): New variable.
35 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36 (cimag_test_data): New variable.
37 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
38 (creal_test_data): New variable.
39 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
41 * math/libm-test.inc (struct test_if_f_data): New type.
42 (RUN_TEST_LOOP_if_f): New macro.
43 (jn_test_data): New variable.
44 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
45 (yn_test_data): New variable.
46 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
48 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
50 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
53 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
55 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
57 * benchtests/Makefile (CPPFLAGS-nonlib): Add
58 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
59 (bench-deps): Add bench-timing.h.
60 * benchtests-bench-skeleton.c: Include bench-timing.h.
61 (main): Use TIMING_* macros instead of clock_gettime.
62 * benchtests/bench-timing.h: New file.
65 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
66 Renamed from _LIB_VERSION.
67 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
69 2013-05-12 Joseph Myers <joseph@codesourcery.com>
71 * math/libm-test.inc (struct test_fff_f_data): New type.
72 (RUN_TEST_LOOP_fff_f): New macro.
73 (fma_test_data): New variable.
74 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
75 (fma_towardzero_test_data): New variable.
76 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
77 (fma_downward_test_data): New variable.
78 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
79 (fma_upward_test_data): New variable.
80 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
82 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
83 (struct test_c_c_data): New type.
84 (RUN_TEST_LOOP_c_c): New macro.
85 (cacos_test_data): New variable.
86 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
87 (cacosh_test_data): New variable.
88 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
89 (casin_test_data): New variable.
90 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
91 (casinh_test_data): New variable.
92 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
93 (catan_test_data): New variable.
94 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
95 (catanh_test_data): New variable.
96 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
97 (ccos_test_data): New variable.
98 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
99 (ccosh_test_data): New variable.
100 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
101 (cexp_test_data): New variable.
102 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
103 (clog_test_data): New variable.
104 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
105 (clog10_test_data): New variable.
106 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
107 (conj_test_data): New variable.
108 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
109 (cproj_test_data): New variable.
110 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
111 (csin_test_data): New variable.
112 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
113 (csinh_test_data): New variable.
114 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
115 (csqrt_test_data): New variable.
116 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
117 (ctan_test_data): New variable.
118 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
119 (ctan_tonearest_test_data): New variable.
120 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
121 (ctan_towardzero_test_data): New variable.
122 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
123 (ctan_downward_test_data): New variable.
124 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
125 (ctan_upward_test_data): New variable.
126 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
127 (ctanh_test_data): New variable.
128 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
129 (ctanh_tonearest_test_data): New variable.
130 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
131 (ctanh_towardzero_test_data): New variable.
132 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
133 (ctanh_downward_test_data): New variable.
134 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
135 (ctanh_upward_test_data): New variable.
136 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
137 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
140 * math/libm-test.inc (struct test_ff_f_data): New type.
141 (struct test_ff_f_data_nexttoward): Likewise.
142 (RUN_TEST_LOOP_2_f): New macro.
143 (RUN_TEST_LOOP_ff_f): Likewise.
144 (atan2_test_data): New variable.
145 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
146 (copysign_test_data): New variable.
147 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
148 (fdim_test_data): New variable.
149 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
150 (fmax_test_data): New variable.
151 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
152 (fmin_test_data): New variable.
153 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
154 (fmod_test_data): New variable.
155 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
156 (hypot_test_data): New variable.
157 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
158 (nextafter_test_data): New variable.
159 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
160 (nexttoward_test_data): New variable.
161 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
162 (pow_test_data): New variable.
163 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
164 (pow_tonearest_test_data): New variable.
165 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
166 (pow_towardzero_test_data): New variable.
167 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
168 (pow_downward_test_data): New variable.
169 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
170 (pow_upward_test_data): New variable.
171 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
172 (remainder_test_data): New variable.
173 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
174 (scalb_test_data): New variable.
175 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
176 * sysdeps/i386/fpu/libm-test-ulps: Update.
178 2013-05-11 Joseph Myers <joseph@codesourcery.com>
180 * math/libm-test.inc (fma_test): Use max_value instead of local
182 (nextafter_test): Likewise.
184 * math/libm-test.inc (acos_towardzero_test_data): New variable.
185 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
186 (acos_downward_test_data): New variable.
187 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
188 (acos_upward_test_data): New variable.
189 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
190 (acosh_test_data): New variable.
191 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
192 (asin_test_data): New variable.
193 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
194 (asin_tonearest_test_data): New variable.
195 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
196 (asin_towardzero_test_data): New variable.
197 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
198 (asin_downward_test_data): New variable.
199 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
200 (asin_upward_test_data): New variable.
201 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
202 (asinh_test_data): New variable.
203 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
204 (atan_test_data): New variable.
205 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
206 (atanh_test_data): New variable.
207 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
208 (cbrt_test_data): New variable.
209 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
210 (ceil_test_data): New variable.
211 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
212 (cos_test_data): New variable.
213 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
214 (cos_tonearest_test_data): New variable.
215 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
216 (cos_towardzero_test_data): New variable.
217 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
218 (cos_downward_test_data): New variable.
219 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
220 (cos_upward_test_data): New variable.
221 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
222 (cosh_test_data): New variable.
223 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
224 (cosh_tonearest_test_data): New variable.
225 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
226 (cosh_towardzero_test_data): New variable.
227 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
228 (cosh_downward_test_data): New variable.
229 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
230 (cosh_upward_test_data): New variable.
231 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
232 (erf_test_data): New variable.
233 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
234 (erfc_test_data): New variable.
235 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
236 (exp_test_data): New variable.
237 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
238 (exp_tonearest_test_data): New variable.
239 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
240 (exp_towardzero_test_data): New variable.
241 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
242 (exp_downward_test_data): New variable.
243 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
244 (exp_upward_test_data): New variable.
245 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
246 (exp10_test_data): New variable.
247 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
248 (exp2_test_data): New variable.
249 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
250 (expm1_test_data): New variable.
251 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
252 (fabs_test_data): New variable.
253 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
254 (floor_test_data): New variable.
255 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
256 (j0_test_data): New variable.
257 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
258 (j1_test_data): New variable.
259 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
260 (log_test_data): New variable.
261 (log_test): Run tests with RUN_TEST_LOOP_f_f.
262 (log10_test_data): New variable.
263 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
264 (log1p_test_data): New variable.
265 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
266 (log2_test_data): New variable.
267 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
268 (logb_test_data): New variable.
269 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
270 (logb_downward_test_data): New variable.
271 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
272 (nearbyint_test_data): New variable.
273 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
274 (rint_test_data): New variable.
275 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
276 (rint_tonearest_test_data): New variable.
277 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
278 (rint_towardzero_test_data): New variable.
279 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
280 (rint_downward_test_data): New variable.
281 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
282 (rint_upward_test_data): New variable.
283 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
284 (round_test_data): New variable.
285 (round_test): Run tests with RUN_TEST_LOOP_f_f.
286 (sin_test_data): New variable.
287 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
288 (sin_tonearest_test_data): New variable.
289 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
290 (sin_towardzero_test_data): New variable.
291 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
292 (sin_downward_test_data): New variable.
293 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
294 (sin_upward_test_data): New variable.
295 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
296 (sinh_test_data): New variable.
297 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
298 (sinh_tonearest_test_data): New variable.
299 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
300 (sinh_towardzero_test_data): New variable.
301 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
302 (sinh_downward_test_data): New variable.
303 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
304 (sinh_upward_test_data): New variable.
305 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
306 (sqrt_test_data): New variable.
307 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
308 (tan_test_data): New variable.
309 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
310 (tan_tonearest_test_data): New variable.
311 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
312 (tan_towardzero_test_data): New variable.
313 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
314 (tan_downward_test_data): New variable.
315 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
316 (tan_upward_test_data): New variable.
317 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
318 (tanh_test_data): New variable.
319 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
320 (tgamma_test_data): New variable.
321 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
322 (trunc_test_data): New variable.
323 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
324 (y0_test_data): New variable.
325 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
326 (y1_test_data): New variable.
327 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
328 (significand_test_data): New variable.
329 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
331 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
334 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
336 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
338 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
340 2013-05-10 Andreas Jaeger <aj@suse.de>
343 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
344 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
346 2013-05-10 Joseph Myers <joseph@codesourcery.com>
348 * math/gen-libm-test.pl (adjust_arg): New function.
349 (special_functions): Handle generating output in both functions
351 (parse_args): Likewise.
352 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
353 $in_func argument to parse_args.
354 * math/libm-test.inc (struct test_f_f_data): New type.
355 (IF_ROUND_INIT_): New macro.
356 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
357 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
358 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
359 (IF_ROUND_INIT_FE_UPWARD): Likewise.
360 (ROUND_RESTORE_): Likewise.
361 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
362 (ROUND_RESTORE_FE_TONEAREST): Likewise.
363 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
364 (ROUND_RESTORE_FE_UPWARD): Likewise.
365 (RUN_TEST_LOOP_f_f): New macro.
366 (acos_test_data): New variable.
367 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
368 (acos_tonearest_test_data): New variable.
369 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
371 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
373 * benchtests/bench-skeleton.c (startup): Fix coding style.
375 2013-05-10 Joseph Myers <joseph@codesourcery.com>
378 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
379 negative infinity argument.
380 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
381 negative infinity argument.
382 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
383 negative infinity argument.
384 * math/libm-test.inc (tgamma_test): Expect errno to be set for
387 2013-05-10 Florian Weimer <fweimer@redhat.com>
389 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
390 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
391 * iconv/iconv_prog.c (main): Likewise.
392 * locale/programs/charmap-dir.c (charmap_readdir)
393 (fopen_uncompressed): Likewise.
394 * locale/programs/locfile.c (siblings_uncached)
395 (write_locale_data): Use lstat64 instead of lstat.
396 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
399 2013-05-10 Andreas Jaeger <aj@suse.de>
402 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
406 2013-05-09 Carlos O'Donell <carlos@redhat.com>
408 * elf/dl-close.c (_dl_close_worker): Add comments.
410 2013-05-09 Joseph Myers <joseph@codesourcery.com>
413 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
415 (__ieee754_rem_pio2l): Update comments.
418 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
420 (__ieee754_rem_pio2l): Update comments.
422 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
423 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
425 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
428 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
429 (M_PI_34_LOG10El): Likewise.
430 (M_PI2_LOG10El): Likewise.
431 (M_PI4_LOG10El): Likewise.
432 (M_PI_LOG10El): Likewise.
434 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
438 2013-05-08 Joseph Myers <joseph@codesourcery.com>
440 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
441 (MINUS_ZERO_INIT): Likewise.
442 (PLUS_INFTY_INIT): Likewise.
443 (MINUS_INFTY_INIT): Likewise.
444 (QNAN_VALUE_INIT): Likewise.
445 (MAX_VALUE_INIT): Likewise.
446 (MIN_VALUE_INIT): Likewise.
447 (MIN_SUBNORM_VALUE_INIT): Likewise.
448 (plus_zero): Initialize with PLUS_ZERO_INIT.
449 (minus_zero): Initialize with MINUS_ZERO_INIT.
450 (plus_infty): Initialize with PLUS_INFTY_INIT.
451 (minus_infty): Initialize with MINUS_INFTY_INIT.
452 (qnan_value): Initialize with QNAN_VALUE_INIT.
453 (max_value): Initialize with MAX_VALUE_INIT.
454 (min_value): Initialize with MIN_VALUE_INIT.
455 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
457 * math/libm-test.inc (RUN_TEST_if_f): New macro.
458 (jn_test): Use TEST_if_f instead of TEST_ff_f.
459 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
460 (yn_test): Use TEST_if_f instead of TEST_ff_f.
462 * math/libm-test.inc (RUN_TEST_f_f): New macro.
463 (RUN_TEST_2_f): Likewise.
464 (RUN_TEST_ff_f): Likewise.
465 (RUN_TEST_fi_f): Likewise.
466 (RUN_TEST_fl_f): Likewise.
467 (RUN_TEST_fff_f): Likewise.
468 (RUN_TEST_c_f): Likewise.
469 (RUN_TEST_f_f1): Likewise.
470 (RUN_TEST_fF_f1): Likewise.
471 (RUN_TEST_fI_f1): Likewise.
472 (RUN_TEST_ffI_f1): Likewise.
473 (RUN_TEST_c_c): Likewise.
474 (RUN_TEST_cc_c): Likewise.
475 (RUN_TEST_f_i): Likewise.
476 (RUN_TEST_f_i_tg): Likewise.
477 (RUN_TEST_ff_i_tg): Likewise.
478 (RUN_TEST_f_b): Likewise.
479 (RUN_TEST_f_b_tg): Likewise.
480 (RUN_TEST_f_l): Likewise.
481 (RUN_TEST_f_L): Likewise.
482 (RUN_TEST_sincos): Likewise.
483 * math/gen-libm-test.pl (new_test): Take new argument to indicate
484 whether to show exceptions. Do not include ");\n" in return
486 (special_functions): Output call to RUN_TEST_sincos instead of
487 check_float calls. Update calls to new_test.
488 (parse_args): Output call to single RUN_TEST_* macro instead of
489 check_* calls and other assignments. Update calls to new_test.
495 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
496 input to result for tgamma overflow.
497 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
498 (gamma_coeff): New variable.
500 (gamma_positive): New function.
501 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
502 underflow here. Use gamma_positive instead of exp (lgamma) for
504 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
505 (gamma_coeff): New variable.
507 (gammaf_positive): New function.
508 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
509 underflow here. Use gamma_positive instead of exp (lgamma) for
511 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
512 (gamma_coeff): New variable.
514 (gammal_positive): New function.
515 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
516 underflow here. Use gamma_positive instead of exp (lgamma) for
518 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
519 (gamma_coeff): New variable.
521 (gammal_positive): New function.
522 (__ieee754_gammal_r): Handle positive infinity, overflow and
523 underflow here. Handle NaN the same as positive infinity. Remove
524 check x < 0xffffffff for negative integers. Use gamma_positive
525 instead of exp (lgamma) for other arguments.
526 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
527 (gamma_coeff): New variable.
529 (gammal_positive): New function.
530 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
531 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
532 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
533 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
534 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
535 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
536 * sysdeps/generic/math_private.h (__gamma_productf): New
538 (__gamma_product): Likewise.
539 (__gamma_productl): Likewise.
540 * math/Makefile (libm-calls): Add gamma_product.
541 * math/libm-test.inc (tgamma_test): Add more tests.
542 * sysdeps/i386/fpu/libm-test-ulps: Update.
543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
545 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
547 * benchtests/bench-skeleton.c (main): Preheat CPU.
549 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
551 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
553 2013-05-07 Roland McGrath <roland@hack.frob.com>
555 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
556 and _dl_skip_args_internal.
558 2013-05-07 Carlos O'Donell <carlos@redhat.com>
560 * manual/message.texi (Message Translation): Talk about users.
561 Message to key mapping impacts design.
563 2013-05-06 Roland McGrath <roland@hack.frob.com>
565 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
567 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
569 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
570 * sysdeps/wordsize-64/glob64.c: ... here.
572 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
573 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
576 * debug/getlogin_r_chk.c: Moved to ...
577 * login/getlogin_r_chk.c: ... here.
578 * debug/Makefile (routines): Move getlogin_r_chk to ...
579 * login/Makefile (routines): ... here.
580 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
581 * login/Versions (libc: GLIBC_2.4): ... here.
583 * io/poll.c (__poll): Renamed from poll.
585 (poll): Define as weak alias.
587 * debug/ptsname_r_chk.c: Moved to ...
588 * login/ptsname_r_chk.c: ... here.
589 * debug/Makefile (routines): Move ptsname_r_chk to ...
590 * login/Makefile (routines): ... here.
591 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
592 * login/Versions (libc: GLIBC_2.4): ... here.
594 * posix/getlogin.c: Moved to ...
595 * login/getlogin.c: ... here.
596 * posix/getlogin_r.c: Moved to ...
597 * login/getlogin_r.c: ... here.
598 * posix/getlogin_r.c: Moved to ...
599 * login/getlogin_r.c: ... here.
600 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
601 * login/Makefile (routines): ... here.
602 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
603 * login/Versions (libc: GLIBC_2.0): ... here.
605 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
606 (setrlimit): Define as weak alias.
608 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
609 Call __ names for open, ftruncate, and close.
610 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
611 (truncate): Define as weak alias.
613 2013-05-06 Joseph Myers <joseph@codesourcery.com>
615 * math/gen-libm-test.pl (parse_args): Initialize x before each
616 test of frexp, modf and remquo.
618 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
621 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
625 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
627 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
629 2013-05-06 Roland McGrath <roland@hack.frob.com>
631 * elf/dl-writev.h: New file.
632 * elf/dl-misc.c: Include it.
633 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
634 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
636 2013-05-04 Joseph Myers <joseph@codesourcery.com>
638 * math/libm-test.inc (noXFails): Remove variable.
639 (noXPasses): Likewise.
640 (BUILD_COMPLEX_INT): Remove macro.
641 (print_screen): Remove xfail argument.
642 (print_screen_max_error): Likewise.
643 (update_stats): Likewise.
644 (print_max_error): Likewise. Update calls to other affected
646 (print_complex_max_error): Likewise.
647 (test_single_exception): Update calls to print_screen.
648 (test_single_errno): Likewise.
649 (check_float_internal): Remove xfail argument. Update calls to
650 other affected functions.
651 (check_float): Likewise.
652 (check_complex): Likewise.
653 (check_int): Likewise.
654 (check_long): Likewise.
655 (check_bool): Likewise.
656 (check_longlong): Likewise.
657 (main): Don't print noXFails and noXPasses.
658 * math/gen-libm-test.pl (top level): Don't mention expected
659 failure handling in comment.
660 (new_test): Don't handle expected failures.
661 (parse_args): Don't mention expected failure handling in comment.
662 (generate_testfile): Don't handle expected failures.
663 (parse_ulps): Likewise.
664 (print_ulps_file): Likewise.
665 (get_failure): Remove function.
666 (output_test): Don't handle expected failures.
667 * make/README.libm-test: Don't mention expected failure handling.
669 * math/libm-test.inc (plus_zero): Make const. Add initializer.
670 (minus_zero): Likewise.
671 (plus_infty): Likewise.
672 (minus_infty): Likewise.
673 (qnan_value): Likewise.
674 (max_value): Likewise.
675 (min_value): Likewise.
676 (min_subnorm_value): Likewise.
677 (initialize): Do not initialize those variables dynamically.
679 2013-05-03 Roland McGrath <roland@hack.frob.com>
681 * io/open.c (__open_2): Moved to ...
682 * io/open_2.c: ... this new file.
683 * io/open64.c (__open64_2): Moved to ...
684 * io/open64_2.c: ... this new file.
685 * io/openat.c (__openat_2): Moved to ...
686 * io/openat_2.c: ... this new file.
687 * io/openat64.c (__openat64_2): Moved to ...
688 * io/openat64_2.c: ... this new file.
689 * io/Makefile (routines): Add them.
690 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
691 * sysdeps/unix/sysv/linux/open_2.c: File removed.
692 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
693 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
694 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
695 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
696 (__openat64): Add hidden_ver.
697 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
698 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
700 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
701 Separately conditionalize setting of GLRO(dl_sysinfo) so
702 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
703 as well, but the actual setting is only under [NEED_DL_SYSINFO].
705 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
707 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
708 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
710 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
711 * sysdeps/unix/sysv/linux/powerpc/init-first.c
712 (_libc_vdso_platform_setup): Add __vdso_time initialization.
713 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
714 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
716 2013-05-03 Joseph Myers <joseph@codesourcery.com>
718 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
721 * math/libm-test.inc (hypot_test): Do not use
722 IGNORE_ZERO_INF_SIGN.
724 2013-05-03 Andreas Jaeger <aj@suse.de>
726 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
728 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
729 (PF_MAX): Adjust for VSOCK change.
731 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
735 2013-05-02 Carlos O'Donell <carlos@redhat.com>
738 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
739 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
740 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
742 2013-05-02 David S. Miller <davem@davemloft.net>
744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
746 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
748 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
750 2013-05-01 Roland McGrath <roland@hack.frob.com>
752 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
754 2013-05-01 Richard Smith <richard@metafoo.co.uk>
757 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
758 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
759 Use __attribute__ ((__gnu_inline__)).
760 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
761 Don't use __attribute__ ((__gnu_inline__)).
763 2013-05-01 Joseph Myers <joseph@codesourcery.com>
766 * math/s_catan.c (__catan): Handle small real or imaginary part of
767 input specially to avoid spurious underflow.
768 * math/s_catanf.c (__catanf): Likewise.
769 * math/s_catanh.c (__catanh): Likewise.
770 * math/s_catanhf.c (__catanhf): Likewise.
771 * math/s_catanhl.c (__catanhl): Likewise.
772 * math/s_catanl.c (__catanl): Likewise.
773 * math/libm-test.inc (catan_test): Add more tests.
774 (catanh_test): Likewise.
775 * sysdeps/i386/fpu/libm-test-ulps: Update.
776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
778 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
780 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
782 2013-04-30 Joseph Myers <joseph@codesourcery.com>
785 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
786 accurately for denominator in atan2.
787 * math/s_catanf.c (__catanf): Likewise.
788 * math/s_catanh.c (__catanh): Likewise.
789 * math/s_catanhf.c (__catanhf): Likewise.
790 * math/s_catanhl.c (__catanhl): Likewise.
791 * math/s_catanl.c (__catanl): Likewise.
792 * math/libm-test.inc (catan_test): Add more tests.
793 (catanh_test): Likewise.
794 * sysdeps/i386/fpu/libm-test-ulps: Update.
795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
797 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
799 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
801 * benchtests/Makefile (bench): Remove slow benchmarks.
802 * benchtests/atan-inputs: Add slow benchmark inputs.
803 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
804 (BENCH_FUNC): Accept variant offset.
806 * benchtests/bench-skeleton.c (main): Run benchmark for each
808 * benchtests/cos-inputs: Add slow benchmark inputs.
809 * benchtests/exp-inputs: Likewise.
810 * benchtests/pow-inputs: Likewise.
811 * benchtests/sin-inputs: Likewise.
812 * benchtests/slowatan-inputs: Remove.
813 * benchtests/slowatan.c: Remove.
814 * benchtests/slowcos-inputs: Remove.
815 * benchtests/slowcos.c: Remove.
816 * benchtests/slowexp-inputs: Remove.
817 * benchtests/slowexp.c: Remove.
818 * benchtests/slowpow-inputs: Remove.
819 * benchtests/slowpow.c: Remove.
820 * benchtests/slowsin-inputs: Remove.
821 * benchtests/slowsin.c: Remove.
822 * benchtests/slowtan-inputs: Remove.
823 * benchtests/slowtan.c: Remove.
824 * benchtests/tan-inputs: Add slow benchmark inputs.
825 * scripts/bench.pl: Parse comments and directives.
827 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
829 ($(objpfx)bench-%.c): Remove *-ITER.
830 * benchtests/bench-modf.c: Remove definition of ITER.
831 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
832 (main): Loop for DURATION seconds instead of fixed number of
834 * scripts/bench.pl: Don't expect iterations in parameters.
836 2013-04-29 Roland McGrath <roland@hack.frob.com>
838 * io/fchdir.c (__fchdir): Renamed from fchdir.
839 (fchdir): Define as weak alias.
841 2013-04-29 Joseph Myers <joseph@codesourcery.com>
843 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
844 (ERRNO_EDOM): Likewise.
845 (ERRNO_ERANGE): Likewise.
846 (noErrnoTests): New variable.
847 (init_max_error): Set errno to 0.
848 (test_single_errno): New function.
849 (test_errno): Likewise.
850 (check_float_internal): Call test_errno. Set errno to 0.
851 (check_complex): Refer to errno tests in comment.
852 (check_int): Call test_errno. Set errno to 0.
853 (check_long): Likewise.
854 (check_bool): Likewise.
855 (check_longlong): Likewise.
856 (cos_test): Use ERRNO_* flags for errno tests instead of
858 (expm1_test): Likewise.
859 (fmod_test): Likewise.
860 (ilogb_test): Likewise.
861 (lgamma_test): Likewise.
862 (pow_test): Likewise.
863 (remainder_test): Likewise.
864 (sin_test): Likewise.
865 (tan_test): Likewise.
867 (initialize): Set errno to 0.
868 (main): Print number of errno tests.
869 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
871 2013-04-29 Andreas Jaeger <aj@suse.de>
874 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
878 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
879 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
883 * stdlib/random.c (__initstate): Return NULL if
887 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
888 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
891 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
895 2013-04-29 Joseph Myers <joseph@codesourcery.com>
897 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
899 (casin_test): Likewise.
900 (casinh_test): Likewise.
902 2013-04-27 Joseph Myers <joseph@codesourcery.com>
905 * math/s_catan.c (__catan): Handle arguments with large real or
906 imaginary part separately without squaring.
907 * math/s_catanf.c (__catanf): Likewise.
908 * math/s_catanh.c (__catanh): Likewise.
909 * math/s_catanhf.c (__catanhf): Likewise.
910 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
912 (__catanhl): Handle arguments with large real or imaginary part
913 separately without squaring.
914 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
916 (__catanl): Handle arguments with large real or imaginary part
917 separately without squaring.
918 * math/libm-test.inc (catan_test): Add more tests.
919 (catanh_test): Likewise.
920 * sysdeps/i386/fpu/libm-test-ulps: Update.
921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
923 2013-04-27 Andreas Jaeger <aj@suse.de>
926 * stdlib/stdlib.h: Update guards for qecvt.
927 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
930 2013-04-27 Allan McRae <allan@archlinux.org>
932 * sysdeps/i386/fpu/libm-test-ulps: Update.
934 2013-04-26 Joseph Myers <joseph@codesourcery.com>
937 * math/s_catan.c: Include <float.h>.
938 (__catan): Ensure underflow exception occurs for underflowed
940 * math/s_catanf.c: Include <float.h>.
941 (__catanf): Ensure underflow exception occurs for underflowed
943 * math/s_catanh.c: Include <float.h>.
944 (__catanh): Ensure underflow exception occurs for underflowed
946 * math/s_catanhf.c: Include <float.h>.
947 (__catanhf): Ensure underflow exception occurs for underflowed
949 * math/s_catanhl.c: Include <float.h>.
950 (__catanhl): Ensure underflow exception occurs for underflowed
952 * math/s_catanl.c: Include <float.h>.
953 (__catanl): Ensure underflow exception occurs for underflowed
955 * math/libm-test.inc (catan_test): Add more tests.
956 (catanh_test): Likewise.
959 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
961 * math/s_ccoshf.c (__ccoshf): Likewise.
962 * math/s_ccoshl.c (__ccoshl): Likewise.
963 * math/s_csin.c (__csin): Likewise.
964 * math/s_csinf.c (__csinf): Likewise.
965 * math/s_csinh.c (__csinh): Likewise.
966 * math/s_csinhf.c (__csinhf): Likewise.
967 * math/s_csinhl.c (__csinhl): Likewise.
968 * math/s_csinl.c (__csinl): Likewise.
969 * math/libm-test.inc (ccos_test): Add more tests.
970 (ccosh_test): Likewise.
971 (csin_test): Likewise.
972 (csinh_test): Likewise.
974 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
976 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
977 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
978 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
979 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
980 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
981 powerpc/power5+/fpu folders.
982 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
985 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
989 2013-04-25 Joseph Myers <joseph@codesourcery.com>
991 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
992 additions to variable.
993 [$(config-machine) = x86_64] (modules-names): Likewise.
994 ($(objpfx)tst-audit3): Remove dependency.
995 ($(objpfx)tst-audit3.out): Likewise.
996 ($(objpfx)tst-audit4): Likewise.
997 ($(objpfx)tst-audit4.out): Likewise.
998 ($(objpfx)tst-audit5): Likewise.
999 ($(objpfx)tst-audit5.out): Likewise.
1000 ($(objpfx)tst-audit6): Likewise.
1001 ($(objpfx)tst-audit6.out): Likewise.
1002 ($(objpfx)tst-audit7): Likewise.
1003 ($(objpfx)tst-audit7.out): Likewise.
1004 (tst-audit3-ENV): Remove variable.
1005 (tst-audit4-ENV): Likewise.
1006 (tst-audit5-ENV): Likewise.
1007 (tst-audit6-ENV): Likewise.
1008 (tst-audit7-ENV): Likewise.
1009 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1010 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1011 addition to variable.
1012 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1013 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1014 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1015 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1016 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1017 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1018 tst-audit3, tst-audit4 and tst-audit5.
1019 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1020 tst-audit6 and tst-audit7.
1021 [$(subdir) = elf] (modules-names): Add audit modules for those
1023 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1024 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1025 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1026 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1027 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1028 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1029 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1030 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1031 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1032 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1033 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1034 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1035 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1036 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1037 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1038 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1040 [$(subdir) = elf && $(config-cflags-avx) = yes]
1041 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1042 [$(subdir) = elf && $(config-cflags-avx) = yes]
1043 (CFLAGS-tst-auditmod4a.c): Likewise.
1044 [$(subdir) = elf && $(config-cflags-avx) = yes]
1045 (CFLAGS-tst-auditmod4b.c): Likewise.
1046 [$(subdir) = elf && $(config-cflags-avx) = yes]
1047 (CFLAGS-tst-auditmod6b.c): Likewise.
1048 [$(subdir) = elf && $(config-cflags-avx) = yes]
1049 (CFLAGS-tst-auditmod6c.c): Likewise.
1050 [$(subdir) = elf && $(config-cflags-avx) = yes]
1051 (CFLAGS-tst-auditmod7b.c): Likewise.
1052 * elf/tst-audit3.c: Move to ...
1053 * sysdeps/x86_64/tst-audit3.c: ... here.
1054 * elf/tst-audit4.c: Move to ...
1055 * sysdeps/x86_64/tst-audit4.c: ... here.
1056 * elf/tst-audit5.c: Move to ...
1057 * sysdeps/x86_64/tst-audit5.c: ... here.
1058 * elf/tst-audit6.c: Move to ...
1059 * sysdeps/x86_64/tst-audit6.c: ... here.
1060 * elf/tst-audit7.c: Move to ...
1061 * sysdeps/x86_64/tst-audit7.c: ... here.
1062 * elf/tst-auditmod3a.c: Move to ...
1063 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1064 * elf/tst-auditmod3b.c: Move to ...
1065 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1066 * elf/tst-auditmod4a.c: Move to ...
1067 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1068 * elf/tst-auditmod4b.c: Move to ...
1069 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1070 * elf/tst-auditmod5a.c: Move to ...
1071 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1072 * elf/tst-auditmod5b.c: Move to ...
1073 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1074 * elf/tst-auditmod6a.c: Move to ...
1075 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1076 * elf/tst-auditmod6b.c: Move to ...
1077 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1078 * elf/tst-auditmod6c.c: Move to ...
1079 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1080 * elf/tst-auditmod7a.c: Move to ...
1081 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1082 * elf/tst-auditmod7b.c: Move to ...
1083 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1085 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1088 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1089 define unconditionally.
1090 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1091 define unconditionally.
1092 (INT8_C, INT16_C, etc.): Likewise.
1094 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1096 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1097 __ehdr_start with hidden visibility.
1099 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1101 2013-04-24 Carlos O'Donell <carlos@redhat.com>
1103 * math/libm-test.inc (cos_test): Use accurate hex constants.
1104 (sincost_test): Likewise.
1106 2013-04-24 Joseph Myers <joseph@codesourcery.com>
1108 * math/libm-test.inc (catan_test): Add more tests.
1109 (catanh_test): Likewise.
1111 * math/s_catanf.c (__catanf): Use suffixed floating-point
1113 * math/s_catanhf.c (__catanhf): Likewise.
1114 * math/s_catanhl.c (__catanhl): Likewise.
1115 * math/s_catanl.c (__catanl): Likewise.
1118 * math/s_catan.c (__catan): Calculate imaginary part of result
1119 with log1p not log unless computing log of number close to 0.
1120 * math/s_catanf.c (__catanf): Likewise.
1121 * math/s_catanl.c (__catanl): Likewise.
1122 * math/s_catanh.c (__catanh): Calculate real part of result with
1123 log1p not log unless computing log of number close to 0.
1124 * math/s_catanhf.c (__catanhf): Likewise.
1125 * math/s_catanhl.c (__catanhl): Likewise.
1126 * math/libm-test.inc (catan_test): Add more tests.
1127 (catanh_test): Likewise.
1128 * sysdeps/i386/fpu/libm-test-ulps: Update.
1129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1131 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1133 * benchtests/Makefile: Mention files in which fast and slow
1134 paths of math functions are implemented.
1136 2013-04-23 Roland McGrath <roland@hack.frob.com>
1138 * sysdeps/posix/timespec_get.c: New file.
1140 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1142 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1144 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1146 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1147 powerpc/power5/fpu folders.
1148 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1149 * benchtests/Makefile: Add modf testcase.
1150 * benchtests/bench-modf.c: New file: Benchmark test for mo
1152 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1155 * time/Makefile (tests): Add tst-strptime-whitespace.
1156 * time/strptime_l.c (get_number): Use ISSPACE.
1157 (__strptime_internal): Likewise.
1158 * time/tst-strptime-whitespace.c: New test case.
1160 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
1162 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1164 (_nss_files_init): Set it here.
1166 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
1168 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1169 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1172 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
1174 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1176 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1178 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1181 2013-04-21 David S. Miller <davem@davemloft.net>
1183 * po/ru.po: Update Russion translation from translation project.
1185 2013-04-17 Adam Conrad <adconrad@0c3.net>
1187 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1190 2013-04-17 Carlos O'Donell <carlos@redhat.com>
1192 * configure.in: Remove i386 configure warning. Remove i386 case.
1193 * configure: Regenerate.
1194 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
1195 Add example to error message.
1196 * sysdeps/i386/configure: Regenerate.
1198 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1200 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1202 * benchtests/cos-inputs: New file.
1203 * benchtests/slowcos-inputs: New file.
1204 * benchtests/slowcos.c: New file.
1205 * benchtests/slowtan-inputs: New file.
1206 * benchtests/slowtan.c: New file.
1207 * benchtests/tan-inputs: New file.
1209 2013-04-16 Roland McGrath <roland@hack.frob.com>
1211 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1214 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1216 * benchtests/Makefile: Include cppflags-iterator.mk to add
1217 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1219 * Makefile.in (bench-clean): New target.
1220 * benchtests/Makefile (bench-clean): Likewise.
1222 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1224 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1226 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1228 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1230 2013-04-15 Andreas Schwab <schwab@suse.de>
1232 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1233 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1234 * nscd/pwdcache.c (cache_addpw): Likewise.
1235 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1238 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1240 * benchtests/Makefile (bench): Write all output to
1241 bench-out.tmp together.
1243 2013-04-15 Andreas Schwab <schwab@suse.de>
1245 * nscd/nscd.c (main): Don't fork again after closing files.
1247 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1249 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1251 * benchtests/Rules (bench-deps): Collect dependencies into a
1252 single variable. Add Makefile to dependencies.
1253 ($(objpfx)bench-%.c): Depend on bench-deps.
1255 2013-04-12 Roland McGrath <roland@hack.frob.com>
1256 Xavier Roche <roche+kml2@exalead.com>
1259 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1260 just that it's a file descriptor.
1261 * manual/llio.texi (Synchronizing AIO Operations): Update description
1262 for EBADF error from aio_fsync.
1264 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1266 * Rules (bench): Move target definition...
1267 * benchtests/Makefile: ... here.
1269 2013-04-11 Carlos O'Donell <carlos@redhat.com>
1271 * math/libm-test.inc (cos_test): Fix PI/2 test.
1272 (sincos_test): Likewise.
1273 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1274 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1276 2013-04-11 Andreas Schwab <schwab@suse.de>
1279 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1280 accept exponent character only when digits were seen.
1281 * stdio-common/Makefile (tests): Add bug26.
1282 * stdio-common/bug26.c: New file.
1285 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1288 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1290 * Makeconfig (rtld-prefix): Define built linker prefix.
1291 * Rules (run-bench): Use it.
1292 * math/Makefile (run-regen-ulps): Likewise.
1294 * Rules (bench): Remove eval.
1296 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1297 Roland McGrath <roland@hack.frob.com>
1298 Ondrej Bilka <neleai@seznam.cz>
1301 * time/getdate.c: Include ctype.h and alloca.h.
1302 (__getdate_r): Trim leading and trailing spaces of input.
1303 * time/tst-getdate.c (tests): Add tests with leading and
1306 2013-04-08 Roland McGrath <roland@hack.frob.com>
1309 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1310 when computing value.
1312 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1314 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1315 Use testrun.sh to run libm tests.
1318 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1320 2013-04-06 Marko Myllynen <myllynen@redhat.com>
1323 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1325 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1327 * Makefile.in (regen-ulps): New target.
1328 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1329 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1330 [ifneq (no,$(PERL)] (regen-ulps): New target.
1331 [ifeq (no,$(PERL)] (regen-ulps): New target.
1332 * math/libm-test.inc (ulps_file_name): Define.
1333 (output_dir): New variable.
1334 (options): Add "output-dir" option.
1335 (parse_opt): Handle 'o' case.
1336 (main): If output_dir is non-NULL use it as a prefix
1338 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1340 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1343 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1344 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1345 fail configure if __sync_val_compare_and_swap is not inlined.
1346 * sysdeps/i386/configure: Regenerate.
1347 * configure.in: Build for i686 when configured for i386.
1348 * configure: Regenerate.
1349 * README: Remove i386 reference.
1351 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1353 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1354 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1356 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1358 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1359 (lmsnanval): New variables.
1360 (F): Add conversion tests.
1361 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1362 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1364 * stdio-common/tstdiomisc.c (F): Properly collect individual
1368 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1369 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1370 Instead, use input NaN values or generate a qNaN by arithmetic
1371 operation. Also fix bugs to comply with the standard.
1372 * math/libm-test.inc (remainder_test): Add more tests.
1375 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1376 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1377 input NaN values or generate a qNaN by arithmetic operation.
1379 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1382 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1385 2013-04-03 Joseph Myers <joseph@codesourcery.com>
1388 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1390 * math/s_cexpf.c (__cexpf): Likewise.
1391 * math/s_cexpl.c (__cexpl): Likewise.
1392 * math/libm-test.inc (cexp_test): Add more tests.
1394 2013-04-03 Andreas Schwab <schwab@suse.de>
1397 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1398 order arrays from heap if bigger than alloca cutoff.
1400 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1402 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1403 (SNAN_TESTS_double): Refer to GCC PR56831.
1404 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1407 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1409 * Rules (bench): Move bench.out after the run is complete.
1411 * Rules (bench): Echo currently running benchmark.
1413 * benchtests/Makefile (bench): Add atan and slowatan.
1414 * benchtests/atan-inputs: New file.
1415 * benchtests/slowatan-inputs: New file.
1416 * benchtests/slowatan.c: New file.
1418 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1419 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1423 * sysdeps/unix/sysv/linux/kernel-features.h
1424 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1425 __ASSUME_XFS_RESTRICTED_CHOWN.
1426 * sysdeps/unix/sysv/linux/pathconf.c
1427 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1428 Save and restore errno.
1430 2013-04-02 Joseph Myers <joseph@codesourcery.com>
1433 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1434 arguments using __kernel_casinh.
1435 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1436 arguments using __kernel_casinhf.
1437 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1438 arguments using __kernel_casinhl.
1439 * math/libm-test.inc (cacosh_test): Add more tests.
1440 * sysdeps/i386/fpu/libm-test-ulps: Update.
1441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1443 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1445 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1446 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1448 * bench/Makefile (bench): Add sin and slowsin.
1449 * benchtests/sin-inputs: New file.
1450 * benchtests/slowsin-inputs: New file.
1451 * benchtests/slowsin.c: New file.
1453 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1454 (bench): Add slowexp and slowpow.
1455 (exp-ITER): Increase iterations.
1456 (pow-ITER): Likewise.
1457 * benchtests/exp-inputs: Change input.
1458 * benchtests/pow-inputs: Likewise.
1459 * benchtests/slowexp-inputs: New file.
1460 * benchtests/slowexp.c: New file.
1461 * benchtests/slowpow-inputs: New file.
1462 * benchtests/slowpow.c: New file.
1464 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1466 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1468 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1469 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1470 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1471 * benchtests/Makefile: Add rint benchtest.
1472 * benchtests/rint-inputs: Input for rint benchtest.
1474 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1476 * Versions.def (libm): Add GLIBC_2.18.
1477 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1478 hidden libm prototypes.
1479 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1480 * math/Makefile (libm-calls): Add s_issignaling.
1481 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1482 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1483 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1485 * math/math.h [__USE_GNU] (issignaling): New macro.
1486 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1487 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1488 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1489 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1490 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1491 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1492 * manual/arith.texi (issignaling): New section.
1493 * manual/libm-err-tab.pl (@all_functions): Update comment.
1494 * math/gen-libm-test.pl (parse_args): Apply special handling for
1496 * math/libm-test.inc (print_float, issignaling_test): New
1498 (check_float_internal): Add issignaling checks.
1499 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1501 * sysdeps/powerpc/math-tests.h: New file.
1502 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1504 * math/test-snan.c (TEST_FUNC): Likewise.
1506 2013-03-30 David S. Miller <davem@davemloft.net>
1508 * po/de.po: Update from translation team.
1510 2013-03-30 Joseph Myers <joseph@codesourcery.com>
1513 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1514 imaginary part less than 1.0 and real part less than 0.5
1516 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1517 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1518 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1519 (cacos_test): Add more tests.
1520 (casin_test): Likewise.
1521 (casinh_test): Likewise.
1522 * sysdeps/i386/fpu/libm-test-ulps: Update.
1523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1525 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1527 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1530 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1531 (__pow_mp): Replace ONE and MONE with their values.
1532 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1533 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1534 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1535 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1536 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1537 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1539 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1541 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1542 (__pow_mp): Replace ZERO and MZERO with their values.
1543 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1544 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1545 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1546 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1547 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1548 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1551 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1553 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1555 2013-03-28 Roland McGrath <roland@hack.frob.com>
1557 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1558 Declare with __attribute__ ((weak)).
1559 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1560 Call __call_tls_dtors only if it's not NULL.
1562 2013-03-28 Roland McGrath <roland@hack.frob.com>
1564 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1565 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1566 magic __ehdr_start linker symbol if it's defined.
1567 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1568 them up here if it was already done.
1570 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1571 (_dl_aux_init): Use const in cast when setting it.
1572 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1573 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1574 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1576 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1578 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1579 * csu/libc-tls.c: Nor here.
1580 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1582 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1583 (__libc_message): Never call vsyslog.
1585 2013-03-28 Alan Modra <amodra@gmail.com>
1587 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1589 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1592 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1595 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1599 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1602 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1603 Don't add gid passed as argument.
1605 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1607 2013-03-27 Joseph Myers <joseph@codesourcery.com>
1610 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1611 imaginary part between 1.0 and 1.5 and real part less than 0.5
1613 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1614 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1615 * math/libm-test.inc (cacos_test): Add more tests.
1616 (casin_test): Likewise.
1617 (casinh_test): Likewise.
1618 * sysdeps/i386/fpu/libm-test-ulps: Update.
1619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1621 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1623 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1627 (__dbl_mp): Likewise.
1628 (add_magnitudes): Likewise.
1629 (sub_magnitudes): Likewise.
1637 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1639 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1640 (__dubcos): Likewise.
1641 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1642 (__ieee754_acos): Likewise.
1643 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1644 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1646 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1647 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1649 (my_log2): Likewise.
1650 (checkint): Likewise.
1651 * sysdeps/ieee754/dbl-64/e_remainder.c
1652 (__ieee754_remainder): Likewise.
1653 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1654 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1656 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1658 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1659 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1660 MANTISSA_STORE_T to store computations on mantissa. Use
1661 macros for rounding and division.
1663 (__dbl_mp): Likewise.
1664 (add_magnitudes): Likewise.
1665 (sub_magnitudes): Likewise.
1668 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1669 powers of two in terms of TWOPOW macro.
1670 (mp_no): Make type of mantissa as MANTISSA_T.
1671 [!RADIXI]: Define RADIXI.
1672 [!TWO52]: Define TWO52.
1673 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1675 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1677 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1678 llroundl symbol when building for PPC32.
1680 2013-03-24 Mark H Weaver <mhw@netris.org>
1682 * manual/arith.texi (Normalization Functions): Fix prototypes for
1683 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1685 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1688 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1689 high value to check if expl overflow.
1690 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1691 to check for underflow and overflow.
1692 * math/libm-test.inc: Add exp test.
1694 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1697 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1700 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1702 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1705 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1707 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1708 wrap blocks consisting of several statements.
1710 * sysdeps/generic/math-tests.h: New file.
1711 * sysdeps/i386/fpu/math-tests.h: Likewise.
1712 * math/test-snan.c: Include it.
1713 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1715 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1718 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1719 (__ieee754_j0l): Do not improve calculations using cos of twice
1720 input for inputs above LDBL_MAX / 2.0L.
1721 (__ieee754_y0l): Likewise.
1722 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1723 (__ieee754_j1l): Do not improve calculations using cos of twice
1724 input for inputs above LDBL_MAX / 2.0L.
1725 (__ieee754_y1l): Likewise.
1726 * math/libm-test.inc (j0_test): Add another test.
1727 (j1_test): Likewise.
1728 (y0_test): Likewise.
1729 (y1_test): Likewise.
1730 * sysdeps/i386/fpu/libm-test-ulps: Update.
1732 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1734 * Rules ($(objpfx)bench-%.c): Include code from a C source
1737 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1740 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1741 imaginary part 1.0 and real part less than 0.5 specially.
1742 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1743 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1744 * math/libm-test.inc (cacos_test): Add more tests.
1745 (casin_test): Likewise.
1746 (casinh_test): Likewise.
1747 * sysdeps/i386/fpu/libm-test-ulps: Update.
1748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1750 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1752 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1753 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1755 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1757 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1758 * config.make.in (config-cflags-sse4): Remove variable.
1759 (config-cflags-avx): Likewise.
1760 (config-cflags-sse2avx): Likewise.
1761 (config-cflags-novzeroupper): Likewise.
1762 (config-asflags-i686): Likewise.
1763 (have-mfma4): Likewise.
1764 (have-as-vis3): Likewise.
1766 * configure.in (MIG): Do not AC_SUBST.
1767 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1768 (libc_cv_cc_sse4): Do not AC_SUBST.
1769 (libc_cv_cc_avx): Likewise.
1770 (libc_cv_cc_sse2avx): Likewise.
1771 (libc_cv_cc_novzeroupper): Likewise.
1772 (libc_cv_cc_fma4): Likewise.
1773 (libc_cv_as_i686): Likewise.
1774 (libc_cv_sparc_as_vis3): Likewise.
1775 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1777 (config-asflags-i686): Likewise.
1778 (config-cflags-avx): Likewise.
1779 (config-cflags-sse2avx): Likewise.
1780 (have-mfma4): Likewise.
1781 (config-cflags-novzeroupper): Likewise.
1782 * sysdeps/mach/configure.in (MIG): Likewise.
1783 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1784 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1786 (config-cflags-avx): Likewise.
1787 (config-cflags-sse2avx): Likewise.
1788 (have-mfma4): Likewise.
1789 (config-cflags-novzeroupper): Likewise.
1790 * configure: Regenerated.
1791 * sysdeps/i386/configure: Likewise.
1792 * sysdeps/mach/configure: Likewise.
1793 * sysdeps/sparc/configure: Likewise.
1794 * sysdeps/x86_64/configure: Likewise.
1796 2013-03-20 Roland McGrath <roland@hack.frob.com>
1799 * locale/programs/localedef.c (options): Put N_ translation marker
1800 on argument names, not just descriptions.
1802 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1804 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1806 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1809 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1811 2013-03-19 Roland McGrath <roland@hack.frob.com>
1813 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1814 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1815 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1816 [!BEFORE_ABORT] (before_abort): New function.
1817 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1818 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1819 (writev_for_fatal): New function.
1820 (WRITEV_FOR_FATAL): New macro; call that.
1821 (backtrace_and_maps): New function.
1822 (BEFORE_ABORT): New macro; call that.
1823 (struct str_list): Type removed.
1824 (__libc_message, __libc_fatal): Functions removed.
1825 Include <sysdeps/posix/libc_fatal.c> instead.
1827 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1829 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1831 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1834 2013-03-19 Andreas Schwab <schwab@suse.de>
1836 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1837 * sysdeps/gnu/configure: Regenerate.
1839 * configure.in: Substitute libc_cv_rtlddir.
1840 * configure: Regenerate.
1841 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1842 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1843 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1844 * elf/Makefile (install-others, CFLAGS-interp.c)
1845 (ldso_install, common-ldd-rewrite): Likewise.
1846 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1847 $(inst_slibdir)/$(rtld-installed-name).
1848 * scripts/rellns-sh: Add -p option.
1849 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1852 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1854 * manual/nptl.texi: Renamed to ...
1855 * manual/threads.texi: ... this.
1856 * manual/Makefile (chapters): Update.
1858 2013-03-18 Roland McGrath <roland@hack.frob.com>
1861 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1862 on argument names, not just descriptions.
1863 * malloc/memusagestat.c (options): Likewise.
1864 * nss/getent.c (options): Likewise.
1866 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1869 * iconv/iconv_prog.c (options): Put N_ translation marker
1870 on argument names, not just descriptions.
1871 * iconv/iconvconfig.c (options): Likewise.
1873 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1875 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1876 implementation which is faster on all x86_64 architectures.
1877 Tested on AMD, Intel Nehalem, SNB, IVB.
1878 * sysdeps/x86_64/strnlen.S: Likewise.
1880 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1881 Remove all multiarch strlen and strnlen versions.
1882 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1883 Remove strlen and strnlen related parts.
1885 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1887 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1889 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1890 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1891 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1892 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1893 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1894 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1896 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1898 * manual/memory.texi (Malloc Tunable Parameters):
1899 Sort parameters alphabetically. Add comments for missing entries.
1901 2013-03-17 David S. Miller <davem@davemloft.net>
1903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1905 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1908 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1909 for arguments at most half maximum finite value.
1910 * math/libm-test.inc (j0_test): Add more tests.
1911 (j1_test): Likewise.
1912 (y0_test): Likewise.
1913 (y1_test): Likewise.
1914 * sysdeps/i386/fpu/libm-test-ulps: Update.
1915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1918 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1919 1 / x and functions P and Q for arguments above 0x1p256L.
1920 (__ieee754_y0l): Likewise.
1921 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1922 (__ieee754_y1l): Likewise.
1923 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1924 (j1_test): Likewise.
1925 (y0_test): Likewise.
1926 (y1_test): Likewise.
1928 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1930 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1933 2013-03-15 Roland McGrath <roland@hack.frob.com>
1935 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1936 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1937 zero since it's initialized to EXEC_PAGESIZE.
1939 * sysdeps/unix/sysv/linux/ldsodefs.h
1940 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1941 * sysdeps/generic/ldsodefs.h: ... here.
1943 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1945 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1947 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1949 * math/test-snan.c: Renamed from
1950 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1951 * math/Makefile (tests): Add test-snan.
1952 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1955 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1956 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1958 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1959 __builtin_nan family of functions.
1960 * math/libm-test.inc (initialize): Initialize qnan_value with
1961 __builtin_nan family of functions.
1962 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1964 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1966 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1967 storage class. Initialize qNaN_var and sNaN_var with
1968 __builtin_nan and __builtin_nans families of functions,
1971 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1972 (sqrt_test): Remove duplicate test with qNaN input.
1973 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1974 (round_test, signbit_test, significand_test): Note missing +/-Inf
1975 as well as qNaN tests.
1977 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1978 qNaN_var. Fix a few strings, too.
1979 * math/libm-test.inc (nan_value): Rename to qnan_value.
1980 * math/gen-libm-test.pl (%beautify): Adjust to that.
1981 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1982 * math/test-misc.c (main): Likewise.
1983 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1984 to __qnan_bytes, and __qnan_union, respectively.
1985 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1987 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1988 and lqnanval, respectively.
1989 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1990 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1991 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1992 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1994 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1995 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1998 * math/test-misc.c (main): Fix copy'n'pastos.
1999 * misc/tst-efgcvt.c (special): Likewise.
2001 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2002 Remove declarations.
2004 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2006 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2007 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2008 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2009 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2011 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2013 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2014 macro to return vdso values correctly in IFUNC implementations.
2015 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2016 Optimization by using IFUNC.
2018 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2019 Richard Henderson <rth@redhat.com>
2020 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2022 * Makefile.in (bench): New target.
2023 * NEWS: Mention the benchmark framework.
2024 * Rules (bench): Likewise.
2025 (binaries-bench): Generate binaries for functions to
2027 * benchtests/Makefile: New makefile for benchmark tests.
2028 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2030 * benchtests/exp-inputs: New input file for EXP function.
2031 * benchtests/pow-inputs: New input file for POW function.
2032 * scripts/bench.pl: New script to generate source files for
2035 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2037 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2038 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2039 computations on mantissa. Use macros for rounding and
2042 (__dbl_mp): Likewise.
2043 (add_magnitudes): Likewise.
2044 (sub_magnitudes): Likewise.
2047 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2048 powers of two in terms of TWOPOW macro.
2049 (mp_no): Make type of mantissa as MANTISSA_T.
2050 [!RADIXI]: Define RADIXI.
2051 [!TWO52]: Define TWO52.
2052 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2054 * manual/nptl.texi (cindex): Modify threads to pthreads.
2056 2013-03-15 Joseph Myers <joseph@codesourcery.com>
2058 * sysdeps/x86_64/preconfigure: Regenerated.
2060 2013-03-14 Joseph Myers <joseph@codesourcery.com>
2063 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2065 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2066 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2068 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2069 * math/libm-test.inc (j0_test): Do not allow one spurious
2070 underflow exception.
2071 (y1_test): Likewise.
2073 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2075 * manual/Makefile (chapters): Add nptl.
2076 * manual/debug.texi (Debugging Support): Add link to Threads
2078 * manual/nptl.texi: New file.
2080 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2082 2013-03-14 Petr Baudis <pasky@ucw.cz>
2084 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2085 for non-NULL pointer before the memory validity test. Pointed
2086 out by Holger Brunck <holger.brunck@keymile.com>.
2088 2013-03-13 Andreas Schwab <schwab@suse.de>
2090 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2093 2013-03-13 Joseph Myers <joseph@codesourcery.com>
2095 * timezone/zic.c: Update from tzcode 2013b.
2097 2013-03-12 Carlos O'Donell <carlos@redhat.com>
2099 * manual/install.texi (Configuring and compiling):
2100 Mention i686 and i586.
2101 * INSTALL: Regenerate.
2103 2013-03-12 Roland McGrath <roland@hack.frob.com>
2105 * sysdeps/init_array/elf-init.c: New file.
2107 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2108 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2110 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2111 __gmon_start__ as global, but as static with a .preinit_array pointer.
2112 * sysdeps/init_array/gmon-start.c: New file. Use that.
2113 * sysdeps/init_array/crti.S: New file, empty except for comments.
2114 * sysdeps/init_array/crtn.S: Likewise.
2116 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
2118 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2121 Remove Prefer_SSE_for_memop.
2122 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2123 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2124 HAS_PREFER_SSE_FOR_MEMOP.
2125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2127 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2128 Remove bzero, memset ifunc support.
2129 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2130 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2131 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2132 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2134 2013-03-11 Andreas Schwab <schwab@suse.de>
2137 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2140 (GLIBC_2.16): Remove pthread_atfork.
2142 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2144 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2145 (ptestcases.h): Likewise.
2147 2013-03-08 Roland McGrath <roland@hack.frob.com>
2149 * Makeconfig ($(common-objpfx)config.status): Depend on
2150 sysdeps/*/preconfigure{,.in} too.
2152 2013-03-08 Joseph Myers <joseph@codesourcery.com>
2154 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2155 (__free_hook): Use void * instead of __malloc_ptr_t.
2156 (__malloc_hook): Likewise.
2157 (__realloc_hook): Likewise.
2158 (__memalign_hook): Likewise.
2159 (__after_morecore_hook): Likewise.
2160 * malloc/arena.c (save_malloc_hook): Likewise.
2161 (save_free_hook): Likewise.
2162 * malloc/hooks.c (malloc_hook_ini): Likewise.
2163 (realloc_hook_ini): Likewise.
2164 (memalign_hook_ini): Likewise.
2165 * malloc/malloc.c (malloc_hook_ini): Likewise.
2166 (realloc_hook_ini): Likewise.
2167 (memalign_hook_ini): Likewise.
2168 (__free_hook): Likewise.
2169 (__malloc_hook): Likewise.
2170 (__realloc_hook): Likewise.
2171 (__memalign_hook): Likewise.
2172 (__libc_malloc): Likewise.
2173 (__libc_free): Likewise.
2174 (__libc_realloc): Likewise.
2175 (__libc_memalign): Likewise.
2176 (__libc_valloc): Likewise.
2177 (__libc_pvalloc): Likewise.
2178 (__libc_calloc): Likewise.
2179 (__posix_memalign): Likewise.
2180 * malloc/morecore.c (__sbrk): Likewise.
2181 (__default_morecore): Likewise.
2183 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2185 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2186 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2189 * malloc/malloc.h (__malloc_size_t): Remove macro.
2190 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2192 (old_memalign_hook): Likewise.
2193 (old_realloc_hook): Likewise.
2194 (struct hdr): Likewise.
2196 (mallochook): Likewise.
2197 (memalignhook): Likewise.
2198 (reallochook): Likewise.
2199 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2200 (tr_old_realloc_hook): Likewise.
2201 (tr_old_memalign_hook): Likewise.
2202 (tr_mallochook): Likewise.
2203 (tr_reallochook): Likewise.
2204 (tr_memalignhook): Likewise.
2206 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2208 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2209 default_ldbl_pack and using as default implementation.
2210 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2212 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2213 redundant definition.
2214 (ldbl_insert_mantissa): Likewise.
2215 (ldbl_canonicalize): Likewise.
2216 (ldbl_nearbyint): Likewise.
2217 (ldbl_pack): Rename to ldbl_pack_ppc.
2218 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2219 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2220 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2222 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2225 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2226 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2227 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2228 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2229 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2230 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2231 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2233 2013-03-07 Andreas Jaeger <aj@suse.de>
2235 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2238 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2240 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2241 Include mpa.h and declare __MPEXP.
2242 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2243 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2244 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2245 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2246 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2247 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2248 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2250 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2251 (__slowpow): Use long double EXPL and LOGL functions to
2253 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2254 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2255 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2256 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2257 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2258 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2261 intermediate variable to calculate exponent.
2263 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2267 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2268 [!NO__SQR]: Define __sqr.
2269 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2270 and NO__SQR. Remove all code except __mul and __sqr. Include
2271 sysdeps/ieee754/dbl-64/mpa.c.
2272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2275 * posix/Makefile (tests): Add tst-pathconf.
2276 * posix/tst-pathconf.c: New test case.
2277 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2279 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2281 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
2283 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2285 2013-03-06 Andreas Jaeger <aj@suse.de>
2287 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2288 definition via __MAP_ANONYMOUS.
2290 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2291 it's not part of Linux headers.
2293 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2294 (MAP_HUGE_MASK): Define.
2296 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2298 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2299 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2301 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2302 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2304 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2305 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2307 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2309 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2310 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2311 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2312 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2313 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2314 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2316 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2319 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2320 Handle f2fs and efivarfs.
2322 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2325 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2326 (EFIVARFS_MAGIC): Add.
2327 (F2FS_LINK_MAX): Add.
2329 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2331 * stdio-common/vfprintf.c: Replace __builtin_expect with
2334 2013-03-06 Joseph Myers <joseph@codesourcery.com>
2337 * sysdeps/generic/bp-sym.h: Remove file.
2338 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2339 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2340 <bp-sym.h> and <bp-asm.h>.
2341 (__longjmp): Don't use BP_SYM.
2342 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2344 (memcpy): Don't use BP_SYM.
2345 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2346 <bp-sym.h> and <bp-asm.h>.
2347 (memcpy): Don't use BP_SYM.
2348 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2350 (memcpy): Don't use BP_SYM.
2351 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2353 (memset): Don't use BP_SYM.
2354 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2355 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2356 (__bzero): Don't use BP_SYM.
2357 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2358 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2359 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2360 <bp-sym.h> and <bp-asm.h>.
2361 (memcmp): Don't use BP_SYM. Remove comment about bounded
2363 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2364 <bp-sym.h> and <bp-asm.h>.
2365 (memcpy): Don't use BP_SYM.
2366 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2367 <bp-sym.h> and <bp-asm.h>.
2368 (memset): Don't use BP_SYM.
2369 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2370 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2371 (__bzero): Don't use BP_SYM.
2372 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2373 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2374 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2375 <bp-sym.h> and <bp-asm.h>.
2376 (strncmp): Don't use BP_SYM. Remove comment about bounded
2378 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2379 <bp-sym.h> and <bp-asm.h>.
2380 (memcpy): Don't use BP_SYM.
2381 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2382 <bp-sym.h> and <bp-asm.h>.
2383 (memset): Don't use BP_SYM.
2384 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2385 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2386 (__bzero): Don't use BP_SYM.
2387 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2388 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2389 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2390 <bp-sym.h> and <bp-asm.h>.
2391 (__memchr): Don't use BP_SYM.
2392 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2393 <bp-sym.h> and <bp-asm.h>.
2394 (memcmp): Don't use BP_SYM. Remove comment about bounded
2396 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2397 <bp-sym.h> and <bp-asm.h>.
2398 (memcpy): Don't use BP_SYM.
2399 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2400 <bp-sym.h> and <bp-asm.h>.
2401 (__mempcpy): Don't use BP_SYM.
2402 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2403 <bp-sym.h> and <bp-asm.h>.
2404 (__memrchr): Don't use BP_SYM.
2405 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2406 <bp-sym.h> and <bp-asm.h>.
2407 (memset): Don't use BP_SYM.
2408 (__bzero): Likewise.
2409 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2410 <bp-sym.h> and <bp-asm.h>.
2411 (__rawmemchr): Don't use BP_SYM.
2412 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2413 <bp-sym.h> and <bp-asm.h>.
2414 (__STRCMP): Don't use BP_SYM.
2415 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2416 <bp-sym.h> and <bp-asm.h>.
2417 (strchr): Don't use BP_SYM.
2418 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2419 <bp-sym.h> and <bp-asm.h>.
2420 (__strchrnul): Don't use BP_SYM.
2421 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2422 <bp-sym.h> and <bp-asm.h>.
2423 (strlen): Don't use BP_SYM.
2424 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2425 <bp-sym.h> and <bp-asm.h>.
2426 (strncmp): Don't use BP_SYM. Remove comment about bounded
2428 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2429 <bp-sym.h> and <bp-asm.h>.
2430 (__strnlen): Don't use BP_SYM.
2431 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2432 <bp-sym.h> and <bp-asm.h>.
2433 (__GI__setjmp): Don't use BP_SYM.
2434 (_setjmp): Likewise.
2435 (__sigsetjmp): Likewise.
2436 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2437 (L(start_addresses)): Don't use BP_SYM.
2439 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2441 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2442 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2443 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2444 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2445 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2447 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2448 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2449 about bounded pointers.
2450 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2451 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2452 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2454 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2455 about bounded pointers. Remove GKM FIXME comments.
2456 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2457 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2459 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2460 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2461 Remove GKM FIXME comments.
2462 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2463 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2464 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2466 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2467 about bounded pointers. Remove GKM FIXME comment.
2468 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2470 (strncmp): Don't use BP_SYM. Remove comment about bounded
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2473 <bp-sym.h> and <bp-asm.h>.
2474 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2476 <bp-sym.h> and <bp-asm.h>.
2477 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2480 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2482 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2485 2013-03-05 David S. Miller <davem@davemloft.net>
2487 * po/es.po: Update from translation team.
2489 2013-03-05 Andreas Jaeger <aj@suse.de>
2491 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2492 <bits/mman-linux.h>.
2493 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2495 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2496 <bits/mman-linux.h> to end of file.
2497 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2499 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2500 <bits/mman-linux.h> to end of file.
2501 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2503 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2504 <bits/mman-linux.h> to end of file.
2506 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2507 (MCL_CURRENT, MCL_FUTURE): Define here.
2509 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2512 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2514 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2516 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2518 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2519 fourth parameter needed for rt_sigprocmask syscall.
2520 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2521 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2522 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2523 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2524 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2525 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2527 2013-03-04 Joseph Myers <joseph@codesourcery.com>
2530 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2531 comment about bounded pointers.
2532 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2533 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2535 2013-03-04 Andreas Jaeger <aj@suse.de>
2537 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2540 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2541 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2542 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2543 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2544 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2545 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2547 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2550 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2551 __ieee754_sqrl instead of __sqrl.
2553 2013-03-01 Joseph Myers <joseph@codesourcery.com>
2555 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2556 * sysdeps/powerpc/fpu_control.h: ... here.
2557 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2558 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2559 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2560 * sysdeps/powerpc/bits/mathinline.h: ... here.
2562 2013-03-01 Roland McGrath <roland@hack.frob.com>
2564 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2565 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2566 to just [NEED_DL_SYSINFO_DSO].
2567 * elf/dl-support.c: Likewise.
2568 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2569 * elf/rtld.c (dl_main): Likewise.
2570 * elf/setup-vdso.h (setup_vdso): Likewise.
2571 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2572 * sysdeps/unix/sysv/linux/dl-sysdep.c
2573 (_dl_discover_osversion): Likewise.
2575 2013-03-01 Carlos O'Donell <carlos@redhat.com>
2577 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2578 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2580 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2582 * NEWS: Mention libm performance improvements and non-x86 PI
2585 * csu/libc-start.c (__pthread_initialize_minimal): Change
2587 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2589 2013-02-28 Joseph Myers <joseph@codesourcery.com>
2592 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2593 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2594 <bp-sym.h> and <bp-asm.h>.
2595 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2596 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2598 (memcpy): Don't use BP_SYM.
2599 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2601 (__mpn_add_n): Don't use BP_SYM.
2602 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2603 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2605 (__mpn_addmul_1): Don't use BP_SYM.
2606 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2607 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2609 (_setjmp): Don't use BP_SYM.
2610 (__novmx_setjmp): Likewise.
2611 (__GI__setjmp): Likewise.
2612 (__vmx_setjmp): Likewise.
2613 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2615 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2616 (__bzero): Don't use BP_SYM.
2617 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2618 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2619 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2620 <bp-sym.h> and <bp-asm.h>.
2621 (memcpy): Don't use BP_SYM.
2622 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2623 <bp-sym.h> and <bp-asm.h>.
2624 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2625 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2626 <bp-sym.h> and <bp-asm.h>.
2627 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2628 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2630 (__mpn_lshift): Don't use BP_SYM.
2631 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2632 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2634 (memset): Don't use BP_SYM.
2635 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2636 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2637 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2639 (__mpn_mul_1): Don't use BP_SYM.
2640 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2641 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2642 <bp-sym.h> and <bp-asm.h>.
2643 (memcmp): Don't use BP_SYM.
2644 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2645 <bp-sym.h> and <bp-asm.h>.
2646 (memcpy): Don't use BP_SYM.
2647 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2648 <bp-sym.h> and <bp-asm.h>.
2649 (memset): Don't use BP_SYM.
2650 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2651 <bp-sym.h> and <bp-asm.h>.
2652 (strncmp): Don't use BP_SYM.
2653 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2654 <bp-sym.h> and <bp-asm.h>.
2655 (memcpy): Don't use BP_SYM.
2656 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2657 <bp-sym.h> and <bp-asm.h>.
2658 (memset): Don't use BP_SYM.
2659 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2660 <bp-sym.h> and <bp-asm.h>.
2661 (__memchr): Don't use BP_SYM.
2662 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2663 <bp-sym.h> and <bp-asm.h>.
2664 (memcmp): Don't use BP_SYM.
2665 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2666 <bp-sym.h> and <bp-asm.h>.
2667 (memcpy): Don't use BP_SYM.
2668 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2669 <bp-sym.h> and <bp-asm.h>.
2670 (__mempcpy): Don't use BP_SYM.
2671 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2672 <bp-sym.h> and <bp-asm.h>.
2673 (__memrchr): Don't use BP_SYM.
2674 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2675 <bp-sym.h> and <bp-asm.h>.
2676 (memset): Don't use BP_SYM.
2677 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2678 <bp-sym.h> and <bp-asm.h>.
2679 (__rawmemchr): Don't use BP_SYM.
2680 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2681 <bp-sym.h> and <bp-asm.h>.
2682 (__STRCMP): Don't use BP_SYM.
2683 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2684 <bp-sym.h> and <bp-asm.h>.
2685 (strchr): Don't use BP_SYM.
2686 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2687 <bp-sym.h> and <bp-asm.h>.
2688 (__strchrnul): Don't use BP_SYM.
2689 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2690 <bp-sym.h> and <bp-asm.h>.
2691 (strlen): Don't use BP_SYM.
2692 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2693 <bp-sym.h> and <bp-asm.h>.
2694 (strncmp): Don't use BP_SYM.
2695 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2696 <bp-sym.h> and <bp-asm.h>.
2697 (__strnlen): Don't use BP_SYM.
2698 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2700 (__mpn_rshift): Don't use BP_SYM.
2701 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2702 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2703 <bp-sym.h> and <bp-asm.h>.
2704 (__sigsetjmp): Don't use BP_SYM.
2705 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2706 (L(start_addresses)): Don't use BP_SYM.
2708 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2710 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2711 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2712 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2713 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2715 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2716 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2717 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2718 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2720 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2722 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2723 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2725 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2727 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2728 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2729 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2731 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2733 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2735 (strncmp): Don't use BP_SYM,
2736 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2738 (__mpn_sub_n): Don't use BP_SYM.
2739 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2740 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2742 (__mpn_submul_1): Don't use BP_SYM.
2743 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2745 <bp-sym.h> and <bp-asm.h>.
2746 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2748 <bp-sym.h> and <bp-asm.h>.
2749 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2752 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2754 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2755 Use ZK to minimize writes to Z.
2756 (sub_magnitudes): Simplify code a bit.
2757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2758 Use ZK to minimize writes to Z.
2759 (sub_magnitudes): Simplify code a bit.
2761 2013-02-27 Roland McGrath <roland@hack.frob.com>
2763 * csu/gmon-start.c: Add special exception to license text.
2765 2013-02-27 Richard Henderson <rth@redhat.com>
2767 * scripts/config.guess: Update from config.git.
2768 * scripts/config.sub: Likewise.
2770 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2772 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2774 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2776 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2778 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2780 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2782 2013-02-26 Roland McGrath <roland@hack.frob.com>
2784 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2785 [$(build-shared = yes].
2787 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2789 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2790 (__mul): Reduce iterations for calculating mantissa.
2792 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2794 (__mpranred): Likewise.
2797 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2798 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2800 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2802 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2803 Define __attribute__.
2805 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2807 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2809 * posix/regex_internal.h (__attribute): Remove.
2810 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2811 (re_string_context_at): Likewise.
2812 (bitset_not): Use __attribute__ and mark function as possibly
2814 (bitset_merge): Likewise.
2815 (bitset_mask): Likewise.
2816 (re_string_char_size_at): Likewise.
2817 (re_string_wchar_at): Likewise.
2818 (re_string_elem_size_at): Likewise.
2820 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2822 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2826 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2831 (__dbl_mp): Likewise.
2832 (add_magnitudes): Likewise.
2833 (sub_magnitudes): Likewise.
2837 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2840 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2843 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2847 up changes with default code.
2848 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2851 2013-02-24 Allan McRae <allan@archlinux.org>
2853 * manual/socket.texi (The Internet Namespace): Order menu items
2854 to match that in the file.
2856 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2857 node listing of the info page menu.
2859 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2862 * sysdeps/i386/bp-asm.h: Remove file.
2863 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2864 (PARMS): Do not use macros from bp-asm.h.
2868 (__mpn_add_n): Do not use BP_SYM
2869 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2871 (PARMS): Do not use macros from bp-asm.h.
2874 (__mpn_addmul_1): Do not use BP_SYM
2875 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2877 (PARMS): Do not use macros from bp-asm.h.
2879 (_setjmp): Likewise. Do not use BP_SYM.
2880 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2882 (PARMS): Do not use macros from bp-asm.h.
2884 (setjmp): Likewise. Do not use BP_SYM.
2885 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2887 (PARMS): Do not use macros from bp-asm.h.
2888 (__frexp): Do not use BP_SYM.
2890 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2892 (PARMS): Do not use macros from bp-asm.h.
2893 (__frexpf): Do not use BP_SYM.
2895 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2897 (PARMS): Do not use macros from bp-asm.h.
2898 (__frexpl): Do not use BP_SYM.
2900 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2902 (PARMS): Do not use macros from bp-asm.h.
2903 (__remquo): Do not use BP_SYM.
2905 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2907 (PARMS): Do not use macros from bp-asm.h.
2908 (__remquof): Do not use BP_SYM.
2909 (remquof): Likewise.
2910 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2912 (PARMS): Do not use macros from bp-asm.h.
2913 (__remquol): Do not use BP_SYM.
2914 (remquol): Likewise.
2915 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2917 (PARMS): Do not use macros from bp-asm.h.
2920 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2921 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2923 (PARMS): Do not use macros from bp-asm.h.
2924 (strlen): Do not use BP_SYM.
2925 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2927 (PARMS): Do not use macros from bp-asm.h.
2931 (__mpn_add_n): Do not use BP_SYM.
2932 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2934 (PARMS): Do not use macros from bp-asm.h.
2937 (__mpn_addmul_1): Do not use BP_SYM.
2938 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2941 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2943 (PARMS): Do not use macros from bp-asm.h.
2946 (__mpn_lshift): Do not use BP_SYM.
2947 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2949 (PARMS): Do not use macros from bp-asm.h.
2953 (memcpy): Likewise. Do not use BP_SYM.
2954 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2955 libc_hidden_def and weak_alias.
2956 (mempcpy): Do not use BP_SYM in weak_alias.
2957 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2959 (PARMS): Do not use macros from bp-asm.h.
2962 [!BZERO_P] (CHR): Likewise.
2963 (memset): Likewise. Do not use BP_SYM.
2964 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2966 (PARMS): Do not use macros from bp-asm.h.
2969 (__mpn_mul_1): Do not use BP_SYM.
2970 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2972 (PARMS): Do not use macros from bp-asm.h.
2975 (__mpn_rshift): Do not use BP_SYM.
2976 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2978 (PARMS): Do not use macros from bp-asm.h.
2981 (strchr): Likewise. Do not use BP_SYM.
2982 (index): Do not use BP_SYM in weak_alias.
2983 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2985 (PARMS): Do not use macros from bp-asm.h.
2988 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2989 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2991 (PARMS): Do not use macros from bp-asm.h.
2992 (strlen): Do not use BP_SYM.
2993 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2995 (PARMS): Do not use macros from bp-asm.h.
2999 (__mpn_sub_n): Do not use BP_SYM.
3000 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3002 (PARMS): Do not use macros from bp-asm.h.
3005 (__mpn_submul_1): Do not use BP_SYM.
3006 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3008 (PARMS): Do not use macros from bp-asm.h.
3012 (__mpn_add_n): Do not use BP_SYM.
3013 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3016 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3018 (PARMS): Do not use macros from bp-asm.h.
3021 (memcmp): Do not use BP_SYM.
3022 (bcmp): Do not use BP_SYM in weak_alias.
3023 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3025 (PARMS): Do not use macros from bp-asm.h.
3029 (memcpy): Likewise. Do not use BP_SYM.
3030 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3032 (PARMS): Do not use macros from bp-asm.h.
3036 (memmove): Likewise. Do not use BP_SYM.
3037 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3039 (PARMS): Do not use macros from bp-asm.h.
3043 (__mempcpy): Likewise. Do not use BP_SYM.
3044 (mempcpy): Do not use BP_SYM in weak_alias.
3045 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3047 (PARMS): Do not use macros from bp-asm.h.
3050 [!BZERO_P] (CHR): Likewise.
3051 (memset): Likewise. Do not use BP_SYM.
3052 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3054 (PARMS): Do not use macros from bp-asm.h.
3056 (strcmp): Do not use BP_SYM.
3057 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3059 (PARMS): Do not use macros from bp-asm.h.
3062 [USE_AS_STRTOK_R] (SAVE): Likewise.
3063 (FUNCTION): Likewise. Do not use BP_SYM.
3064 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3066 (strtok_r): Likewise.
3067 (__GI___strtok_r): Likewise.
3068 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3069 (PARMS): Do not use macros from bp-asm.h.
3072 (__mpn_lshift): Do not use BP_SYM.
3073 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3074 (PARMS): Do not use macros from bp-asm.h.
3077 (__memchr): Do not use BP_SYM.
3078 (memchr): Do not use BP_SYM in weak_alias.
3079 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3080 (PARMS): Do not use macros from bp-asm.h.
3083 (memcmp): Do not use BP_SYM.
3084 (bcmp): Do not use BP_SYM in weak_alias.
3085 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3086 (PARMS): Do not use macros from bp-asm.h.
3089 (__mpn_mul_1): Do not use BP_SYM.
3090 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3092 (PARMS): Do not use macros from bp-asm.h.
3095 (__rawmemchr): Do not use BP_SYM.
3096 (rawmemchr): Do not use BP_SYM in weak_alias.
3097 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3098 (PARMS): Do not use macros from bp-asm.h.
3101 (__mpn_rshift): Do not use BP_SYM.
3102 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3103 (PARMS): Do not use macros from bp-asm.h.
3105 (__sigsetjmp): Likewise. Do not use BP_SYM.
3106 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3107 (_start): Do not use BP_SYM.
3108 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3109 (PARMS): Do not use macros from bp-asm.h.
3112 (__stpcpy): Likewise. Do not use BP_SYM.
3113 (stpcpy): Do not use BP_SYM in weak_alias.
3114 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3116 (PARMS): Do not use macros from bp-asm.h.
3120 (__stpncpy): Likewise. Do not use BP_SYM.
3121 (stpncpy): Do not use BP_SYM in weak_alias.
3122 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3123 (PARMS): Do not use macros from bp-asm.h.
3126 (strchr): Likewise. Do not use BP_SYM.
3127 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3129 (PARMS): Do not use macros from bp-asm.h.
3132 (__strchrnul): Likewise. Do not use BP_SYM.
3133 (strchrnul): Do not use BP_SYM in weak_alias.
3134 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3136 (PARMS): Do not use macros from bp-asm.h.
3138 (strcspn): Do not use BP_SYM.
3139 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3141 (PARMS): Do not use macros from bp-asm.h.
3144 (strpbrk): Likewise. Do not use BP_SYM.
3145 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3147 (PARMS): Do not use macros from bp-asm.h.
3150 (strrchr): Likewise. Do not use BP_SYM.
3151 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3152 (PARMS): Do not use macros from bp-asm.h.
3154 (strspn): Do not use BP_SYM.
3155 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3156 (PARMS): Do not use macros from bp-asm.h.
3160 (FUNCTION): Likewise. Do not use BP_SYM.
3161 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3163 (strtok_r): Likewise.
3164 (__GI___strtok_r): Likewise.
3165 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3166 (PARMS): Do not use macros from bp-asm.h.
3170 (__mpn_sub_n): Do not use BP_SYM.
3171 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3173 (PARMS): Do not use macros from bp-asm.h.
3176 (__mpn_submul_1): Do not use BP_SYM.
3177 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3179 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3181 (PARMS): Do not use macros from bp-asm.h.
3186 (__clone): Do not use BP_SYM.
3187 (clone): Do not use BP_SYM in weak_alias.
3188 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3190 (PARMS): Do not use macros from bp-asm.h.
3192 (__mmap64): Do not use BP_SYM.
3193 (mmap64): Do not use BP_SYM in weak_alias.
3194 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3195 <bp-sym.h> and <bp-asm.h>.
3196 (PARMS): Do not use macros from bp-asm.h.
3197 (__posix_fadvise64_l64): Do not use BP_SYM.
3198 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3199 (PARMS): Do not use macros from bp-asm.h.
3201 (semtimedop): Do not use BP_SYM.
3202 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3205 2013-02-21 Allan McRae <allan@archlinux.org>
3207 * manual/message.texi (Charset conversion in gettext):
3208 Move @end statement to beginning of line.
3210 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3212 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3217 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3220 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3222 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3224 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3225 tail-call to the resolved function if pltexit isn't needed.
3227 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3229 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3230 or Y being zero as being unlikely.
3231 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3234 2013-02-20 Carlos O'Donell <carlos@redhat.com>
3236 * manual/nss.texi (System Databases and Name Service Switch):
3237 Remove frobnicate @pxref.
3239 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3241 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3242 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3244 2013-02-20 Petr Machata <pmachata@redhat.com>
3246 * elf/elf.h (R_ARM_TARGET1): New macro.
3247 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3248 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3249 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3250 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3251 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3252 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3253 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3254 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3255 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3256 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3257 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3258 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3259 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3260 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3261 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3262 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3263 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3264 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3265 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3266 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3267 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3268 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3269 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3270 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3271 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3272 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3273 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3274 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3275 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3276 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3277 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3278 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3279 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3280 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3281 (R_ARM_THM_GOT_BREL12): Likewise.
3282 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3283 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3284 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3285 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3286 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3287 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3288 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3289 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3290 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3292 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3294 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3295 __attribute_used__ to __attribute__ ((unused)).
3297 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3299 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3301 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3305 2013-02-19 Joseph Myers <joseph@codesourcery.com>
3308 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3310 (ENTER): Remove both macro definitions.
3312 (CHECK_BOUNDS_LOW): Likewise.
3313 (CHECK_BOUNDS_HIGH): Likewise.
3314 (CHECK_BOUNDS_BOTH): Likewise.
3315 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3316 (RETURN_BOUNDED_POINTER): Likewise.
3317 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3318 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3319 (POP_ERRNO_LOCATION_RETURN): Likewise.
3320 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3321 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3322 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3324 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3325 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3326 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3327 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3328 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3329 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3330 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3331 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3332 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3333 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3334 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3335 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3336 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3337 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3339 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3340 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3342 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3343 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3344 * sysdeps/i386/i586/memset.S (memset): Likewise.
3345 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3346 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3347 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3349 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3350 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3351 Change uses of L(2) to L(out).
3352 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3353 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3354 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3355 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3356 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3358 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3359 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3361 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3362 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3363 (RETURN): Do not use macro LEAVE.
3364 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3365 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3366 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3367 * sysdeps/i386/i686/memset.S (memset): Likewise.
3368 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3369 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3370 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3371 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3373 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3374 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3375 L(1_2) and L(1_3) into L(1).
3376 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3377 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3378 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3379 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3380 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3381 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3382 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3383 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3384 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3386 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3387 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3388 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3389 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3390 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3391 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3392 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3393 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3394 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3395 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3396 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3397 * sysdeps/i386/strspn.S (strspn): Likewise.
3398 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3400 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3401 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3402 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3403 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3405 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3406 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3407 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3409 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3411 2013-02-19 Jakub Jelinek <jakub@redhat.com>
3413 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3416 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3418 * math/atest-exp.c (exp_mpn): Remove ROUND.
3419 * math/atest-exp2.c (exp_mpn): Likewise.
3420 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3422 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3423 * stdlib/tst-tls-atexit-lib.c: Likewise.
3424 * stdlib/tst-tls-atexit.c: Likewise.
3426 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3428 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3429 and __attribute_alloc_size__.
3431 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3433 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3434 __attribute_alloc_size__.
3435 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3436 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3438 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3440 * include/programs/xmalloc.h: New file.
3441 * catgets/gencat.c: Include it.
3442 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3443 * elf/pldd.c: Likewise.
3444 * iconv/iconv_charmap.c: Likewise.
3445 * iconv/iconvconfig.c: Likewise.
3446 * iconv/strtab.c: Likewise.
3447 * locale/programs/locale.c: Likewise.
3448 * locale/programs/localedef.h: Likewise.
3449 * locale/programs/simple-hash.c: Likewise.
3450 * nscd/nscd.h: Likewise.
3451 * nss/makedb.c: Likewise.
3452 * sysdeps/generic/ldconfig.h: Likewise.
3454 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3456 * Versions.def: Add GLIBC_2.18.
3457 * include/link.h (struct link_map): New member l_tls_dtor_count.
3458 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3459 (__call_tls_dtors): Likewise.
3460 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3461 __cxa_thread_atexit_impl.
3462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3470 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3478 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3479 (tests): Add test case tst-tls-atexit.
3480 (modules-names): Add shared library for tst-tls-atexit.
3481 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3482 (GLIBC_PRIVATE): Add __call_tls_dtors.
3483 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3485 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3486 * stdlib/tst-tls-atexit.c: New test case.
3487 * stdlib/tst-tls-atexit-lib.c: New test case.
3489 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
3491 * elf/Versions (ld): Add _dl_find_dso_for_object.
3492 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3493 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3494 (dl_open_worker): Use _dl_find_dso_for_object.
3495 * elf/dl-sym.c (do_sym): Likewise.
3496 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3498 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3500 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3501 Syntactic changes only.
3502 (_dl_runtime_profile): Do a tail-call to the resolved function.
3504 2013-02-17 Joseph Myers <joseph@codesourcery.com>
3507 * sysdeps/x86_64/bp-asm.h: Remove file.
3508 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3509 <bp-sym.h> and <bp-asm.h>.
3510 (__clone): Do not use BP_SYM.
3511 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3512 <bp-sym.h> and <bp-asm.h>.
3513 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3514 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3516 (_setjmp): Do not use BP_SYM.
3517 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3519 (setjmp): Do not use BP_SYM.
3520 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3522 (mempcpy): Do not use BP_SYM in weak_alias.
3523 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3525 (strchr): Do not use BP_SYM.
3526 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3528 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3529 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3530 (_start): Do not use BP_SYM.
3531 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3533 (strcat): Do not use BP_SYM.
3534 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3536 (STRCMP): Do not use BP_SYM.
3537 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3539 (STRCPY): Do not use BP_SYM.
3540 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3542 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3544 (FUNCTION): Do not use BP_SYM.
3545 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3547 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3549 2013-02-17 Andreas Jaeger <aj@suse.de>
3551 * time/Versions: Sort entries.
3552 * string/Versions: Likewise.
3553 * resolv/Versions: Likewise.
3554 * posix/Versions: Likewise.
3555 * iconv/Versions: Likewise.
3556 * elf/Versions: Likewise.
3557 * wcsmbs/Versions: Likewise.
3559 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3561 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3562 loop termination condition.
3564 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3565 variable to calculate EZ.
3568 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3569 the lower precision input.
3571 2013-02-15 Joseph Myers <joseph@codesourcery.com>
3574 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3575 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3576 (run-via-rtld-prefix): Do not handle %-bp tests.
3577 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3578 (all-object-suffixes): Remove .ob.
3579 (bppfx): Remove variable.
3580 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3581 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3582 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3583 [$(build-bounded) = yes] (libtype.ob): Likewise.
3584 * Makerules (elide-routines.ob): Remove variable.
3585 (do-tests-clean): Do not handle *-bp.out.
3586 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3587 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3588 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3589 (tests): Do not include $(tests-bp.out).
3590 (xtests): Do not include $(xtests-bp.out).
3591 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3592 [$(build-bounded) = yes] ($(addprefix
3593 $(objpfx),$(binaries-bounded))): Remove rule.
3594 ($(objpfx)%-bp.out): Remove rule.
3595 * config.make.in (build-bounded): Remove variable.
3596 * crypt/Makefile [$(build-bounded) = yes]
3597 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3598 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3600 [$(build-bounded) = yes] (install-lib): Likewise.
3601 [$(build-bounded) = yes] (generated): Likewise.
3602 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3604 * intl/Makefile [$(build-bounded) = yes]
3605 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3606 * math/Makefile [$(build-bounded) = yes]
3607 ($(tests:%=$(objpfx)%-bp): Likewise.
3608 * misc/Makefile [$(build-bounded) = yes]
3609 ($(objpfx)tst-tsearch-bp): Likewise.
3610 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3611 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3613 * string/Makefile (o-objects.ob): Remove variable.
3614 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3615 (CFLAGS-.ob): Remove variable.
3616 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3617 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3618 both definitions of variable.
3619 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3620 (ASFLAGS-.ob): Remove variable.
3622 2013-02-14 Joseph Myers <joseph@codesourcery.com>
3625 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3626 Remove __BOUNDED_POINTERS__ from condition.
3627 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3628 * string/bits/string2.h [!__NO_STRING_INLINES &&
3629 !__BOUNDED_POINTERS__]: Likewise.
3630 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3632 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3633 Remove conditional code.
3634 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3635 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3636 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3640 * csu/libc-start.c: Do not include <bp-sym.h>.
3641 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3642 * elf/dl-open.c: Do not include <bp-sym.h>.
3643 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3644 * math/fegetenv.c: Do not include <bp-sym.h>.
3645 (fegetenv): Do not use BP_SYM in versioned symbols.
3646 * nptl/sysdeps/pthread/bits/libc-lockP.h
3647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3650 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3652 (__pthread_mutex_destroy): Likewise.
3653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3654 (__pthread_mutex_lock): Likewise.
3655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3656 (__pthread_mutex_trylock): Likewise.
3657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3658 (__pthread_mutex_unlock): Likewise.
3659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3660 (__pthread_mutexattr_init): Likewise.
3661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3662 (__pthread_mutexattr_destroy): Likewise.
3663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3664 (__pthread_mutexattr_settype): Likewise.
3665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3666 (__pthread_rwlock_init): Likewise.
3667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3668 (__pthread_rwlock_destroy): Likewise.
3669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3670 (__pthread_rwlock_rdlock): Likewise.
3671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3672 (__pthread_rwlock_tryrdlock): Likewise.
3673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3674 (__pthread_rwlock_wrlock): Likewise.
3675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3676 (__pthread_rwlock_trywrlock): Likewise.
3677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3678 (__pthread_rwlock_unlock): Likewise.
3679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3680 (__pthread_key_create): Likewise.
3681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3682 (__pthread_setspecific): Likewise.
3683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3684 (__pthread_getspecific): Likewise.
3685 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3687 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3688 (_pthread_cleanup_push_defer): Likewise.
3689 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3690 (_pthread_cleanup_pop_restore): Likewise.
3691 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3692 (pthread_setcancelstate): Likewise.
3693 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3695 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3696 (memchr): Do not use BP_SYM in weak_alias.
3697 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3698 (fegetenv): Do not use BP_SYM in versioned symbols.
3699 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3700 (fesetenv): Do not use BP_SYM in versioned symbols.
3701 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3702 (feupdateenv): Do not use BP_SYM in versioned symbols.
3703 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3704 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3705 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3706 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3707 (open64): Do not use BP_SYM in weak_alias.
3708 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3709 (fegetenv): Do not use BP_SYM in versioned symbols.
3710 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3711 (fesetenv): Do not use BP_SYM in versioned symbols.
3712 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3713 (feupdateenv): Do not use BP_SYM in versioned symbols.
3714 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3715 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3716 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3717 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3718 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3719 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3720 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3722 (__libc_start_main): Do not use BP_SYM.
3724 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3727 redundant return line.
3731 (sub_magnitudes): Likewise.
3737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3741 (sub_magnitudes): Likewise.
3748 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3750 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3751 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3754 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3755 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3756 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3757 of __mul for squares.
3758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3762 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3763 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3765 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3768 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3770 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3771 prototype or function definition. Rename ubp_* variables and
3772 parameters. Remove argv definitions conditional on
3773 [__BOUNDED_POINTERS__].
3774 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3775 * elf/dl-runtime.c (_dl_fixup): Likewise.
3776 * include/set-hooks.h (RUN_HOOK): Likewise.
3777 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3779 * string/strcpy.c (strcpy): Do not use __unbounded.
3780 * sysdeps/generic/frame.h (struct layout): Likewise.
3781 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3782 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3783 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3784 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3785 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3786 (__backtrace): Likewise.
3787 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3789 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3790 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3791 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3793 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3794 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3795 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3796 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3797 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3798 Do not use __unbounded.
3799 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3800 Rename __unboundedrlimits parameter to rlimits in prototype.
3801 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3802 Do not use __unbounded.
3803 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3805 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3806 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3807 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3808 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3809 __ptrvalue or __unbounded.
3810 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3811 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3813 (__new_msgctl): Do not use __ptrvalue.
3814 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3816 (__libc_msgrcv): Do not use __ptrvalue.
3817 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3818 startup_info): Do not use __unbounded.
3819 (__libc_start_main): Likewise. Rename ubp_* variables and
3820 parameters. Remove argv definitions conditional on
3821 [__BOUNDED_POINTERS__].
3822 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3824 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3826 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3828 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3830 (__new_shmctl): Do not use __ptrvalue.
3831 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3832 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3834 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3835 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3836 (__libc_sigaction): Likewise.
3837 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3838 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3840 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3842 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3844 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3846 * string/mempcpy.c: Implement by calling memcpy.
3848 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3850 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3852 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3855 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3856 values in the mantissa.
3858 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3859 minimize writes to Z.
3860 (sub_magnitudes): Simplify code a bit.
3862 2013-02-12 Roland McGrath <roland@hack.frob.com>
3864 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3865 from the message. The linker prefixes all warnings with that already.
3867 2013-02-12 Andreas Schwab <schwab@suse.de>
3870 * posix/regexec.c (extend_buffers): Add parameter min_len.
3871 (check_matching): Pass minimum needed length.
3872 (clean_state_log_if_needed): Likewise.
3873 (get_subexp): Likewise.
3874 * posix/Makefile (tests): Add bug-regex34.
3875 (bug-regex34-ENV): Define.
3876 * posix/bug-regex34.c: New file.
3879 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3880 elements compare against the byte sequence of it, not its name.
3881 * posix/Makefile (tests): Add bug-regex35.
3882 (bug-regex35-ENV): Define.
3883 * posix/bug-regex35.c: New file.
3885 2013-02-11 Tom de Vries <tom@codesourcery.com>
3887 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3889 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3890 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3891 (CHECK_EOL): Add undef.
3893 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3895 * bits/stdlib-bsearch.h: New file.
3896 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3897 * stdlib/stdlib.h: Likewise.
3899 2013-02-11 Roland McGrath <roland@hack.frob.com>
3901 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3902 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3904 * manual/search.texi (Array Search Function): Add missing const in
3906 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3907 declaration to use rlim_t.
3908 (Basic Scheduling Functions): Remove erroneous const from
3909 sched_getparam prototype. Remove erroneous * from
3910 sched_get_priority_max and sched_get_priority_min prototypes.
3911 (Resource Usage): Fix summary @comment on vtimes to refer to
3912 sys/vtimes.h rather than vtimes.h.
3913 Add missing *s in vtimes prototype.
3914 (Limits on Resources): Fix ulimit prototype to return long int.
3915 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3916 prototypes to use long int rather than double.
3917 (BSD Random): Fix initstate and setstate to use char *, not void *.
3918 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3919 prototype to make second argument 'struct aiocb64 *const[]'.
3920 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3921 (Status of AIO Operations): Remove erroneous const in aio_return and
3922 aio_return64 prototypes.
3923 (Synchronizing I/O): Fix sync prototype to return void.
3924 * manual/startup.texi (Suboptions): Remove an erroneous const in
3925 getsubopt prototype.
3926 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3927 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3928 use size_t rather than int.
3929 (Scanning All Users): Likewise for getpwent_r.
3930 (Setting Groups): Add missing const to setgroups prototype.
3931 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3932 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3933 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3934 'const void *' rather than 'const char *'.
3935 (Host Address Functions): Likewise for inet_ntop.
3936 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3937 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3938 ssize_t for return value.
3939 (Sending Data): Likewise for send, sendto, sendmsg.
3940 (Socket Option Functions): Add a missing const in setsockopt prototype.
3941 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3942 use wchar_t for the argument.
3943 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3944 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3946 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3947 double/float/long double for second argument.
3948 Fix return types of significand, significandf, significandl.
3949 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3950 argument in fchmod prototype.
3951 (File Owner): Use uid_t and gid_t in fchown prototype.
3952 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3953 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3954 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3955 use 'const struct dirent **' as argument types to CMP function pointer
3957 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3958 (File Times): Fix summary magic @comment for struct utimbuf and utime
3959 to refer to utime.h, not time.h.
3960 * manual/string.texi (Argz Functions): Add missing const in
3961 argz_extract and argz_next prototypes.
3962 (Finding Tokens in a String): Likewise for basename.
3963 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3964 (Copying and Concatenation): Fix typo in wmemmove prototype.
3965 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3966 (Signal Stack): Remove erroneous const in sigstack prototype.
3967 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3969 (Simple Calendar Time): Likewise for stime.
3970 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3972 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3973 say sys/sysctl.h instead.
3974 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3975 and vsyslog prototypes.
3977 2013-02-11 Tom de Vries <tom@codesourcery.com>
3979 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3982 2013-02-11 Roland McGrath <roland@hack.frob.com>
3984 * misc/sys/mman.h: Fix typo in mremap comment.
3986 2013-02-08 Roland McGrath <roland@hack.frob.com>
3988 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3989 the '\0' terminator.
3991 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3994 * debug/segfault.c: Don't include <bp-checks.h>.
3995 * sysdeps/generic/bp-checks.h: Remove file.
3996 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3997 (__GETDENTS): Don't use CHECK_N.
3998 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3999 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4000 (__getgroups): Don't use CHECK_N.
4001 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4002 (setgroups): Don't use CHECK_N.
4003 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4004 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4005 (__libc_msgrcv): Don't use CHECK_N.
4006 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4007 (__libc_msgsnd): Don't use CHECK_N.
4008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4010 (__libc_pread): Don't use CHECK_N.
4011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4012 include <bp-checks.h>.
4013 (__libc_pread64): Don't use CHECK_N.
4014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4015 include <bp-checks.h>.
4016 (__libc_pwrite): Don't use CHECK_N.
4017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4018 include <bp-checks.h>.
4019 (__libc_pwrite64): Don't use CHECK_N.
4020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4022 (__libc_pread): Don't use CHECK_N.
4023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4024 include <bp-checks.h>.
4025 (__libc_pread64): Don't use CHECK_N.
4026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4027 include <bp-checks.h>.
4028 (__libc_pwrite): Don't use CHECK_N.
4029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4030 include <bp-checks.h>.
4031 (__libc_pwrite64): Don't use CHECK_N.
4032 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4033 (do_pread): Don't use CHECK_N.
4034 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4035 (do_pread64): Don't use CHECK_N.
4036 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4037 (do_pwrite): Don't use CHECK_N.
4038 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4039 (do_pwrite64): Don't use CHECK_N.
4040 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4041 (__libc_readv): Don't use CHECK_N.
4042 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4043 (semop): Don't use CHECK_N.
4044 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4046 (semtimedop): Don't use CHECK_N.
4047 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4048 (__libc_pread): Don't use CHECK_N.
4049 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4051 (__libc_pread64): Don't use CHECK_N.
4052 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4054 (__libc_pwrite): Don't use CHECK_N.
4055 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4057 (__libc_pwrite64): Don't use CHECK_N.
4058 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4060 (__libc_msgrcv): Don't use CHECK_N.
4061 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4062 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4063 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4064 (__libc_writev): Don't use CHECK_N.
4066 2013-02-08 Roland McGrath <roland@hack.frob.com>
4068 * string/strcpy.c: Removed unused variable.
4070 * Makeconfig (+sysdep-includes): Define with := rather than =.
4071 Use an existing include/ subdir of each sysdeps dir before it.
4073 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4075 * nscd/connection.c (register_traced_file): Comment function.
4076 [HAVE_INOTIFY] (union __inev): Define.
4077 [HAVE_INOTIFY] (inotify_check_files): New function.
4078 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4079 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4081 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4083 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4085 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4086 loaded if not already and that a failure is permanent.
4088 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4091 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4092 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4094 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4097 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4098 (CHECK_1_NULL_OK): Likewise.
4099 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4100 (__fxstat): Do not use CHECK_1.
4101 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4103 (___fxstat64): Do not use CHECK_1.
4104 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4106 (__fxstatat): Do not use CHECK_1.
4107 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4109 (__fxstatat64): Do not use CHECK_1.
4110 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4112 (__fxstat): Do not use CHECK_1.
4113 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4115 (__fxstatat): Do not use CHECK_1.
4116 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4118 (__getresgid): Do not use CHECK_1.
4119 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4121 (__getresuid): Do not use CHECK_1.
4122 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4124 (__lxstat): Do not use CHECK_1.
4125 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4127 (__old_msgctl): Do not use CHECK_1.
4128 (__new_msgctl): Likewise.
4129 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4131 (__new_setrlimit): Do not use CHECK_1.
4132 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4134 (__old_shmctl): Do not use CHECK_1.
4135 (__new_shmctl): Likewise.
4136 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4138 (__xstat): Do not use CHECK_1.
4139 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4140 (__lxstat): Do not use CHECK_1.
4141 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4143 (___lxstat64): Do not use CHECK_1.
4144 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4145 (__old_msgctl): Do not use CHECK_1.
4146 (__new_msgctl): Likewise.
4147 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4149 (__gettimeofday): Do not use CHECK_1.
4150 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4151 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4152 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4154 (__gettimeofday): Do not use CHECK_1.
4155 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4156 (__old_shmctl): Do not use CHECK_1_NULL_OK.
4157 (__new_shmctl): Do not use CHECK_1.
4158 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4160 (do_sigtimedwait): Do not use CHECK_1.
4161 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4163 (do_sigwaitinfo): Do not use CHECK_1.
4164 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4166 (msgctl): Do not use CHECK_1.
4167 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4169 (shmctl): Do not use CHECK_1.
4170 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4171 (ustat): Do not use CHECK_1.
4172 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4174 (__fxstat): Do not use CHECK_1.
4175 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4177 (__fxstatat): Do not use CHECK_1.
4178 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4180 (__lxstat): Do not use CHECK_1.
4181 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4183 (__xstat): Do not use CHECK_1.
4184 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4185 (__xstat): Do not use CHECK_1.
4186 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4187 (___xstat64): Do not use CHECK_1.
4190 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4192 (CHECK_BOUNDS_HIGH): Likewise.
4193 * string/strcpy.c: Do not include <bp-checks.h>.
4194 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4196 2013-02-07 Roland McGrath <roland@hack.frob.com>
4198 * nscd/nscd-client.h (__nscd_drop_map_ref):
4199 Add __attribute__ ((unused)).
4200 * nis/nss-nisplus.h (niserr2nss): Likewise.
4202 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4203 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4205 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4206 Remove inline keyword.
4207 * include/rounding-mode.h (round_away): Likewise.
4208 * libio/wfileops.c (adjust_wide_data): Likewise.
4209 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4210 (__m128i_strloadu_tolower): Likewise.
4211 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4212 (__m128i_strloadu_tolower): Likewise.
4213 * time/mktime.c (ydhms_diff): Likewise.
4214 * locale/elem-hash.h (elem_hash): Likewise.
4215 * locale/setlocale.c (setdata): Likewise.
4216 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4217 (re_string_wchar_at): Likewise.
4218 (bitset_not, bitset_merge, bitset_mask): Likewise.
4219 [!(__GNUC__ > 3)] (inline): Remove macro.
4220 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4221 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4222 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4223 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4224 * string/memcmp.c (memcmp_bytes): Likewise.
4225 * locale/programs/locarchive.c (compute_hashval): Likewise.
4226 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4227 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4228 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4229 * nss/getent.c (print_rpc, print_protocols): Likewise.
4230 (print_passwd, print_group, print_aliases): Likewise.
4231 * nis/nss-nisplus.h (niserr2nss): Likewise.
4232 * nscd/connections.c (restart_p): Likewise.
4233 Change return type to bool.
4235 2013-02-05 Roland McGrath <roland@hack.frob.com>
4237 * Makeconfig (all-Depend-files): Add existing
4238 $(sorted-subdirs:=/Depend) files.
4239 (all-subdirs): Remove nss.
4240 * sysdeps/unix/inet/Subdirs: Add it here instead.
4241 * hesiod/Depend: New file.
4243 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4244 instead of calling alloca.
4246 * io/lseek.c (__lseek): Rename to __libc_lseek.
4247 Define __lseek as an alias.
4249 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4251 2013-02-04 Carlos O'Donell <carlos@redhat.com>
4253 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4254 else clause and remove check for non-standard endianness.
4256 2013-02-04 David S. Miller <davem@davemloft.net>
4258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4260 2013-02-04 Joseph Myers <joseph@codesourcery.com>
4263 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4264 (__ubp_memchr): Remove prototype.
4265 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4266 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4267 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4268 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4269 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4271 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4272 (__ubp_memchr): Likewise.
4273 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4274 (__ubp_memchr): Likewise.
4275 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4276 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4277 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4278 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4280 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4281 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4282 (__getcwd): Do not use CHECK_STRING.
4283 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4285 (__real_chown): Do not use CHECK_STRING.
4286 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4288 (fchownat): Do not use CHECK_STRING.
4289 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4291 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4293 (__lchown): Do not use CHECK_STRING.
4294 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4295 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4296 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4297 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4299 include <bp-checks.h>.
4300 (truncate64): Do not use CHECK_STRING.
4301 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4303 (__real_chown): Do not use CHECK_STRING.
4304 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4306 (__lchown): Do not use CHECK_STRING.
4307 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4309 (__chown): Do not use CHECK_STRING.
4310 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4312 (truncate64): Do not use CHECK_STRING.
4313 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4315 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4316 (__xmknod): Do not use CHECK_STRING.
4317 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4319 (__xmknodat): Do not use CHECK_STRING.
4320 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4321 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4323 2013-02-04 Andreas Schwab <schwab@suse.de>
4326 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4327 * include/netdb.h: Likewise for h_errno.
4328 * elf/tst-stackguard1.c: Include <tls.h>.
4330 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4332 * elf/link.h (struct link_map): Extend the l_addr comment.
4333 * include/link.h (struct link_map): Likewise.
4335 2013-02-01 Joseph Myers <joseph@codesourcery.com>
4338 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4339 (BOUNDED_1): Remove macro.
4340 * debug/backtrace.c: Don't include <bp-checks.h>.
4341 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4342 (__backtrace): Likewise.
4343 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4345 (__backtrace): Don't use BOUNDED_1.
4346 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4348 (__backtrace): Don't use BOUNDED_1.
4349 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4350 (__backtrace): Don't use BOUNDED_1.
4351 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4352 (shmat): Don't use BOUNDED_N.
4354 2013-01-31 Joseph Myers <joseph@codesourcery.com>
4357 * sysdeps/generic/bp-start.h: Remove file.
4358 * csu/libc-start.c: Don't include <bp-start.h>.
4359 (LIBC_START_MAIN): Set up __environ directly instead of using
4360 INIT_ARGV_and_ENVIRON.
4361 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4365 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4367 (CHECK_FCNTL): Likewise.
4368 (CHECK_N_PAGES): Likewise.
4371 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4373 (CHECK_SIGSET_NULL_OK): Likewise.
4374 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4376 (sigpending): Don't use CHECK_SIGSET.
4377 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4379 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4380 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4382 (do_sigsuspend): Don't use CHECK_SIGSET.
4383 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4385 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4386 (do_sigwait): Don't use CHECK_SIGSET.
4387 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4389 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4390 include <bp-checks.h>.
4391 (sigpending): Don't use CHECK_SIGSET.
4392 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4393 include <bp-checks.h>.
4394 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4395 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4397 (sigpending): Don't use CHECK_SIGSET.
4398 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4400 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4403 * sysdeps/generic/bp-semctl.h: Remove file.
4404 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4405 <bp-checks.h> and <bp-semctl.h>.
4406 (__old_semctl): Don't use CHECK_SEMCTL.
4407 (__new_semctl): Likewise.
4408 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4410 (__old_semctl): Don't use CHECK_SEMCTL.
4411 (__new_semctl): Likewise.
4412 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4413 <bp-checks.h> and <bp-semctl.h>.
4414 (__old_semctl): Don't use CHECK_SEMCTL.
4415 (__new_semctl): Likewise.
4416 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4417 <bp-checks.h> and <bp-semctl.h>.
4418 (semctl): Don't use CHECK_SEMCTL.
4421 * Makerules (elide-bp-thunks): Remove variable.
4422 (elide-routines.oS): Don't use $(elide-bp-thunks).
4423 (elide-routines.os): Likewise.
4424 (elide-routines.o): Likewise.
4425 (elide-routines.op): Likewise.
4426 (elide-routines.og): Likewise.
4427 (objects): Don't use $(bp-thunks).
4428 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4430 (common-generated): Do not add s-proto-bp.d.
4431 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4434 Do not generate makefile rules for bounded-pointer thunks.
4435 * sysdeps/generic/bp-thunks.h: Remove file.
4436 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4437 * sysdeps/unix/s-proto-bp.S: Likewise.
4440 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4441 parts of result separately when argument is not close to line from
4442 -i to i and one part of argument is small.
4443 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4444 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4445 * math/libm-test.inc (cacos_test): Add more tests.
4446 (casin_test): Likewise.
4447 (casinh_test): Likewise.
4448 * sysdeps/i386/fpu/libm-test-ulps: Update.
4449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4451 2013-01-31 David S. Miller <davem@davemloft.net>
4453 * po/de.po: Update from translation team.
4455 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4457 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4459 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4461 * configure.in (_AC_PROG_CC_C89): New definition.
4462 * configure: Regenerate.
4464 * configure.in (AC_PROG_CPP): New definition.
4465 * configure: Regenerate.
4467 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4469 * debug/tst-backtrace.h: New file.
4470 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4471 (ret): Remove variable.
4473 (FAIL): Remove macro.
4474 (NO_INLINE): Likewise.
4475 (fn1): Use match function instead of strstr.
4476 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4477 (ret): Remove variable.
4479 (FAIL): Remove macro.
4480 (NO_INLINE): Likewise.
4481 (fn): Use match function instead of strstr.
4482 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4483 (ret): Remove variable.
4485 (FAIL): Remove macro.
4486 (NO_INLINE): Likewise.
4487 (handle_signal): Use match function instead of strstr.
4488 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4489 (ret): Remove variable.
4491 (FAIL): Remove macro.
4492 (NO_INLINE): Likewise.
4493 (handle_signal): Use match function instead of strstr.
4495 2013-01-23 Roland McGrath <roland@hack.frob.com>
4497 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4499 2013-01-23 David S. Miller <davem@davemloft.net>
4501 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4502 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4503 argument of CAS if possible.
4504 * sysdeps/sparc/sparc64/bits/atomic.h
4505 (__arch_compare_and_exchange_val_32_acq): Likewise.
4506 (__arch_compare_and_exchange_val_64_acq): Likewise.
4508 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4510 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4511 * sysdeps/posix/ulimit.c: ... this.
4513 * sysdeps/unix/bsd/ulimit.c: Remove file.
4515 2013-01-23 Adam Conrad <adconrad@0c3.net>
4517 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4518 (LDFLAGS-tst-array5): Likewise.
4520 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4523 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4524 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4525 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4526 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4528 2013-01-21 David S. Miller <davem@davemloft.net>
4530 * sysdeps/sparc/backtrace.c: New file.
4531 * sysdeps/sparc/sparc32/backtrace.h: New file.
4532 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4533 * sysdeps/sparc/sparc64/backtrace.h: New file.
4534 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4535 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4538 2013-01-21 Andreas Schwab <schwab@suse.de>
4541 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4544 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4548 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4550 2013-01-18 Joseph Myers <joseph@codesourcery.com>
4551 Mark Mitchell <mark@codesourcery.com>
4552 Tom de Vries <tom@codesourcery.com>
4553 Paul Pluzhnikov <ppluzhnikov@google.com>
4555 * debug/tst-backtrace2.c: New file.
4556 * debug/tst-backtrace3.c: Likewise.
4557 * debug/tst-backtrace4.c: Likewise.
4558 * debug/tst-backtrace5.c: Likewise.
4559 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4560 (CFLAGS-tst-backtrace3.c): Likewise.
4561 (CFLAGS-tst-backtrace4.c): Likewise.
4562 (CFLAGS-tst-backtrace5.c): Likewise.
4563 (LDFLAGS-tst-backtrace2): Likewise.
4564 (LDFLAGS-tst-backtrace3): Likewise.
4565 (LDFLAGS-tst-backtrace4): Likewise.
4566 (LDFLAGS-tst-backtrace5): Likewise.
4567 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4568 tst-backtrace4 and tst-backtrace5.
4570 2013-01-18 Anton Blanchard <anton@samba.org>
4571 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4573 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4574 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4575 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4576 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4578 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4579 "+r" and remove output regs list as redundant. Add explicit inline
4580 asm to specify register of return val to work around compiler codegen
4581 bug. Remove (int) cast on return value. Add return type parameter to
4582 use in macro so that this macro does not truncate return value for
4584 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4585 pass to INTERNAL_VSYSCALL_NCS.
4586 (INLINE_VSYSCALL): Add 'long int' as return type to
4587 INTERNAL_VSYSCALL_NCS macro invocation.
4588 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4589 INTERNAL_VSYSCALL_NCS macro invocation.
4590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4592 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4595 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4596 Fix application of SIMD FP exception mask.
4598 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4599 mp_no from a power of two.
4600 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4601 __mpexp_twomm1. Use __pow_mp.
4603 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4606 2013-01-17 David S. Miller <davem@davemloft.net>
4608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4610 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4613 * include/complex.h: Condition contents on [!_COMPLEX_H].
4614 (__kernel_casinhf): New prototype.
4615 (__kernel_casinh): Likewise.
4616 (__kernel_casinhl): Likewise.
4617 * math/Makefile (libm_calls): Add k_casinh.
4618 * math/k_casinh.c: New file.
4619 * math/k_casinhf.c: Likewise.
4620 * math/k_casinhl.c: Likewise.
4621 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4622 finite nonzero arguments.
4623 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4624 finite nonzero arguments.
4625 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4626 finite nonzero arguments.
4627 * math/s_casinh.c: Do not include <float.h>.
4628 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4629 * math/s_casinhf.c: Do not include <float.h>.
4630 (__casinhf): Move code for finite nonzero arguments to
4632 * math/s_casinhl.c: Do not include <float.h>.
4633 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4635 (__casinhl): Move code for finite nonzero arguments to
4637 * math/libm-test.inc (cacos_test): Add more tests.
4638 * sysdeps/i386/fpu/libm-test-ulps: Update.
4639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4641 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4643 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4644 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4645 [!HAVE_MREMAP]: Remove [defined linux] case.
4646 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4648 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4650 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4652 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
4654 * elf/elf.h (R_386_SIZE32): New relocation.
4655 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4657 (elf_machine_rela): Likewise.
4658 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4659 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4661 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4663 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4664 (FP_FAST_FMA): Do not define.
4665 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4666 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4667 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4668 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4669 !_SOFT_FLOAT]: Likewise.
4670 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4671 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4673 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4674 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4675 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4676 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4677 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4678 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4681 2013-01-16 Andreas Schwab <schwab@suse.de>
4684 * include/stdlib.h (__mktemp): Add declaration.
4685 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4686 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4688 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4690 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4692 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4693 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4694 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4696 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4697 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4699 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4701 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4702 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4703 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4705 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4706 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4708 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4710 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4712 2013-01-15 David S. Miller <davem@davemloft.net>
4714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4715 trunc{,f} to libm-sysdep_routes.
4716 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4726 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4727 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4728 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4729 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4730 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4731 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4734 nearbyint{,f} to libm-sysdep_routes.
4735 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4746 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4748 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4749 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4751 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4752 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4753 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4755 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4756 libc_feholdexcept and libc_fesetenv.
4758 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4760 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4762 2013-01-14 David S. Miller <davem@davemloft.net>
4764 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4765 (SPARC_ASM_VIS2_IFUNC): Likewise.
4766 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4768 use of 'siam' instruction.
4769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4776 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4777 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4787 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4788 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4789 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4790 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4797 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4798 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4799 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4800 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4802 routines to libm-sysdep_routines.
4803 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4806 fdim/fdimf to libm-sysdep_routines.
4807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4815 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4816 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4817 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4818 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4820 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4822 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4825 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4829 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4830 local variable MPTWO.
4831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4834 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4836 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4839 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4841 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4843 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4845 * manual/pattern.texi (glob_t): Document gl_flags.
4846 (glob64_t): Likewise.
4848 2013-01-11 David S. Miller <davem@davemloft.net>
4850 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4851 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4852 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4853 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4854 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4855 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4856 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4857 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4858 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4859 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4860 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4861 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4862 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4864 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4865 sparc V9 rather than using V8 code.
4866 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4867 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4869 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4871 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4874 2013-01-11 Roland McGrath <roland@hack.frob.com>
4876 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4877 not in the main loop.
4878 * configure: Regenerated.
4880 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4882 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4883 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4885 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4886 [!__GLIBC_HAVE_LONG_LONG] case.
4887 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4888 condition to just #else.
4889 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4890 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4891 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4892 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4894 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4895 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4896 #elif condition to just #else.
4897 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4898 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4899 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4900 #elif condition to just #else.
4902 2013-01-11 Steve Ellcey <sellcey@mips.com>
4904 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4905 (EF_MIPS_ARCH_64): Fix value.
4906 (EF_MIPS_ARCH_32R2): New.
4907 (EF_MIPS_ARCH_64R2): New.
4909 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4911 * Makeconfig (+link-pie-before-libc): New.
4912 (+link-pie-after-libc): Likewise.
4913 (+link-pie-tests): Likewise.
4914 (+link-pie): Rewritten.
4915 (link-before-libc): Remove $(config-LDFLAGS).
4916 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4917 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4918 (config-LDFLAGS): Renamed to ...
4919 (rtld-LDFLAGS): This.
4920 (rtld-tests-LDFLAGS): New macro.
4921 (link-libc-rpath-link): Likewise.
4922 (link-libc-tests-rpath-link): Likewise.
4923 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4924 (link-libc): Prepand $(link-libc-rpath-link).
4925 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4926 (test-program-prefix): New macro.
4927 (test-via-rtld-prefix): Likewise.
4928 (test-program-cmd): Likewise.
4929 (host-test-program-cmd): Likewise.
4930 * Makefile ($(common-objpfx)testrun.sh): Replace
4931 $(run-program-prefix) with $(test-program-prefix).
4932 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4934 ($(common-objpfx)shlib.lds): Likewise.
4935 (build-module-helper): Likewise.
4936 ($(common-objpfx)format.lds): Likewise.
4937 * Rules (binaries-pie-tests): New.
4938 (binaries-pie-notests): Likewise.
4939 (binaries-pie): Rewritten.
4940 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4941 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4942 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4943 (make-test-out): Replace $(host-built-program-cmd) with
4944 $(host-test-program-cmd).
4945 * config.make.in (build-hardcoded-path-in-tests): New variable.
4946 * configure.in (--enable-hardcoded-path-in-tests): New configure
4948 (hardcoded_path_in_tests): New AC_SUBST.
4949 * configure: Regenerated.
4950 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4951 $(built-program-cmd) with $(test-program-cmd).
4952 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4953 (test_program_cmd): This.
4954 * elf/Makefile ($(objpfx)order.out): Run test with
4955 $(test-program-prefix).
4956 ($(objpfx)order2.out): Likewise.
4957 ($(objpfx)tst-initorder.out): Likewise.
4958 ($(objpfx)tst-initorder2.out): Likewise.
4959 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4960 $(test-program-cmd).
4961 ($(objpfx)tst-array1-static.out): Likewise.
4962 ($(objpfx)tst-array2.out): Likewise.
4963 ($(objpfx)tst-array3.out): Likewise.
4964 ($(objpfx)tst-array4.out): Likewise.
4965 ($(objpfx)tst-array5.out): Likewise.
4966 ($(objpfx)tst-array5-static.out): Likewise.
4967 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4968 $(test-program-cmd).
4969 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4970 $(run-program-prefix) with $(test-program-prefix).
4971 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4972 (test_program_prefix): This.
4973 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4974 $(run-program-prefix) with $(test-program-prefix).
4975 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4976 (test_program_prefix): This.
4977 * iconvdata/tst-tables.sh: Likewise.
4978 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4979 $(run-program-prefix) with $(test-program-prefix).
4980 ($(objpfx)tst-translit.out): Likewise.
4981 ($(objpfx)tst-gettext2.out): Likewise.
4982 ($(objpfx)tst-gettext4.out): Likewise.
4983 ($(objpfx)tst-gettext6.out): Likewise.
4984 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4985 (test_program_prefix): This.
4986 * intl/tst-gettext2.sh: Likewise.
4987 * intl/tst-gettext4.sh Likewise.
4988 * intl/tst-gettext6.sh: Likewise.
4989 * intl/tst-translit.sh: Likewise.
4990 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4991 with $(test-program-cmd).
4992 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4993 $(run-program-prefix) with $(test-program-prefix).
4994 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4995 (test_program_prefix): This.
4996 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4997 $(run-program-prefix) with $(test-program-prefix).
4998 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4999 (test_program_prefix): This.
5000 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5001 * posix/Makefile ($(objpfx)globtest.out): Replace
5002 $(run-via-rtld-prefix) and $(test-wrapper) with
5003 $(test-program-prefix) and $(test-via-rtld-prefix).
5004 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5005 $(test-program-prefix).
5006 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5007 $(host-test-program-cmd).
5008 (tst-spawn-ARGS): Likewise.
5009 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5010 $(test-program-prefix).
5011 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5012 (test_via_rtld_prefix): This.
5013 (test_wrapper): Renamed to ...
5014 (test_program_prefix): This.
5015 (run_program_prefix): Replaced by test_program_prefix.
5016 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5017 (test_program_prefix): This.
5018 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5019 with $(host-test-program-cmd).
5020 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5021 $(run-program-prefix) with $(test-program-prefix).
5022 ($(objpfx)tst-printf.out): Likewise.
5023 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5024 $(test-program-cmd).
5025 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5026 (test_program_prefix): This.
5027 * stdio-common/tst-unbputc.sh: Likewise.
5028 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5029 $(run-program-prefix) with $(test-program-prefix).
5030 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5031 (test_program_prefix): This.
5032 * string/Makefile ($(objpfx)tst-svc.out): Replace
5033 $(built-program-cmd) with $(test-program-cmd).
5035 2013-01-11 Andreas Jaeger <aj@suse.de>
5038 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5039 value. Sync with Linux 3.7.
5041 2013-01-10 David S. Miller <davem@davemloft.net>
5043 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5044 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5045 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5047 2013-01-10 Roland McGrath <roland@hack.frob.com>
5049 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5051 * configure: Regenerated.
5053 2013-01-10 David S. Miller <davem@davemloft.net>
5055 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5056 sparc V9 rather than using V8 code.
5057 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5058 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5060 2013-01-10 Roland McGrath <roland@hack.frob.com>
5062 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5063 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5064 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5065 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5066 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5067 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5068 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5069 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5070 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5071 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5072 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5073 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5074 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5075 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5076 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5077 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5078 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5079 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5080 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5081 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5082 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5083 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5084 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5085 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5086 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5087 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5088 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5090 2013-01-10 David S. Miller <davem@davemloft.net>
5092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5094 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5096 * posix/Makefile (tests-static): New variable.
5097 (tests): Add $(tests-static).
5098 (tst-exec-static-ARGS): New variable.
5099 (tst-spawn-static-ARGS): Likewise.
5100 * posix/tst-exec-static.c: New file.
5101 * posix/tst-spawn-static.c: Likewise.
5102 * posix/tst-exec.c: Support run directly.
5103 * posix/tst-spawn.c: Likewise.
5105 2013-01-10 Joseph Myers <joseph@codesourcery.com>
5107 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5109 * math/bits/mathcalls.h (llrint): Likewise.
5110 (llround): Likewise.
5111 * stdlib/stdlib.h (struct drand48_data): Likewise.
5112 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5113 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5114 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5116 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5118 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5119 (elf_greg_t): Likewise.
5120 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5121 (__jmp_buf): Likewise.
5122 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5124 (llrint): Likewise, for all definitions.
5125 (llrintl): Likewise.
5127 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5128 Remove [__GNUC__] condition.
5129 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5130 condition to just [__USE_ISOC99].
5131 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5133 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5136 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5137 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5139 (_POSIX_V6_ILP32_OFF32): Likewise.
5140 (_XBS5_ILP32_OFF32): Likewise.
5141 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5142 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5144 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5146 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5148 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5149 doubles __mpexp_twomm1. Adjust usage.
5150 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5153 2013-01-10 Andreas Schwab <schwab@suse.de>
5156 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5157 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5159 2013-01-09 David S. Miller <davem@davemloft.net>
5162 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5163 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5164 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5165 TCP_FASTOPEN): Define.
5166 (tcp_repair_opt): New structure.
5167 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5169 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5170 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5171 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5172 (tcp_cookie_transactions): New structure.
5174 2013-01-09 Anton Blanchard <anton@samba.org>
5176 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5177 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5178 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5179 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5181 2013-01-09 Joseph Myers <joseph@codesourcery.com>
5183 * include/features.h (__USE_ANSI): Remove.
5185 2013-01-09 Roland McGrath <roland@hack.frob.com>
5187 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5189 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5191 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5193 * sysdeps/s390/fpu/libm-test-ulps: Update.
5195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5197 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5202 (__mp_dbl): Likewise.
5203 (__dbl_mp): Likewise.
5204 (add_magnitudes): Likewise.
5205 (sub_magnitudes): Likewise.
5211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5216 (__mp_dbl): Likewise.
5217 (__dbl_mp): Likewise.
5218 (add_magnitudes): Likewise.
5219 (sub_magnitudes): Likewise.
5225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5230 (__mp_dbl): Likewise.
5231 (__dbl_mp): Likewise.
5232 (add_magnitudes): Likewise.
5233 (sub_magnitudes): Likewise.
5240 2013-01-08 Joseph Myers <joseph@codesourcery.com>
5242 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5243 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5244 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5245 2 && __USE_EXTERN_INLINES]: Likewise.
5247 2013-01-08 Andreas Jaeger <aj@suse.de>
5250 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5252 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5253 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5255 2013-01-07 Anton Blanchard <anton@samba.org>
5257 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5258 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5259 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5260 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5261 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5262 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5263 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5264 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5266 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5267 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5268 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5269 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5270 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5271 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5272 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5273 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5274 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5275 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5276 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5277 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5278 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5279 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5280 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5281 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5282 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5283 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5284 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5285 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5286 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5287 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5289 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5290 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5291 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5292 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5293 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5294 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5295 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5296 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5297 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5298 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5299 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5301 2013-01-07 Joseph Myers <joseph@codesourcery.com>
5303 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5304 (__MALLOC_PMT): Likewise.
5305 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5306 [__GNUC__], only on [_LIBC].
5307 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5308 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5309 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5310 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5311 forward declaration.
5312 (realloc_hook_ini): Likewise.
5313 (memalign_hook_ini): Likewise.
5314 (__libc_memalign): Do not use __MALLOC_PMT in variable
5316 (__libc_valloc): Likewise.
5317 (__libc_pvalloc): Likewise.
5318 (__libc_calloc): Likewise.
5319 (__posix_memalign): Likewise.
5322 * math/s_casinh.c: Include <float.h>.
5323 (__casinh): Do not do computation with squaring and square root
5324 for large arguments.
5325 * math/s_casinhf.c: Include <float.h>.
5326 (__casinhf): Do not do computation with squaring and square root
5327 for large arguments.
5328 * math/s_casinhl.c: Include <float.h>.
5329 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5330 (__casinhl): Do not do computation with squaring and square root
5331 for large arguments.
5332 * math/libm-test.inc (casin_test): Add more tests.
5333 (casinh_test): Likewise.
5334 * sysdeps/i386/fpu/libm-test-ulps: Update.
5335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5337 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5339 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5340 (__x86_64_raw_data_cache_size): Likewise.
5341 (__x86_64_data_cache_size_half): Likewise.
5342 (__x86_64_raw_data_cache_size_half): Likewise.
5343 (__x86_64_shared_cache_size): Likewise.
5344 (__x86_64_raw_shared_cache_size): Likewise.
5345 (__x86_64_shared_cache_size_half): Likewise.
5346 (__x86_64_raw_shared_cache_size_half): Likewise.
5347 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5349 (__x86_data_cache_size): This.
5350 (__x86_64_raw_data_cache_size): Renamed to ...
5351 (__x86_raw_data_cache_size): This.
5352 (__x86_64_data_cache_size_half): Renamed to ...
5353 (__x86_data_cache_size_half): This.
5354 (__x86_64_raw_data_cache_size_half): Renamed to ...
5355 (__x86_raw_data_cache_size_half): This.
5356 (__x86_64_shared_cache_size): Renamed to ...
5357 (__x86_shared_cache_size): This.
5358 (__x86_64_raw_shared_cache_size): Renamed to ...
5359 (__x86_raw_shared_cache_size): This.
5360 (__x86_64_shared_cache_size_half): Renamed to ...
5361 (__x86_shared_cache_size_half): This.
5362 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5363 (__x86_raw_shared_cache_size_half): This.
5364 * sysdeps/x86_64/memcpy.S: Updated.
5365 * sysdeps/x86_64/memset.S: Likewise.
5366 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5367 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5368 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5370 2013-01-04 David S. Miller <davem@davemloft.net>
5372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5374 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5376 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5377 1 to avoid redefinition warning.
5378 (__USE_GNU): Don't define.
5379 (init_signaling_nan): Protoize.
5381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5383 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5385 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5387 (__cpymn): Likewise.
5388 (norm): Remove commented code.
5390 (__mp_dbl): Likewise.
5392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5393 (__cpymn): Likewise.
5394 (norm): Remove commented code.
5396 (__mp_dbl): Likewise.
5399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5400 mp_no value for 1.0 and 2.0.
5401 (norm): Use RADIXI instead of radixi.d.
5403 (__mul): Use 0.0 instead of zero.d.
5404 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5405 mp_no value for 1.0 and 2.0.
5406 (norm): Use RADIXI instead of radixi.d.
5408 (__mul): Use 0.0 instead of zero.d.
5410 2013-01-04 Joseph Myers <joseph@codesourcery.com>
5413 * math/s_casinh.c (__casinh): Reduce finite argument to first
5414 quadrant then set signs of results at the end.
5415 * math/s_casinhf.c (__casinhf): Likewise.
5416 * math/s_casinhl.c (__casinhl): Likewise.
5417 * math/libm-test.inc (casin_test): Add more tests.
5418 (casinh_test): Likewise.
5419 * sysdeps/i386/fpu/libm-test-ulps: Update.
5420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5422 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5424 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5426 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5428 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5431 (__mp_dbl): Likewise.
5434 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5435 and adjust the header comment.
5437 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5438 variable name from declaration.
5440 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5443 Initialize COMMON_CPUID_INDEX_7 element.
5444 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5445 (CPUID_RTM): Likewise.
5446 (HAS_RTM): Likewise.
5447 (COMMON_CPUID_INDEX_7): New enum.
5449 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5452 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5453 size is zero, record memory as freed.
5455 2013-01-03 Andreas Jaeger <aj@suse.de>
5457 * po/ia.po: Add new Interlingua translation.
5459 2012-01-03 Allan McRae <allan@archlinux.org>
5461 * locale/programs/localedef.c: Fix description of '--posix' flag.
5463 2013-01-02 Joseph Myers <joseph@codesourcery.com>
5465 * NEWS: Update dates in second copyright notice.
5466 * README: Update copyright dates in example.
5467 * manual/libc.texinfo: Update copyright dates.
5468 * scripts/test-installation.pl: Update copyright date in --version
5471 * hurd/ctty-input.c: Fix copyright notice formatting.
5472 * hurd/ctty-output.c: Likewise.
5473 * hurd/dtable.c: Likewise.
5474 * hurd/hurd-raise.c: Likewise.
5475 * hurd/hurdprio.c: Likewise.
5476 * hurd/msgportdemux.c: Likewise.
5477 * misc/sys/file.h: Likewise.
5478 * misc/sys/ioctl.h: Likewise.
5479 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5480 * sysdeps/mach/hurd/chdir.c: Likewise.
5481 * sysdeps/mach/hurd/fchdir.c: Likewise.
5482 * sysdeps/mach/hurd/rename.c: Likewise.
5483 * sysdeps/mach/hurd/rmdir.c: Likewise.
5484 * sysdeps/mach/hurd/seekdir.c: Likewise.
5485 * sysdeps/mach/hurd/setsid.c: Likewise.
5486 * sysdeps/posix/wait3.c: Likewise.
5488 * All files with FSF copyright notices: Update copyright dates
5489 using scripts/update-copyrights.
5490 * intl/plural.c: Regenerated.
5491 * locale/programs/charmap-kw.h: Likewise.
5492 * locale/programs/locfile-kw.h: Likewise.
5494 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5496 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5499 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5500 calculation loop and add branch prediction.
5502 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5503 check access beyond bounds of m1np.
5505 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5507 (__inv): Remove local variable MPTWO to use the global
5509 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5510 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5512 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5513 MP3HALFS static const.
5515 2013-01-01 David S. Miller <davem@davemloft.net>
5517 * po/ca.po: Update from translation team.
5519 2013-01-01 Joseph Myers <joseph@codesourcery.com>
5521 * scripts/update-copyrights: New file.
5522 * Makeconfig: Reformat copyright notice.
5523 * ctype/ctype.h: Likewise.
5524 * debug/swprintf_chk.c: Likewise.
5525 * elf/dl-cache.c: Likewise.
5526 * elf/dl-debug.c: Likewise.
5527 * elf/dl-object.c: Likewise.
5528 * grp/initgroups.c: Likewise.
5529 * hurd/Makefile: Likewise.
5530 * hurd/hurd/signal.h: Likewise.
5531 * hurd/hurdfault.c: Likewise.
5532 * hurd/hurdioctl.c: Likewise.
5533 * hurd/hurdlookup.c: Likewise.
5534 * hurd/intr-msg.c: Likewise.
5535 * iconv/gconv_open.c: Likewise.
5536 * libio/swprintf.c: Likewise.
5537 * locale/lc-ctype.c: Likewise.
5538 * locale/nl_langinfo.c: Likewise.
5539 * mach/Machrules: Likewise.
5540 * mach/Makefile: Likewise.
5541 * malloc/obstack.h: Likewise.
5542 * manual/Makefile: Likewise.
5543 * manual/tsort.awk: Likewise.
5544 * misc/bits/stab.def: Likewise.
5545 * nis/nis_print_group_entry.c: Likewise.
5546 * nis/nis_table.c: Likewise.
5547 * nis/nss_compat/compat-pwd.c: Likewise.
5548 * nis/nss_compat/compat-spwd.c: Likewise.
5549 * po/Makefile: Likewise.
5550 * posix/fnmatch.c: Likewise.
5551 * posix/regex.h: Likewise.
5552 * resolv/Makefile: Likewise.
5553 * resolv/nss_dns/dns-network.c: Likewise.
5554 * resolv/res_hconf.c: Likewise.
5555 * scripts/gen-sorted.awk: Likewise.
5556 * soft-fp/soft-fp.h: Likewise.
5557 * stdio-common/printf.h: Likewise.
5558 * stdlib/monetary.h: Likewise.
5559 * stdlib/random.c: Likewise.
5560 * stdlib/random_r.c: Likewise.
5561 * sysdeps/generic/Makefile: Likewise.
5562 * sysdeps/gnu/Makefile: Likewise.
5563 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5564 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5565 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5566 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5567 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5568 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5569 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5570 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5571 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5572 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5573 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5574 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5575 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5576 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5577 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5578 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5579 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5580 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5581 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5582 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5583 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5584 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5585 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5586 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5587 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5588 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5589 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5590 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5591 * sysdeps/mach/hurd/errnos.awk: Likewise.
5592 * sysdeps/mach/hurd/fork.c: Likewise.
5593 * sysdeps/mach/hurd/getcwd.c: Likewise.
5594 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5595 * sysdeps/mach/hurd/mmap.c: Likewise.
5596 * sysdeps/mach/hurd/utimes.c: Likewise.
5597 * sysdeps/mach/hurd/xmknod.c: Likewise.
5598 * sysdeps/posix/profil.c: Likewise.
5599 * sysdeps/posix/readdir_r.c: Likewise.
5600 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5601 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5602 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5603 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5604 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5605 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5606 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5607 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5609 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5610 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5611 * sysdeps/pthread/lio_listio.c: Likewise.
5612 * sysdeps/sparc/dl-procinfo.h: Likewise.
5613 * sysdeps/unix/i386/sysdep.S: Likewise.
5614 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5615 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5616 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5617 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5619 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5620 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5621 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5622 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5623 * sysdeps/wordsize-32/divdi3.c: Likewise.
5624 * time/sys/time.h: Likewise.
5625 * wcsmbs/Makefile: Likewise.
5627 2013-01-01 David S. Miller <davem@davemloft.net>
5629 * po/fr.po: Update from translation team.
5631 * catgets/gencat.c: Update copyright year.
5632 * csu/version.c: Likewise.
5633 * debug/catchsegv.sh: Likewise.
5634 * debug/pcprofiledump.c: Likewise.
5635 * debug/xtrace.sh: Likewise.
5636 * elf/ldconfig.c: Likewise.
5637 * elf/ldd.bash.in: Likewise.
5638 * elf/pldd.c: Likewise.
5639 * elf/sotruss.ksh: Likewise.
5640 * elf/sprof.c: Likewise.
5641 * iconv/iconv_prog.c: Likewise.
5642 * iconv/iconvconfig.c: Likewise.
5643 * locale/programs/locale.c: Likewise.
5644 * locale/programs/localedef.c: Likewise.
5645 * login/programs/pt_chown.c: Likewise.
5646 * malloc/memusage.sh: Likewise.
5647 * malloc/memusagestat.c: Likewise.
5648 * malloc/mtrace.pl: Likewise.
5649 * nscd/nscd.c: Likewise.
5650 * nss/getent.c: Likewise.
5651 * nss/makedb.c: Likewise.
5652 * posix/getconf.c: Likewise.
5654 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5656 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5659 2012-12-30 Mike Frysinger <vapier@gentoo.org>
5661 * math/bits/mathcalls.h (modf): Use __nonnull.
5663 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5665 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5666 (split): Use macro CN instead of the bare value.
5667 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5669 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5670 instead of the bare value.
5673 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5675 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5677 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5679 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5681 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5682 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5683 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5684 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5686 2012-12-28 Andreas Jaeger <aj@suse.de>
5688 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5689 values are from Linux 3.7.
5691 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5692 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5694 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5696 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5699 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5701 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5702 variables with preprocessor constants.
5703 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5704 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5705 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5707 2012-12-27 Bruno Haible <bruno@clisp.org>
5710 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5713 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5715 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5716 and use variable directly.
5717 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5719 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5721 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5722 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5724 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5725 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5726 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5727 include directive. Remove local variable MPONE.
5728 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5729 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5730 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5732 2012-12-25 David S. Miller <davem@davemloft.net>
5734 * version.h (RELEASE): Set to "development".
5735 (VERSION): Set to "2.17.90".
5736 * NEWS: Add 2.18 section.
5738 2012-12-21 David S. Miller <davem@davemloft.net>
5740 * po/hr.po: Update from translation team.
5742 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5744 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5746 2012-12-19 Steve Ellcey <sellcey@mips.com>
5748 * NEWS: Mention new memcpy for MIPS.
5750 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5752 * manual/contrib.texi (Contributors): Spelling correction.
5754 2012-12-15 David S. Miller <davem@davemloft.net>
5756 * po/ru.po: Update from translation team.
5758 2012-12-13 David S. Miller <davem@davemloft.net>
5760 * NEWS: Mention IFUNC testsuite enhancements.
5762 * po/pl.po: Update from translation team.
5763 * po/bg.po: Likewise.
5765 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5766 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5768 2012-12-11 David S. Miller <davem@davemloft.net>
5770 * po/sv.po: Update from translation team.
5772 * po/vi.po: Update from translation team.
5774 * po/cs.po: Update from translation team.
5776 * po/de.po: Update from translation team.
5777 * po/eo.po: Likewise.
5778 * po/nl.po: Likewise.
5780 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5783 * manual/argp.texi (Argp Helper Functions): Move node to follow
5787 * manual/conf.texi (Limits on File System Capacity): Mention if
5788 terminating null is included in the max size.
5790 2012-12-10 Andreas Jaeger <aj@suse.de>
5792 * po/cs.po: Update from translation team.
5794 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5796 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5797 void pointer and cast to uintptr_t.
5798 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5800 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5801 * sysdeps/s390/s390-64/memset.S: Likewise.
5803 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5806 * menual/message.texi (Message Translation): Fix typos.
5807 (Helper programs for gettext): Likewise.
5809 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5812 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5815 2012-12-07 David S. Miller <davem@davemloft.net>
5817 * po/libc.pot: Update.
5819 2012-12-07 Richard Henderson <rth@redhat.com>
5822 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5823 normal/normal case to before the switch.
5824 (_FP_DIV): Likewise.
5826 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5827 Mike Frysinger <vapier@gentoo.org>
5829 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5830 check for __NR_fadvise64_64.
5832 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5834 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5835 0, not just to plain "0" as a statement.
5836 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5839 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5841 * NEWS: Use sourceware.org in Bugzilla URL.
5843 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5846 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5848 * stdio-common/tst-put-error.c (do_test): Add newline to the
5849 padded test to ensure flush.
5851 2012-12-05 Jeff Law <law@redhat.com>
5853 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5855 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5857 * README: Don't refer to ports add-on as distributed separately.
5858 Mention AArch64 in list of systems supported in the ports add-on.
5860 * LICENSES: Add more non-FSF copyright and license notices.
5862 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5865 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5867 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5868 10000 as width of padded output.
5870 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5872 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5874 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5875 variable LX with __attribute__ ((unused)).
5876 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5878 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5879 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5880 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5881 with __attribute__ ((unused)).
5883 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5885 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5887 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5889 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5890 (CFLAGS-nldbl-acos.c): New variable.
5891 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5892 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5893 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5894 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5895 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5896 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5897 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5898 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5899 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5900 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5901 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5902 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5903 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5904 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5905 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5906 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5907 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5908 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5909 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5910 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5911 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5912 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5913 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5914 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5915 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5916 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5917 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5918 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5919 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5920 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5921 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5922 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5923 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5924 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5925 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5926 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5927 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5928 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5929 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5930 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5931 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5932 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5933 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5934 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5935 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5936 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5937 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5938 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5939 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5940 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5941 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5942 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5943 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5944 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5945 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5946 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5947 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5948 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5949 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5950 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5951 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5952 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5953 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5954 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5955 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5956 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5957 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5958 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5959 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5960 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5961 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5962 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5963 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5964 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5965 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5966 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5967 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5968 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5969 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5970 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5971 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5972 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5973 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5974 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5975 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5976 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5977 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5978 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5979 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5980 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5981 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5982 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5983 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5984 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5985 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5986 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5987 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5990 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5993 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5994 whole low double instead of just low 47 bits when splitting values
5997 2012-12-03 Allan McRae <allan@archlinux.org>
5999 * manual/stdio.texi (Predefined Printf Handlers): Remove
6000 @hsep and @vsep usage.
6002 2012-12-03 Mike Frysinger <vapier@gentoo.org>
6004 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6005 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6007 2012-12-03 Jeff Law <law@redhat.com>
6009 * time/sys/time.h (settimeofday): Do not mark TV argument
6012 2012-12-01 Mike Frysinger <vapier@gentoo.org>
6014 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6015 when currently writing and seek to current position when not.
6016 * libio/Makefile (tests): Remove bug-fclose1.
6017 * libio/bug-fclose1.c: Delete.
6019 2012-12-01 Joseph Myers <joseph@codesourcery.com>
6021 * manual/arith.texi (feenableexcept): Fix typo.
6022 (fedisableexcept): Likewise.
6024 2012-11-30 Roland McGrath <roland@hack.frob.com>
6026 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6027 second, differently-typed declaration, rather than a cast.
6029 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6031 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6032 * include/rpc/svc.h: ... here.
6034 2012-11-30 Aurelien Jarno <aurel32@debian.org>
6037 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6038 depending n and resplen2 to catch cases where answer
6041 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6043 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6044 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6046 2012-11-29 Mike Frysinger <vapier@gentoo.org>
6048 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6050 2012-11-29 Roland McGrath <roland@hack.frob.com>
6052 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6054 2012-11-28 Jeff Law <law@redhat.com>
6057 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6058 dataset_temporary. Track alloca usage into alloca_used.
6059 If dataset is large allocate and release it via malloc/free.
6061 2012-06-04 Florian Weimer <fweimer@redhat.com>
6064 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6066 2012-11-28 David S. Miller <davem@davemloft.net>
6068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6070 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6073 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6074 of pi/2 rounded to nearest to 64 bits.
6075 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6077 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6080 2012-11-28 Jeff Law <law@redhat.com>
6081 Martin Osvald <mosvald@redhat.com>
6084 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6085 * sunrpc/svc.c: Include time.h.
6086 (__svc_accept_failed): New function.
6087 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6088 any reason other than EINTR, call __svc_accept_failed.
6089 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6090 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6092 2012-11-28 Andreas Schwab <schwab@suse.de>
6094 * scripts/abilist.awk: Also handle indirect functions in .opd
6097 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6100 * sysdeps/x86/fpu/powl_helper.c: New file.
6101 * sysdeps/x86/fpu/Makefile: Likewise.
6102 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6104 (__ieee754_powl): Use __powl_helper for finite arguments except
6105 integer exponents below 8.
6106 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6108 (__ieee754_powl): Use __powl_helper for finite arguments except
6109 integer exponents below 8.
6110 * math/libm-test.inc (pow_test): Add more tests and enable some
6111 previously disabled tests.
6112 * sysdeps/i386/fpu/libm-test-ulps: Update.
6113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6115 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6116 Carlos O'Donell <carlos_odonell@mentor.com>
6118 * nss/makedb.c (is_prime): Assert that input is odd and greater
6119 than 4. Note that fact in a comment too.
6120 (next_prime): Add 4 to input.
6122 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6125 * libio/Makefile (tests): Add test case tst-fwrite-error.
6126 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6127 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6128 * libio/tst-fwrite-error.c: New test case.
6130 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6132 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6133 before casting to void *.
6134 * include/libc-internal.h (__pointer_type): New macro.
6135 (__integer_if_pointer_type_sub): Likewise.
6136 (__integer_if_pointer_type): Likewise.
6137 (cast_to_integer): Likewise.
6138 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6139 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6140 before casting to atomic64_t.
6141 (atomic_exchange_acq): Likewise.
6142 (__arch_exchange_and_add_body): Likewise.
6143 (__arch_add_body): Likewise.
6144 (atomic_add_negative): Likewise.
6145 (atomic_add_zero): Likewise.
6147 2012-11-26 Joseph Myers <joseph@codesourcery.com>
6149 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6150 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6151 (add_fdes): Likewise.
6152 (linear_search_fdes): Likewise.
6153 (binary_search_unencoded_fdes): Likewise.
6155 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
6157 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6159 2012-11-24 Adam Conrad <adconrad@0c3.net>
6161 * configure.in: Autodetect C++ header directories.
6162 * configure: Regenerated.
6164 2012-11-23 Mike Frysinger <vapier@gentoo.org>
6166 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6168 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
6170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6172 2012-11-22 Joseph Myers <joseph@codesourcery.com>
6174 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6175 LDBL_MANT_DIG == 106]: Disable some tests.
6176 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6178 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6182 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6183 input for small inputs. Return +/- pi/2 for large inputs.
6184 * math/libm-test.inc (atan_test): Add more tests.
6186 * sysdeps/generic/unwind-dw2-fde-glibc.c
6187 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6188 __attribute__ ((unused)).
6191 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6192 x * y if x and y are nonzero and z is zero.
6195 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6196 nonzero exponents with absolute value below 0x1p-117 to +/-
6200 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6201 up arguments below 2**-450, not just those below 2**-500.
6202 * math/libm-test.inc (hypot_test): Add another test.
6205 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6206 Return a+b for ratio over 2**120, not 2**60.
6207 * math/libm-test.inc (hypot_test): Add another test.
6209 * math/libm-test.inc (clog_test): Use
6210 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6211 (clog10_test): Likewise.
6214 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6216 2012-11-22 Andreas Schwab <schwab@suse.de>
6218 * sysdeps/i386/fpu/libm-test-ulps: Update.
6220 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6222 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6223 printf output with newline.
6225 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6228 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6229 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6230 -z nodlopen, -z initfirst and -z execstack support.
6231 * configure: Regenerated.
6233 * elf/elf.h (DF_1_NODIRECT): New macro.
6234 (DF_1_IGNMULDEF): Likewise.
6235 (DF_1_NOKSYMS): Likewise.
6236 (DF_1_NOHDR): Likewise.
6237 (DF_1_EDITED): Likewise.
6238 (DF_1_NORELOC): Likewise.
6239 (DF_1_SYMINTPOSE): Likewise.
6240 (DF_1_GLOBAUDIT): Likewise.
6241 (DF_1_SINGLETON): Likewise.
6242 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6243 DT_1_SUPPORTED_MASK bits.
6244 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6246 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6248 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6250 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6252 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6255 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6256 (sendmmsg): Move declarations...
6257 * socket/sys/socket.h: ... here.
6258 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6259 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6261 * socket/recvmmsg.c: ... this new file.
6262 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6263 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6264 definition of __sendmmsg hidden.
6265 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6266 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6267 Move ENOSYS stub into and include it from...
6268 * socket/sendmmsg.c: ... this new file.
6269 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6270 (sysdep_routines): Move recvmmsg and sendmmsg...
6271 * socket/Makefile (routines): ... here.
6272 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6273 (GLIBC_PRIVATE): Add __sendmmsg.
6274 * include/sys/socket.h (__sendmmsg): Add declarations.
6275 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6278 2012-11-20 Joseph Myers <joseph@codesourcery.com>
6280 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6281 variable I1 with __attribute__ ((unused)).
6282 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6284 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6286 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6287 DUMMY variables with __attribute__ ((unused)).
6289 * bits/byteswap.h: Include <bits/types.h>.
6290 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6292 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6294 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6295 string_t. Do not manually set errno.
6296 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6297 length with __strnlen. Make sure to both set errno and return it on
6300 2012-11-19 David S. Miller <davem@davemloft.net>
6302 With help from Joseph Myers.
6303 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6304 very large arguments properly.
6305 * math/libm-test.inc (atan_test): New tests.
6306 (atan2_test): New tests.
6307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6308 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6310 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6313 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6316 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6317 [POSIX] (EADDRNOTAVAIL): Likewise.
6318 [POSIX] (EAFNOSUPPORT): Likewise.
6319 [POSIX] (EALREADY): Likewise.
6320 [POSIX] (ECONNABORTED): Likewise.
6321 [POSIX] (ECONNREFUSED): Likewise.
6322 [POSIX] (ECONNRESET): Likewise.
6323 [POSIX] (EDESTADDRREQ): Likewise.
6324 [POSIX] (EDQUOT): Likewise.
6325 [POSIX] (EHOSTUNREACH): Likewise.
6326 [POSIX] (EIDRM): Likewise.
6327 [POSIX] (EISCONN): Likewise.
6328 [POSIX] (ELOOP): Likewise.
6329 [POSIX] (EMULTIHOP): Likewise.
6330 [POSIX] (ENETDOWN): Likewise.
6331 [POSIX] (ENETUNREACH): Likewise.
6332 [POSIX] (ENOBUFS): Likewise.
6333 [POSIX] (ENODATA): Likewise.
6334 [POSIX] (ENOLINK): Likewise.
6335 [POSIX] (ENOMSG): Likewise.
6336 [POSIX] (ENOPROTOOPT): Likewise.
6337 [POSIX] (ENOSR): Likewise.
6338 [POSIX] (ENOSTR): Likewise.
6339 [POSIX] (ENOTCONN): Likewise.
6340 [POSIX] (ENOTSOCK): Likewise.
6341 [POSIX] (EOPNOTSUPP): Likewise.
6342 [POSIX] (EOVERFLOW): Likewise.
6343 [POSIX] (EPROTO): Likewise.
6344 [POSIX] (EPROTONOSUPPORT): Likewise.
6345 [POSIX] (EPROTOTYPE): Likewise.
6346 [POSIX] (ESTALE): Likewise.
6347 [POSIX] (ETIME): Likewise.
6348 [POSIX] (ETXTBSY): Likewise.
6349 [POSIX] (EWOULDBLOCK): Likewise.
6350 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6351 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6352 [POSIX] (SEEK_CUR): Likewise.
6353 [POSIX] (SEEK_END): Likewise.
6354 [POSIX || UNIX98] (mode_t): Do not require.
6355 [POSIX] (off_t): Likewise.
6356 [POSIX] (pid_t): Likewise.
6357 [POSIX] (sys/stat.h): Do not allow header.
6358 [POSIX] (unistd.h): Likewise.
6359 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6360 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6361 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6362 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6364 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6365 sigevent): Specify elements.
6366 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6368 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6369 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6371 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6372 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6373 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6374 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6375 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6376 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6377 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6378 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6379 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6380 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6381 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6382 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6383 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6384 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6386 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6388 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6390 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6392 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6393 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6394 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6395 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6396 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6397 Specify lower bound on value.
6398 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6399 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6400 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6401 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6402 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6403 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6404 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6405 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6407 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6409 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6410 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6411 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6412 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6413 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6414 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6415 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6416 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6417 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6418 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6419 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6420 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6421 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6422 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6423 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6424 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6426 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6428 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6429 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6430 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6431 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6432 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6433 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6435 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6436 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6437 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6438 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6439 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6440 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6441 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6443 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6444 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6445 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6446 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6447 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6448 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6449 specify as optional.
6450 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6451 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6452 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6453 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6454 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6455 [XPG3] (NL_LANGMAX): Likewise.
6456 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6457 [POSIX || XPG3] (NL_NMAX): Likewise.
6458 [POSIX || XPG3] (NL_SETMAX): Likewise.
6459 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6460 [XPG3] (NZERO): Likewise.
6461 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6462 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6463 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6464 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6465 (REG_ERANGE): Expect.
6466 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6468 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6469 Use (void) in prototype.
6470 [POSIX] (*_t): Allow.
6471 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6472 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6473 (WRDE_BADVAL): Expect.
6475 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6477 [XPG3 || XPG4] (O_RSYNC): Likewise.
6478 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6480 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6481 [XPG3 || XPG4] (sigqueue): Likewise.
6482 [XPG3 || XPG4] (sigtimedwait): Likewise.
6483 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6484 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6485 [XPG3 || XPG4] (vsnprintf): Likewise.
6486 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6488 [XPG3 || XPG4] (blksize_t): Likewise.
6489 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6491 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6492 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6493 [XPG3 || XPG4] (struct itimerspec): Likewise.
6494 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6495 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6496 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6497 [XPG3 || XPG4] (clockid_t): Likewise.
6498 [XPG3 || XPG4] (timer_t): Likewise.
6499 [XPG3 || XPG4] (clock_getres): Likewise.
6500 [XPG3 || XPG4] (clock_gettime): Likewise.
6501 [XPG3 || XPG4] (clock_settime): Likewise.
6502 [XPG3 || XPG4] (nanosleep): Likewise.
6503 [XPG3 || XPG4] (timer_create): Likewise.
6504 [XPG3 || XPG4] (timer_delete): Likewise.
6505 [XPG3 || XPG4] (timer_gettime): Likewise.
6506 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6507 [XPG3 || XPG4] (timer_settime): Likewise.
6508 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6509 [XPG3 || XPG4] (getlogin_r): Likewise.
6510 [XPG3 || XPG4] (pread): Likewise.
6511 [XPG3 || XPG4] (pthread_atfork): Likewise.
6512 [XPG3 || XPG4] (pwrite): Likewise.
6515 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6518 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6520 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6521 finalizing MALLSTREAM.
6523 * sysdeps/mach/hurd/syncfs.c: New file.
6525 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6528 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6529 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6530 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6531 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6532 (_nss_dns_gethostbyname4_r): Likewise.
6533 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6534 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6536 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6539 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6541 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6543 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6544 * elf/cache.c (print_entry): Print ",AArch64" for
6547 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6548 * elf/cache.c (print_entry): Print ",hard-float" for
6551 2012-11-18 David S. Miller <davem@davemloft.net>
6553 With help from Joseph Myers.
6554 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6556 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6558 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6559 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6561 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6562 * math/libm-test.inc (y0_test): New tests.
6563 (y1_test): New tests.
6564 * sysdeps/i386/fpu/libm-test-ulps: Update.
6565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6568 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6570 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6572 * configure: Regenerated.
6574 2012-11-17 David S. Miller <davem@davemloft.net>
6577 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6578 nonzero exponents with absolute value below 0x1p-128 to +/-
6581 2012-11-17 Joseph Myers <joseph@codesourcery.com>
6583 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6585 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6587 * posix/getconf-speclist.c: New file.
6588 * posix/posix-envs.def: Likewise.
6589 * posix/confstr.c (START_ENV_GROUP): New macro.
6590 (END_ENV_GROUP): Likewise.
6591 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6592 (KNOWN_PRESENT_ENV_STRING): Likewise.
6593 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6594 (UNKNOWN_ENVIRONMENT): Likewise.
6595 (confstr): Include posix-envs.def instead of handling
6596 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6597 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6598 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6599 (END_ENV_GROUP): Likewise.
6600 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6601 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6602 (UNKNOWN_ENVIRONMENT): Likewise.
6603 (__sysconf): Include posix-envs.def instead of handling associated
6604 cases directly here.
6605 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6606 preprocessing getconf-speclist.c rather than running getconf or
6607 generating empty file.
6609 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6611 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6613 2012-11-16 Andrej Lajovic <natrij@gmail.com>
6616 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6618 2012-11-16 David S. Miller <davem@davemloft.net>
6620 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6621 smaller than LDBL_EPSILON/2.0L, just return xm1.
6623 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6625 * elf/tst-array1.c (init): Set constructor priority to 1000.
6626 (fini): Set destructor priority to 1000.
6627 * elf/tst-array2dep.c: Likewise.
6629 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6632 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6633 (_IO_new_file_xsputn): Also return EOF if none of the input
6634 data was written when overflow failed.
6635 * libio/iopadn.c (_IO_padn): Likewise.
6636 * libio/iowpadn.c (_IO_wpadn): Likewise.
6637 * stdio-common/tst-put-error.c: Add copyright notice.
6638 (do_test): Add case for printing padded string.
6639 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6640 _IO_padn returned error.
6641 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6642 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6645 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6647 * libio/libioP.h: Add comment note that the references to C++
6648 bits are now obsolete.
6650 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6652 * math/libm-test.inc (check_complex): Use asprintf.
6654 2012-11-14 Joseph Myers <joseph@codesourcery.com>
6656 * debug/pcprofiledump.c (print_version): Update copyright year.
6657 * malloc/memusagestat.c (print_version): Likewise.
6659 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6662 * elf/Makefile (tests): Add tst-audit8.
6663 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6664 ($(objpfx)tst-audit8.out): New target.
6665 (tst-audit8-ENV): New variable.
6666 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6667 audit if l_reloc_result is NULL.
6668 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6669 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6670 * elf/tst-audit8.c: New file.
6672 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6674 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6675 * misc/Makefile (CFLAGS-select.c): Define.
6676 * posix/Makefile (CFLAGS-pause.c): Define.
6678 2012-11-13 David S. Miller <davem@davemloft.net>
6680 * crypt/Makefile: Move test targets after toplevel Rules
6681 inclusion. Grab any necessary sysdep routines when linking.
6682 * crypt/md5.c (md5_process_block): Remove define, we will always
6683 name it __md5_process_block.
6684 (md5_finish_ctx): Update md5_process_block call.
6685 (md5_stream): Likewise.
6686 (md5_process_bytes): Likewise.
6687 (md5_process_block): Rename to __md5_process_block and move to ...
6688 * crypt/md5-block.c: ... here.
6689 * crypt/sha256.c (sha256_process_block): Move to ...
6690 * crypt/sha256-block.c: ... here.
6691 * crypt/sha512.c (sha512_process_block): Move to ...
6692 * crypt/sha512-block.c: ... here.
6693 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6695 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6696 * sysdeps/sparc/sparc64/multiarch/Makefile
6697 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6699 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6700 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6702 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6703 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6704 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6705 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6706 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6707 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6708 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6709 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6710 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6712 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6713 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6715 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6717 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6719 * timezone/tzselect.ksh: Update from tzcode git revision
6720 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6721 * timezone/zdump.c: Likewise.
6722 * timezone/zic.c: Likewise.
6723 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6724 in TZVERSION setting, not $(PKGVERSION).
6725 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6726 REPORT_BUGS_TO settings.
6729 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6732 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6734 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6735 detection to immediately after _FP_ROUND().
6736 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6739 2012-11-11 David S. Miller <davem@davemloft.net>
6741 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6743 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6744 __close rather than their public counterparts.
6746 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6748 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6750 [UNIX98] (sem_timedwait): Do not expect.
6751 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6752 [XPG4 || UNIX98] (sockatmark): Do not expect.
6753 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6754 (clock_getcpuclockid): Do not expect.
6755 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6756 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6758 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6759 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6760 [UNIX98] (vwscanf): Likewise.
6761 [UNIX98] (vswscanf): Likewise.
6763 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6765 * timezone/version.h: Remove file.
6766 * timezone/README: Do not refer to version.h.
6767 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6769 ($(objpfx)zdump.o): Likewise.
6770 ($(objpfx)version.h): New target.
6772 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6774 * timezone/README: Don't mention modification to tzselect.ksh.
6775 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6776 work on unmodified tzselect.ksh. Substitute version numbers in
6779 * Makefile (format-me): Remove.
6780 (INSTALL): Adjust indentation. Use commands directly instead of
6783 * aclocal.m4 (ACX_PKGVERSION): New macro.
6784 (ACX_BUGURL): Likewise.
6785 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6786 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6787 (REPORT_BUGS_TO): Likewise.
6788 * configure: Regenerated.
6789 * config.h.in (PKGVERSION): New macro.
6790 (REPORT_BUGS_TO): Likewise.
6791 * config.make.in (PKGVERSION): New variable.
6792 (PKGVERSION_TEXI): Likewise.
6793 (REPORT_BUGS_TO): Likewise.
6794 (REPORT_BUGS_TEXI): Likewise.
6795 * Makefile (format-me): Use -I$(common-objpfx)manual.
6796 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6797 ($(common-objpfx)manual/%): New target.
6798 (manual/%): Remove target.
6799 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6800 (print_version): Use PKGVERSION.
6801 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6802 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6804 ($(objpfx)xtrace): Likewise.
6805 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6806 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6807 (print_version): Use PKGVERSION.
6808 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6809 (do_version): Use PKGVERSION.
6810 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6812 (common-ldd-rewrite): Likewise.
6813 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6814 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6815 (print_version): Use PKGVERSION.
6816 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6817 * elf/pldd.c (argp_program_bug_address): Remove variable.
6818 (more_help): New function.
6819 (argp): Use more_help.
6820 (print_version): Use PKGVERSION.
6821 * elf/sln.c (main): Use PKGVERSION.
6822 (usage): Use REPORT_BUGS_TO.
6823 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6824 (top level): Use PKGVERSION.
6825 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6826 (print_version): Use PKGVERSION.
6827 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6828 (print_version): Use PKGVERSION.
6829 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6830 (print_version): Use PKGVERSION.
6831 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6832 (print_version): Use PKGVERSION.
6833 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6834 (print_version): Use PKGVERSION.
6835 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6836 (print_version): Use PKGVERSION.
6837 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6839 ($(objpfx)memusage): Likewise.
6840 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6841 (do_version): Use PKGVERSION.
6842 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6843 (print_version): Use PKGVERSION.
6844 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6845 ($PKGVERSION): New variable.
6846 ($REPORT_BUGS_TO): Likewise.
6847 (usage): Use $REPORT_BUGS_TO.
6848 (top level): Use $PKGVERSION.
6849 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6850 ($(objpfx)pkgvers.texi): New rule.
6851 ($(objpfx)stamp-pkgvers): Likewise.
6852 * manual/install.texi: Include pkgvers.texi.
6853 (--with-pkgversion): Document new configure option.
6854 (--with-bugurl): Likewise.
6855 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6856 than necessarily for this particular distribution. Use
6857 REPORT_BUGS_TO for where to report bugs.
6858 * INSTALL: Regenerated.
6859 * manual/libc.texinfo: Include pkgvers.texi.
6860 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6861 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6862 (print_version): Use PKGVERSION.
6863 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6864 (print_version): Use PKGVERSION.
6865 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6866 (print_version): Use PKGVERSION.
6867 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6868 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6870 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6871 (print_version): Use PKGVERSION.
6872 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6873 (print_version): Use PKGVERSION.
6874 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6877 * timezone/checktab.awk: Update from tzcode 2012i.
6878 * timezone/ialloc.c: Likewise.
6879 * timezone/private.h: Likewise.
6880 * timezone/scheck.c: Likewise.
6881 * timezone/tzfile.h: Likewise.
6882 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6883 (TZVERSION): Hardcode tzcode version number.
6884 * timezone/zdump.c: Update from tzcode 2012i.
6885 * timezone/zic.c: Likewise.
6886 * timezone/version.h: New file.
6887 * timezone/README: Describe version.h. Update upstream location.
6890 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6891 (mktemp): Enable declaration.
6892 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6893 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6894 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6895 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6897 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6899 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6901 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6903 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6905 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6909 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6910 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6911 for copies of such integer values.
6912 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6913 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6915 2012-11-09 Andreas Jaeger <aj@suse.de>
6917 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6918 definitions and declarations that are provided by
6919 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6921 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6923 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6924 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6925 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6928 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6930 * elf/elf.h: Update comment before AArch64 relocations.
6932 2012-11-07 David S. Miller <davem@davemloft.net>
6934 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6935 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6936 (__start_context): Declare.
6937 (__makecontext_ret): Delete.
6938 (__makecontext): Hook up __start_context instead of
6940 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6941 (sysdep_routines): Add __start_context when in stdlib.
6943 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6945 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6946 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6947 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6949 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6950 (READELF): New variable. Use it instead of hardcoded "readelf".
6952 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6954 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6955 * sysdeps/x86/Makefile: Here.
6956 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6957 * sysdeps/x86/tst-xmmymm.sh: This.
6959 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6961 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6963 [UNIX98] (pthread_barrier_t): Do not expect.
6964 [UNIX98] (pthread_barrierattr_t): Likewise.
6965 [UNIX98] (pthread_spinlock_t): Likewise.
6966 [UNIX98] (pthread_barrier_destroy): Likewise.
6967 [UNIX98] (pthread_barrier_init): Likewise.
6968 [UNIX98] (pthread_barrier_wait): Likewise.
6969 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6970 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6971 [UNIX98] (pthread_barrierattr_init): Likewise.
6972 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6973 [UNIX98] (pthread_getcpuclockid): Likewise.
6974 [UNIX98] (pthread_mutex_timedlock): Likewise.
6975 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6976 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6977 [UNIX98] (pthread_sigmask): Likewise.
6978 [UNIX98] (pthread_spin_destroy): Likewise.
6979 [UNIX98] (pthread_spin_init): Likewise.
6980 [UNIX98] (pthread_spin_lock): Likewise.
6981 [UNIX98] (pthread_spin_trylock): Likewise.
6982 [UNIX98] (pthread_spin_unlock): Likewise.
6983 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6985 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6986 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6987 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6988 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6989 [XPG3 || XPG4] (pthread_key_t): Likewise.
6990 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6991 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6992 [XPG3 || XPG4] (pthread_once_t): Likewise.
6993 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6994 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6995 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6996 [XPG3 || XPG4] (pthread_t): Likewise.
6998 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7000 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7002 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7003 Change function return type to int.
7005 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7006 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7007 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7008 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7009 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7010 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7011 [!POSIX] (posix_madvise): Likewise.
7012 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7014 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7015 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7017 (posix_mem_offset): Likewise.
7018 (posix_typed_mem_get_info): Likewise.
7019 (posix_typed_mem_open): Likewise.
7021 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7022 Change condition to [XOPEN2K8].
7024 * conform/conformtest.pl: Preprocess allow-header data with -x c
7025 instead of from stdin.
7026 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7027 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7028 [C99-based standards] (cerfc): Likewise.
7029 [C99-based standards] (cexp2): Likewise.
7030 [C99-based standards] (cexpm1): Likewise.
7031 [C99-based standards] (clog10): Likewise.
7032 [C99-based standards] (clog1p): Likewise.
7033 [C99-based standards] (clog2): Likewise.
7034 [C99-based standards] (clgamma): Likewise.
7035 [C99-based standards] (ctgamma): Likewise.
7036 [C99-based standards] (cerff): Likewise.
7037 [C99-based standards] (cerfcf): Likewise.
7038 [C99-based standards] (cexp2f): Likewise.
7039 [C99-based standards] (cexpm1f): Likewise.
7040 [C99-based standards] (clog10f): Likewise.
7041 [C99-based standards] (clog1pf): Likewise.
7042 [C99-based standards] (clog2f): Likewise.
7043 [C99-based standards] (clgammaf): Likewise.
7044 [C99-based standards] (ctgammaf): Likewise.
7045 [C99-based standards] (cerfl): Likewise.
7046 [C99-based standards] (cerfcl): Likewise.
7047 [C99-based standards] (cexp2l): Likewise.
7048 [C99-based standards] (cexpm1l): Likewise.
7049 [C99-based standards] (clog10l): Likewise.
7050 [C99-based standards] (clog1pl): Likewise.
7051 [C99-based standards] (clog2l): Likewise.
7052 [C99-based standards] (clgammal): Likewise.
7053 [C99-based standards] (ctgammal): Likewise.
7054 * conform/data/inttypes.h-data [C99-based standards]: Include
7055 stdint.h-data. Remove all expectations for stdint.h contents.
7056 [C99-based standards] (PRI*): Do not allow.
7057 [C99-based standards] (SCN*): Likewise.
7058 [C99-based standards] (*_t): Likewise.
7059 [C99-based-standards] (PRId8): Expect macro.
7060 [C99-based-standards] (PRIi8): Likewise.
7061 [C99-based-standards] (PRIo8): Likewise.
7062 [C99-based-standards] (PRIu8): Likewise.
7063 [C99-based-standards] (PRIx8): Likewise.
7064 [C99-based-standards] (PRIX8): Likewise.
7065 [C99-based-standards] (SCNd8): Likewise.
7066 [C99-based-standards] (SCNi8): Likewise.
7067 [C99-based-standards] (SCNo8): Likewise.
7068 [C99-based-standards] (SCNu8): Likewise.
7069 [C99-based-standards] (SCNx8): Likewise.
7070 [C99-based-standards] (PRIdLEAST8): Likewise.
7071 [C99-based-standards] (PRIiLEAST8): Likewise.
7072 [C99-based-standards] (PRIoLEAST8): Likewise.
7073 [C99-based-standards] (PRIuLEAST8): Likewise.
7074 [C99-based-standards] (PRIxLEAST8): Likewise.
7075 [C99-based-standards] (PRIXLEAST8): Likewise.
7076 [C99-based-standards] (SCNdLEAST8): Likewise.
7077 [C99-based-standards] (SCNiLEAST8): Likewise.
7078 [C99-based-standards] (SCNoLEAST8): Likewise.
7079 [C99-based-standards] (SCNuLEAST8): Likewise.
7080 [C99-based-standards] (SCNxLEAST8): Likewise.
7081 [C99-based-standards] (PRIdFAST8): Likewise.
7082 [C99-based-standards] (PRIiFAST8): Likewise.
7083 [C99-based-standards] (PRIoFAST8): Likewise.
7084 [C99-based-standards] (PRIuFAST8): Likewise.
7085 [C99-based-standards] (PRIxFAST8): Likewise.
7086 [C99-based-standards] (PRIXFAST8): Likewise.
7087 [C99-based-standards] (SCNdFAST8): Likewise.
7088 [C99-based-standards] (SCNiFAST8): Likewise.
7089 [C99-based-standards] (SCNoFAST8): Likewise.
7090 [C99-based-standards] (SCNuFAST8): Likewise.
7091 [C99-based-standards] (SCNxFAST8): Likewise.
7092 [C99-based-standards] (PRId16): Likewise.
7093 [C99-based-standards] (PRIi16): Likewise.
7094 [C99-based-standards] (PRIo16): Likewise.
7095 [C99-based-standards] (PRIu16): Likewise.
7096 [C99-based-standards] (PRIx16): Likewise.
7097 [C99-based-standards] (PRIX16): Likewise.
7098 [C99-based-standards] (SCNd16): Likewise.
7099 [C99-based-standards] (SCNi16): Likewise.
7100 [C99-based-standards] (SCNo16): Likewise.
7101 [C99-based-standards] (SCNu16): Likewise.
7102 [C99-based-standards] (SCNx16): Likewise.
7103 [C99-based-standards] (PRIdLEAST16): Likewise.
7104 [C99-based-standards] (PRIiLEAST16): Likewise.
7105 [C99-based-standards] (PRIoLEAST16): Likewise.
7106 [C99-based-standards] (PRIuLEAST16): Likewise.
7107 [C99-based-standards] (PRIxLEAST16): Likewise.
7108 [C99-based-standards] (PRIXLEAST16): Likewise.
7109 [C99-based-standards] (SCNdLEAST16): Likewise.
7110 [C99-based-standards] (SCNiLEAST16): Likewise.
7111 [C99-based-standards] (SCNoLEAST16): Likewise.
7112 [C99-based-standards] (SCNuLEAST16): Likewise.
7113 [C99-based-standards] (SCNxLEAST16): Likewise.
7114 [C99-based-standards] (PRIdFAST16): Likewise.
7115 [C99-based-standards] (PRIiFAST16): Likewise.
7116 [C99-based-standards] (PRIoFAST16): Likewise.
7117 [C99-based-standards] (PRIuFAST16): Likewise.
7118 [C99-based-standards] (PRIxFAST16): Likewise.
7119 [C99-based-standards] (PRIXFAST16): Likewise.
7120 [C99-based-standards] (SCNdFAST16): Likewise.
7121 [C99-based-standards] (SCNiFAST16): Likewise.
7122 [C99-based-standards] (SCNoFAST16): Likewise.
7123 [C99-based-standards] (SCNuFAST16): Likewise.
7124 [C99-based-standards] (SCNxFAST16): Likewise.
7125 [C99-based-standards] (PRId32): Likewise.
7126 [C99-based-standards] (PRIi32): Likewise.
7127 [C99-based-standards] (PRIo32): Likewise.
7128 [C99-based-standards] (PRIu32): Likewise.
7129 [C99-based-standards] (PRIx32): Likewise.
7130 [C99-based-standards] (PRIX32): Likewise.
7131 [C99-based-standards] (SCNd32): Likewise.
7132 [C99-based-standards] (SCNi32): Likewise.
7133 [C99-based-standards] (SCNo32): Likewise.
7134 [C99-based-standards] (SCNu32): Likewise.
7135 [C99-based-standards] (SCNx32): Likewise.
7136 [C99-based-standards] (PRIdLEAST32): Likewise.
7137 [C99-based-standards] (PRIiLEAST32): Likewise.
7138 [C99-based-standards] (PRIoLEAST32): Likewise.
7139 [C99-based-standards] (PRIuLEAST32): Likewise.
7140 [C99-based-standards] (PRIxLEAST32): Likewise.
7141 [C99-based-standards] (PRIXLEAST32): Likewise.
7142 [C99-based-standards] (SCNdLEAST32): Likewise.
7143 [C99-based-standards] (SCNiLEAST32): Likewise.
7144 [C99-based-standards] (SCNoLEAST32): Likewise.
7145 [C99-based-standards] (SCNuLEAST32): Likewise.
7146 [C99-based-standards] (SCNxLEAST32): Likewise.
7147 [C99-based-standards] (PRIdFAST32): Likewise.
7148 [C99-based-standards] (PRIiFAST32): Likewise.
7149 [C99-based-standards] (PRIoFAST32): Likewise.
7150 [C99-based-standards] (PRIuFAST32): Likewise.
7151 [C99-based-standards] (PRIxFAST32): Likewise.
7152 [C99-based-standards] (PRIXFAST32): Likewise.
7153 [C99-based-standards] (SCNdFAST32): Likewise.
7154 [C99-based-standards] (SCNiFAST32): Likewise.
7155 [C99-based-standards] (SCNoFAST32): Likewise.
7156 [C99-based-standards] (SCNuFAST32): Likewise.
7157 [C99-based-standards] (SCNxFAST32): Likewise.
7158 [C99-based-standards] (PRId64): Likewise.
7159 [C99-based-standards] (PRIi64): Likewise.
7160 [C99-based-standards] (PRIo64): Likewise.
7161 [C99-based-standards] (PRIu64): Likewise.
7162 [C99-based-standards] (PRIx64): Likewise.
7163 [C99-based-standards] (PRIX64): Likewise.
7164 [C99-based-standards] (SCNd64): Likewise.
7165 [C99-based-standards] (SCNi64): Likewise.
7166 [C99-based-standards] (SCNo64): Likewise.
7167 [C99-based-standards] (SCNu64): Likewise.
7168 [C99-based-standards] (SCNx64): Likewise.
7169 [C99-based-standards] (PRIdLEAST64): Likewise.
7170 [C99-based-standards] (PRIiLEAST64): Likewise.
7171 [C99-based-standards] (PRIoLEAST64): Likewise.
7172 [C99-based-standards] (PRIuLEAST64): Likewise.
7173 [C99-based-standards] (PRIxLEAST64): Likewise.
7174 [C99-based-standards] (PRIXLEAST64): Likewise.
7175 [C99-based-standards] (SCNdLEAST64): Likewise.
7176 [C99-based-standards] (SCNiLEAST64): Likewise.
7177 [C99-based-standards] (SCNoLEAST64): Likewise.
7178 [C99-based-standards] (SCNuLEAST64): Likewise.
7179 [C99-based-standards] (SCNxLEAST64): Likewise.
7180 [C99-based-standards] (PRIdFAST64): Likewise.
7181 [C99-based-standards] (PRIiFAST64): Likewise.
7182 [C99-based-standards] (PRIoFAST64): Likewise.
7183 [C99-based-standards] (PRIuFAST64): Likewise.
7184 [C99-based-standards] (PRIxFAST64): Likewise.
7185 [C99-based-standards] (PRIXFAST64): Likewise.
7186 [C99-based-standards] (SCNdFAST64): Likewise.
7187 [C99-based-standards] (SCNiFAST64): Likewise.
7188 [C99-based-standards] (SCNoFAST64): Likewise.
7189 [C99-based-standards] (SCNuFAST64): Likewise.
7190 [C99-based-standards] (SCNxFAST64): Likewise.
7191 [C99-based-standards] (PRIdMAX): Likewise.
7192 [C99-based-standards] (PRIiMAX): Likewise.
7193 [C99-based-standards] (PRIoMAX): Likewise.
7194 [C99-based-standards] (PRIuMAX): Likewise.
7195 [C99-based-standards] (PRIxMAX): Likewise.
7196 [C99-based-standards] (PRIXMAX): Likewise.
7197 [C99-based-standards] (SCNdMAX): Likewise.
7198 [C99-based-standards] (SCNiMAX): Likewise.
7199 [C99-based-standards] (SCNoMAX): Likewise.
7200 [C99-based-standards] (SCNuMAX): Likewise.
7201 [C99-based-standards] (SCNxMAX): Likewise.
7202 [C99-based-standards] (PRIdPTR): Likewise.
7203 [C99-based-standards] (PRIiPTR): Likewise.
7204 [C99-based-standards] (PRIoPTR): Likewise.
7205 [C99-based-standards] (PRIuPTR): Likewise.
7206 [C99-based-standards] (PRIxPTR): Likewise.
7207 [C99-based-standards] (PRIXPTR): Likewise.
7208 [C99-based-standards] (SCNdPTR): Likewise.
7209 [C99-based-standards] (SCNiPTR): Likewise.
7210 [C99-based-standards] (SCNoPTR): Likewise.
7211 [C99-based-standards] (SCNuPTR): Likewise.
7212 [C99-based-standards] (SCNxPTR): Likewise.
7213 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7215 * conform/data/stdint.h-data: Update comments to clarify
7217 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7219 [C99-based standards] (INT8_MAX): Likewise.
7220 [C99-based standards] (INT16_MIN): Likewise.
7221 [C99-based standards] (INT16_MAX): Likewise.
7222 [C99-based standards] (INT32_MIN): Likewise.
7223 [C99-based standards] (INT32_MAX): Likewise.
7224 [C99-based standards] (INT64_MIN): Likewise.
7225 [C99-based standards] (INT64_MAX): Likewise.
7226 [C99-based standards] (UINT8_MAX): Likewise.
7227 [C99-based standards] (UINT16_MAX): Likewise.
7228 [C99-based standards] (UINT32_MAX): Likewise.
7229 [C99-based standards] (UINT64_MAX): Likewise.
7230 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7231 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7232 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7233 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7234 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7235 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7236 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7237 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7238 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7239 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7240 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7241 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7242 [C99-based standards] (INT_FAST8_MIN): Likewise.
7243 [C99-based standards] (INT_FAST8_MAX): Likewise.
7244 [C99-based standards] (INT_FAST16_MIN): Likewise.
7245 [C99-based standards] (INT_FAST16_MAX): Likewise.
7246 [C99-based standards] (INT_FAST32_MIN): Likewise.
7247 [C99-based standards] (INT_FAST32_MAX): Likewise.
7248 [C99-based standards] (INT_FAST64_MIN): Likewise.
7249 [C99-based standards] (INT_FAST64_MAX): Likewise.
7250 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7251 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7252 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7253 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7254 [C99-based standards] (INTPTR_MIN): Likewise.
7255 [C99-based standards] (INTPTR_MAX): Likewise.
7256 [C99-based standards] (UINTPTR_MAX): Likewise.
7257 [C99-based standards] (INTMAX_MIN): Likewise.
7258 [C99-based standards] (INTMAX_MAX): Likewise.
7259 [C99-based standards] (UINTMAX_MAX): Likewise.
7260 [C99-based standards] (PTRDIFF_MIN): Likewise.
7261 [C99-based standards] (PTRDIFF_MAX): Likewise.
7262 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7263 [C99-based standards] (SIZE_MAX): Likewise.
7264 [C99-based standards] (WCHAR_MAX): Likewise.
7265 [C99-based standards] (WINT_MAX): Likewise.
7266 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7267 constraint on value.
7268 [C99-based standards] (WCHAR_MIN): Likewise.
7269 [C99-based standards] (WINT_MIN): Likewise.
7270 [C99-based standards] (*_t): Allow.
7271 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7272 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7273 Include math.h-data and complex.h-data. Remove all expectations
7274 of math.h and complex.h contents.
7275 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7277 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7278 (struct tm): Expect tag.
7279 [C99-based-standards] (wcstof): Expect function.
7280 [C99-based-standards] (wcstold): Likewise.
7281 [C99-based-standards] (wcstoll): Likewise.
7282 [C99-based-standards] (wcstoull): Likewise.
7283 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7284 macro-int-constant. Specify type.
7285 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7286 constraint on value.
7287 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7289 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7291 [ISO C standards]: Do not allow headers.
7292 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7293 wcs[abcdefghijklmnopqrstuvwxyz]*.
7294 [ISO C standards] (*_t): Do not allow.
7295 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7297 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7298 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7300 [ISO C standards]: Do not allow headers.
7301 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7302 is[abcdefghijklmnopqrstuvwxyz]*.
7303 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7304 to[abcdefghijklmnopqrstuvwxyz]*.
7305 [ISO C standards] (*_t): Do not allow.
7306 * conform/data/stdalign.h-data: New file.
7307 * conform/data/stdbool.h-data: Likewise.
7308 * conform/data/stdnoreturn.h-data: Likewise.
7310 2012-11-07 Roland McGrath <roland@hack.frob.com>
7313 * manual/filesys.texi (Directory Entries): Typo fix.
7314 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7316 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7318 * elf/elf.h (EM_AARCH64): New macro.
7319 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7320 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7321 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7322 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7323 (R_AARCH64_TLSDESC): Likewise.
7324 (NT_ARM_TLS): Likewise.
7325 (NT_ARM_HW_BREAK): Likewise.
7326 (NT_ARM_HW_WATCH): Likewise.
7328 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7331 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7332 (__ieee754_powl): Saturate nonzero exponents with absolute value
7333 below 0x1p-79 to +/- 0x1p-79.
7334 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7335 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7336 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7337 nonzero exponents with absolute value below 0x1p-32 to +/-
7339 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7340 (__ieee754_powl): Saturate nonzero exponents with absolute value
7341 below 0x1p-79 to +/- 0x1p-79.
7342 * math/libm-test.inc (pow_test): Add more tests.
7344 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7346 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7347 _dl_s390_cap_flags with kernel. Increase string length.
7348 (_dl_s390_platforms): Add z196 and zEC12.
7350 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7352 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7353 Change XOPEN21K to XOPEN2K.
7355 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7357 * string/memmove.c: Use memcpy when possible.
7359 2012-11-06 Andreas Jaeger <aj@suse.de>
7361 * po/eo.po: Update from translation team.
7363 2012-11-06 Joseph Myers <joseph@codesourcery.com>
7366 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7367 exponent and small x and y exponents, scale x or y up. Increase
7368 by 2 the exponent used in scaling up.
7369 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7370 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7371 * math/libm-test.inc (fma_test): Add more tests.
7372 (fma_test_towardzero): Likewise.
7373 (fma_test_downward): Likewise.
7374 (fma_test_upward): Likewise.
7376 2012-11-05 Joseph Myers <joseph@codesourcery.com>
7379 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7383 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7384 namespace for names of struct fields.
7385 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7387 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7388 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7390 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7393 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7395 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7397 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7401 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7404 2012-11-04 Joseph Myers <joseph@codesourcery.com>
7407 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7408 definitely overflow as x * y not x * y + z.
7409 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7410 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7411 * math/libm-test.inc (fma_test): Add more tests.
7412 (fma_test_towardzero): Likewise.
7413 (fma_test_downward): Likewise.
7414 (fma_test_upward): Likewise.
7416 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7420 * include/stub-tag.h: Remove file.
7421 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7423 * manual/maint.texi (Porting): Don't reference it.
7424 * Makerules ($(objpfx)stubs): Likewise.
7425 * dirent/closedir.c: Don't include <stub-tag.h>.
7426 * dirent/dirfd.c: Likewise.
7427 * dirent/fdopendir.c: Likewise.
7428 * dirent/getdents.c: Likewise.
7429 * dirent/getdents64.c: Likewise.
7430 * dirent/opendir.c: Likewise.
7431 * dirent/readdir.c: Likewise.
7432 * dirent/readdir64.c: Likewise.
7433 * dirent/readdir64_r.c: Likewise.
7434 * dirent/readdir_r.c: Likewise.
7435 * dirent/rewinddir.c: Likewise.
7436 * dirent/seekdir.c: Likewise.
7437 * dirent/telldir.c: Likewise.
7438 * gmon/profil.c: Likewise.
7439 * grp/setgroups.c: Likewise.
7440 * inet/if_index.c: Likewise.
7441 * io/access.c: Likewise.
7442 * io/chdir.c: Likewise.
7443 * io/chmod.c: Likewise.
7444 * io/chown.c: Likewise.
7445 * io/close.c: Likewise.
7446 * io/dup.c: Likewise.
7447 * io/dup2.c: Likewise.
7448 * io/dup3.c: Likewise.
7449 * io/euidaccess.c: Likewise.
7450 * io/faccessat.c: Likewise.
7451 * io/fchdir.c: Likewise.
7452 * io/fchmod.c: Likewise.
7453 * io/fchmodat.c: Likewise.
7454 * io/fchown.c: Likewise.
7455 * io/fchownat.c: Likewise.
7456 * io/fcntl.c: Likewise.
7457 * io/flock.c: Likewise.
7458 * io/fstatfs.c: Likewise.
7459 * io/fstatfs64.c: Likewise.
7460 * io/fstatvfs.c: Likewise.
7461 * io/fstatvfs64.c: Likewise.
7462 * io/futimens.c: Likewise.
7463 * io/fxstat.c: Likewise.
7464 * io/fxstat64.c: Likewise.
7465 * io/fxstatat.c: Likewise.
7466 * io/fxstatat64.c: Likewise.
7467 * io/getcwd.c: Likewise.
7468 * io/isatty.c: Likewise.
7469 * io/lchmod.c: Likewise.
7470 * io/lchown.c: Likewise.
7471 * io/link.c: Likewise.
7472 * io/linkat.c: Likewise.
7473 * io/lseek.c: Likewise.
7474 * io/lseek64.c: Likewise.
7475 * io/lxstat64.c: Likewise.
7476 * io/mkdir.c: Likewise.
7477 * io/mkdirat.c: Likewise.
7478 * io/mkfifo.c: Likewise.
7479 * io/mkfifoat.c: Likewise.
7480 * io/open.c: Likewise.
7481 * io/open64.c: Likewise.
7482 * io/openat.c: Likewise.
7483 * io/openat64.c: Likewise.
7484 * io/pipe.c: Likewise.
7485 * io/pipe2.c: Likewise.
7486 * io/poll.c: Likewise.
7487 * io/posix_fadvise.c: Likewise.
7488 * io/posix_fadvise64.c: Likewise.
7489 * io/posix_fallocate.c: Likewise.
7490 * io/posix_fallocate64.c: Likewise.
7491 * io/read.c: Likewise.
7492 * io/readlink.c: Likewise.
7493 * io/readlinkat.c: Likewise.
7494 * io/rmdir.c: Likewise.
7495 * io/sendfile.c: Likewise.
7496 * io/sendfile64.c: Likewise.
7497 * io/statfs.c: Likewise.
7498 * io/statfs64.c: Likewise.
7499 * io/statvfs.c: Likewise.
7500 * io/statvfs64.c: Likewise.
7501 * io/symlink.c: Likewise.
7502 * io/symlinkat.c: Likewise.
7503 * io/ttyname.c: Likewise.
7504 * io/ttyname_r.c: Likewise.
7505 * io/umask.c: Likewise.
7506 * io/unlink.c: Likewise.
7507 * io/unlinkat.c: Likewise.
7508 * io/utime.c: Likewise.
7509 * io/utimensat.c: Likewise.
7510 * io/write.c: Likewise.
7511 * io/xmknod.c: Likewise.
7512 * io/xmknodat.c: Likewise.
7513 * io/xstat.c: Likewise.
7514 * io/xstat64.c: Likewise.
7515 * login/getpt.c: Likewise.
7516 * login/grantpt.c: Likewise.
7517 * login/unlockpt.c: Likewise.
7518 * math/e_acoshl.c: Likewise.
7519 * math/e_acosl.c: Likewise.
7520 * math/e_asinl.c: Likewise.
7521 * math/e_atan2l.c: Likewise.
7522 * math/e_atanhl.c: Likewise.
7523 * math/e_coshl.c: Likewise.
7524 * math/e_expl.c: Likewise.
7525 * math/e_fmodl.c: Likewise.
7526 * math/e_gammal_r.c: Likewise.
7527 * math/e_hypotl.c: Likewise.
7528 * math/e_j0l.c: Likewise.
7529 * math/e_j1l.c: Likewise.
7530 * math/e_jnl.c: Likewise.
7531 * math/e_lgammal_r.c: Likewise.
7532 * math/e_log10l.c: Likewise.
7533 * math/e_log2l.c: Likewise.
7534 * math/e_logl.c: Likewise.
7535 * math/e_powl.c: Likewise.
7536 * math/e_rem_pio2l.c: Likewise.
7537 * math/e_sinhl.c: Likewise.
7538 * math/e_sqrtl.c: Likewise.
7539 * math/fclrexcpt.c: Likewise.
7540 * math/fedisblxcpt.c: Likewise.
7541 * math/feenablxcpt.c: Likewise.
7542 * math/fegetenv.c: Likewise.
7543 * math/fegetexcept.c: Likewise.
7544 * math/fegetround.c: Likewise.
7545 * math/feholdexcpt.c: Likewise.
7546 * math/fesetenv.c: Likewise.
7547 * math/fesetround.c: Likewise.
7548 * math/feupdateenv.c: Likewise.
7549 * math/fgetexcptflg.c: Likewise.
7550 * math/fraiseexcpt.c: Likewise.
7551 * math/fsetexcptflg.c: Likewise.
7552 * math/ftestexcept.c: Likewise.
7553 * math/k_cosl.c: Likewise.
7554 * math/k_rem_pio2l.c: Likewise.
7555 * math/k_sinl.c: Likewise.
7556 * math/k_tanl.c: Likewise.
7557 * math/s_asinhl.c: Likewise.
7558 * math/s_atanl.c: Likewise.
7559 * math/s_cbrtl.c: Likewise.
7560 * math/s_erfl.c: Likewise.
7561 * math/s_expm1l.c: Likewise.
7562 * math/s_log1pl.c: Likewise.
7563 * math/s_tanhl.c: Likewise.
7564 * misc/acct.c: Likewise.
7565 * misc/brk.c: Likewise.
7566 * misc/chflags.c: Likewise.
7567 * misc/chroot.c: Likewise.
7568 * misc/fchflags.c: Likewise.
7569 * misc/fgetxattr.c: Likewise.
7570 * misc/flistxattr.c: Likewise.
7571 * misc/fremovexattr.c: Likewise.
7572 * misc/fsetxattr.c: Likewise.
7573 * misc/fsync.c: Likewise.
7574 * misc/ftruncate.c: Likewise.
7575 * misc/futimes.c: Likewise.
7576 * misc/futimesat.c: Likewise.
7577 * misc/getdomain.c: Likewise.
7578 * misc/getdtsz.c: Likewise.
7579 * misc/gethostid.c: Likewise.
7580 * misc/gethostname.c: Likewise.
7581 * misc/getloadavg.c: Likewise.
7582 * misc/getpagesize.c: Likewise.
7583 * misc/getsysstats.c: Likewise.
7584 * misc/getxattr.c: Likewise.
7585 * misc/gtty.c: Likewise.
7586 * misc/ioctl.c: Likewise.
7587 * misc/lgetxattr.c: Likewise.
7588 * misc/listxattr.c: Likewise.
7589 * misc/llistxattr.c: Likewise.
7590 * misc/lremovexattr.c: Likewise.
7591 * misc/lsetxattr.c: Likewise.
7592 * misc/lutimes.c: Likewise.
7593 * misc/madvise.c: Likewise.
7594 * misc/mincore.c: Likewise.
7595 * misc/mlock.c: Likewise.
7596 * misc/mlockall.c: Likewise.
7597 * misc/mmap.c: Likewise.
7598 * misc/mprotect.c: Likewise.
7599 * misc/msync.c: Likewise.
7600 * misc/munlock.c: Likewise.
7601 * misc/munlockall.c: Likewise.
7602 * misc/munmap.c: Likewise.
7603 * misc/preadv.c: Likewise.
7604 * misc/preadv64.c: Likewise.
7605 * misc/ptrace.c: Likewise.
7606 * misc/pwritev.c: Likewise.
7607 * misc/pwritev64.c: Likewise.
7608 * misc/readv.c: Likewise.
7609 * misc/reboot.c: Likewise.
7610 * misc/remap_file_pages.c: Likewise.
7611 * misc/removexattr.c: Likewise.
7612 * misc/revoke.c: Likewise.
7613 * misc/select.c: Likewise.
7614 * misc/setdomain.c: Likewise.
7615 * misc/setegid.c: Likewise.
7616 * misc/seteuid.c: Likewise.
7617 * misc/sethostid.c: Likewise.
7618 * misc/sethostname.c: Likewise.
7619 * misc/setregid.c: Likewise.
7620 * misc/setreuid.c: Likewise.
7621 * misc/setxattr.c: Likewise.
7622 * misc/sstk.c: Likewise.
7623 * misc/stty.c: Likewise.
7624 * misc/swapoff.c: Likewise.
7625 * misc/swapon.c: Likewise.
7626 * misc/sync.c: Likewise.
7627 * misc/syncfs.c: Likewise.
7628 * misc/syscall.c: Likewise.
7629 * misc/truncate.c: Likewise.
7630 * misc/ualarm.c: Likewise.
7631 * misc/usleep.c: Likewise.
7632 * misc/ustat.c: Likewise.
7633 * misc/utimes.c: Likewise.
7634 * misc/vhangup.c: Likewise.
7635 * misc/writev.c: Likewise.
7636 * posix/_exit.c: Likewise.
7637 * posix/alarm.c: Likewise.
7638 * posix/execve.c: Likewise.
7639 * posix/fexecve.c: Likewise.
7640 * posix/fork.c: Likewise.
7641 * posix/fpathconf.c: Likewise.
7642 * posix/getaddrinfo.c: Likewise.
7643 * posix/getegid.c: Likewise.
7644 * posix/geteuid.c: Likewise.
7645 * posix/getgid.c: Likewise.
7646 * posix/getgroups.c: Likewise.
7647 * posix/getlogin.c: Likewise.
7648 * posix/getlogin_r.c: Likewise.
7649 * posix/getpgid.c: Likewise.
7650 * posix/getpid.c: Likewise.
7651 * posix/getppid.c: Likewise.
7652 * posix/getresgid.c: Likewise.
7653 * posix/getresuid.c: Likewise.
7654 * posix/getsid.c: Likewise.
7655 * posix/getuid.c: Likewise.
7656 * posix/glob64.c: Likewise.
7657 * posix/nanosleep.c: Likewise.
7658 * posix/pathconf.c: Likewise.
7659 * posix/pause.c: Likewise.
7660 * posix/posix_madvise.c: Likewise.
7661 * posix/pread.c: Likewise.
7662 * posix/pread64.c: Likewise.
7663 * posix/pwrite.c: Likewise.
7664 * posix/pwrite64.c: Likewise.
7665 * posix/sched_getaffinity.c: Likewise.
7666 * posix/sched_getp.c: Likewise.
7667 * posix/sched_gets.c: Likewise.
7668 * posix/sched_primax.c: Likewise.
7669 * posix/sched_primin.c: Likewise.
7670 * posix/sched_rr_gi.c: Likewise.
7671 * posix/sched_setaffinity.c: Likewise.
7672 * posix/sched_setp.c: Likewise.
7673 * posix/sched_sets.c: Likewise.
7674 * posix/sched_yield.c: Likewise.
7675 * posix/setgid.c: Likewise.
7676 * posix/setlogin.c: Likewise.
7677 * posix/setpgid.c: Likewise.
7678 * posix/setresgid.c: Likewise.
7679 * posix/setresuid.c: Likewise.
7680 * posix/setsid.c: Likewise.
7681 * posix/setuid.c: Likewise.
7682 * posix/sleep.c: Likewise.
7683 * posix/spawni.c: Likewise.
7684 * posix/sysconf.c: Likewise.
7685 * posix/times.c: Likewise.
7686 * posix/wait.c: Likewise.
7687 * posix/wait3.c: Likewise.
7688 * posix/wait4.c: Likewise.
7689 * posix/waitpid.c: Likewise.
7690 * resolv/gai_sigqueue.c: Likewise.
7691 * resource/getpriority.c: Likewise.
7692 * resource/getrlimit.c: Likewise.
7693 * resource/getrusage.c: Likewise.
7694 * resource/nice.c: Likewise.
7695 * resource/setpriority.c: Likewise.
7696 * resource/setrlimit.c: Likewise.
7697 * resource/ulimit.c: Likewise.
7698 * rt/aio_cancel.c: Likewise.
7699 * rt/aio_fsync.c: Likewise.
7700 * rt/aio_read.c: Likewise.
7701 * rt/aio_sigqueue.c: Likewise.
7702 * rt/aio_suspend.c: Likewise.
7703 * rt/aio_write.c: Likewise.
7704 * rt/clock_getres.c: Likewise.
7705 * rt/clock_gettime.c: Likewise.
7706 * rt/clock_nanosleep.c: Likewise.
7707 * rt/clock_settime.c: Likewise.
7708 * rt/lio_listio.c: Likewise.
7709 * rt/mq_close.c: Likewise.
7710 * rt/mq_getattr.c: Likewise.
7711 * rt/mq_notify.c: Likewise.
7712 * rt/mq_open.c: Likewise.
7713 * rt/mq_receive.c: Likewise.
7714 * rt/mq_send.c: Likewise.
7715 * rt/mq_setattr.c: Likewise.
7716 * rt/mq_timedreceive.c: Likewise.
7717 * rt/mq_timedsend.c: Likewise.
7718 * rt/mq_unlink.c: Likewise.
7719 * rt/shm_open.c: Likewise.
7720 * rt/shm_unlink.c: Likewise.
7721 * rt/timer_create.c: Likewise.
7722 * rt/timer_delete.c: Likewise.
7723 * rt/timer_getoverr.c: Likewise.
7724 * rt/timer_gettime.c: Likewise.
7725 * rt/timer_settime.c: Likewise.
7726 * setjmp/__longjmp.c: Likewise.
7727 * setjmp/setjmp.c: Likewise.
7728 * signal/kill.c: Likewise.
7729 * signal/killpg.c: Likewise.
7730 * signal/raise.c: Likewise.
7731 * signal/sigaction.c: Likewise.
7732 * signal/sigaltstack.c: Likewise.
7733 * signal/sigblock.c: Likewise.
7734 * signal/sigignore.c: Likewise.
7735 * signal/sigintr.c: Likewise.
7736 * signal/signal.c: Likewise.
7737 * signal/sigpause.c: Likewise.
7738 * signal/sigpending.c: Likewise.
7739 * signal/sigqueue.c: Likewise.
7740 * signal/sigreturn.c: Likewise.
7741 * signal/sigset.c: Likewise.
7742 * signal/sigsetmask.c: Likewise.
7743 * signal/sigstack.c: Likewise.
7744 * signal/sigsuspend.c: Likewise.
7745 * signal/sigtimedwait.c: Likewise.
7746 * signal/sigvec.c: Likewise.
7747 * signal/sigwait.c: Likewise.
7748 * signal/sigwaitinfo.c: Likewise.
7749 * signal/sysv_signal.c: Likewise.
7750 * socket/accept.c: Likewise.
7751 * socket/accept4.c: Likewise.
7752 * socket/bind.c: Likewise.
7753 * socket/connect.c: Likewise.
7754 * socket/getpeername.c: Likewise.
7755 * socket/getsockname.c: Likewise.
7756 * socket/getsockopt.c: Likewise.
7757 * socket/isfdtype.c: Likewise.
7758 * socket/listen.c: Likewise.
7759 * socket/recv.c: Likewise.
7760 * socket/recvfrom.c: Likewise.
7761 * socket/recvmsg.c: Likewise.
7762 * socket/send.c: Likewise.
7763 * socket/sendmsg.c: Likewise.
7764 * socket/sendto.c: Likewise.
7765 * socket/setsockopt.c: Likewise.
7766 * socket/shutdown.c: Likewise.
7767 * socket/sockatmark.c: Likewise.
7768 * socket/socket.c: Likewise.
7769 * socket/socketpair.c: Likewise.
7770 * stdio-common/ctermid.c: Likewise.
7771 * stdio-common/cuserid.c: Likewise.
7772 * stdio-common/remove.c: Likewise.
7773 * stdio-common/rename.c: Likewise.
7774 * stdio-common/renameat.c: Likewise.
7775 * stdio-common/tempname.c: Likewise.
7776 * stdlib/getcontext.c: Likewise.
7777 * stdlib/makecontext.c: Likewise.
7778 * stdlib/setcontext.c: Likewise.
7779 * stdlib/swapcontext.c: Likewise.
7780 * stdlib/system.c: Likewise.
7781 * streams/fattach.c: Likewise.
7782 * streams/fdetach.c: Likewise.
7783 * streams/getmsg.c: Likewise.
7784 * streams/getpmsg.c: Likewise.
7785 * streams/putmsg.c: Likewise.
7786 * streams/putpmsg.c: Likewise.
7787 * sysdeps/unix/bsd/getpt.c: Likewise.
7788 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7789 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7790 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7793 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7794 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7795 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7796 * sysvipc/msgctl.c: Likewise.
7797 * sysvipc/msgget.c: Likewise.
7798 * sysvipc/msgrcv.c: Likewise.
7799 * sysvipc/msgsnd.c: Likewise.
7800 * sysvipc/semctl.c: Likewise.
7801 * sysvipc/semget.c: Likewise.
7802 * sysvipc/semop.c: Likewise.
7803 * sysvipc/semtimedop.c: Likewise.
7804 * sysvipc/shmat.c: Likewise.
7805 * sysvipc/shmctl.c: Likewise.
7806 * sysvipc/shmdt.c: Likewise.
7807 * sysvipc/shmget.c: Likewise.
7808 * termios/tcdrain.c: Likewise.
7809 * termios/tcflow.c: Likewise.
7810 * termios/tcflush.c: Likewise.
7811 * termios/tcgetattr.c: Likewise.
7812 * termios/tcgetpgrp.c: Likewise.
7813 * termios/tcsendbrk.c: Likewise.
7814 * termios/tcsetattr.c: Likewise.
7815 * termios/tcsetpgrp.c: Likewise.
7816 * time/adjtime.c: Likewise.
7817 * time/clock.c: Likewise.
7818 * time/getitimer.c: Likewise.
7819 * time/gettimeofday.c: Likewise.
7820 * time/setitimer.c: Likewise.
7821 * time/settimeofday.c: Likewise.
7822 * time/stime.c: Likewise.
7823 * time/time.c: Likewise.
7825 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7827 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7830 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7832 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7834 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7837 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7838 FE_TONEAREST before applying Dekker multiplication and Knuth
7839 addition. Clear inexact exceptions and check for exact zero
7841 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7842 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7843 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7844 * math/libm-test.inc (fma_test): Add more tests.
7845 (fma_test_towardzero): Likewise.
7846 (fma_test_downward): Likewise.
7847 (fma_test_upward): Likewise.
7848 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7850 (libc_fesetround): New macro.
7851 (libc_fesetroundf): Likewise.
7852 (libc_fesetroundl): Likewise.
7853 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7855 (libc_fesetround_387): Likewise.
7856 (libc_fesetroundf): New macro.
7857 (libc_fesetround): Likewise.
7858 (libc_fesetroundl): Likewise.
7859 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7861 (libc_fesetroundf): New macro.
7862 (libc_fesetround): Likewise.
7863 (libc_fesetroundl): Likewise.
7864 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7865 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7866 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7868 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7869 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7871 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7872 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7874 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7878 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7879 integer constant usable in #if and use that to give value to enum
7881 (FE_DIVBYZERO): Likewise.
7882 (FE_UNDERFLOW): Likewise.
7883 (FE_OVERFLOW): Likewise.
7884 (FE_INVALID): Likewise.
7885 (FE_INVALID_SNAN): Likewise.
7886 (FE_INVALID_ISI): Likewise.
7887 (FE_INVALID_IDI): Likewise.
7888 (FE_INVALID_ZDZ): Likewise.
7889 (FE_INVALID_IMZ): Likewise.
7890 (FE_INVALID_COMPARE): Likewise.
7891 (FE_INVALID_SOFTWARE): Likewise.
7892 (FE_INVALID_SQRT): Likewise.
7893 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7894 (FE_TONEAREST): Likewise.
7895 (FE_TOWARDZERO): Likewise.
7896 (FE_UPWARD): Likewise.
7897 (FE_DOWNWARD): Likewise.
7898 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7899 (FE_DIVBYZERO): Likewise.
7900 (FE_OVERFLOW): Likewise.
7901 (FE_UNDERFLOW): Likewise.
7902 (FE_INEXACT): Likewise.
7903 (FE_TONEAREST): Likewise.
7904 (FE_DOWNWARD): Likewise.
7905 (FE_UPWARD): Likewise.
7906 (FE_TOWARDZERO): Likewise.
7907 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7908 (FE_UNDERFLOW): Likewise.
7909 (FE_OVERFLOW): Likewise.
7910 (FE_DIVBYZERO): Likewise.
7911 (FE_INVALID): Likewise.
7912 (FE_TONEAREST): Likewise.
7913 (FE_TOWARDZERO): Likewise.
7914 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7915 (FE_OVERFLOW): Likewise.
7916 (FE_UNDERFLOW): Likewise.
7917 (FE_DIVBYZERO): Likewise.
7918 (FE_INEXACT): Likewise.
7919 (FE_TONEAREST): Likewise.
7920 (FE_TOWARDZERO): Likewise.
7921 (FE_UPWARD): Likewise.
7922 (FE_DOWNWARD): Likewise.
7923 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7924 (FE_DIVBYZERO): Likewise.
7925 (FE_OVERFLOW): Likewise.
7926 (FE_UNDERFLOW): Likewise.
7927 (FE_INEXACT): Likewise.
7928 (FE_TONEAREST): Likewise.
7929 (FE_DOWNWARD): Likewise.
7930 (FE_UPWARD): Likewise.
7931 (FE_TOWARDZERO): Likewise.
7933 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7935 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7937 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7939 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7940 commands. Quote $PWD.
7941 (blacklist_exports): Don't use remove_newlines. Replace "declare
7943 (remove_newlines): Remove.
7945 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7947 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7948 * stdlib/stdlib.h (atof): Moved to ...
7949 * include/bits/stdlib-float.h: Here. New file.
7950 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7951 * stdlib/bits/stdlib-float.h: New file.
7952 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7954 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7957 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7959 * conform/conformtest.pl (@headers): Add fenv.h.
7960 * conform/data/fenv.h-data: New file.
7961 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7962 include of <math/fenv.h>.
7964 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7965 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7966 && !UNIX98]. Enables tests for XOPEN2K8.
7967 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7968 POSIX2008]: Likewise.
7970 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7971 (struct rusage): Do not expect type or its members.
7974 * math/math.h (FP_NAN): Define macro to integer constant usable in
7975 #if and use that to give value to enum constant.
7976 (FP_INFINITE): Likewise.
7977 (FP_ZERO): Likewise.
7978 (FP_SUBNORMAL): Likewise.
7979 (FP_NORMAL): Likewise.
7981 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7983 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7984 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7987 2012-11-02 Roland McGrath <roland@hack.frob.com>
7989 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7990 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7991 autoconf-time if not.
7992 * configure.in: Remove AC_PREREQ.
7994 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7996 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7997 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7998 of the internal implementation.
8000 2012-11-02 Joseph Myers <joseph@codesourcery.com>
8002 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8003 except include of <misc/sys/syslog.h>.
8005 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8008 function returns with a NULL context exit with zero.
8010 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8012 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8014 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8016 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8017 (run_program_cmd): This.
8018 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8019 (tst_langinfo): New variable. Use it.
8021 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8023 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8024 floating point opcodes.
8026 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8028 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8031 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8033 * sysdeps/mach/hurd/powerpc: Remove directory.
8034 * sysdeps/mach/powerpc: Likewise.
8036 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8038 * scripts/check-local-headers.sh: Ignore c++ headers.
8040 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8042 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8043 __libc_cleanup_region_start argument.
8045 2012-11-01 Joseph Myers <joseph@codesourcery.com>
8049 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8050 x * y using scaling, not as x * y + z.
8051 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8052 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8053 * math/libm-test.inc (fma_test): Add more tests.
8054 (fma_test_towardzero): Likewise.
8055 (fma_test_downward): Likewise.
8056 (fma_test_upward): Likewise.
8058 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8060 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8062 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8064 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8067 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8069 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8071 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8078 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8081 Fix the order of the list for glibc 2.17.
8082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8085 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8089 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8092 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8093 for low part of x being zero before using __atanl (y).
8094 * math/libm-test.inc (atan2_test): Add another test.
8096 * manual/install.texi (Configuring and compiling): Document
8097 general use of test-wrapper and test-wrapper-env.
8098 * INSTALL: Regenerated.
8100 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8101 (__fma): Do not extract and scale down low bits on after-rounding
8102 systems when result rounded to normal precision would have normal
8104 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8105 (__fmal): Do not extract and scale down low bits on after-rounding
8106 systems when result rounded to normal precision would have normal
8108 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8109 (__fmal): Do not extract and scale down low bits on after-rounding
8110 systems when result rounded to normal precision would have normal
8112 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8114 (fma_test): Add more tests.
8115 (fma_test_towardzero): Likewise.
8116 (fma_test_downward): Likewise.
8117 (fma_test_upward): Likewise.
8119 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8121 * sysdeps/i386/tininess.h: Renamed to ...
8122 * sysdeps/x86/tininess.h: This.
8123 * sysdeps/x86_64/tininess.h: Removed.
8125 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8127 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8128 input. Use $(build-program-cmd).
8129 ($(objpfx)tst-array1-static.out): Likewise.
8130 ($(objpfx)tst-array2.out): Likewise.
8131 ($(objpfx)tst-array3.out): Likewise.
8132 ($(objpfx)tst-array4.out): Likewise.
8133 ($(objpfx)tst-array5.out): Likewise.
8134 ($(objpfx)tst-array5-static.out): Likewise.
8136 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8138 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8141 * nss/nsswitch.h (nss_interface_function): Provide new
8142 macro for use with NSS functions.
8143 * grp/initgroups.c: Use new macro.
8144 * nss/getXXbyYY.c: Likewise.
8145 * nss/getXXbyYY_r.c: Likewise.
8146 * nss/getXXent.c: Likewise.
8147 * nss/getXXent_r.c: Likewise.
8148 * sysdeps/posix/getaddrinfo.c: Likewise.
8150 2012-10-30 Andreas Jaeger <aj@suse.de>
8152 * po/ru.po: Update Russion translation from translation project.
8154 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8158 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8159 result and shift together with sticky bit instead of replicating
8160 round-to-nearest rounding.
8161 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8162 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8163 * math/libm-test.inc (fma_test): Add more tests. Do not permit
8164 missing underflow exceptions.
8165 (fma_test_towardzero): Add more tests.
8166 (fma_test_downward): Likewise.
8167 (fma_test_upward): Likewise.
8170 * sysdeps/generic/tininess.h: New file.
8171 * sysdeps/i386/tininess.h: Likewise.
8172 * sysdeps/sh/tininess.h: Likewise.
8173 * sysdeps/x86_64/tininess.h: Likewise.
8174 * stdlib/tst-strtod-underflow.c: Likewise.
8175 * stdlib/tst-tininess.c: Likewise.
8176 * stdlib/strtod_l.c: Include <tininess.h>.
8177 (round_and_return): Do not set errno for exact underflow cases.
8178 Force an underflow exception when setting errno for underflow.
8179 Determine underflow based on rounding to normal precision if
8180 TININESS_AFTER_ROUNDING.
8181 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8182 ERANGE for exact underflow cases.
8183 * stdlib/Makefile (tests): Add tst-tininess and
8184 tst-strtod-underflow.
8185 ($(objpfx)tst-tininess): Use $(link-libm).
8186 ($(objpfx)tst-strtod-underflow): Likewise.
8188 2012-10-30 Andreas Jaeger <aj@suse.de>
8191 * elf/Makefile (tests): Remove conditional for have-initfini-array
8192 since this is now always required and the variable does not exist
8194 (tests-static): Likewise.
8195 (modules-names): Likewise.
8197 * po/eo.po: Add Esperanto translation from translation project.
8199 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8200 merged with constructor/destructor.
8201 (init_array): Likewise.
8202 * elf/tst-array2dep.c (fini_array): Likewise.
8203 (init_array): Likewise.
8205 2012-10-29 Mike Frysinger <vapier@gentoo.org>
8207 * manual/message.texi: Delete @cartouche tags.
8209 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8211 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8213 * sysdeps/mach/hurd/fsync.c: Likewise.
8215 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8216 [_POSIX_REALTIME_SIGNALS]: Change condition to
8217 [_POSIX_REALTIME_SIGNALS > 0].
8219 2012-10-27 Andreas Jaeger <aj@suse.de>
8221 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8222 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8223 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8224 [__WORDSIZE != 64]: Likewise.
8226 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8228 * iconvdata/tst-table.sh: Remove ${SHELL}.
8229 * iconvdata/tst-tables.sh: Likewise.
8231 2012-10-25 David S. Miller <davem@davemloft.net>
8233 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8234 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8237 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8239 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8240 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8241 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8244 2012-10-25 Roland McGrath <roland@hack.frob.com>
8246 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8247 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8250 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8251 Jim Blandy <jimb@codesourcery.com>
8253 * scripts/cross-test-ssh.sh: New file.
8254 * manual/install.texi (Configuring and compiling): Document use of
8256 * INSTALL: Regenerated.
8258 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8260 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8263 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8265 * Makeconfig (run-program-prefix): Fix comment.
8267 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8268 Jim Blandy <jimb@codesourcery.com>
8270 * Makeconfig (test-wrapper): New variable,
8271 (test-wrapper-env): Likewise.
8272 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8273 (run-built-tests): Define to yes.
8274 (run-program-prefix): Use $(test-wrapper).
8275 (built-program-cmd): Likewise.
8276 * Rules (make-test-out): Use $(test-wrapper-env) and
8277 $(host-built-program-cmd).
8278 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8279 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8281 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8282 $(test-wrapper-env) to tst-rtld-load-self.sh.
8283 ($(objpfx)order2.out): Use $(test-wrapper).
8284 ($(objpfx)tst-initorder.out): Likewise.
8285 ($(objpfx)tst-initorder2.out): Likewise.
8286 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8287 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8288 (test_wrapper_env): New variable. Use it to run ld.so.
8289 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8290 Use it to run ld.so.
8291 (test_wrapper_env): Likewise.
8292 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8293 $(test-wrapper) to run-iconv-test.sh.
8294 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8295 (ICONV): Use $test_wrapper.
8296 * posix/Makefile ($(objpfx)globtest.out): Pass
8297 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8298 globtest.sh, not $(run-program-prefix).
8299 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8300 (test_wrapper): Likewise.
8301 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8302 set together with run_via_rtld_prefix.
8303 (run_program_prefix): Define in terms of test_wrapper and
8304 run_via_rtld_prefix.
8306 2012-10-24 Roland McGrath <roland@hack.frob.com>
8308 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8309 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8313 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8314 Declare __clock_getres, __clock_gettime, __clock_settime,
8315 __clock_nanosleep, and __clock_getcpuclockid.
8316 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8317 Remove librt_hidden_def (clock_gettime).
8318 * sysdeps/unix/clock_gettime.c: Likewise.
8319 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8320 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8321 * rt/clock_getres.c: Define __clock_getres as an alias.
8322 * sysdeps/posix/clock_getres.c: Likewise.
8323 * rt/clock_settime.c: Define __clock_settime as an alias.
8324 * sysdeps/unix/clock_settime.c: Likewise.
8325 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8326 * sysdeps/unix/clock_nanosleep.c: Likewise.
8327 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8328 * rt/clock-compat.c: New file.
8329 * rt/Makefile (librt-routines): Add clock-compat and move
8330 $(clock-routines) to ...
8331 (routines): ... here, new variable.
8332 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8333 Don't add get_clockfreq here.
8334 * rt/Versions (libc: GLIBC_2.17): New version set.
8335 Add clock_* symbols here.
8336 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8337 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8338 (GLIBC_2.17): Add clock_* symbols.
8339 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8341 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8350 * NEWS: Mention the move.
8352 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8353 Use __open, __read, __close rather than their public counterparts.
8354 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8355 (__get_clockfreq_via_cpuinfo): Likewise.
8356 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8357 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8359 * config.h.in (HAVE_IFUNC): New #undef.
8360 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8362 * configure: Regenerated.
8364 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8366 * configure.in: Move READELF check to start of file.
8367 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8368 libc_cv_asm_gnu_indirect_function in the process.
8369 * configure: Regenerated.
8371 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8373 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8374 send the output to /dev/null.
8375 (libc_cv_cc_with_libunwind): Likewise.
8376 (libc_cv_as_noexecstack): Likewise.
8377 * configure: Regenerate.
8379 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8381 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8383 * posix/globtest.sh (TMPDIR): Do not set.
8384 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8385 (testout): Likewise.
8387 2012-10-24 Andreas Jaeger <aj@suse.de>
8389 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8390 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8391 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8392 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8393 posix_fadvise64, posix_fallocate64.
8395 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8396 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8397 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8399 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8401 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8403 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8404 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8405 <bits/fcntl-linux.h>.
8406 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8408 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8409 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8410 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8411 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8412 [__WORDSIZE != 64]: Likewise.
8414 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8416 * Makeconfig (run-built-tests): New variable.
8417 * Rules [$(cross-compiling) = yes]: Change condition to
8418 [$(run-built-tests) = no].
8419 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8420 to [$(run-built-tests) = yes].
8421 * elf/Makefile [$(cross-compiling) = no]: Likewise
8422 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8423 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8424 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8425 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8426 * io/Makefile [$(cross-compiling) = no]: Likewise.
8427 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8428 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8429 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8430 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8431 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8432 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8433 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8434 * string/Makefile [$(cross-compiling) = no]: Likewise.
8436 * posix/Makefile ($(objpfx)globtest.out): Pass
8437 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8438 $(rtld-installed-name).
8439 * posix/globtest.sh (elf_objpfx): Remove variable.
8440 (rtld_installed_name): Likewise.
8441 (library_path): Likewise.
8442 (run_program_prefix): New variable. Use for running globtest
8445 2012-10-23 Jim Blandy <jimb@codesourcery.com>
8446 Joseph Myers <joseph@codesourcery.com>
8448 * Makeconfig (host-built-program-cmd): New variable.
8449 * elf/Makefile (tst-stackguard1-ARGS): Use
8450 $(host-built-program-cmd).
8451 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8452 (tst-spawn-ARGS): Likewise.
8453 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8455 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8456 Jim Blandy <jimb@codesourcery.com>
8458 * Makeconfig (run-via-rtld-prefix): New variable.
8459 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8460 (built-program-cmd): Likewise.
8462 2012-10-22 Andreas Jaeger <aj@suse.de>
8464 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8465 __O_RSYNC if it exists, otherwise to O_SYNC.
8467 2012-10-22 Jim Blandy <jimb@codesourcery.com>
8468 Joseph Myers <joseph@codesourcery.com>
8470 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8472 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8474 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8477 2012-10-22 Andreas Jaeger <aj@suse.de>
8479 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8481 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8483 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8486 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8487 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8489 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8491 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8494 2012-10-21 Jim Blandy <jimb@codesourcery.com>
8495 Joseph Myers <joseph@codesourcery.com>
8497 * config.make.in (NM): New variable.
8499 2012-10-21 Andreas Jaeger <aj@suse.de>
8501 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8502 definitions and declarations that are provided by
8503 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8505 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8508 * elf/Makefile (tests-static): Add tst-leaks1-static.
8509 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8510 ($(objpfx)tst-leaks1-static): New rule.
8511 ($(objpfx)tst-leaks1-static-mem): Likewise.
8512 (tst-leaks1-static-ENV): New macro.
8513 * elf/dl-open.c (dl_open_worker): Check the main application
8514 only if SHARED is defined.
8515 * elf/tst-leaks1-static.c: New file.
8517 2012-10-20 Andreas Jaeger <aj@suse.de>
8519 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8520 generic values for Linux.
8521 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8522 and declarations that are provided by <bits/fcntl-linux.h> and
8523 include <bits/fcntl-linux.h>.
8524 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8525 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8527 2012-10-20 Roland McGrath <roland@hack.frob.com>
8529 * io/fcntl.h: Move include of <bits/types.h> to the top and
8530 include it unconditionally.
8532 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8534 * wcsmbs/Makefile (tests-ifunc): New variable.
8535 (tests): Add $(tests-ifunc).
8536 * wcsmbs/test-wcschr-ifunc.c: New file.
8537 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8538 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8539 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8540 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8541 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8543 * string/Makefile (tests-ifunc): New variable.
8544 (tests): Add $(tests-ifunc).
8545 * string/test-memccpy.c (TEST_NAME): New macro.
8546 * string/test-memchr.c (TEST_NAME): Likewise.
8547 * string/test-memcmp.c (TEST_NAME): Likewise.
8548 * string/test-memcpy.c (TEST_NAME): Likewise.
8549 * string/test-memmem.c (TEST_NAME): Likewise.
8550 * string/test-memmove.c (TEST_NAME): Likewise.
8551 * string/test-memset.c (TEST_NAME): Likewise.
8552 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8553 * string/test-stpcpy.c (TEST_NAME): Likewise.
8554 * string/test-stpncpy.c (TEST_NAME): Likewise.
8555 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8556 * string/test-strcasestr.c (TEST_NAME): Likewise.
8557 * string/test-strcat.c (TEST_NAME): Likewise.
8558 * string/test-strchr.c (TEST_NAME): Likewise.
8559 * string/test-strcmp.c(TEST_NAME): Likewise.
8560 * string/test-strcpy.c (TEST_NAME): Likewise.
8561 * string/test-strcspn.c (TEST_NAME): Likewise.
8562 * string/test-strlen.c (TEST_NAME): Likewise.
8563 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8564 * string/test-strncmp.c (TEST_NAME): Likewise.
8565 * string/test-strncpy.c (TEST_NAME): Likewise.
8566 * string/test-strnlen.c (TEST_NAME): Likewise.
8567 * string/test-strpbrk.c (TEST_NAME): Likewise.
8568 * string/test-strrchr.c (TEST_NAME): Likewise.
8569 * string/test-strspn.c (TEST_NAME): Likewise.
8570 * string/test-strstr.c (TEST_NAME): Likewise.
8571 * string/test-bcopy-ifunc.c: New file.
8572 * string/test-bzero-ifunc.c: Likewise.
8573 * string/test-memccpy-ifunc.c: Likewise.
8574 * string/test-memchr-ifunc.c: Likewise.
8575 * string/test-memcmp-ifunc.c: Likewise.
8576 * string/test-memcpy-ifunc.c: Likewise.
8577 * string/test-memmem-ifunc.c: Likewise.
8578 * string/test-memmove-ifunc.c: Likewise.
8579 * string/test-mempcpy-ifunc.c: Likewise.
8580 * string/test-memset-ifunc.c: Likewise.
8581 * string/test-rawmemchr-ifunc.c: Likewise.
8582 * string/test-stpcpy-ifunc.c: Likewise.
8583 * string/test-stpncpy-ifunc.c: Likewise.
8584 * string/test-strcasecmp-ifunc.c: Likewise.
8585 * string/test-strcasestr-ifunc.c: Likewise.
8586 * string/test-strcat-ifunc.c: Likewise.
8587 * string/test-strchr-ifunc.c: Likewise.
8588 * string/test-strchrnul-ifunc.c: Likewise.
8589 * string/test-strcmp-ifunc.c: Likewise.
8590 * string/test-strcpy-ifunc.c: Likewise.
8591 * string/test-strcspn-ifunc.c: Likewise.
8592 * string/test-strlen-ifunc.c: Likewise.
8593 * string/test-strncasecmp-ifunc.c: Likewise.
8594 * string/test-strncat-ifunc.c: Likewise.
8595 * string/test-strncmp-ifunc.c: Likewise.
8596 * string/test-strncpy-ifunc.c: Likewise.
8597 * string/test-strnlen-ifunc.c: Likewise.
8598 * string/test-strpbrk-ifunc.c: Likewise.
8599 * string/test-strrchr-ifunc.c: Likewise.
8600 * string/test-strspn-ifunc.c: Likewise.
8601 * string/test-strstr-ifunc.c: Likewise.
8603 * debug/Makefile (tests-ifunc): New variable.
8604 (tests): Add $(tests-ifunc).
8605 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8606 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8607 * debug/test-stpcpy_chk-ifunc.c: New file.
8608 * debug/test-strcpy_chk-ifunc.c: Likewise.
8610 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8613 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8614 header is not read in.
8616 2012-10-19 Joseph Myers <joseph@codesourcery.com>
8618 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8619 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8620 directly. Pass built executable to script as
8621 $(built-program-cmd).
8622 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8623 $testprogram without using LD_LIBRARY_PATH and $ldso.
8625 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8626 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8627 $(rtld-installed-name).
8628 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8629 (rtld_installed_name): Likewise.
8630 (library_path): Likewise.
8631 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8632 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8633 $(run-program-prefix) to tst-tables.sh.
8634 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8635 it to run tst-table-from and tst-table-to.
8636 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8637 Pass it to tst-table.sh.
8638 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8639 $(run-program-prefix) to tst-gettext.sh.
8640 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8642 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8644 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8646 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8647 to run tst-gettext2.
8648 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8649 to run tst-translit.
8650 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8651 $(run-program-prefix) to tst-mtrace.sh.
8652 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8654 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8655 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8656 $(rtld-installed-name).
8657 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8658 (rtld_installed_name): Likewise.
8659 (run_program_prefix): New variable. Use it to run wordexp-test.
8661 * Makeconfig (ARCH): Remove all definitions.
8662 (machine): Likewise.
8663 [ARCH]: Remove conditional code.
8664 [!objdir]: Give error.
8665 [!objdir] (objpfx): Remove.
8666 [!objdir] (common-objpfx): Likewise.
8667 [!objdir] (common-objdir): Likewise.
8668 * configure.in (config_makefile): Remove. Hardcode Makefile in
8669 AC_CONFIG_FILES call.
8670 * configure: Regenerated.
8673 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8675 (testout): Likewise.
8677 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8678 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8679 $(rtld-installed-name).
8680 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8681 (rtld_installed_name): Likwise.
8682 (runit): Remove function.
8683 (run_getconf): New variable, Use it for running getconf binary.
8685 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8688 * string/test-memmem.c (check_result): New function.
8689 (do_one_test): Use it.
8690 (check1): New function.
8691 (test_main): Use it.
8693 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8695 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8697 2012-10-18 Joseph Myers <joseph@codesourcery.com>
8699 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8700 (_G_LSEEK64): Likewise.
8701 (_G_MMAP64): Likewise.
8702 (_G_FSTAT64): Likewise.
8703 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8704 (_G_LSEEK64): Likewise.
8705 (_G_MMAP64): Likewise.
8706 (_G_FSTAT64): Likewise.
8707 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8708 unconditional. Call __mmap64 directly.
8709 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8710 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8712 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8713 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8715 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8716 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8718 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8719 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8721 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8722 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8724 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8725 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8726 __fxstat64 directly.
8727 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8728 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8730 (freopen64) [!_G_OPEN64]: Remove conditional code.
8731 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8733 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8734 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8736 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8737 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8739 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8740 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8742 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8743 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8745 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8746 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8748 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8749 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8751 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8753 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8756 * manual/memory.texi (Malloc Tunable Parameters): Add note
8757 about free list pointers overwriting some perturb bytes.
8758 Wording suggested by Roland McGrath.
8760 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8762 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8763 (lgamma_test): Likewise.
8764 (tgamma_test): Likewise.
8766 2012-10-16 Florian Weimer <fweimer@redhat.com>
8769 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8770 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8772 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8774 * NEWS: Mention BZ #14716.
8775 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8776 when removing AVAILABLE1_USES_J macro.
8778 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8780 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8781 (__bswap_64): __uint64_t for unsigned 64-bit int.
8783 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8785 * include/string.h (memmem): Declare libc hidden alias.
8786 * string/memmem.c (memmem): Define libc hidden alias.
8787 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8788 __read, __close instead of open, read, close.
8790 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8792 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8793 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8795 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8796 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8797 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8799 (__rawmemchr_sse2): Likewise.
8800 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8801 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8802 (__strchr_sse2): Likewise.
8803 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8804 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8805 (__strcasecmp_sse2): Likewise.
8806 (__strncasecmp_sse2): Likewise.
8807 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8808 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8809 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8810 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8811 (__strrchr_sse2): Likewise.
8812 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8814 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8815 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8816 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8817 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8818 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8819 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8820 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8821 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8822 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8823 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8824 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8825 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8826 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8827 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8828 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8829 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8830 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8831 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8832 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8833 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8834 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8835 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8836 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8837 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8838 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8839 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8840 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8841 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8842 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8843 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8845 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8847 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8848 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8849 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8850 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8852 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8854 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8855 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8856 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8857 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8859 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8860 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8861 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8862 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8863 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8864 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8865 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8866 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8867 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8868 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8869 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8870 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8871 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8872 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8873 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8874 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8875 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8876 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8877 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8878 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8879 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8880 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8881 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8882 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8883 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8884 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8885 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8886 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8887 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8888 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8889 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8890 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8891 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8892 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8893 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8894 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8895 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8896 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8897 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8898 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8899 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8901 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8902 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8903 * include/ifunc-impl-list.h: New file.
8904 * misc/ifunc-impl-list.c: Likewise.
8905 * misc/Makefile (routines): Add ifunc-impl-list.
8906 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8907 * string/test-string.h: Include <ifunc-impl-list.h>.
8908 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8909 impl_array): New variables.
8910 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8912 (test_init): Call __libc_ifunc_impl_list to initialize
8913 func_list if TEST_IFUNC and TEST_NAME are defined.
8915 * string/Makefile (strop-tests): Add bcopy and bzero.
8916 * string/test-bcopy.c: New file.
8917 * string/test-bzero.c: Likewise.
8918 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8920 * string/test-memset.c: Support bzero test if TEST_BZERO is
8922 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8924 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8926 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8929 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8931 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8932 * configure: Regenerated.
8934 * Makeconfig (+link-static-before-libc): Don't include
8935 $(link-static-libc).
8937 * libio/libio.h (_IO_pos_t): Remove.
8939 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8941 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8944 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8946 * crypt/crypt-entry.c: Include fips-private.h.
8947 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8948 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8949 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8950 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8952 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8954 * crypt/crypt-private.h: Include stdbool.h.
8955 (_ufc_setup_salt_r): Return bool.
8956 * crypt/crypt-entry.c: Include errno.h.
8957 (__crypt_r): Return NULL with EINVAL for bad salt.
8958 * crypt/crypt_util.c (bad_for_salt): New.
8959 (_ufc_setup_salt_r): Check that salt is long enough and within
8960 the specified alphabet.
8961 * crypt/badsalttest.c: New file.
8962 * crypt/Makefile (tests): Add it.
8963 ($(objpfx)badsalttest): New.
8965 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8967 * NEWS: Add entry for BZ #14602.
8969 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8971 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8973 * math/libm-test.inc: Update comment listing what functions and
8975 (isgreater_test): New function.
8976 (isgreaterequal_test): Likewise.
8977 (isless_test): Likewise.
8978 (islessequal_test): Likewise.
8979 (islessgreater_test): Likewise.
8980 (isunordered_test): Likewise.
8981 (main): Call the new functions.
8983 2012-10-09 Roland McGrath <roland@hack.frob.com>
8985 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8986 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8987 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8988 * sysdeps/i386/configure: Regenerated.
8989 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8990 * sysdeps/mach/configure: Regenerated.
8991 * sysdeps/mach/hurd/configure: Regenerated.
8992 * sysdeps/powerpc/configure: Regenerated.
8993 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8994 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8995 * sysdeps/s390/s390-32/configure: Regenerated.
8996 * sysdeps/s390/s390-64/configure: Regenerated.
8997 * sysdeps/sh/configure: Regenerated.
8998 * sysdeps/sparc/configure: Regenerated.
8999 * sysdeps/unix/sysv/linux/configure: Regenerated.
9000 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9001 * sysdeps/x86_64/configure: Regenerated.
9003 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9004 defined. Don't check if MAP is NULL.
9006 2012-10-09 Joseph Myers <joseph@codesourcery.com>
9008 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9009 (_G_stat64): Likewise.
9010 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9011 (_G_stat64): Likewise.
9012 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9013 instead of struct _G_stat64.
9014 * libio/fileops.c (mmap_remap_check): Likewise.
9015 (decide_maybe_mmap): Likewise.
9016 (_IO_new_file_seekoff): Likewise.
9017 (_IO_file_stat): Likewise.
9018 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9020 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9021 instead of struct _G_stat64.
9022 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9024 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9027 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9029 (CHECK_EOL): New macro.
9030 (two_way_short_needle): Check beginning of haystack for EOL. Use
9032 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9033 Replace with CHECK_EOL.
9034 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9035 Replace with CHECK_EOL.
9037 2012-10-08 Joseph Myers <joseph@codesourcery.com>
9039 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9041 * math/libm-test.inc: Update comment listing what functions and
9043 (finite_test): New function.
9044 (isinf_test): Likewise.
9045 (isnan_test): Likewise.
9046 (fpclassify_test): Test subnormal input.
9047 (isfinite_test): Likewise.
9048 (isnormal_test): Likewise.
9049 (main): Call the new functions.
9051 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9054 * Makerules (%.dynsym): Force C locale when running
9055 $(OBJDUMP) --dynamic-syms.
9057 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9059 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9062 2012-10-06 David S. Miller <davem@davemloft.net>
9064 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9065 upper 32-bits of the length value in %o2 since we use branch-on-register
9066 tests which consider the entire 64-bit register.
9068 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9070 * string/test-strstr.c (check2): Add a test for page boundary.
9072 2012-10-05 David S. Miller <davem@davemloft.net>
9074 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9075 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9077 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9079 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9080 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9081 and bzero when HWCAP_SPARC_CRYPTO is present.
9083 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9086 * string/test-strstr.c (check2): New function.
9087 (test_main): Call check2.
9089 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9091 * string/bug-strcasestr1.c (do_test): Moved to ...
9092 * string/test-strcasestr.c (check1): Here. New function.
9093 (do_one_test): Break out result checking code into ...
9094 (check_result): This. New function.
9095 (do_one_test): Call check_result.
9096 (test_main): Call check1.
9097 * string/bug-strchr1.c (do_test): Moved to ...
9098 * string/test-strchr.c (check1): Here. New function.
9099 (do_one_test): Break out result checking code into ...
9100 (check_result): This. New function.
9101 (do_one_test): Call check_result.
9102 (test_main): Call check1.
9103 * string/bug-strstr1.c (main): Moved to ...
9104 * string/test-strstr.c (check1): Here. New function.
9105 (do_one_test): Break out result checking code into ...
9106 (check_result): This. New function.
9107 (do_one_test): Call check_result.
9108 (test_main): Call check1.
9109 * string/bug-strcasestr1.c: Removed.
9110 * string/bug-strchr1.c: Likewise.
9111 * string/bug-strstr1.c: Likewise.
9113 * elf/Makefile (dl-routines): Add hwcaps.
9114 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9115 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9116 (_dl_important_hwcaps): Moved to ...
9117 * elf/dl-hwcaps.c: Here. New file.
9118 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9121 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9122 if IS_IN_rtld isn't defined.
9124 * elf/dl-support.c (_dl_sysinfo_map): New.
9125 Include "get-dynamic-info.h" and "setup-vdso.h".
9126 (_dl_non_dynamic_init): Call setup_vdso.
9127 * elf/dynamic-link.h: Don't include <assert.h>.
9128 (elf_get_dynamic_info): Moved to ...
9129 * elf/get-dynamic-info.h: Here. New file.
9130 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9131 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9132 * elf/setup-vdso.h: Here. New file.
9133 * elf/rtld.c: Include "setup-vdso.h".
9134 (dl_main): Call setup_vdso.
9136 2012-10-05 Joseph Myers <joseph@codesourcery.com>
9138 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9139 creal in comment listing functions tested. List finite, isinf,
9140 isnan, isless, islessequal, isgreater, isgreaterequal,
9141 islessgreater, isunordered, lgamma_r and pow10 as functions and
9142 macros not tested. Mention which functions not tested are aliases
9143 for other functions. Fix typo. Note that signs of NaNs are not
9146 * scripts/config.guess: Update from config.git.
9147 * scripts/config.sub: Likewise.
9149 2012-10-04 Roland McGrath <roland@hack.frob.com>
9151 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9152 * misc/madvise.c (madvise): Renamed to __madvise.
9153 Make madvise a weak alias.
9154 * include/sys/mman.h: Declare __madvise.
9155 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9156 * sysdeps/unix/syscalls.list
9157 (madvise): Make __madvise the strong name, and madvise a weak alias.
9158 * sysdeps/unix/sysv/linux/syscalls.list
9159 (madvise, mmap): Remove redundant entries.
9160 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9161 * malloc/malloc.c (mtrim): Likewise.
9162 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9164 2012-10-03 Roland McGrath <roland@hack.frob.com>
9166 * sysdeps/mach/hurd/dl-cache.c: File removed.
9167 * config.h.in (USE_LDCONFIG): New #undef.
9168 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9169 * configure: Regenerated.
9170 * elf/Makefile (dl-routines): Add dl-cache only under
9171 [$(use-ldconfig) = yes].
9172 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9173 cache on [USE_LDCONFIG].
9174 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9176 * elf/rtld.c (dl_main): Likewise.
9178 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9180 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9181 _SC_LEVEL4_CACHE_LINESIZE.
9183 2012-10-03 Roland McGrath <roland@hack.frob.com>
9185 * sysdeps/unix/bsd/confstr.h: File removed.
9187 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
9189 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9192 2012-10-02 Roland McGrath <roland@hack.frob.com>
9194 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9195 Make 'mapoff' field ElfW(Off) rather than off_t.
9197 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9199 * nscd/Makefile: Remove nscd-cflags and all its users.
9200 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9201 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9204 * malloc.c (malloc_printerr): Clarify error message.
9206 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9210 Set bit_FMA_Usable if FMA is supported.
9211 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9213 (bit_FMA4_Usable): Updated.
9214 (index_FMA_Usable): New macro.
9215 (CPUID_FMA): Likewise
9216 (HAS_FMA): Defined with bit_FMA_Usable.
9218 2012-10-01 Roland McGrath <roland@hack.frob.com>
9220 * bits/types.h (__swblk_t): Type removed.
9221 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9222 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9223 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9224 (__SWBLK_T_TYPE): Likewise.
9225 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9226 (__SWBLK_T_TYPE): Likewise.
9227 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9228 (__SWBLK_T_TYPE): Likewise.
9229 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9230 (__SWBLK_T_TYPE): Likewise.
9232 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
9233 Honza Horak <hhorak@redhat.com>
9235 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9236 (xdr_mapname): Use YPMAXMAP as maxsize.
9237 (xdr_peername): Use YPMAXPEER as maxsize.
9238 (xdr_keydat): Use YPAXRECORD as maxsize.
9239 (xdr_valdat): Use YPMAXRECORD as maxsize.
9241 2012-10-01 Roland McGrath <roland@hack.frob.com>
9243 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9245 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9246 * csu/init-first.c: ... here.
9247 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9248 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9249 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9250 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9251 * sysdeps/i386/init-first.c: File removed.
9252 * sysdeps/sh/init-first.c: File removed.
9254 2012-10-01 Joseph Myers <joseph@codesourcery.com>
9257 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9258 if x * y might underflow to zero and z is zero.
9259 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9260 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9261 * math/libm-test.inc (min_subnorm_value): New variable.
9262 (fma_test): Add more tests.
9263 (fma_test_towardzero): Likewise.
9264 (fma_test_downward): Likewise
9265 (fma_test_upward): Likewise.
9266 (initialize): Set min_subnorm_value.
9268 2012-09-29 Joseph Myers <joseph@codesourcery.com>
9271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9273 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9274 mode for addition resulting in exact zero.
9275 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9276 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9278 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9279 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9280 * math/libm-test.inc (fma_test): Add more tests.
9281 (fma_test_towardzero): New function.
9282 (fma_test_downward): Likewise.
9283 (fma_test_upward): Likewise.
9284 (main): Call the new functions.
9286 2012-09-28 David S. Miller <davem@davemloft.net>
9288 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9290 2012-09-28 Roland McGrath <roland@hack.frob.com>
9292 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9295 * sysdeps/gnu/_G_config.h: Moved to ...
9296 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9297 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9298 * sysdeps/generic/_G_config.h: ... here.
9300 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9302 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9304 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9305 Conditionalize target on [libnss_test1.so-version].
9307 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9309 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9310 (elfobjdir): Move out of conditionals.
9312 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9313 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9314 (__nss_lookup_function): Conditionalize label remove_from_tree on
9315 [!DO_STATIC_NSS || SHARED], matching its only use.
9317 2012-09-28 David S. Miller <davem@davemloft.net>
9319 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9320 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9322 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9324 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9325 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9326 when HWCAP_SPARC_CRYPTO is present.
9328 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9330 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9332 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9335 * stdio-common/vfprintf.c (process_string_arg): Revert
9338 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9340 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9342 * stdio-common/tst-sprintf.c: Include <locale.h>
9343 (main): Test sprintf's handling of incomplete multibyte
9346 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9348 * elf/dl-runtime.c (VERSYMIDX): Removed.
9349 * elf/dl-version.c (VERSYMIDX): Likewise.
9350 * elf/do-rel.h (VERSYMIDX): Likewise.
9352 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9353 * elf/rtld.c (VALIDX): Likewise.
9354 (ADDRIDX): Likewise.
9355 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9356 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9357 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9358 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9360 (ADDRIDX): Likewise.
9362 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9364 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9366 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9369 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9371 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9372 addresses are in the same scope as 192.0.2/24.
9373 * posix/gai.conf: Document new scope table defaults.
9375 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9378 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9379 for ftell. Compute offsets from write pointers instead.
9380 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9382 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9385 * libio/Makefile (tests): New test case tst-fseek.
9386 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9387 combination works in wide mode.
9388 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9389 state when the external buffer state changes.
9391 2012-09-27 David S. Miller <davem@davemloft.net>
9394 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9395 pass reloc->r_addend in as the 'high' argument to
9396 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9400 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9402 * rt/tst-aio2.c: Include <pthread.h>.
9403 * rt/tst-aio3.c: Likewise.
9405 2012-09-27 Steve Ellcey <sellcey@mips.com>
9407 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9409 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9411 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9412 contents on [SHARED].
9414 2012-09-26 Marek Polacek <polacek@redhat.com>
9418 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9419 for C++ and GCC <4.3 as well as for non GCC compilers.
9421 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9425 2012-09-25 Roland McGrath <roland@hack.frob.com>
9427 * Makefile.in (all, install): Declare with .PHONY.
9428 Reported by Michael Hope <michael.hope@linaro.org>.
9430 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9432 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9433 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9435 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9437 (sydep_routines): Add the new and the internal functions.
9438 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9439 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9441 (GLIBC_2.17): Add the new function.
9442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9443 (GLIBC_2.17): Likewise.
9444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9445 (GLIBC_2.17): Likewise.
9446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9447 (GLIBC_2.17): Likewise.
9448 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9450 2012-09-25 Alan Modra <amodra@gmail.com>
9452 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9453 Add release barrier before setting once_control to say
9454 initialisation is done. Add hints on lwarx. Use macro in
9456 (clear_once_control): Add release barrier.
9458 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9461 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9463 * math/s_clog10.c (__clog10): Likewise.
9464 * math/s_clog10f.c (__clog10f): Likewise.
9465 * math/s_clog10l.c (__clog10l): Likewise.
9466 * math/s_clogf.c (__clogf): Likewise.
9467 * math/s_clogl.c (__clogl): Likewise.
9468 * math/Makefile (libm-calls): Add x2y2m1.
9469 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9470 (__x2y2m1): Likewise.
9471 (__x2y2m1l): Likewise.
9472 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9473 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9474 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9475 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9476 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9477 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9478 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9479 * sysdeps/i386/fpu/libm-test-ulps: Update.
9480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9483 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9484 int as type of variable DEPTH.
9485 (glob): Use size_t instead of int as type of variables NEWCOUNT
9488 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9490 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9492 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9493 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9494 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9495 macros for using routine as __sincosf_ia32.
9496 Use macro for function declaration and weak_alias.
9497 * sysdeps/i386/fpu/libm-test-ulps: Update.
9499 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9500 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9502 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
9504 * math/s_cexpf.c (__cexpf): Likewise.
9505 * math/s_csinf.c (__csinf): Likewise.
9506 * math/s_csinhf.c (__csinhf): Likewise.
9507 * math/s_ctanf.c (__ctanf): Likewise.
9508 * math/s_ctanhf.c (__ctanhf): Likewise.
9509 * math/s_ccosh.c (__ccoshf): Likewise.
9510 * math/s_cexp.c (__cexpl): Likewise.
9511 * math/s_csin.c (__csin): Likewise.
9512 * math/s_csinh.c (__csinh): Likewise.
9513 * math/s_ctan.c (__ctan): Likewise.
9514 * math/s_ctanh.c (ctanh): Likewise.
9515 * math/s_ccoshl.c (__ccoshl): Likewise.
9516 * math/s_cexpl.c (__cexpl): Likewise.
9517 * math/s_csinl.c (__csinl): Likewise.
9518 * math/s_csinhl.c (__csinhl): Likewise.
9519 * math/s_ctanl.c (__ctanl): Likewise.
9520 * math/s_ctanhl.c (__ctanhl): Likewise.
9522 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9524 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9525 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9526 (_IO_off_t): Define to __off_t, not _G_off_t.
9527 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9528 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9529 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9530 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9531 type of __dummy and __dummy2 fields.
9532 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9533 (_G_ssize_t): Likewise.
9534 (_G_off_t): Likewise.
9535 (_G_pid_t): Likewise.
9536 (_G_uid_t): Likewise.
9537 (_G_wchar_t): Likewise.
9538 (_G_wint_t): Likewise.
9539 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9540 (_G_ssize_t): Likewise.
9541 (_G_off_t): Likewise.
9542 (_G_pid_t): Likewise.
9543 (_G_uid_t): Likewise.
9544 (_G_wchar_t): Likewise.
9545 (_G_wint_t): Likewise.
9546 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9547 (_G_ssize_t): Likewise.
9548 (_G_off_t): Likewise.
9549 (_G_pid_t): Likewise.
9550 (_G_uid_t): Likewise.
9551 (_G_wchar_t): Likewise.
9552 (_G_wint_t): Likewise.
9554 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9556 * malloc/arena.c: Include malloc-sysdep.h.
9557 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9558 is sufficient to shrink the heap or an unmap is needed.
9559 * sysdeps/generic/malloc-sysdep.h: New file. Define
9560 new function check_may_shrink_heap.
9561 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9562 new function check_may_shrink_heap.
9564 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9566 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9569 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9571 * catgets/test-gencat.sh: Add "set -e".
9572 * elf/tst-pathopt.sh: Likewise.
9573 * grp/tst_fgetgrent.sh: Likewise.
9574 * iconvdata/run-iconv-test.sh: Likewise.
9575 * intl/tst-gettext.sh: Likewise.
9576 * intl/tst-gettext2.sh: Likewise.
9577 * intl/tst-gettext4.sh: Likewise.
9578 * intl/tst-gettext6.sh: Likewise.
9579 * intl/tst-translit.sh: Likewise.
9580 * io/ftwtest-sh: Likewise.
9581 * libio/test-freopen.sh: Likewise.
9582 * malloc/tst-mtrace.sh: Likewise.
9583 * posix/globtest.sh: Likewise.
9584 * posix/tst-getconf.sh: Likewise.
9585 * posix/wordexp-tst.sh: Likewise.
9586 * stdio-common/tst-printf.sh: Likewise.
9587 * stdio-common/tst-unbputc.sh: Likewise.
9588 * stdlib/tst-fmtmsg.sh: Likewise.
9589 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9590 * catgets/Makefile: Do not specify -e option when running
9591 testsuite shell scripts.
9592 * elf/Makefile: Likewise.
9593 * grp/Makefile: Likewise.
9594 * iconvdata/Makefile: Likewise.
9595 * intl/Makefile: Likewise.
9596 * io/Makefile: Likewise.
9597 * libio/Makefile: Likewise.
9598 * malloc/Makefile: Likewise.
9599 * posix/Makefile: Likewise.
9600 * stdio-common/Makefile: Likewise.
9601 * stdlib/Makefile: Likewise.
9602 * sysdeps/x86_64/Makefile: Likewise.
9604 * io/ftwtest-sh: Add copyright header.
9605 * posix/globtest.sh: Likewise.
9606 * posix/tst-getconf.sh: Likewise.
9607 * posix/wordexp-tst.sh: Likewise.
9608 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9610 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9613 * Makeconfig (+link): Defined as $(+link-static) if
9614 $(build-shared) isn't yes.
9615 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9617 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9619 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9622 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9623 new chunk size with MALLOC_ALIGN_MASK.
9625 2012-09-24 Joseph Myers <joseph@codesourcery.com>
9628 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9630 (__printf_fphex): Determine rounding using get_rounding_mode and
9632 * stdio-common/tst-printf-round.c (struct hex_test): New
9634 (hex_tests): New variable.
9635 (test_hex_in_one_mode): New function.
9636 (do_test): Also run tests for hex float output.
9638 2012-09-21 Joseph Myers <joseph@codesourcery.com>
9640 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9641 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9642 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9643 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9644 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9645 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9646 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9647 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9649 2012-09-20 Joseph Myers <joseph@codesourcery.com>
9651 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9652 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9653 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9654 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9656 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9659 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9661 * elf/tst-rtld-load-self.sh: New test.
9662 * elf/Makefile: Run it.
9664 2012-09-18 Joseph Myers <joseph@codesourcery.com>
9666 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9667 (tst-writev-ENV): Remove.
9668 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9670 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9672 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9674 2012-09-17 Joseph Myers <joseph@codesourcery.com>
9676 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9678 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9680 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9681 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9682 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9685 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9688 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9689 * config.make.in (have-cpp-asm-debuginfo): Removed.
9690 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9691 * configure: Regenerated.
9693 2012-09-14 Joseph Myers <joseph@codesourcery.com>
9696 * stdio-common/printf_fp.c: Include <stdbool.h> and
9698 (___printf_fp): Determine rounding using get_rounding_mode and
9700 * stdio-common/tst-printf-round.c: New file.
9701 * stdio-common/Makefile (tests): Add tst-printf-round.
9702 (link-libm): New variable.
9703 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9705 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9708 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9709 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9711 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9714 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9716 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9717 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9718 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9719 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9721 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9724 * include/rounding-mode.h: New file.
9725 * sysdeps/generic/get-rounding-mode.h: Likewise.
9726 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9727 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9728 (MAX_VALUE): New macro.
9729 (MIN_VALUE): Likewise.
9730 (overflow_value): New function.
9731 (underflow_value): Likewise.
9732 (round_and_return): Use overflow_value and underflow_value to
9733 determine return values in overflow and underflow cases. Use
9734 round_away to determine rounding depending on rounding mode.
9735 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9736 determine return values in overflow and underflow cases.
9737 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9738 (struct test_results): New structure.
9739 (struct test): Use struct test_results to store expected results
9740 for all rounding modes.
9741 (TEST): Include expected results for all rounding modes.
9742 (test_in_one_mode): New function.
9743 (do_test): Use test_in_one_mode to compute and check results.
9744 Check results for all rounding modes.
9745 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9748 2012-12-09 Allan McRae <allan@archlinux.org>
9750 * sysdeps/i386/fpu/libm-test-ulps: Update
9752 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9754 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9755 (_G_int32_t): Likewise.
9756 (_G_uint16_t): Likewise.
9757 (_G_uint32_t): Likewise.
9758 (_G_HAVE_BOOL): Likewise.
9759 (_G_HAVE_ATEXIT): Likewise.
9760 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9761 (_G_HAVE_IO_FILE_OPEN): Likewise.
9762 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9763 (_G_int32_t): Likewise.
9764 (_G_uint16_t): Likewise.
9765 (_G_uint32_t): Likewise.
9766 (_G_HAVE_BOOL): Likewise.
9767 (_G_HAVE_ATEXIT): Likewise.
9768 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9769 (_G_HAVE_IO_FILE_OPEN): Likewise.
9770 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9771 (_G_int32_t): Likewise.
9772 (_G_uint16_t): Likewise.
9773 (_G_uint32_t): Likewise.
9774 (_G_HAVE_BOOL): Likewise.
9775 (_G_HAVE_ATEXIT): Likewise.
9776 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9777 (_G_HAVE_IO_FILE_OPEN): Likewise.
9779 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9781 * csu/libc-tls.c: Update copyright years.
9783 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9785 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9786 [!_G_USING_THUNKS]: Remove conditional code.
9787 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9788 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9790 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9791 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9792 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9793 (_G_VTABLE_LABEL_PREFIX): Likewise.
9794 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9795 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9796 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9797 (_G_VTABLE_LABEL_PREFIX): Likewise.
9798 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9799 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9800 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9801 (_G_VTABLE_LABEL_PREFIX): Likewise.
9802 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9804 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9806 * libio/Makefile: Include ../Makeconfig before tests.
9807 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9808 only if $(build-shared) is yes.
9810 * iconv/gconv_db.c: Update copyright years.
9812 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9814 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9815 unwind info if defined PIC. Fix special cases description.
9816 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9818 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9820 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9822 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9824 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9826 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9829 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9830 (LDLIBS-tst-chk4): This.
9831 (LDFLAGS-tst-chk5): Renamed to ...
9832 (LDLIBS-tst-chk5): This.
9833 (LDFLAGS-tst-chk6): Renamed to ...
9834 (LDLIBS-tst-chk6): This.
9835 (LDFLAGS-tst-lfschk4): Renamed to ...
9836 (LDLIBS-tst-lfschk4): This.
9837 (LDFLAGS-tst-lfschk5): Renamed to ...
9838 (LDLIBS-tst-lfschk5): This.
9839 (LDFLAGS-tst-lfschk6): Renamed to ...
9840 (LDLIBS-tst-lfschk6): This.
9842 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9843 on $(common-objpfx)soversions.mk.
9845 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9848 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9851 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9853 * malloc/arena.c (arena_get_retry): New function that gets
9854 another arena for the caller to try its request on.
9855 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9856 current arena cannot fulfill the request.
9857 (__libc_memalign): Likewise.
9858 (__libc_memalign): Likewise.
9859 (__libc_pvalloc): Likewise.
9860 (__libc_calloc): Likewise.
9862 2012-09-05 John Tobey <john.tobey@gmail.com>
9865 * manual/arith.texi (Operations on Complex): Fix description
9868 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9871 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9875 * manual/memory.texi (Memory): Make order of menu items match
9878 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9880 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9881 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9882 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9884 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9886 * csu/libc-tls.c (static_dtv): Renamed to ...
9887 (_dl_static_dtv): This. Make it global.
9888 (_dl_initial_dtv): Removed.
9889 (__libc_setup_tls): Updated.
9890 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9891 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9894 2012-09-06 Petr Machata <pmachata@redhat.com>
9896 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9897 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9898 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9899 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9901 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9904 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9905 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9908 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9911 * Makeconfig (link-static-before-libc): Replace $(+prector)
9913 (link-static-after-libc): Replace $(+postctor) with
9915 (link-bounded): Replace $(+prector)/$(+postctor) with
9916 $(+prectorT)/$(+postctorT).
9917 (+prectorT): New macro.
9918 (+postctorT): Likewise.
9920 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9922 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9923 (round_str): Handle values above the maximum for IBM long double
9925 * stdlib/tst-strtod-round.c (tests): Regenerated.
9927 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9929 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9931 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9932 zarch_nohighgprs around the zarch optimized routines.
9933 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9934 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9935 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9938 2012-09-05 David S. Miller <davem@davemloft.net>
9940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9942 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9943 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9944 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9945 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9948 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9950 * malloc/arena.c: Fold copyright years.
9951 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9953 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9955 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9957 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9959 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9961 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9963 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9964 change internal state upon failure.
9966 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9968 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9969 * malloc/memusage.c (mmap): Likewise.
9970 (mmap64, mremap): Likewise. Adjust name in comment.
9972 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9974 * libio/fileops.c: Fix typos in comments.
9975 * libio/oldfileops.c: Likewise.
9976 * libio/wfileops.c: Likewise.
9978 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9981 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9982 (tst-malloc-usable-ENV): Set environment for test case.
9983 * malloc/hooks.c (malloc_check_get_size): New function to get
9985 * malloc/malloc.c (musable): Use malloc_check_get_size.
9986 * malloc/tst-malloc-usable.c: New test case.
9988 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9990 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9992 2012-09-05 Allan McRae <allan@archlinux.org>
9995 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9996 determine header location.
9997 * configure: Regenerated.
9999 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10001 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10003 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
10004 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10006 (test): Regenerate.
10008 2012-09-04 David S. Miller <davem@davemloft.net>
10010 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10011 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10012 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10014 2012-09-04 Florian Weimer <fweimer@redhat.com>
10016 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10019 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10021 2012-09-04 Joseph Myers <joseph@codesourcery.com>
10024 * libio/iogetdelim.c: Include <limits.h>.
10025 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10026 + len + 1 would overflow.
10028 2012-09-03 Andreas Jaeger <aj@suse.de>
10030 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10031 * sysdeps/i386/fpu/libm-test-ulps: Update.
10033 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10035 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10036 Add s_sinf-sse2, s_conf-sse2.
10038 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10039 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10040 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10041 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10043 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10044 for using routine as __sinf_ia32.
10045 Use macro for function declaration and weak_alias.
10046 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10047 for using routine as __cosf_ia32.
10048 Use macro for function declaration and weak_alias.
10050 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10051 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10053 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10054 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10057 * math/libm-test.inc (cos_test): Add more test cases.
10058 (sin_test): Likewise.
10059 (sincos_test): Likewise.
10061 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10063 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10064 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10066 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10068 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10071 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10072 first element of the GOT.
10073 (elf_machine_load_address): Return the difference between
10074 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10076 2012-09-01 Allan McRae <allan@archlinux.org>
10079 * configure.in (AWK): Require gawk version 3.0 or later.
10080 * configure: Regenerated.
10082 2012-09-01 Joseph Myers <joseph@codesourcery.com>
10084 * sysdeps/unix/sysv/linux/kernel-features.h
10085 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10086 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10087 [__NR_clock_getres]: Make code unconditional.
10088 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10089 (clock_getcpuclockid): Remove code left unreachable by removal of
10091 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10092 code unconditional.
10093 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10094 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10095 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10096 Make code unconditional.
10097 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10098 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10099 * sysdeps/unix/sysv/linux/clock_settime.c
10100 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10102 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10103 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10105 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10108 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10109 scripts/test-installation.pl.
10111 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10112 and $ld_so_version if it is set.
10114 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10117 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10118 failure if reading from procfs failed.
10119 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10121 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10123 * sysdeps/unix/sysv/linux/kernel-features.h
10124 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10125 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10126 Remove conditional code.
10127 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10128 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10129 Remove conditional code.
10130 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10131 * sysdeps/unix/sysv/linux/i386/fxstat.c
10132 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10133 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10134 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10135 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10136 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10137 * sysdeps/unix/sysv/linux/i386/lxstat.c
10138 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10139 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10140 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10141 Remove conditional code.
10142 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10143 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10144 Remove conditional code.
10145 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10146 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10147 <kernel-features.h>.
10148 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10150 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10151 Remove conditional code.
10152 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10153 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10154 Remove conditional.
10156 2012-08-27 Mike Frysinger <vapier@gentoo.org>
10159 * NEWS: Add fixed bug number.
10161 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10164 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10165 underflowing exponent in case of negative sign.
10166 * stdlib/tst-strtod-round-data: Add more tests.
10167 * stdlib/tst-strtod-round.c (tests): Regenerated.
10170 * stdlib/strtod_l.c (NDIG): Remove.
10171 (HEXNDIG): Likewise.
10172 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10173 smallest representable value.
10174 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10175 lie within an exact representation of 1/2 ulp of the result.
10176 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10178 (TENS_P9_IDX): Define unconditionally.
10179 (TENS_P9_SIZE): Likewise.
10180 (TENS_P10_IDX): Likewise.
10181 (TENS_P10_SIZE): Likewise.
10182 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10183 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10184 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10185 entries for 10^2^13 and 10^2^14.
10186 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10187 (TENS_P13_IDX): Define.
10188 (TENS_P13_SIZE): Likewise.
10189 (TENS_P14_IDX): Likewise.
10190 (TENS_P14_SIZE): Likewise.
10191 (_fpioconst_pow10): Change array size to
10192 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10194 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10195 1024]: Add entries for 10^2^13 and 10^2^14.
10196 [LAST_POW10 > _LAST_POW10]: Remove #error.
10197 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10198 (_fpioconst_pow10): Change array size to
10199 FPIOCONST_POW10_ARRAY_SIZE.
10200 * stdlib/gen-fpioconst.c: New file.
10201 * stdlib/gen-tst-strtod-round.c: Likewise.
10202 * stdlib/tst-strtod-round-data: Likewise.
10203 * stdlib/tst-strtod-round.c: Likewise.
10204 * stdlib/Makefile (tests): Add tst-strtod-round.
10207 * stdlib/strtod_l.c: Include <stdint.h>.
10208 (NDEBUG): Do not define.
10209 (round_and_return): Change EXPONENT parameter to type intmax_t.
10210 Rearrange calculations to avoid internal overflow possibilities.
10211 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10212 Rearrange calculations to avoid internal overflow possibilities.
10213 Assert that number fits inside MPNSIZE limbs.
10214 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10215 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10216 calculations and add assertions to avoid internal overflow
10217 possibilities. Add casts to avoid signed/unsigned operations.
10218 * stdlib/tst-strtod-overflow.c: New file.
10219 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10221 2012-08-25 Marek Polacek <polacek@redhat.com>
10223 * time/time.h: Fix some typos in comments.
10225 2012-08-23 Roland McGrath <roland@hack.frob.com>
10227 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10228 * posix/tst-rfc3484-2.c: Likewise.
10229 * posix/tst-rfc3484-3.c: Likewise.
10231 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10233 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10234 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10236 2012-08-23 Joseph Myers <joseph@codesourcery.com>
10238 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10239 #include of fxstatat64.c.
10241 2012-08-22 Roland McGrath <roland@hack.frob.com>
10243 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10244 * shadow/getspent_r.c: Likewise.
10245 * shadow/getspnam.c: Likewise.
10246 * shadow/getspnam_r.c: Likewise.
10247 * gshadow/getsgent.c: Likewise.
10248 * gshadow/getsgent_r.c: Likewise.
10249 * gshadow/getsgnam.c: Likewise.
10250 * gshadow/getsgnam_r.c: Likewise.
10251 * inet/getnetbyad.c: Likewise.
10252 * inet/getnetbyad_r.c: Likewise.
10253 * inet/getnetbynm.c: Likewise.
10254 * inet/getnetbynm_r.c: Likewise.
10255 * inet/getnetent.c: Likewise.
10256 * inet/getnetent_r.c: Likewise.
10257 * inet/getproto.c: Likewise.
10258 * inet/getproto_r.c: Likewise.
10259 * inet/getprtent.c: Likewise.
10260 * inet/getprtent_r.c: Likewise.
10261 * inet/getprtname.c: Likewise.
10262 * inet/getprtname_r.c: Likewise.
10263 * inet/getrpcbyname.c: Likewise.
10264 * inet/getrpcbyname_r.c: Likewise.
10265 * inet/getrpcbynumber.c: Likewise.
10266 * inet/getrpcbynumber_r.c: Likewise.
10267 * inet/getrpcent.c: Likewise.
10268 * inet/getrpcent_r.c: Likewise.
10269 * inet/getaliasent.c: Likewise.
10270 * inet/getaliasent_r.c: Likewise.
10271 * inet/getaliasname.c: Likewise.
10272 * inet/getaliasname_r.c: Likewise.
10273 * nscd/getgrgid_r.c: Likewise.
10274 * nscd/getgrnam_r.c: Likewise.
10275 * nscd/gethstbyad_r.c: Likewise.
10276 * nscd/gethstbynm3_r.c: Likewise.
10277 * nscd/getpwnam_r.c: Likewise.
10278 * nscd/getpwuid_r.c: Likewise.
10279 * nscd/getsrvbynm_r.c: Likewise.
10280 * nscd/getsrvbypt_r.c: Likewise.
10281 * nscd/gai.c: Likewise.
10283 * configure.in (build_nscd): New substituted variable, set
10284 by --disable-build-nscd and defaults to $use_nscd.
10285 * configure: Regenerated.
10286 * config.make.in (build-nscd): New substituted variable.
10287 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10288 Change conditional to require [$(build-nscd) = yes] as well.
10289 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10292 * configure.in (use_nscd): New substituted variable, set by
10293 --disable-nscd. If enabled, define USE_NSCD.
10294 * configure: Regenerated.
10295 * config.h.in: Add USE_NSCD.
10296 * config.make.in (use-nscd): New substituted variable.
10297 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10298 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10299 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10300 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10301 (CFLAGS-getgrnam_r.c): Likewise.
10302 (CFLAGS-initgroups.c): Likewise.
10303 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10304 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10306 * inet/getnetgrent_r.c
10307 (nscd_setnetgrent): New function, broken out of ...
10308 (setnetgrent): ... here. Call it.
10309 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10310 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10311 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10312 * nscd/Makefile (routines, aux): Move definitions after include of
10313 Makeconfig. Conditionalize on [$(use-nscd) != no].
10314 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10315 Conditionalize on [USE_NSCD].
10316 (is_nscd, nscd_init_cb): Likewise.
10317 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10318 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10319 * nss/nss_db/db-init.c: Likewise.
10320 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10322 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10323 (make_request): Use it.
10324 (cache_valid_p): New function.
10325 (__check_pf): Use it.
10326 * NEWS: Add item for --disable-nscd.
10328 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10330 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10331 to support sed >= 4.2.1-20-ga9bf076.
10332 * configure: Regenerated.
10334 2012-08-22 Roland McGrath <roland@hack.frob.com>
10336 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10337 Conditionalize whole body on [IREL].
10339 2012-08-22 Jeff Law <law@redhat.com>
10342 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10343 if the family is PF_UNSPEC.
10345 2012-08-22 Mike Frysinger <vapier@gentoo.org>
10347 * Makerules (lib-version): Rename from V.
10348 (install-lib-nosubdir): Change V to lib-version.
10350 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10353 * powerpc32/power6/wcschr.c: New file.
10354 * powerpc32/power6/wcscpy.c: New file.
10355 * powerpc32/power6/wcsrchr.c: New file.
10356 * powerpc64/power6/wcschr.c: New file.
10357 * powerpc64/power6/wcscpy.c: New file.
10358 * powerpc64/power6/wcsrchr.c: New file.
10360 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10362 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10363 (two_way_short_needle): Use it.
10364 * string/strstr.c (AVAILABLE1_USES_J): Define.
10365 * string/strcasestr.c: Likewise.
10367 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10369 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10372 * NEWS: Add an entry.
10373 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10374 define their defaults.
10375 (two_way_short_needle): Detect end-of-string on-the-fly.
10376 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10377 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10378 * string/bug-strcasestr1.c: New test.
10379 * string/Makefile: Run it.
10381 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10384 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10385 the first character.
10387 2012-08-21 Roland McGrath <roland@hack.frob.com>
10389 * csu/elf-init.c (__libc_csu_irel): Function removed.
10390 * csu/libc-start.c (apply_irel): New function.
10391 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10393 2012-08-21 Joseph Myers <joseph@codesourcery.com>
10395 * sysdeps/unix/sysv/linux/kernel-features.h
10396 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10397 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10398 <kernel-features.h>.
10399 [__NR_fadvise64_64]: Make code unconditional.
10400 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10401 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10402 !__NR_fadvise64_64)]: Likewise.
10403 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10404 !__NR_fadvise64_64))]: Likewise.
10405 [__NR_fadvise64]: Make code unconditional.
10406 [!__NR_fadvise64]: Remove conditional code.
10407 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10408 <kernel-features.h>.
10409 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10411 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10414 not include <kernel-features.h>.
10415 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10417 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10419 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10420 include <kernel-features.h>.
10421 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10423 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10426 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10428 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10429 slight instruction rearrangements per scrollpipe analysis.
10430 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10432 2012-08-20 Roland McGrath <roland@hack.frob.com>
10434 * manual/syslog.texi (syslog; vsyslog, closelog):
10435 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10436 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10438 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10439 DSOCAPS to match condition on defining it.
10441 2012-08-20 Joseph Myers <joseph@codesourcery.com>
10443 * sysdeps/unix/sysv/linux/kernel-features.h
10444 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10446 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10447 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10449 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10450 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10452 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10453 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10455 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10456 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10458 * sysdeps/unix/sysv/linux/kernel-features.h
10459 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10460 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10462 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10463 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10464 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10465 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10466 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10467 Make code unconditional.
10468 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10469 (__mmap64) [!__NR_mmap2]: Likewise.
10470 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10471 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10472 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10473 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10474 [__NR_mmap2]: Make code unconditional.
10475 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10476 (__mmap64) [!__NR_mmap2]: Likewise.
10478 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10480 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10482 2012-08-18 Andreas Jaeger <aj@suse.de>
10484 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10486 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10488 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10489 * include/unistd.h (__have_sock_cloexec): Likewise.
10490 (__have_pipe2): Likewise.
10491 (__have_dup3): Likewise.
10493 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10496 * include/unistd.h (__have_pipe2): Change define into an extern int.
10497 (__have_dup3): Likewise.
10498 * socket/have_sock_cloexec.c: Include fcntl.h.
10499 (__have_pipe2): New variable.
10500 (__have_dup3): Likewise.
10502 2012-08-17 Mike Frysinger <vapier@gentoo.org>
10504 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10506 2012-08-17 Marek Polacek <polacek@redhat.com>
10508 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10509 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10511 2012-08-17 Roland McGrath <roland@hack.frob.com>
10513 * configure.in: Add AC_SUBST for sysheaders.
10514 * configure: Regenerated.
10515 * config.make.in (sysheaders): New substituted variable.
10517 * sysdeps/unix/mkfifo.c: Moved ...
10518 * sysdeps/posix/mkfifo.c: ... here.
10519 * sysdeps/unix/mkfifoat.c: Moved ...
10520 * sysdeps/posix/mkfifoat.c: ... here.
10522 * sysdeps/unix/utime.c: Moved ...
10523 * sysdeps/posix/utime.c: ... here.
10525 * sysdeps/unix/time.c: Moved ...
10526 * sysdeps/posix/time.c: ... here.
10527 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10528 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
10530 * sysdeps/unix/nice.c: Moved ...
10531 * sysdeps/posix/nice.c: ... here.
10533 * sysdeps/unix/alarm.c: Moved ...
10534 * sysdeps/posix/alarm.c: ... here.
10536 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10538 2012-08-17 Jeff Law <law@redhat.com>
10540 * intl/Makefile (codeset_mo): New variable.
10541 ($(codeset_mo)): New target.
10542 (tst-codeset.out): Depend on that. Remove explicit rule.
10543 (tst-gettext3.out, tst-gettext5.out): Likewise.
10544 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10545 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10546 * intl/tst-codeset.sh: Remove.
10547 * intl/tst-gettext3.sh: Likewise.
10548 * intl/tst-gettext5.sh: Likewise.
10550 2012-08-17 Roland McGrath <roland@hack.frob.com>
10552 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10553 * sysdeps/unix/syscalls.list: ... here.
10555 * sysdeps/posix/getaddrinfo.c
10556 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10557 (gaiconf_init, gaiconf_reload): Use them.
10558 [!_STATBUF_ST_NSEC]
10559 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10560 Define using time_t rather than struct timespec.
10562 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10563 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10565 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10567 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10568 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10571 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10572 __libc_cleanup_push argument.
10574 * bits/param.h: New file.
10575 * misc/sys/param.h: New file.
10576 * include/sys/param.h: New file.
10577 * misc/Makefile (headers): Add bits/param.h.
10578 * sysdeps/generic/sys/param.h: File removed.
10579 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10580 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10581 * sysdeps/mach/hurd/bits/param.h: New file.
10582 * sysdeps/mach/hurd/sys/param.h: File removed.
10584 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10587 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10589 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10590 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10593 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10594 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10595 rather than -D_IO_MTSAFE_IO conditionally.
10596 * stdio-common/Makefile (CPPFLAGS): Likewise.
10597 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10598 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10599 Use $(libio-mtsafe).
10600 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10601 of -D_IO_MTSAFE_IO.
10602 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10603 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10604 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10605 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10606 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10607 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10608 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10609 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10610 (CFLAGS-fread_u_chk.c): Likewise.
10611 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10612 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10613 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10614 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10615 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10616 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10617 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10618 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10619 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10621 * libio/Makefile: Test [$(libc-reentrant) = yes]
10622 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10625 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10626 * sysdeps/pthread/configure: File removed.
10627 * sysdeps/pthread/Makeconfig: New file.
10628 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10629 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10631 2012-08-16 Gary Benson <gbenson@redhat.com>
10633 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10634 unmapping the first object in a namespace.
10636 2012-08-16 Roland McGrath <roland@hack.frob.com>
10638 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10639 (__internal_setnetgrent): ... this. Add internal_function to
10640 definition. Add libc_hidden_def.
10641 (setnetgrent): Update caller.
10642 (internal_endnetgrent): Renamed to ...
10643 (__internal_endnetgrent): ... this. Add internal_function to
10644 definition. Add libc_hidden_def.
10645 (endnetgrent): Update caller.
10646 (internal_getnetgrent_r): Renamed to ...
10647 (__internal_getnetgrent_r): ... this. Add internal_function to
10648 definition. Add libc_hidden_def.
10649 (__getnetgrent_r): Update caller.
10650 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10652 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10654 * stdlib/longlong.h: Update from GCC.
10656 2012-08-16 Roland McGrath <roland@hack.frob.com>
10658 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10659 on _QL, which is set by umul_ppmm but never used.
10660 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10661 variables, which are set by GMP macros but never used.
10662 * stdio-common/_itowa.c (_itowa): Likewise.
10663 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10664 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10666 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10668 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10669 struct La_sh_regs is not constant.
10670 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10671 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10672 and struct La_sparc64_regs are not constant.
10674 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10676 * sysdeps/unix/sysv/linux/kernel-features.h
10677 (__ASSUME_POSIX_TIMERS): Remove.
10678 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10679 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10680 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10681 Make code unconditional.
10682 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10683 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10684 Make code unconditional.
10685 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10686 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10687 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10688 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10689 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10690 Make code unconditional.
10691 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10692 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10693 (__libc_missing_posix_timers): Remove.
10695 2012-08-15 Roland McGrath <roland@hack.frob.com>
10697 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10698 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10700 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10702 * elf/dl-sym.c: Include <stdlib.h>.
10704 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10705 constants, which avoids warnings in 32-bit builds.
10707 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10708 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10710 * misc/lseek.c: File moved to ...
10711 * io/lseek.c: ... here.
10713 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10715 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10716 shifting LEN more than 31 bits at once.
10718 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10721 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10722 segmentation fault for a case of two empty input strings.
10723 * string/test-strncasecmp.c (check1): Renamed to...
10724 (bz12205): ...this.
10725 (bz14195): Add new testcase for two empty input strings and N > 0.
10726 (test_main): Call new testcase, adapt for renamed function.
10728 2012-08-15 Andreas Jaeger <aj@suse.de>
10731 * crypt/md5test2.c: New test, based on test supplied by Serge
10732 Belyshev <belyshev@depni.sinp.msu.ru>.
10733 * crypt/Makefile (xtests): Add md5test-giant..
10734 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10736 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10739 * crypt/md5.c (md5_process_block): Don't assume the buffer
10740 length is less than 2**32.
10741 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10742 length is less than 2**64.
10744 2012-08-15 Roland McGrath <roland@hack.frob.com>
10746 * string/str-two-way.h: Include <sys/param.h>.
10747 (MAX): Macro removed.
10749 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10750 Move #define and #undef of memmove to just before and after
10751 including <string.h>.
10753 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10754 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10755 and after including <string.h>. Move declarations of
10756 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10757 to before #include "string/memmove.c".
10759 * include/dirent.h: Declare __getdirentries.
10761 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10762 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10764 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10766 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10767 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10768 * sysdeps/i386/configure: Regenerated.
10769 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10770 STABS_CURRENT_FILE, and STABS_FUN.
10771 (END): Remove call to STABS_FUN_END.
10772 (STABS_CURRENT_FILE1): Delete.
10773 (STABS_CURRENT_FILE): Likewise.
10774 (STABS_FUN): Likewise.
10775 (STABS_FUN_END): Likewise.
10776 (STABS_FUN2): Likewise.
10777 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10778 * sysdeps/x86_64/configure: Regenerated.
10780 2012-08-14 Roland McGrath <roland@hack.frob.com>
10782 * elf/dl-open.c: Include <atomic.h>.
10783 * elf/dl-lookup.c: Likewise.
10785 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10787 * sysdeps/unix/sysv/linux/kernel-features.h
10788 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10789 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10791 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10793 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10794 condition on __ASSUME_CLONE_THREAD_FLAGS.
10796 2012-08-14 Andreas Jaeger <aj@suse.de>
10798 * sysdeps/i386/fpu/libm-test-ulps: Update.
10800 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10802 * include/atomic.h (atomic_exchange_and_add): Split into ...
10803 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10806 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10810 2012-08-13 Jeff Law <law@redhat.com>
10812 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10813 null byte in the output string.
10815 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10817 * sysdeps/unix/sysv/linux/kernel-features.h
10818 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10819 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10820 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10821 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10822 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10823 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10824 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10826 2012-08-09 Jeff Law <law@redhat.com>
10829 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10830 When avoid_arena is set, don't retry in the that arena. Pick the
10831 next one, whatever it might be.
10832 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10833 (arena_lock): Pass in new parameter to arena_get2.
10834 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10836 (__libc_malloc): Unify retrying after main arena failure with
10837 __libc_memalign version.
10838 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10840 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10843 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10844 to __redirect_strstr.
10845 (__strstr_sse42): Use typeof __redirect_strstr.
10846 (__strstr_ia32): Likewise.
10847 (__libc_strstr): New prototype.
10848 (strstr): Renamed to ...
10849 (__libc_strstr): This.
10850 (strstr): New strong alias of __libc_strstr.
10851 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10852 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10855 (__libc_time): New prototype.
10856 (time_ifunc): Replace time with __libc_time.
10857 (time): New strong alias and hidden definition of __libc_time.
10858 (__GI_time): Remove strong alias.
10859 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10860 Include <stddef.h>.
10861 (memmove): Redefined to __redirect_memmove.
10862 (__memmove_sse2): Use typeof __redirect_memmove.
10863 (__memmove_ssse3): Likewise.
10864 (__memmove_ssse3_back): Likewise.
10865 (__libc_memmove): New prototype.
10866 (memmove): Renamed to ...
10867 (__libc_memmove): This.
10868 (memmove): New strong alias of __libc_memmove.
10870 2012-08-08 Mark Salter <msalter@redhat.com>
10873 (R_MN10300_TLS_GD): Define.
10874 (R_MN10300_TLS_LD): Likewise.
10875 (R_MN10300_TLS_LDO): Likewise.
10876 (R_MN10300_TLS_GOTIE): Likewise.
10877 (R_MN10300_TLS_IE): Likewise.
10878 (R_MN10300_TLS_LE): Likewise.
10879 (R_MN10300_TLS_DTPMOD): Likewise.
10880 (R_MN10300_TLS_DTPOFF): Likewise.
10881 (R_MN10300_TLS_TPOFF): Likewise.
10882 (R_MN10300_SYM_DIFF): Likewise.
10883 (R_MN10300_ALIGN): Likewise.
10884 (R_MN10300_NUM): Update.
10886 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10888 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10891 2012-08-08 Roland McGrath <roland@hack.frob.com>
10893 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10895 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10896 sysdeps/unix -> sysdeps/posix move.
10897 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10899 2012-08-07 Allan McRae <allan@archlinux.org>
10902 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10903 (SUNOS_CPP): Likewise.
10904 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10906 (open_input): Call CPP using execvp.
10908 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10910 * sysdeps/unix/sysv/linux/kernel-features.h
10911 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10912 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10913 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10914 (__ASSUME_WAITID_SYSCALL): Likewise.
10915 * sysdeps/unix/sysv/linux/dl-execstack.c
10916 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10917 code unconditional.
10918 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10920 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10921 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10922 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10924 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10926 [__ASSUME_WAITID_SYSCALL]: Likewise.
10927 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10929 2012-08-07 Roland McGrath <roland@hack.frob.com>
10931 * sysdeps/unix/closedir.c: Renamed to ...
10932 * sysdeps/posix/closedir.c: ... here.
10933 * sysdeps/unix/dirfd.c: Renamed to ...
10934 * sysdeps/posix/dirfd.c: ... here.
10935 * sysdeps/unix/dirstream.h: Renamed to ...
10936 * sysdeps/posix/dirstream.h: ... here.
10937 * sysdeps/unix/fdopendir.c: Renamed to ...
10938 * sysdeps/posix/fdopendir.c: ... here.
10939 * sysdeps/unix/opendir.c: Renamed to ...
10940 * sysdeps/posix/opendir.c: ... here.
10941 * sysdeps/unix/readdir.c: Renamed to ...
10942 * sysdeps/posix/readdir.c: ... here.
10943 * sysdeps/unix/readdir_r.c: Renamed to ...
10944 * sysdeps/posix/readdir_r.c: ... here.
10945 * sysdeps/unix/rewinddir.c: Renamed to ...
10946 * sysdeps/posix/rewinddir.c: ... here.
10947 * sysdeps/unix/seekdir.c: Renamed to ...
10948 * sysdeps/posix/seekdir.c: ... here.
10949 * sysdeps/unix/telldir.c: Renamed to ...
10950 * sysdeps/posix/telldir.c: ... here.
10951 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10952 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10953 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10954 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10956 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10957 * bits/fcntl.h: ... here.
10959 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10961 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10962 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10963 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10964 (struct flock): Move l_start, l_len to the beginning.
10965 Use __pid_t for l_pid.
10966 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10967 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10968 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10969 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10970 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10971 [__USE_LARGEFILE64] (struct flock64): New type.
10972 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10974 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10975 * bits/dirent.h: ... here.
10977 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10978 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10980 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10982 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10983 Change from 2.6.0 to 2.6.16.
10984 * sysdeps/unix/sysv/linux/configure: Regenerated.
10985 * sysdeps/unix/sysv/linux/kernel-features.h
10986 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10987 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10989 (__ASSUME_UTIMES): Likewise.
10990 (__ASSUME_CLONE_STOPPED): Remove.
10991 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10992 architectures, not kernel version.
10993 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10994 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10995 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10996 (__ASSUME_WAITID_SYSCALL): Likewise.
10997 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10998 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10999 * README: State 2.6.16 as minimum Linux kernel version. Do not
11000 refer to older versions.
11002 2012-08-06 Roland McGrath <roland@hack.frob.com>
11004 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11005 Define alphasort64 as an alias.
11006 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11007 Define versionsort64 as an alias.
11008 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11009 Define scandir64 as an alias.
11010 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11011 Define scandirat64 as an alias.
11012 * dirent/alphasort64.c (alphasort64):
11013 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11014 * dirent/versionsort64.c: Likewise.
11015 * dirent/scandir64.c: Likewise.
11016 * dirent/scandirat64.c: Likewise.
11017 * sysdeps/wordsize-64/alphasort.c: File removed.
11018 * sysdeps/wordsize-64/alphasort64.c: File removed.
11019 * sysdeps/wordsize-64/scandir.c: File removed.
11020 * sysdeps/wordsize-64/scandir64.c: File removed.
11021 * sysdeps/wordsize-64/scandirat.c: File removed.
11022 * sysdeps/wordsize-64/scandirat64.c: File removed.
11023 * sysdeps/wordsize-64/versionsort.c: File removed.
11024 * sysdeps/wordsize-64/versionsort64.c: File removed.
11025 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11026 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11027 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11028 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11029 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11030 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11031 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11032 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11034 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11035 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11036 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11037 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11038 [defined __arch64__ || defined __sparcv9]
11039 (__INO_T_MATCHES_INO64_T): New macro.
11040 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11041 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11042 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11043 * sysdeps/unix/sysv/linux/bits/dirent.h
11044 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11045 (_DIRENT_MATCHES_DIRENT64): New macro.
11047 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11048 Define lockf64 as an alias.
11049 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11050 Define fseeko64 as an alias.
11051 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11052 Define ftello64 as an alias.
11053 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11054 Define _IO_fgetpos64 and fgetpos64 as aliases.
11055 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11056 Define _IO_fsetpos64 and fsetpos64 as aliases.
11057 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11058 Conditionalize body on this.
11059 * libio/fseeko64.c: Likewise.
11060 * libio/ftello64.c: Likewise.
11061 * libio/iofgetpos64.c: Likewise.
11062 * libio/iofsetpos64.c: Likewise.
11063 * sysdeps/wordsize-64/lockf.c: File removed.
11064 * sysdeps/wordsize-64/lockf64.c: File removed.
11065 * sysdeps/wordsize-64/fseeko.c: File removed.
11066 * sysdeps/wordsize-64/fseeko64.c: File removed.
11067 * sysdeps/wordsize-64/ftello.c: File removed.
11068 * sysdeps/wordsize-64/ftello64.c: File removed.
11069 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11070 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11071 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11072 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11073 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11074 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11075 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11076 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11077 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11078 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11079 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11080 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11081 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11082 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11084 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11085 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11086 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11087 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11088 [defined __arch64__ || defined __sparcv9]
11089 (__OFF_T_MATCHES_OFF64_T): New macro.
11090 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11091 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11092 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11093 (__OFF_T_MATCHES_OFF64_T): New macro.
11095 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11097 * stdlib/secure-getenv.c (__secure_getenv): Replace
11098 GLIBC_2_16 with GLIBC_2_17.
11100 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11102 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11103 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11105 2012-08-03 David S. Miller <davem@davemloft.net>
11107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11109 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11111 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11113 (__ASSUME_CORRECT_SI_PID): Likewise.
11114 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11115 (__ASSUME_TMPFS_NAME): Likewise.
11116 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11117 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11118 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11119 (HAVE_AUX_SECURE): Make definition unconditional.
11120 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11121 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11123 2012-08-03 Roland McGrath <roland@hack.frob.com>
11125 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11126 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11127 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11128 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11129 __eloop_threshold instead of SYMLOOP_MAX.
11131 * sysdeps/generic/eloop-threshold.h: New file.
11132 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11134 * elf/chroot_canon.c (chroot_canon): Likewise.
11136 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11139 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11140 Change to 2.6.0 everywhere.
11141 * sysdeps/unix/sysv/linux/configure: Regenerated.
11142 * sysdeps/unix/sysv/linux/kernel-features.h
11143 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11144 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11146 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11147 (__ASSUME_FUTEX_REQUEUE): Remove.
11148 (__ASSUME_STATFS64): Define unconditionally.
11149 (__ASSUME_AT_SECURE): Likewise.
11150 (__ASSUME_CORRECT_SI_PID): Likewise.
11151 (__ASSUME_TGKILL): Define without depending on kernel version for
11153 (__ASSUME_UTIMES): Likewise.
11154 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11156 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11157 (__ASSUME_TMPFS_NAME): Likewise.
11158 * README: Update reference to Linux kernel versions.
11160 2012-08-02 Marek Polacek <polacek@redhat.com>
11163 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
11164 libc_cv_asm_type_prefix with %.
11165 * configure: Regenerated.
11166 * include/libc-symbols.h: Remove comment about
11167 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11168 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11169 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11170 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11171 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11172 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11173 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11174 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11175 * elf/tst-unique2mod1.c: Likewise.
11176 * elf/tst-unique1mod2.c: Likewise.
11177 * elf/tst-unique1mod1.c: Likewise.
11178 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11179 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11180 Replace ASM_TYPE_DIRECTIVE with .type.
11181 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11182 * sysdeps/i386/sysdep.h: Likewise.
11183 * sysdeps/x86_64/sysdep.h: Likewise.
11184 * sysdeps/sh/sysdep.h: Likewise.
11185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11186 Do not define ASM_TYPE_DIRECTIVE.
11187 * sysdeps/powerpc/sysdep.h: Likewise.
11188 * sysdeps/powerpc/powerpc32/sysdep.h:
11189 Replace ASM_TYPE_DIRECTIVE with .type.
11190 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11191 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11192 * sysdeps/i386/fpu/e_powf.S: Likewise.
11193 * sysdeps/i386/fpu/e_expl.S: Likewise.
11194 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11195 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11196 * sysdeps/i386/fpu/e_pow.S: Likewise.
11197 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11198 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11199 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11200 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11201 * sysdeps/i386/fpu/e_log2.S: Likewise.
11202 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11203 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11204 * sysdeps/i386/fpu/e_powl.S: Likewise.
11205 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11206 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11207 * sysdeps/i386/fpu/e_logl.S: Likewise.
11208 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11209 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11210 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11211 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11212 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11213 * sysdeps/i386/fpu/e_log.S: Likewise.
11214 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11215 * sysdeps/i386/fpu/e_logf.S: Likewise.
11216 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11217 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11218 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11219 * sysdeps/i386/fpu/e_log10.S: Likewise.
11220 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11221 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11222 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11223 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11224 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11225 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11226 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11227 * sysdeps/i386/i686/strtok.S: Likewise.
11228 * sysdeps/i386/i386-mcount.S: Likewise.
11229 * sysdeps/i386/strtok.S: Likewise.
11230 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11231 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11232 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11233 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11234 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11235 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11236 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11237 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11238 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11239 * sysdeps/x86_64/_mcount.S: Likewise.
11240 * sysdeps/x86_64/strtok.S: Likewise.
11241 * sysdeps/sh/_mcount.S: Likewise.
11243 2012-08-01 Roland McGrath <roland@hack.frob.com>
11245 * libio/iofopen.c: Include <fcntl.h>.
11246 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11247 (_IO_fopen64, fopen64): Define as aliases.
11248 * libio/iofopen64.c: Include <fcntl.h>.
11249 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11250 Conditionalize body on this.
11251 * sysdeps/wordsize-64/iofopen.c: File removed.
11252 * sysdeps/wordsize-64/iofopen64.c: File removed.
11254 2012-08-01 Marek Polacek <polacek@redhat.com>
11256 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11257 Use dlfcn directly instead of a variable.
11258 (binfmt-subdir): Do not define.
11261 2012-08-01 Joseph Myers <joseph@codesourcery.com>
11263 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11264 Remove all definitions.
11265 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11266 <kernel-features.h>.
11267 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11268 (miss_F_GETOWN_EX): Remove all definitions.
11269 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11271 [!__ASSUME_FCNTL64]: Remove conditional code.
11272 [__ASSUME_FCNTL64]: Make code unconditional.
11273 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11274 <kernel-features.h>.
11275 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11276 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11277 (lockf64) [__NR_fcntl64]: Make code unconditional.
11278 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11280 * sysdeps/unix/sysv/linux/kernel-features.h
11281 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11282 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11283 Make code unconditional.
11284 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11285 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11287 [__NR_vfork]: Make code unconditional.
11288 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11289 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11291 [__NR_vfork]: Make code unconditional.
11292 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11293 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11295 2012-08-01 Roland McGrath <roland@hack.frob.com>
11297 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11298 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11300 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11301 Define mkstemp64 as an alias.
11302 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11303 Define mkstemps64 as an alias.
11304 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11305 Define mkostemp64 as an alias.
11306 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11307 Define mkostemps64 as an alias.
11308 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11309 Conditionalize body on this.
11310 * misc/mkostemp64.c: Likewise.
11311 * misc/mkostemps64.c: Likewise.
11312 * misc/mkstemps64.c: Likewise.
11313 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11314 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11315 * sysdeps/wordsize-64/mkostemp.c: File removed.
11316 * sysdeps/wordsize-64/mkstemp.c: File removed.
11317 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11318 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11319 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11320 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11323 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11324 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11325 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11326 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11328 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11329 compat_symbol macros from <shlib-compat.h> rather than the underlying
11330 default_symbol_version and symbol_version macros, so that DEFAULT
11331 lines in shlib-versions are respected.
11332 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11334 2012-08-01 Florian Weimer <fweimer@redhat.com>
11336 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11337 Declare with warn_unused_result.
11338 (setgid, setregid, setegid, setresgid): Likewise.
11339 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11341 * WUR-REPORT: Remove set*id functions.
11343 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11345 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11347 2012-07-31 Roland McGrath <roland@hack.frob.com>
11350 * include/sys/socket.h (__libc_accept, __libc_accept4):
11351 Add attribute_hidden.
11352 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11354 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11356 * inet/getnetgrent_r.c (setup): Likewise.
11358 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11360 2012-07-31 David S. Miller <davem@davemloft.net>
11362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11364 2012-07-31 Joseph Myers <joseph@codesourcery.com>
11367 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11368 value between 1.0 and 2.0 and smaller part has absolute value less
11370 * math/s_clog10.c (__clog10): Likewise.
11371 * math/s_clog10f.c (__clog10f): Likewise.
11372 * math/s_clog10l.c (__clog10l): Likewise.
11373 * math/s_clogf.c (__clogf): Likewise.
11374 * math/s_clogl.c (__clogl): Likewise.
11375 * math/libm-test.inc (clog_test): Add more tests.
11376 (clog10_test): Likewise.
11377 * sysdeps/i386/fpu/libm-test-ulps: Update.
11378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11380 2012-07-31 Florian Weimer <fweimer@redhat.com>
11382 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11383 Exit with zero in case no suitable GID is found, and write a
11384 message to standard error.
11386 2012-07-30 Roland McGrath <roland@hack.frob.com>
11388 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11390 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11391 (MAXPATHLEN): Removed.
11392 (NOGROUP, NODEV): New macros.
11393 (setbit, clrbit, isset, isclr): New macros.
11394 (howmany, roundup, powerof2): New macros.
11395 (DEV_BSIZE): New macro.
11397 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11398 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11400 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11401 definition on [!__NO_LONG_DOUBLE_MATH].
11403 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11404 PTR_MANGLE and PTR_DEMANGLE.
11406 * socket/accept4.c (accept4): Rename to __libc_accept4.
11407 Define accept4 as a weak alias.
11409 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11410 on [_DIRENT_HAVE_D_TYPE].
11411 * io/ftw.c (ftw_dir): Likewise.
11413 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11415 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11417 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11418 Use the BSD numbers rather than the arbitrary ones we had.
11419 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11420 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11421 (SIGXCPU, SIGXFSZ): New macros.
11424 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11425 initializer on [_LIBC_REENTRANT].
11427 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11428 definitions inside [_POSIX_MAPPED_FILES].
11430 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11432 * dirent/opendir.c: Include <fcntl.h>.
11434 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11435 (__libc_getspecific): Likewise.
11436 (__libc_key_create): Likewise.
11438 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11439 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11440 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11441 (tmpfile64): Define as alias.
11442 * sysdeps/wordsize-64/tmpfile.c: File removed.
11443 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11444 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11445 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11447 * stdio-common/vfscanf.c: Include <stdbool.h>.
11448 * nss/makedb.c: Likewise.
11449 * stdio-common/_i18n_number.h: Likewise.
11450 * argp/argp-help.c: Likewise.
11451 * posix/wordexp.c: Likewise.
11452 * sysdeps/posix/spawni.c: Likewise.
11453 * nss/nss_files/files-initgroups.c: Likewise.
11454 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11455 * nss/nss_files/files-initgroups.c: Likewise.
11456 * nss/nss_db/db-netgrp.c: Likewise.
11457 * nss/nss_db/db-initgroups.c: Likewise.
11458 * io/fchmodat.c: Include <sys/stat.h>.
11460 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11461 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11463 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11466 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11467 Add multiple inclusion protection.
11469 2012-07-27 David S. Miller <davem@davemloft.net>
11471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11473 2012-07-27 Gary Benson <gbenson@redhat.com>
11476 * elf/rtld.c: Include <stap-probe.h>.
11477 (dl_main): Added static probes "init_start" and "init_complete".
11478 * elf/dl-load.c: Include <stap-probe.h>.
11479 (lose): Take new parameter "nsid".
11480 Added static probe "map_failed".
11481 (_dl_map_object_from_fd): Pass namespace id to lose.
11482 Added static probe "map_start".
11483 (open_verify): Pass namespace id to lose.
11484 * elf/dl-open.c: Include <stap-probe.h>.
11485 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11486 and "reloc_complete".
11487 * elf/dl-close.c: Include <stap-probe.h>.
11488 (_dl_close_worker): Added static probes "unmap_start" and
11490 * elf/rtld-debugger-interface.txt: New file documenting the above.
11492 2012-07-26 Roland McGrath <roland@hack.frob.com>
11494 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11495 rather than a string variable.
11496 * sunrpc/rpc_main.c (h_output): Likewise.
11497 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11499 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11501 * inet/check_native.c: New file.
11503 2012-07-26 Joseph Myers <joseph@codesourcery.com>
11506 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11507 if larger part has absolute value 1.0.
11508 * math/s_clog10.c (__clog10): Likewise.
11509 * math/s_clog10f.c (__clog10f): Likewise.
11510 * math/s_clog10l.c (__clog10l): Likewise.
11511 * math/s_clogf.c (__clogf): Likewise.
11512 * math/s_clogl.c (__clogl): Likewise.
11513 * math/libm-test.inc (clog_test): Add more tests.
11514 (clog10_test): Likewise.
11515 * sysdeps/i386/fpu/libm-test-ulps: Update.
11516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11518 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11519 (pltexit): Likewise.
11520 (La_regs): Likewise.
11521 (La_retval): Likewise.
11522 (int_retval): Likewise.
11523 Update #error for removed macros to refer only to definitions in
11525 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11527 (pltexit): Likewise.
11528 (La_regs): Likewise.
11529 (La_retval): Likewise.
11530 (int_retval): Likewise.
11531 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11533 (pltexit): Likewise.
11534 (La_regs): Likewise.
11535 (La_retval): Likewise.
11536 (int_retval): Likewise.
11537 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11539 (pltexit): Likewise.
11540 (La_regs): Likewise.
11541 (La_retval): Likewise.
11542 (int_retval): Likewise.
11543 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11545 (pltexit): Likewise.
11546 (La_regs): Likewise.
11547 (La_retval): Likewise.
11548 (int_retval): Likewise.
11549 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11551 (pltexit): Likewise.
11552 (La_regs): Likewise.
11553 (La_retval): Likewise.
11554 (int_retval): Likewise.
11555 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11557 (pltexit): Likewise.
11558 (La_regs): Likewise.
11559 (La_retval): Likewise.
11560 (int_retval): Likewise.
11561 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11562 macro definitions in tst-audit.h.
11563 * sysdeps/i386/tst-audit.h: New file.
11564 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11565 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11566 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11567 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11568 * sysdeps/sh/tst-audit.h: Likewise.
11569 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11570 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11571 * sysdeps/x86_64/tst-audit.h: Likewise.
11573 2012-07-26 Andreas Jaeger <aj@suse.de>
11575 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11578 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11579 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11580 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11582 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11583 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11584 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11586 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11589 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11591 (si_call_addr, si_syscall, si_arch): Define new macro.
11592 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11594 (si_call_addr, si_syscall, si_arch): Define new marcro.
11595 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11597 (si_call_addr, si_syscall, si_arch): Define new macro.
11598 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11600 (si_call_addr, si_syscall, si_arch): Define new macro.
11602 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11605 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11606 Change to 2.4.21 where previously 2.4.1.
11607 * sysdeps/unix/sysv/linux/configure: Regenerated.
11608 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11609 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11610 Linux kernel version.
11611 (__ASSUME_STD_AUXV): Remove.
11612 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11614 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11615 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11616 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11617 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11618 (__ASSUME_NETLINK_SUPPORT): Likewise.
11619 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11620 (__no_netlink_support): Remove conditional definition.
11621 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11623 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11624 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11625 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11626 (if_nameindex_ioctl): Remove.
11627 (if_nameindex_netlink): Do not handle __no_netlink_support.
11628 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11630 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11631 Remove conditional code.
11632 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11634 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11636 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11637 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11638 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11640 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11641 [!__ASSUME_STD_AUXV]: Remove conditional code.
11642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11643 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11644 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11646 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11647 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11649 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11651 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11652 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11654 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11656 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11659 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11662 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11663 code unconditional.
11664 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11666 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11668 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11671 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11673 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11676 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11677 code unconditional.
11678 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11680 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11682 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11685 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11686 code unconditional.
11687 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11689 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11691 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11694 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11696 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11697 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11698 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11699 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11700 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11701 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11702 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11703 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11704 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11705 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11706 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11707 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11708 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11709 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11710 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11711 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11712 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11713 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11714 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11716 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11717 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11718 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11720 2012-07-25 Florian Weimer <fweimer@redhat.com>
11722 * Versions.def: Add GLIBC_2.17.
11723 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11724 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11725 Introduce __libc_secure_getenv.
11726 * stdlib/Versions (2.17): Add secure_getenv
11727 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11728 * stdlib/secure-getenv.c: Rename __secure_getenv to
11729 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11730 symbol __secure_getenv for GLIBC_2.0.
11731 * stdlib/tst-secure-getenv.c: New.
11732 * stdlib/Makefile (tests): Add testcase.
11733 * manual/startup.texi (Environment Access): Document
11735 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11736 __libc_secure_getenv.
11737 * inet/ruserpass.c (ruserpass): Likewise.
11738 * malloc/mtrace.c (mtrace): Likewise.
11739 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11740 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11741 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11742 * sysdeps/posix/tempname.c: Likewise. Evaluate
11743 HAVE_SECURE_GETENV.
11744 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11745 __secure_getenv to __libc_secure_getenv.
11746 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11753 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11759 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11761 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11762 (struct La_i86_retval): Likewise.
11763 (struct La_x86_64_regs): Likewise.
11764 (struct La_x86_64_retval): Likewise.
11765 (struct La_x32_regs): Likewise.
11766 (struct La_x32_retval): Likewise.
11767 (struct La_ppc32_regs): Likewise.
11768 (struct La_ppc32_retval): Likewise.
11769 (struct La_ppc64_regs): Likewise.
11770 (struct La_ppc64_retval): Likewise.
11771 (struct La_sh_regs): Likewise.
11772 (struct La_sh_retval): Likewise.
11773 (struct La_s390_32_regs): Likewise.
11774 (struct La_s390_32_retval): Likewise.
11775 (struct La_s390_64_regs): Likewise.
11776 (struct La_s390_64_retval): Likewise.
11777 (struct La_sparc32_regs): Likewise.
11778 (struct La_sparc32_retval): Likewise.
11779 (struct La_sparc64_regs): Likewise.
11780 (struct La_sparc64_retval): Likewise.
11781 (struct audit_ifaces): Remove architecture-specific pltenter and
11783 * sysdeps/i386/ldsodefs.h: New file.
11784 * sysdeps/powerpc/ldsodefs.h: Likewise.
11785 * sysdeps/s390/ldsodefs.h: Likewise.
11786 * sysdeps/sh/ldsodefs.h: Likewise.
11787 * sysdeps/sparc/ldsodefs.h: Likewise.
11788 * sysdeps/x86_64/ldsodefs.h: Likewise.
11790 2012-07-25 Marek Polacek <polacek@redhat.com>
11793 * math/libm-test.inc (yn_test): Add another test.
11794 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11795 to ERANGE when the result is +-Inf.
11796 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11797 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11798 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11799 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11801 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11803 * conform/data/time.h-data (NULL): Use macro-constant. Require
11805 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11807 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11809 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11811 * configure.in <sysdeps resolving>: Correct printing
11813 * configure: Regenerate.
11815 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11817 * math/w_ilogb.c: Include <limits.h>.
11818 * math/w_ilogbl.c: Likewise.
11820 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11822 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11823 va_copy. Document allowing for unavailable va_copy only as
11824 pre-C99 compatibility.
11825 * manual/string.texi (Copying and Concatenation): Use va_copy
11826 instead of __va_copy in concat example.
11828 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11830 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11831 (__sendto): Use create_address_port. Initialize APORT and deallocate
11834 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11835 with O_NOLINK passed to __file_name_lookup.
11837 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11838 with O_NOLINK passed to __file_name_lookup.
11840 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11841 negative N or less than NGIDS.
11843 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11844 type to string_t. Set ERANGE as errno and return it if NAME is not big
11845 enough. Use memcpy instead of strncpy.
11847 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11849 * elf/Makefile (check-data): Remove.
11850 (localplt.data): New vpath directive.
11851 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11852 instead of $(check-data).
11853 * scripts/data/localplt-generic.data: Move to ...
11854 * sysdeps/generic/localplt.data: ... here.
11855 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11856 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11857 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11860 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11863 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11866 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11869 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11870 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11872 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11876 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11878 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11879 PPC32 and PPC64 files.
11880 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11881 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11883 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11885 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11886 __makecontext_ret to ...
11887 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11888 ... here and call exit if uc_link is NULL. New file.
11889 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11890 __makecontext_ret.S.
11891 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11892 __makecontext_ret to ...
11893 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11894 ... here and call exit if uc_link is NULL. New file.
11895 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11896 __makecontext_ret.S.
11898 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11900 * elf/elf.h (R_390_IRELATIVE): New definition.
11901 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11902 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11903 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11904 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11905 (elf_machine_lazy_rel): Likewise.
11906 * sysdeps/s390/dl-irel.h: New file.
11907 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11908 * sysdeps/s390/s390-64/memset.S: New asm code.
11909 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11910 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11911 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11912 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11913 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11914 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11915 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11916 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11917 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11918 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11919 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11920 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11921 * sysdeps/s390/s390-32/memset.S: New asm code.
11922 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11924 2012-07-17 Marek Polacek <polacek@redhat.com>
11927 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11928 * sysdeps/s390/s390-64/configure.in: Likewise.
11929 * sysdeps/sparc/configure.in: Likewise.
11930 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11931 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11932 * sysdeps/i386/configure.in: Likewise.
11933 * sysdeps/x86_64/configure.in: Likewise.
11934 * sysdeps/sh/configure.in: Likewise.
11935 * sysdeps/s390/s390-32/configure: Regenerated.
11936 * sysdeps/s390/s390-64/configure: Likewise.
11937 * sysdeps/x86_64/configure: Likewise.
11938 * sysdeps/sh/configure: Likewise.
11939 * sysdeps/powerpc/powerpc64/configure: Likewise.
11940 * sysdeps/powerpc/powerpc32/configure: Likewise.
11941 * sysdeps/sparc/configure: Likwise.
11942 * sysdeps/i386/configure: Likewise.
11944 * elf/dl-open.c: Comment fixes.
11946 2012-07-17 Joseph Myers <joseph@codesourcery.com>
11948 * Makefile [CXX] (check-data): Remove.
11949 [CXX] (c++-types.data): New vpath directive.
11950 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11951 vpath. Do not allow for C++ type data being missing.
11952 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11953 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11954 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11955 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11956 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11957 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11958 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11961 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11964 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11967 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11970 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11973 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11976 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11979 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11982 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11983 definitions to architecture-specific files.
11984 (TLS_IE): Likewise.
11985 (TLS_LD): Likewise.
11986 (TLS_GD): Likewise.
11987 * sysdeps/i386/tls-macros.h: New file.
11988 * sysdeps/powerpc/tls-macros.h: Likewise.
11989 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11990 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11991 * sysdeps/sh/tls-macros.h: Likewise.
11992 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11993 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11994 * sysdeps/x86_64/tls-macros.h: Likewise.
11996 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11998 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11999 zero value for regular exit case.
12001 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12002 (__start_context): Preserve zero value for regular exit case.
12004 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12005 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12007 * manual/setjmp.texi (setcontext): Clarify normal process
12008 termination when uc_link is the null pointer.
12009 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12012 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12014 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12015 preprocessor. Test for each exception mask separately.
12017 2012-07-16 Andreas Jaeger <aj@suse.de>
12019 * po/ru.po: Update from translation team.
12021 2012-07-15 Joseph Myers <joseph@codesourcery.com>
12023 * conform/data/string.h-data (NULL): Use macro-constant. Require
12025 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12026 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12027 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12028 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12029 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12031 2012-07-13 Andreas Jaeger <aj@suse.de>
12033 * po/fr.po: Update from translation team.
12035 2012-07-12 Marek Polacek <polacek@redhat.com>
12038 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12039 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12042 2012-07-12 Joseph Myers <joseph@codesourcery.com>
12045 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12046 Change to 2.4.1 where previously 2.4.0.
12047 * sysdeps/unix/sysv/linux/configure: Regenerated.
12048 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12049 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12051 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12052 (__ASSUME_AT_CLKTCK): Remove.
12053 (__ASSUME_AT_PAGESIZE): Likewise.
12054 (__ASSUME_AT_XID): Likewise.
12055 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12056 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12057 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12059 (HAVE_AUX_PAGESIZE): Likewise.
12060 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12061 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12062 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12064 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12068 the temporary buffer used to invoke __gethostbyname2_r,
12069 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12070 host_data / struct gaih_addrtuple.
12071 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12072 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12073 header file nss/nsswitch.h.
12074 * nss/nsswitch.h (global scope): Add definition of implementation
12075 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12076 resolv/nss_dns/dns-host.c).
12078 2012-07-11 Andreas Jaeger <aj@suse.de>
12080 * po/fr.po: Update from translation team.
12082 * po/sv.po: Update from translation team
12083 * po/fr.po: Another update from translation team.
12085 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12087 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12088 for subnormals or multiply small sinh result by itself.
12089 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12092 2012-07-11 David S. Miller <davem@davemloft.net>
12094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12096 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12099 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12100 (INTERNAL_MARK): Shift it here.
12102 2012-07-10 Marek Polacek <polacek@redhat.com>
12105 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12106 libc_cv_asm_global_directive with .globl.
12107 * configure: Regenerated.
12108 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12110 * sysdeps/i386/configure: Regenerated.
12111 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12113 * sysdeps/x86_64/configure: Regenerated.
12114 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12115 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12116 * elf/tst-unique2mod2.c: Likewise.
12117 * elf/tst-unique2mod1.c: Likewise.
12118 * elf/tst-unique1mod2.c: Likewise.
12119 * elf/tst-unique1mod1.c: Likewise.
12120 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12121 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12122 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12123 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12124 * sysdeps/mach/sysdep.h: Likewise.
12125 * sysdeps/i386/sysdep.h: Likewise.
12126 * sysdeps/i386/i386-mcount.S: Likewise.
12127 * sysdeps/x86_64/_mcount.S: Likewise.
12128 * sysdeps/x86_64/sysdep.h: Likewise.
12129 * sysdeps/sh/_mcount.S: Likewise.
12130 * sysdeps/sh/sysdep.h: Likewise.
12131 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12132 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12133 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12134 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12135 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12136 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12137 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12138 * locale/localeinfo.h: Likewise.
12139 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12140 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12142 2012-07-09 Roland McGrath <roland@hack.frob.com>
12145 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12147 * manual/message.texi (The Uniforum approach): Likewise.
12148 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12149 (glibc iconv Implementation): Likewise.
12151 2012-07-09 Joseph Myers <joseph@codesourcery.com>
12154 * math/s_clog.c (__clog): Avoid scaling a value down where that
12155 could result in underflow.
12156 * math/s_clog10.c (__clog10): Likewise.
12157 * math/s_clog10f.c (__clog10f): Likewise.
12158 * math/s_clog10l.c (__clog10l): Likewise.
12159 * math/s_clogf.c (__clogf): Likewise.
12160 * math/s_clogl.c (__clogl): Likewise.
12161 * math/libm-test.inc (clog_test): Add more tests.
12162 (clog10_test): Likewise.
12163 * sysdeps/i386/fpu/libm-test-ulps: Update.
12164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12166 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12169 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12170 by 7 not 8 to examine high bit of fractional part.
12173 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12174 for call to __mcount_internal.
12175 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12176 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12177 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12179 2012-07-06 Joseph Myers <joseph@codesourcery.com>
12182 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12183 approximation for values within 0x1p-13f of an odd multiple of
12185 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12186 exception. Add more tests.
12187 * sysdeps/i386/fpu/libm-test-ulps: Update.
12190 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12191 inputs and return -1 for them. Do not check for +Inf in case not
12192 reachable for +Inf.
12193 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12194 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12195 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12196 and return -1 for them. Do not check for +Inf in case not
12197 reachable for +Inf.
12198 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12200 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12201 and return -1 for them. Do not check for +Inf in case not
12202 reachable for +Inf.
12203 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12204 spurious underflow.
12205 * sysdeps/i386/fpu/libm-test-ulps: Update.
12206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12208 2012-07-06 Mike Frysinger <vapier@gentoo.org>
12210 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12212 2012-07-05 Joseph Myers <joseph@codesourcery.com>
12216 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12217 could result in spurious underflow. Scale down values above
12218 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12219 * math/s_csqrtf.c (__csqrtf): Likewise.
12220 * math/s_csqrtl.c (__csqrtl): Likewise.
12221 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12222 spurious underflow.
12223 * sysdeps/i386/fpu/libm-test-ulps: Update.
12224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12226 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12228 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12230 * catgets/xopen-msg.awk: New file.
12231 * catgets/xopen-msg.sed: Removed.
12233 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12235 * intl/po2test.awk: New file.
12236 * intl/po2test.sed: Removed.
12238 2012-07-04 Joseph Myers <joseph@codesourcery.com>
12241 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12242 or multiply small sinh result by itself.
12243 * math/s_ctanf.c (__ctanf): Likewise.
12244 * math/s_ctanh.c (__ctanh): Likewise.
12245 * math/s_ctanhf.c (__ctanhf): Likewise.
12246 * math/s_ctanhl.c (__ctanhl): Likewise.
12247 * math/s_ctanl.c (__ctanl): Likewise.
12248 * math/libm-test.inc (ctan_test_tonearest): New function.
12249 (ctan_test_towardzero): Likewise.
12250 (ctan_test_downward): Likewise.
12251 (ctan_test_upward): Likewise.
12252 (ctanh_test_tonearest): Likewise.
12253 (ctanh_test_towardzero): Likewise.
12254 (ctanh_test_downward): Likewise.
12255 (ctanh_test_upward): Likewise.
12256 (main): Call these new functions.
12257 * sysdeps/i386/fpu/libm-test-ulps: Update.
12258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12260 2012-07-03 Mike Frysinger <vapier@gentoo.org>
12262 * .gitignore: Delete /ports entry.
12264 2012-07-03 Andreas Jaeger <aj@suse.de>
12266 * po/bg.po: Update from translation team.
12267 * po/cs.po: Likewise.
12268 * po/de.po: Likewise.
12269 * po/hr.po: Likewise.
12270 * po/nl.pl: Likewise.
12271 * po/pl.po: Likewise.
12272 * po/vi.po: Likewise.
12274 2012-07-03 Joseph Myers <joseph@codesourcery.com>
12276 * Makeconfig [!+link] (+link-before-libc): New variable.
12277 [!+link] (+link-after-libc): Likewise.
12278 [!+link] (+link-tests): Likewise.
12279 [!+link] (+link): Define in terms of $(+link-before-libc) and
12280 $(+link-after-libc).
12281 [!+link-static] (+link-static-before-libc): New variable.
12282 [!+link-static] (+link-static-after-libc): Likewise.
12283 [!+link-static] (+link-static-tests): Likewise.
12284 [!+link-static] (+link-static): Define in terms of
12285 $(+link-static-before-libc) and $(+link-static-after-libc).
12286 [build-shared] (link-libc-before-gnulib): New variable.
12287 [build-shared] (link-libc-tests): Likewise.
12288 [build-shared] (link-libc): Define in terms of
12289 $(link-libc-before-gnulib).
12290 [!build-shared] (link-libc-tests): New variable.
12291 (link-libc-static-tests): New variable.
12292 [!gnulib] (gnulib-arch): New variable.
12293 [!gnulib] (gnulib-tests): Likewise.
12294 [!gnulib] (static-gnulib-arch): Likewise.
12295 [!gnulib] (static-gnulib-tests): Likewise.
12296 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12297 Define with "=" instead of ":=".
12298 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12299 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12300 * Rules (binaries-all-notests): New variable.
12301 (binaries-all-tests): Likewise.
12302 (binaries-static-notests): Likewise.
12303 (binaries-static-tests): Likewise.
12304 (binaries-all): Define using $(binaries-all-notests) and
12305 $(binaries-all-tests).
12306 (binaries-static): Define using $(binaries-static-notests) and
12307 $(binaries-static-tests).
12308 (binaries-shared-tests): New variable.
12309 (binaries-shared-notests): Likewise.
12310 (binaries-shared): Remove variable.
12311 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12312 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12313 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12314 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12315 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12316 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12317 * elf/Makefile (sln-modules): New variable.
12318 (extra-objs): Add $(sln-modules:=.o).
12319 (ldconfig-modules): Add static-stubs.
12320 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12321 * elf/static-stubs.c: New file.
12324 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12325 by 7 not 8 to examine high bit of fractional part. Use volatile
12326 variables when splitting into final array of floats if
12327 __FLT_EVAL_METHOD__ != 0.
12328 * math/libm-test.inc (cos_test): Add another test.
12329 (sin_test): Likewise.
12330 * sysdeps/i386/fpu/libm-test-ulps: Update.
12333 * math/libm-test.inc (cosh_test): Add more tests.
12335 * version.h (RELEASE): Set to "development".
12336 (VERSION): Set to "2.16.90".
12338 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12340 * NEWS: Update copyright. Remove last-updated date.
12341 Mention math library bug fixes and timezone data changes.
12342 * README: Mention GNU/Hurd, x32, and HPPA support status.
12344 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12346 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12348 2012-06-27 Andreas Jaeger <aj@suse.de>
12350 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12352 2012-06-25 Andreas Jaeger <aj@suse.de>
12354 * sysdeps/s390/fpu/libm-test-ulps: Update.
12356 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12357 Thomas Schwinge <thomas@codesourcery.com>
12359 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12360 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12361 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12364 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12366 * sysdeps/mach/start.c: Remove file.
12367 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12368 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12369 * sysdeps/sh/init-first.c: Likewise.
12371 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12372 registers for frame unwinding purposes, add CFI directives.
12373 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12374 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12375 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12378 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12379 __fortify_fail returning.
12380 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12382 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12383 sysdeps/sh/____longjmp_chk.S.
12384 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12385 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12386 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12387 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12389 * sysdeps/sh/abort-instr.h: New file.
12390 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12391 process in case exit returns.
12393 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12394 initialize the GOT register before use.
12396 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12397 calculation of ARGC > 4.
12399 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12400 meaningful names to some local labels.
12402 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12403 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12405 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12406 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12407 (__arch_compare_and_exchange_val_16_acq): Likewise.
12408 (__arch_compare_and_exchange_val_32_acq): Likewise.
12409 (atomic_exchange_and_add): Fix gUSA sequence.
12410 (atomic_add): Likewise.
12411 (atomic_add_negative): Likewise.
12412 (atomic_add_zero): Likewise.
12413 (atomic_bit_test_set): Likewise.
12415 2012-06-22 Andreas Schwab <schwab@redhat.com>
12418 * include/link.h (struct link_map): Add l_free_initfini.
12419 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12421 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12422 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12423 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12426 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12428 * configure.in: Use AC_LANG_SOURCE.
12429 * configure: Regenerate.
12431 2012-06-22 Roland McGrath <roland@hack.frob.com>
12433 * configure.in (libc_cv_localstatedir): New substituted variable.
12434 * configure: Regenerated.
12435 * config.make.in (localstatedir): New variable, substituted from
12436 libc_cv_localstatedir.
12437 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12438 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12439 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12440 * sysdeps/gnu/configure: Regenerated.
12442 2012-06-21 Jeff Law <law@redhat.com>
12445 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12446 free. Simplify list management for _LIBC case.
12448 2012-06-21 Joseph Myers <joseph@codesourcery.com>
12451 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12452 Clear sign bit of 64-bit integer value before comparing against
12455 * sysdeps/mach/configure: Regenerated.
12457 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12460 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12462 2012-06-21 Jeff Law <law@redhat.com>
12465 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12466 uint16_t for elements in the "seen" array to avoid char overflows.
12467 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12468 * elf/dl-open.c (dl_open_worker): Likewise.
12470 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12472 * scripts/list-sources.sh: Scan PORTS for translations.
12473 * po/libc.pot: Regenerated.
12475 2012-06-21 Andreas Jaeger <aj@suse.de>
12478 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12480 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12481 * bits/byteswap-16.h (__bswap_16): Likewise.
12482 * bits/byteswap.h (__bswap_constant_16): Likewise.
12484 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12487 * sysdeps/i386/fpu_control.h: Removed.
12488 * sysdeps/x86_64/fpu_control.h: Moved to ...
12489 * sysdeps/x86/fpu_control.h: Here.
12491 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12492 (_FPU_SETCW): Likewise.
12494 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12497 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12498 * sysdeps/x86/fpu/bits/mathinline.h: This.
12499 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12503 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12504 functions if __x86_64__ is defined.
12506 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12508 * string/endian.h: Add !__ASSEMBLER__ condition for including
12509 conversion interfaces.
12511 2012-06-15 Joseph Myers <joseph@codesourcery.com>
12514 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12515 of ABS(x) in calculating zero to negative powers other than odd
12517 * math/libm-test.inc (pow_test): Add more tests.
12519 2012-06-15 Andreas Jaeger <aj@suse.de>
12521 * manual/contrib.texi (Contributors): Update entry of Liubov
12522 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12525 2012-06-15 Cyril Hrubis <metan@ucw.cz>
12527 * string/string.h: Add __wur to GNU version of strerror_r.
12529 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12532 * string/Makefile (tests): Add tst-strtok_r.
12533 * string/tst-strtok_r.c: New file.
12534 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12535 RAX_LP/RDX_LP on SAVE_PTR.
12537 2012-06-14 Roland McGrath <roland@hack.frob.com>
12539 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12541 2012-06-14 Joseph Myers <joseph@codesourcery.com>
12543 * libm_test.inc (csqrt_test): Allow more spurious underflow
12545 (j0_test): Likewise.
12546 (j1_test): Likewise.
12547 (y0_test): Likewise.
12548 (y1_test): Likewise.
12550 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12552 * po/Makefile (libc.pot): Use UTF-8 charset.
12554 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12557 Suppress sign-conversion warning from FD_SET.
12558 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12559 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12560 not unsigned long int.
12561 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12563 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12567 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12568 __extern_always_inline instead of __extern_inline.
12569 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12570 (__signbit): Likewise.
12571 (__signbitl): Support C++ namespace.
12572 (lrintf): New inline function.
12574 (llrintf): Likewise.
12575 (llrint): Likewise.
12585 (floorf): Likewise.
12586 (nearbyint): Likewise.
12587 (nearbyintf): Likewise.
12589 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12591 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12592 non-default versions.
12594 2012-06-11 Roland McGrath <roland@hack.frob.com>
12597 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12599 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12601 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12602 (FE_UPWARD, FE_DOWNWARD): Don't define.
12603 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12604 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12606 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12608 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12609 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12611 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12613 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12614 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12615 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12616 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12618 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12621 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12622 * sysdeps/i386/fpu/Implies: New file.
12623 * sysdeps/x86_64/fpu/Implies: Likewise.
12624 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12625 * sysdeps/x86/fpu/bits/fenv.h: This.
12627 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12630 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12633 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12634 character 0xffff that matches the last element of the
12637 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12639 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12642 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12644 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12645 values higher than 25.6283.
12647 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12649 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12650 subnormal exponent extraction and add some __builtin_expect.
12651 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12652 Fix for subnormal mantissa calculation.
12654 2012-06-04 Mike Frysinger <vapier@gentoo.org>
12656 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12657 cpu2 is -1 and errno is not ENOSYS.
12659 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12662 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12663 * sysdeps/x86/bits/string.h: This.
12664 * sysdeps/x86_64/bits/string.h: Removed.
12666 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12667 if not compiling for x86-64, but compiling for >= i486.
12669 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12670 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12672 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12673 New macro from Linux kernel 3.4.0.
12674 (FP_XSTATE_MAGIC2): Likewise.
12675 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12676 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12677 (struct _fpx_sw_bytes): New struct.
12678 (struct _xsave_hdr): Likewise.
12679 (struct _ymmh_state): Likewise.
12680 (struct _xstate): Likewise.
12682 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12683 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12684 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12685 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12686 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12687 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12689 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12690 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12691 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12692 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12693 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12694 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12696 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12699 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12700 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12701 (sysdep_headers): Include sys/platform/ppc.h.
12702 * sysdeps/powerpc/test-gettimebase.c: Test for
12703 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12704 * manual/Makefile (appendices): Include platform.texi.
12705 * manual/contrib.texi (Contributors): Update @node pointers.
12706 * manual/maint.texi (Maintenance): Likewise.
12707 (Platform): New node.
12708 * manual/platform.texi: New file. Document the new features.
12710 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12711 Jakub Jelinek <jakub@redhat.com>
12714 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12715 where __builtin_expect is unavailable.
12717 2012-06-03 David S. Miller <davem@davemloft.net>
12719 * stdlib/longlong.h: Updated from GCC.
12721 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12724 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12725 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12728 (GLIBC_2.16): Likewise.
12730 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12732 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12734 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12737 (default-abi): New variable.
12738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12739 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12741 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12743 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12745 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12748 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12749 definition. Document in comment.
12751 2012-06-01 David S. Miller <davem@davemloft.net>
12753 * stdlib/longlong.h: Updated from GCC.
12755 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12758 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12759 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12760 sys/debugreg.h sys/io.h here.
12761 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12762 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12764 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12765 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12766 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12767 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12768 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12769 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12771 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12772 Define only if __x86_64__ is defined.
12774 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12777 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12778 Use int64_t for variable i.
12779 * math/libm-test.inc (fmod_test): Add more tests.
12781 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12782 z computation is not scheduled after fetestexcept.
12783 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12784 Use math_force_eval instead of asm to ensure calculation scheduled
12785 before exception test.
12786 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12787 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12789 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12792 computation is not scheduled after fetestexcept.
12794 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12797 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12798 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12800 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12802 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12803 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12805 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12808 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12810 (__WCHAR_MIN): Support __WORDSIZE == 64.
12811 (__WCHAR_MAX): Likewise.
12813 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12814 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12817 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12818 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12821 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12822 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12824 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12825 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12827 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12828 Defined to 1 if __x86_64__ isn't defined.
12829 (_STAT_VER_LINUX_OLD): New.
12830 (st_atime): Remove duplicate.
12831 (st_mtime): Likewise.
12832 (st_ctime): Likewise.
12834 2012-05-31 David S. Miller <davem@davemloft.net>
12836 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12839 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12841 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12845 * elf/dl-reloc.c: Include <_itoa.h>.
12846 (_dl_reloc_bad_type): Remove use of INTUSE.
12847 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12848 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12849 * stdio-common/psiginfo.c (psiginfo): Likewise.
12850 * stdio-common/psignal.c (psignal): Likewise.
12851 * string/strsignal.c (strsignal): Likewise.
12852 * include/signal.h (_sys_siglist): Declare hidden proto.
12853 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12854 INTVARDEF with libc_hidden_data_def.
12855 * stdio-common/itoa-udigits.c: Likewise.
12856 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12857 (_itoa_lower_digits_internal): Remove declaration.
12858 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12859 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12860 (_sys_sigabbrev_internal): Remove aliases.
12861 (_sys_siglist): Define hidden alias.
12863 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12868 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12871 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12872 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12874 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12875 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12876 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12877 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12878 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12879 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12881 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12882 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12883 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12885 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12893 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12894 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12895 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12897 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12898 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12899 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12900 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12901 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12902 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12904 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12905 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12907 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12908 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12910 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12911 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12912 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12914 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12915 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12917 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12919 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12920 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12921 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12923 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12925 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12927 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12929 * math/math.h (M_El): Use two more decimal places.
12930 (M_LOG2El): Likewise.
12931 (M_LOG10El): Likewise.
12932 (M_LN2l): Likewise.
12933 (M_LN10l): Likewise.
12935 (M_PI_2l): Likewise.
12936 (M_PI_4l): Likewise.
12937 (M_1_PIl): Likewise.
12938 (M_2_PIl): Likewise.
12939 (M_2_SQRTPIl): Likewise.
12940 (M_SQRT2l): Likewise.
12941 (M_SQRT1_2l): Likewise.
12943 2012-05-31 David S. Miller <davem@davemloft.net>
12945 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12946 values between float registers.
12947 * sysdeps/sparc/sparc64/memset.S: Likewise.
12948 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12950 2012-05-31 Mike Frysinger <vapier@gentoo.org>
12952 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12953 -D_FORTIFY_SOURCE=1.
12954 (CPPFLAGS-tst-longjmp_chk.c): Define.
12955 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12956 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12957 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12958 CFLAGS-tst-wchar-h.c.
12960 2012-05-31 Marek Polacek <polacek@redhat.com>
12963 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12964 __endmntent_internal): Remove declaration.
12965 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12966 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12967 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12969 2012-05-30 David S. Miller <davem@davemloft.net>
12971 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12972 (___Q_simulate_exceptions): Use real FP ops rather than writing
12974 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12977 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12980 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12981 * sysdeps/x86/bits/xtitypes.h: This.
12983 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12984 * sysdeps/x86/bits/wordsize.h: This.
12986 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12987 * sysdeps/x86/bits/huge_vall.h: This.
12989 * sysdeps/i386/bits/select.h: Removed.
12990 * sysdeps/x86_64/bits/select.h: Renamed to ...
12991 * sysdeps/x86/bits/select.h: This.
12993 * sysdeps/i386/bits/setjmp.h: Removed.
12994 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12995 * sysdeps/x86/bits/setjmp.h: This.
12997 * sysdeps/i386/bits/mathdef.h: Removed.
12998 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12999 * sysdeps/x86/bits/mathdef.h: This.
13001 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13004 * include/sys/socket.h (__connect_internal)
13005 (__libc_sa_len_internal): Remove declaration.
13006 (__connect, __libc_sa_len): Declare hidden_proto.
13007 (SA_LEN): Remove use of INTUSE.
13008 * socket/connect.c: Add libc_hidden_def.
13009 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13010 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13011 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13013 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13014 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13015 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13016 of adding _internal alias.
13018 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13021 * sysdeps/i386/bits/link.h: Removed.
13022 * sysdeps/i386/bits/linkmap.h: Likewise.
13023 * sysdeps/x86_64/bits/link.h: Renamed to ...
13024 * sysdeps/x86/bits/link.h: This.
13025 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13026 * sysdeps/x86/bits/linkmap.h: This.
13028 * sysdeps/i386/bits/endian.h: Removed.
13029 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13030 * sysdeps/x86/bits/endian.h: This.
13032 * sysdeps/i386/bits/byteswap.h: Removed.
13033 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13034 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13035 * sysdeps/x86/bits/byteswap.h: This.
13036 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13037 * sysdeps/x86/bits/byteswap-16.h: This.
13038 * sysdeps/i386/Implies: Add x86.
13039 * sysdeps/x86_64/Implies: Likewise.
13041 2012-05-30 David S. Miller <davem@davemloft.net>
13043 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13044 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13045 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13046 (FP_TRAPPING_EXCEPTIONS): Define.
13047 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13048 (FP_TRAPPING_EXCEPTIONS): Define.
13049 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13050 subnormals only when inexact has been signalled or underflow
13051 exceptions are enabled.
13052 (_FP_PACK_CANONICAL): Likewise.
13054 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13057 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13058 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13060 2012-05-30 Richard Henderson <rth@twiddle.net>
13062 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13063 with #ifndef NOT_IN_libc.
13065 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13066 marked to avoid plt entry.
13068 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13071 * Makeconfig (default-abi): New macro.
13072 (abi-includes): Likewise.
13073 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13074 $(abi-$(default-abi)-lib-soname) for soname if defined.
13075 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13077 * Makefile (installed-stubs): Likewise.
13078 * include/stubs-biarch.h: Removed.
13079 * scripts/lib-names.awk: Only handle one library at a time.
13080 * scripts/soversions.awk: Remove WORDSIZE support.
13081 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13083 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13085 (syscall-list-default-condition): Likewise.
13086 (syscall-list-default-condition): Likewise.
13087 (syscall-list-includes): Likewise.
13088 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13089 syscall-list-* with abi-*. Handle undefined abi-variants.
13090 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13091 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13092 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13093 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13094 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13095 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13097 (syscall-list-32-options): Likewise.
13098 (syscall-list-32-condition): Likewise.
13099 (syscall-list-64-options): Likewise.
13100 (syscall-list-64-condition): Likewise.
13101 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13103 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13106 (abi-64-ld-soname): New macro.
13107 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13108 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13111 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13112 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13114 2012-05-30 Joseph Myers <joseph@codesourcery.com>
13116 * sysdeps/unix/sysv/linux/kernel-features.h
13117 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13118 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13119 include <kernel-features.h>.
13120 [!__NR_ftruncate64]: Remove conditional code.
13121 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13122 [__NR_ftruncate64]: Make code unconditional.
13123 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13124 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13125 include <kernel-features.h>.
13126 [!__NR_ftruncate64]: Remove conditional code.
13127 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13128 [__NR_ftruncate64]: Make code unconditional.
13129 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13131 include <kernel-features.h>.
13132 [!__NR_ftruncate64]: Remove conditional code.
13133 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13134 [__NR_ftruncate64]: Make code unconditional.
13135 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13137 include <kernel-features.h>.
13138 [!__NR_ftruncate64]: Remove conditional code.
13139 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13140 [__NR_ftruncate64]: Make code unconditional.
13141 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13143 * configure.in (libc_cv_fpie): Weaken to a compile test using
13144 LIBC_TRY_CC_OPTION.
13145 * configure: Regenerated.
13147 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13162 2012-05-27 David S. Miller <davem@davemloft.net>
13164 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13166 (__Q_simulate_exceptions): Return void. Change to simulate
13167 exceptions by writing into the %fsr.
13168 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13169 (__Qp_handle_exceptions): Likewise.
13171 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13172 __Qp_handle_exceptions.
13173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13174 __Qp_handle_exceptions.
13175 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13176 as unused and give dummy FP_RND_NEAREST initializer.
13177 (FP_INHIBIT_RESULTS): Define.
13178 (___Q_simulate_exceptions): Update declaration.
13179 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13181 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13182 as unused and give dummy FP_RND_NEAREST initializer.
13183 (__Qp_handle_exceptions): Update declaration.
13184 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13187 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13189 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13190 the temporary FPU control word.
13191 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13192 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13193 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13194 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13195 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13196 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13197 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13198 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13199 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13200 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13201 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13203 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13205 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13208 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13210 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13211 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13212 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13213 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13215 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13216 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13219 2012-05-27 Ulrich Drepper <drepper@gmail.com>
13221 * po/h.po: Update from translation team.
13223 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13225 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13227 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13228 handling of denormals.
13229 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13230 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13231 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13232 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13233 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13234 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13235 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13238 2012-05-26 Marek Polacek <polacek@redhat.com>
13241 * math/libm-test.inc (fma_test): Don't always expect underflow
13244 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13247 * elf/tst-execstack.c: Include stackinfo.h.
13248 (do_test): Adjust test case to ensure that pthread_getattr_np
13249 behaviour remains the same after marking stack executable.
13251 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13253 * sysdeps/unix/sysv/linux/kernel-features.h
13254 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13255 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13257 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13258 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13259 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13261 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13262 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13264 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13266 * configure.in: Define the default includes to being none.
13267 * configure: Regenerated.
13269 2012-05-25 Roland McGrath <roland@hack.frob.com>
13271 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13272 * sysdeps/x86_64/setjmp.S: Likewise.
13273 * sysdeps/i386/bsd-setjmp.S: Likewise.
13274 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13275 * sysdeps/i386/setjmp.S: Likewise.
13276 * sysdeps/i386/__longjmp.S: Likewise.
13277 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13278 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13280 * include/stap-probe.h: New file.
13281 * configure.in: Handle --enable-systemtap.
13282 * configure: Regenerated.
13283 * config.h.in (USE_STAP_PROBE): New #undef.
13284 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13285 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13286 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13288 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13291 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13292 to 2.4.0 where earlier.
13293 * sysdeps/unix/sysv/linux/configure: Regenerated.
13294 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
13303 [__ASSUME_32BITUIDS]: Make code unconditional.
13304 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13305 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13306 <kernel-features.h>.
13307 [__ASSUME_32BITUIDS]: Make code unconditional.
13308 [!__ASSUME_32BITUIDS]: Remove conditional code.
13309 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13310 <kernel-features.h>.
13311 [__ASSUME_32BITUIDS]: Make code unconditional.
13312 [!__ASSUME_32BITUIDS]: Remove conditional code.
13313 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13314 <kernel-features.h>.
13315 [__ASSUME_32BITUIDS]: Make code unconditional.
13316 [!__ASSUME_32BITUIDS]: Remove conditional code.
13317 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13318 <kernel-features.h>.
13319 [__ASSUME_32BITUIDS]: Make code unconditional.
13320 [!__ASSUME_32BITUIDS]: Remove conditional code.
13321 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13322 <kernel-features.h>.
13323 [__ASSUME_32BITUIDS]: Make code unconditional.
13324 [!__ASSUME_32BITUIDS]: Remove conditional code.
13325 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13326 <kernel-features.h>.
13327 [__ASSUME_32BITUIDS]: Make code unconditional.
13328 [!__ASSUME_32BITUIDS]: Remove conditional code.
13329 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13330 <kernel-features.h>.
13331 [__ASSUME_32BITUIDS]: Make code unconditional.
13332 [!__ASSUME_32BITUIDS]: Remove conditional code.
13333 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13334 <kernel-features.h>.
13335 [__ASSUME_32BITUIDS]: Make code unconditional.
13336 [!__ASSUME_32BITUIDS]: Remove conditional code.
13337 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13338 <kernel-features.h>.
13339 [__ASSUME_32BITUIDS]: Make code unconditional.
13340 [!__ASSUME_32BITUIDS]: Remove conditional code.
13341 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13342 <kernel-features.h>.
13343 [__ASSUME_32BITUIDS]: Make code unconditional.
13344 [!__ASSUME_32BITUIDS]: Remove conditional code.
13345 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13346 <kernel-features.h>.
13347 [__NR_setresgid] (__setresgid): Do not declare.
13348 [__ASSUME_32BITUIDS]: Make code unconditional.
13349 [!__ASSUME_32BITUIDS]: Remove conditional code.
13350 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13351 <kernel-features.h>.
13352 [__NR_setresuid] (__setresuid): Do not declare.
13353 [__ASSUME_32BITUIDS]: Make code unconditional.
13354 [!__ASSUME_32BITUIDS]: Remove conditional code.
13355 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13356 <kernel-features.h>.
13357 [__ASSUME_32BITUIDS]: Make code unconditional.
13358 [!__ASSUME_32BITUIDS]: Remove conditional code.
13359 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13360 <kernel-features.h>.
13361 [__ASSUME_32BITUIDS]: Make code unconditional.
13362 [!__ASSUME_32BITUIDS]: Remove conditional code.
13363 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13364 <kernel-features.h>.
13365 [__ASSUME_32BITUIDS]: Make code unconditional.
13366 [!__ASSUME_32BITUIDS]: Remove conditional code.
13367 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13368 <kernel-features.h>.
13369 [__ASSUME_32BITUIDS]: Make code unconditional.
13370 [!__ASSUME_32BITUIDS]: Remove conditional code.
13371 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13372 <kernel-features.h>.
13373 [__ASSUME_32BITUIDS]: Make code unconditional.
13374 [!__ASSUME_32BITUIDS]: Remove conditional code.
13375 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13376 <kernel-features.h>.
13377 [__ASSUME_32BITUIDS]: Make code unconditional.
13378 [!__ASSUME_32BITUIDS]: Remove conditional code.
13379 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13380 <kernel-features.h>.
13381 [__ASSUME_32BITUIDS]: Make code unconditional.
13382 [!__ASSUME_32BITUIDS]: Remove conditional code.
13383 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13384 <kernel-features.h>.
13385 [__ASSUME_32BITUIDS]: Make code unconditional.
13386 [!__ASSUME_32BITUIDS]: Remove conditional code.
13387 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13388 <kernel-features.h>.
13389 [__ASSUME_32BITUIDS]: Make code unconditional.
13390 [!__ASSUME_32BITUIDS]: Remove conditional code.
13391 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13392 <kernel-features.h>.
13393 [__ASSUME_32BITUIDS]: Make code unconditional.
13394 [!__ASSUME_32BITUIDS]: Remove conditional code.
13395 * sysdeps/unix/sysv/linux/kernel-features.h
13396 (__ASSUME_SETRESUID_SYSCALL): Remove.
13397 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13398 (__ASSUME_32BITUIDS): Likewise.
13399 (__ASSUME_LDT_WORKS): Likewise.
13400 (__ASSUME_O_DIRECTORY): Likewise.
13401 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13402 architecture but not kernel version.
13403 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13404 (__ASSUME_MMAP2_SYSCALL): Likewise.
13405 (__ASSUME_STAT64_SYSCALL): Likewise.
13406 (__ASSUME_IPC64): Likewise.
13407 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13408 <kernel-features.h>.
13409 [__ASSUME_32BITUIDS]: Make code unconditional.
13410 [!__ASSUME_32BITUIDS]: Remove conditional code.
13411 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13412 <kernel-features.h>.
13413 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13414 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13415 132096]: Remove conditional code.
13416 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13417 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13418 <kernel-features.h>.
13419 [__ASSUME_32BITUIDS]: Make code unconditional.
13420 [!__ASSUME_32BITUIDS]: Remove conditional code.
13421 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13422 <kernel-features.h>.
13423 [__ASSUME_32BITUIDS]: Make code unconditional.
13424 [!__ASSUME_32BITUIDS]: Remove conditional code.
13425 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13426 <kernel-features.h>.
13427 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13429 (__setresgid): Do not declare.
13430 [__ASSUME_32BITUIDS]: Make code unconditional.
13431 [!__ASSUME_32BITUIDS]: Remove conditional code.
13432 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13433 <kernel-features.h>.
13434 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13436 (__setresuid): Do not declare.
13437 [__ASSUME_32BITUIDS]: Make code unconditional.
13438 [!__ASSUME_32BITUIDS]: Remove conditional code.
13439 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13440 <kernel-features.h>.
13441 [__ASSUME_32BITUIDS]: Make code unconditional.
13442 [!__ASSUME_32BITUIDS]: Remove conditional code.
13443 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13444 <kernel-features.h>.
13445 [__ASSUME_32BITUIDS]: Make code unconditional.
13446 [!__ASSUME_32BITUIDS]: Remove conditional code.
13448 2012-05-25 Richard Henderson <rth@twiddle.net>
13450 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13451 dl_hwcap to ifunc resolver.
13452 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13454 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13455 dl_hwcap to ifunc resolver.
13456 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13458 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13461 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13462 for |x| <= 2**-26, not 2**-57.
13463 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13466 2012-05-24 Jeff Law <law@redhat.com>
13468 * stdio-common/Makefile (tests): Add bug25.
13469 * stdio-common/bug25.c: New test.
13471 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13474 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13475 multiple of MALLOC_ALIGNMENT in size.
13476 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13478 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13480 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13482 (FILENAME_MAX): Use macro-int-constant.
13483 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13484 (_IOFBF): Use macro-int-constant.
13485 (_IOLBF): Likewise.
13486 (_IONBF): Likewise.
13487 (SEEK_CUR): Likewise.
13488 (SEEK_END): Likewise.
13489 (SEEK_SET): Likewise.
13490 (TMP_MAX): Likewise.
13491 (EOF): Use macro-int-constant. Require < 0.
13492 (NULL): Use macro-constant. Require == 0.
13493 (stdin): Require type to be FILE *.
13494 (stdout): Likewise.
13495 (stderr): Likewise.
13496 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13497 macro-int-constant.
13498 (EXIT_SUCCESS): Likewise.
13499 (NULL): Use macro-constant. Require == 0.
13500 (RAND_MAX): Use macro-int-constant.
13501 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13502 [C99-based standards] (strtof): Require function.
13503 [C99-based standards] (strtold): Likewise.
13504 [C99-based standards] (strtoll): Likewise.
13505 [C99-based standards] (strtoull): Likewise.
13506 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13507 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13508 [ISO || ISO99 || ISO11] (math.h): Likewise.
13509 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13510 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13511 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13513 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13516 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13517 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13518 * intl/dgettext.c (DCGETTEXT): Likewise.
13519 * intl/gettext.c (DCGETTEXT): Likewise.
13520 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13521 * posix/regex_internal.h (gettext): Likewise.
13522 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13523 Remove declaration.
13524 * include/argz.h (__argz_count_internal)
13525 (__argz_stringify_internal): Remove declaration.
13526 (__argz_count, __argz_stringify): Declare hidden proto.
13527 * intl/dcgettext.c: Remove use of INTDEF.
13528 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13529 * string/argz-stringify.c: Likewise.
13530 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13531 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13532 Declare hidden proto.
13533 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13534 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13535 Declare hidden proto.
13536 * include/stdio.h (__asprintf_internal): Don't declare.
13537 (__asprintf): Don't define as macro. Declare hidden proto.
13538 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13539 (__fsetlocking): Declare hidden proto.
13540 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13541 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13543 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13544 (_IO_setlinebuf): Remove use of INTUSE.
13545 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13546 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13547 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13548 Remove declaration.
13549 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13550 (_IO_do_flush): Remove use of INTUSE.
13551 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13552 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13553 (_IO_adjust_column, _IO_least_wmarker)
13554 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13555 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13556 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13557 (_IO_default_doallocate, _IO_wdefault_doallocate)
13558 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13559 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13560 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13561 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13562 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13563 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13564 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13565 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13566 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13567 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13568 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13569 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13570 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13572 (_IO_flush_all_internal, _IO_adjust_column_internal)
13573 (_IO_default_uflow_internal, _IO_default_finish_internal)
13574 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13575 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13576 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13577 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13578 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13579 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13580 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13581 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13582 (_IO_file_close_internal, _IO_file_close_it_internal)
13583 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13584 (_IO_file_init_internal, _IO_file_attach_internal)
13585 (_IO_file_fopen_internal, _IO_file_read_internal)
13586 (_IO_file_sync_internal, _IO_file_seek_internal)
13587 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13588 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13589 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13590 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13591 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13592 (_IO_list_all_internal, _IO_link_in_internal)
13593 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13594 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13595 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13596 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13597 (_IO_do_write_internal, _IO_padn_internal)
13598 (_IO_getline_info_internal, _IO_getline_internal)
13599 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13600 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13601 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13602 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13603 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13604 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13605 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13606 with libc_hidden_ver, remove use of INTUSE.
13607 * libio/genops.c: Likewise.
13608 * libio/freopen.c: Likewise.
13609 * libio/freopen64.c: Likewise.
13610 * libio/iofclose.c: Likewise.
13611 * libio/iofdopen.c: Likewise.
13612 * libio/iofflush.c: Likewise.
13613 * libio/iofflush_u.c: Likewise.
13614 * libio/iofgets.c: Likewise.
13615 * libio/iofgets_u.c: Likewise.
13616 * libio/iofopen.c: Likewise.
13617 * libio/iofopncook.c: Likewise.
13618 * libio/iofread.c: Likewise.
13619 * libio/iofread_u.c: Likewise.
13620 * libio/ioftell.c: Likewise.
13621 * libio/iofwrite.c: Likewise.
13622 * libio/iogetline.c: Likewise.
13623 * libio/iogets.c: Likewise.
13624 * libio/iogetwline.c: Likewise.
13625 * libio/iopadn.c: Likewise.
13626 * libio/iopopen.c: Likewise.
13627 * libio/ioseekoff.c: Likewise.
13628 * libio/ioseekpos.c: Likewise.
13629 * libio/iosetbuffer.c: Likewise.
13630 * libio/iosetvbuf.c: Likewise.
13631 * libio/ioungetc.c: Likewise.
13632 * libio/ioungetwc.c: Likewise.
13633 * libio/iovdprintf.c: Likewise.
13634 * libio/iovsprintf.c: Likewise.
13635 * libio/iovsscanf.c: Likewise.
13636 * libio/memstream.c: Likewise.
13637 * libio/obprintf.c: Likewise.
13638 * libio/oldfileops.c: Likewise.
13639 * libio/oldiofclose.c: Likewise.
13640 * libio/oldiofdopen.c: Likewise.
13641 * libio/oldiofopen.c: Likewise.
13642 * libio/oldiopopen.c: Likewise.
13643 * libio/oldstdfiles.c: Likewise.
13644 * libio/putc.c: Likewise.
13645 * libio/setbuf.c: Likewise.
13646 * libio/setlinebuf.c: Likewise.
13647 * libio/stdfiles.c: Likewise.
13648 * libio/strops.c: Likewise.
13649 * libio/vasprintf.c: Likewise.
13650 * libio/vscanf.c: Likewise.
13651 * libio/vsnprintf.c: Likewise.
13652 * libio/vswprintf.c: Likewise.
13653 * libio/wfiledoalloc.c: Likewise.
13654 * libio/wfileops.c: Likewise.
13655 * libio/wgenops.c: Likewise.
13656 * libio/wmemstream.c: Likewise.
13657 * libio/wstrops.c: Likewise.
13658 * libio/__fpurge.c: Likewise.
13659 * libio/__fsetlocking.c: Likewise.
13660 * assert/assert.c: Likewise.
13661 * debug/fgets_chk.c: Likewise.
13662 * debug/fgets_u_chk.c: Likewise.
13663 * debug/fread_chk.c: Likewise.
13664 * debug/fread_u_chk.c: Likewise.
13665 * debug/gets_chk.c: Likewise.
13666 * debug/obprintf_chk.c: Likewise.
13667 * debug/vasprintf_chk.c: Likewise.
13668 * debug/vdprintf_chk.c: Likewise.
13669 * debug/vsnprintf_chk.c: Likewise.
13670 * debug/vsprintf_chk.c: Likewise.
13671 * malloc/mtrace.c: Likewise.
13672 * misc/error.c: Likewise.
13673 * misc/syslog.c: Likewise.
13674 * stdio-common/asprintf.c: Likewise.
13675 * stdio-common/fxprintf.c: Likewise.
13676 * stdio-common/getw.c: Likewise.
13677 * stdio-common/isoc99_fscanf.c: Likewise.
13678 * stdio-common/isoc99_scanf.c: Likewise.
13679 * stdio-common/isoc99_vfscanf.c: Likewise.
13680 * stdio-common/isoc99_vscanf.c: Likewise.
13681 * stdio-common/isoc99_vsscanf.c: Likewise.
13682 * stdio-common/printf-prs.c: Likewise.
13683 * stdio-common/printf_fp.c: Likewise.
13684 * stdio-common/printf_fphex.c: Likewise.
13685 * stdio-common/printf_size.c: Likewise.
13686 * stdio-common/putw.c: Likewise.
13687 * stdio-common/scanf.c: Likewise.
13688 * stdio-common/sprintf.c: Likewise.
13689 * stdio-common/tmpfile.c: Likewise.
13690 * stdio-common/vfprintf.c: Likewise.
13691 * stdio-common/vfscanf.c: Likewise.
13692 * stdlib/strfmon_l.c: Likewise.
13693 * sunrpc/openchild.c: Likewise.
13694 * sunrpc/xdr_stdio.c: Likewise.
13695 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13696 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13698 2012-05-24 Roland McGrath <roland@hack.frob.com>
13700 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13702 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13703 in the third column, to generate for the shared library an IFUNC
13704 that uses _dl_vdso_vsym.
13705 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13706 * Makeconfig (object-suffixes-noshared): New variable.
13708 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13709 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13710 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13711 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13714 * include/sys/time.h (__gettimeofday): Remove macro.
13715 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13716 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13718 (__gettimeofday): Add libc_hidden_def.
13719 (gettimeofday): Add libc_hidden_weak.
13720 * sysdeps/mach/gettimeofday.c: Likewise.
13721 * sysdeps/posix/gettimeofday.c: Likewise.
13722 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13723 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13724 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13725 (__gettimeofday_internal): Remove strong_alias.
13726 (__gettimeofday): Add libc_hidden_def.
13727 (gettimeofday): Add libc_hidden_weak.
13728 * sysdeps/unix/syscalls.list (gettimeofday):
13729 Remove __gettimeofday_internal alias.
13731 2012-05-24 Daniel Jacobowitz <drow@false.org>
13732 H.J. Lu <hongjiu.lu@intel.com>
13735 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13736 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13737 (largebin_index_32_big): New.
13738 (largebin_index): Use it for 16-byte alignment.
13739 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13740 correction with front_misalign.
13742 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13763 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13765 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13767 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13770 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13771 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13773 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13777 * math/libm-test.inc (exp_test): Add test from bug 14036.
13778 (pow_test): Add test from bug 10846.
13780 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13782 (special_function): Do not include flags in test name.
13783 (parse_args): Likewise.
13784 * sysdeps/i386/fpu/libm-test-ulps: Update.
13785 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13786 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13787 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13790 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13792 * math/libm-test.inc ("Philosophy"): Update comment about
13794 (UNDERFLOW_EXCEPTION): New macro.
13795 (UNDERFLOW_EXCEPTION_OK): Likewise.
13796 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13797 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13798 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13799 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13800 (INVALID_EXCEPTION_OK): Update value.
13801 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13802 (OVERFLOW_EXCEPTION_OK): Likewise.
13803 (IGNORE_ZERO_INF_SIGN): Likewise.
13804 (test_exceptions): Handle underflow exceptions.
13805 (acos_test): Update for underflow exception expectations.
13806 (cexp_test): Likewise.
13807 (clog_test): Likewise.
13808 (clog10_test): Likewise.
13809 (csqrt_test): Likewise.
13810 (ctan_test): Likewise.
13811 (ctanh_test): Likewise.
13812 (exp_test): Likewise.
13813 (exp10_test): Likewise.
13814 (exp2_test): Likewise.
13815 (expm1_test): Likewise.
13816 (fma_test): Likewise.
13817 (j0_test): Likewise.
13818 (jn_test): Likewise.
13819 (nexttoward_test): Likewise.
13820 (pow_test): Likewise.
13821 (scalbn_test): Likewise.
13822 (scalbln_test): Likewise.
13823 (tan_test): Likewise.
13824 (y1_test): Likewise.
13825 * sysdeps/i386/fpu/libm-test-ulps: Update.
13826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13828 2012-05-23 David S. Miller <davem@davemloft.net>
13830 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13831 (__libc_sigaction): Remove unused local variables.
13833 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13835 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13837 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13839 mktime: avoid signed integer overflow
13840 * time/mktime.c (__mktime_internal): Do not mishandle the case
13841 where diff == INT_MIN.
13843 mktime: simplify computation of average
13844 * time/mktime.c (ranged_convert): Use new time_t_avg function
13845 instead of rolling our own (probably-slower) code.
13847 mktime: do not assume signed right shift propagates sign bit
13848 * time/mktime.c (isdst_differ): New static function.
13849 (__mktime_internal): No need to normalize tm_isdst now.
13850 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13853 mktime: merge another wrapv change from gnulib
13854 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13855 from some compilers.
13857 mktime: remove incorrect attempt at unusual arithmetics
13858 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13859 The code didn't really work on such machines anyway.
13860 (TYPE_MINIMUM): Assume two's complement.
13861 (twos_complement_arithmetic): Verify that long_int and time_t
13862 are two's complement (or unsigned, in the latter case).
13864 mktime: check signed shifts on long_int and time_t, too
13865 * time/mktime.c (SHR): Check that shifts work as desired
13866 on the types long_int and time_t too, as SHR is used on
13869 mktime: do not assume 'long' is wide enough
13870 * time/mktime.c (verify): Move decl up.
13871 (long_int): New type.
13872 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13873 to remove assumption in the code that 'long' is wide enough to
13874 store year values. This assumption is not true on x32 and on
13875 some non-glibc platforms.
13877 mktime: merge wrapv change from gnulib
13878 * time/mktime.c (WRAPV): New macro.
13879 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13880 (guess_time_tm, __mktime_internal): Do not assume that signed
13881 integer overflow wraps around; modern compilers generate code
13882 where this assumption is no longer valid.
13884 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13886 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13887 Replace "jmp L(pseudo_end)" with "ret".
13888 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13891 2012-05-23 Andreas Jaeger <aj@suse.de>
13893 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13894 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13896 2012-05-23 Andreas Jaeger <aj@suse.de>
13897 Maximilian Attems <max@stro.at>
13899 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13902 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13904 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13905 code so that pseudo_end is just ret and the stack pointer is
13906 correct also for static library in error case.
13908 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13910 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13911 move to syscalls.list.
13912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13917 * manual/install.texi (Running make install): Do not mention Linux
13918 kernel version for which pt_chown is not needed.
13919 (Linux): Do not mention problems with nscd with 2.0 kernels.
13920 * INSTALL: Regenerated.
13922 2012-05-23 Andreas Jaeger <aj@suse.de>
13924 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13925 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13927 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13928 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13929 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13930 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13931 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13932 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13933 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13934 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13935 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13936 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13937 * sysdeps/unix/sysv/linux/bits/in.h
13938 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13940 2012-05-22 Roland McGrath <roland@hack.frob.com>
13942 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13943 (PREPARE_VERSION): Just use assert instead, it will be elided
13944 under [NDEBUG] anyway.
13946 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13948 * sysdeps/unix/sysv/linux/Makefile: Include
13949 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13950 (sysdep_routines): Remove sysctl.
13951 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13952 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13953 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13954 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13955 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13957 2012-05-22 Andreas Jaeger <aj@suse.de>
13959 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13960 that pseudo_end is just ret and the stack pointer is correct also
13961 for static library in error case.
13963 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13966 * nss/nsswitch.c (defconfig_entries): New variable.
13967 (__nss_database_lookup): Don't leak defconfig entries.
13968 (nss_parse_service_list): Don't leak on error paths.
13969 (free_database_entries): New function.
13970 (free_defconfig): New function.
13971 (free_mem): Move common code to free_database_entries.
13973 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13975 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13977 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13979 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13980 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13981 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13983 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13984 (INTERNAL_SYSCALL_TYPES): Likewise.
13985 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13986 (LOAD_REGS_TYPES_[1-6]): Likewise.
13987 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13988 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13990 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13992 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13993 copysignl for GLIBC_2_0.
13994 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13995 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13997 logbl for GLIBC_2_0.
13998 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13999 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14001 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14003 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14004 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14006 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14009 * time/mktime.c: Update copyright years.
14011 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14013 mktime: merge comment-quoting-style change from gnulib
14014 * time/mktime.c: Quote 'like this' in comments.
14015 The GNU coding standards suggest that we no longer quote `like this',
14016 as "`" and "'" are typically rendered asymmetrically nowadays.
14017 The typical gnulib style is to quote 'like this' when quoting
14018 code, and "like this" when quoting English.
14020 * time/mktime.c (compile-command): Add "-I.".
14022 mktime: merge mktime-internal.h change from gnulib
14023 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14025 mktime: merge time_r change from gnulib
14026 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14028 mktime: merge DEBUG change from gnulib
14029 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14030 case system <time.h> has a #define.
14032 mktime: merge <sys/types.h> change from gnulib
14033 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14034 since <time.t> is now guaranteed to define time_t.
14036 mktime: merge HAVE_CONFIG_H change from gnulib
14037 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14039 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14044 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14046 (struct rusage): Use anonymous union to pad each field to
14049 2012-05-21 David S. Miller <davem@davemloft.net>
14051 * Makefules (o-iterator): Remove .s cases.
14052 (compile-command.s): Delete.
14053 (COMPILE.s): Delete.
14054 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14056 2012-05-21 Joseph Myers <joseph@codesourcery.com>
14058 * configure.in (libc_cv_predef_stack_protector): Only consider
14059 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14060 * configure: Regenerated.
14062 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14064 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14065 New macro. Use R*LP on int and pointer.
14066 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
14067 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14068 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
14069 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14071 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14072 [__WORDSIZE_TIME64_COMPAT32] instead of
14073 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14074 (struct utmp): Likewise.
14075 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14076 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14078 (__WORDSIZE_TIME64_COMPAT32): This.
14079 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14080 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14081 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14082 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14083 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14084 (__WORDSIZE_TIME64_COMPAT32): New macro.
14086 2012-05-21 Andreas Jaeger <aj@suse.de>
14088 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14089 only if [SHARED]. Add prototype for __wcschr_ia32.
14091 2012-05-21 Roland McGrath <roland@hack.frob.com>
14093 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14094 of %rbp unmolested in the jmp_buf while mangling the low bits.
14095 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14096 unmolested high bits of %rbp while demangling the low bits.
14097 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14099 2012-05-21 Andreas Jaeger <aj@suse.de>
14101 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14102 * sunrpc/svc_simple.c: Use it for registerrpc.
14103 * sunrpc/xcrypt.c: Use it for passwd2des.
14105 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14107 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14109 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14110 Don't define if [__SYSCALL_WORDSIZE != 32].
14111 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14114 2012-05-21 Bruno Haible <bruno@clisp.org>
14115 Andreas Jaeger <aj@suse.de>
14117 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14118 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14119 inptr and inend for must_buffer_ch.
14120 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14121 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14122 * stdio-common/Makefile (tests): Remove bug15.
14123 (bug15-ENV): Remove macro.
14124 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14127 2012-05-19 Andreas Jaeger <aj@suse.de>
14128 Roland McGrath <roland@hack.frob.com>
14130 * manual/contrib.texi: Completely rewritten. It contains now an
14131 alphabetical list of contributors and their contributions.
14133 2012-05-21 Richard Henderson <rth@twiddle.net>
14135 * misc/getauxval.c (__getauxval): Use unsigned long int.
14136 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14137 (getauxval): Use unsigned long int.
14139 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14141 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14143 2012-05-21 Roland McGrath <roland@hack.frob.com>
14145 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14146 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14147 __alignof__ (long double).
14149 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14153 2012-05-20 Richard Henderson <rth@twiddle.net>
14155 * misc/getauxval.c: New file.
14156 * misc/sys/auxv.h: New file.
14157 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14158 (routines): Add getauxval.
14159 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14160 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14161 * elf/dl-sysdep.c (_dl_auxv): Remove.
14162 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14163 * elf/dl-support.c (_dl_auxv): New variable.
14164 (_dl_aux_init): Initialize it.
14165 * manual/startup.texi (Auxiliary Vector): New node.
14166 * sysdeps/generic/bits/hwcap.h: New file.
14167 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14168 * sysdeps/powerpc/sysdep.h: ... here. Include it.
14169 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14170 * sysdeps/sparc/sysdep.h: ... here. Include it.
14171 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14172 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
14173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14178 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14184 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14188 2012-05-19 David S. Miller <davem@davemloft.net>
14190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14192 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14195 * math/s_ccosh.c: Include <float.h>
14196 (__ccosh): Avoid internal overflow calculating sinh and cosh
14197 values before multiplying by sin and cos values.
14198 * math/s_ccoshf.c: Likewise.
14199 * math/s_ccoshl.c: Likewise.
14200 * math/s_csin.c: Likewise.
14201 * math/s_csinf.c: Likewise.
14202 * math/s_csinl.c: Likewise.
14203 * math/s_csinh.c: Likewise.
14204 * math/s_csinhf.c: Likewise.
14205 * math/s_csinhl.c: Likewise.
14206 * math/libm-test.inc (ccos_test): Add more tests.
14207 (ccosh_test): Likewise.
14208 (csin_test): Likewise.
14209 (csinh_test): Likewise.
14210 * sysdeps/i386/fpu/libm-test-ulps: Update.
14211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14213 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14215 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14216 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14218 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14220 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14222 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14223 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14224 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14225 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14226 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14227 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14228 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14229 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14230 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14231 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14232 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14233 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14234 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14235 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14236 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14237 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14238 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14239 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14240 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14241 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14242 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14243 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14244 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14245 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14246 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14247 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14248 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14249 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14250 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14251 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14252 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14254 2012-05-18 Andreas Jaeger <aj@suse.de>
14256 * csu/.gitignore: Delete.
14258 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14260 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14261 (timex): Use __syscall_slong_t.
14263 2012-05-18 Andreas Jaeger <aj@suse.de>
14264 Carlos O'Donell <carlos_odonell@mentor.com>
14266 * manual/install.texi (Configuring and compiling): Update
14267 description about files modified in the source directory.
14268 * INSTALL: Regenerated.
14270 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14272 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14273 value. Use "or" to set return value to -1.
14274 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14275 negate return value.
14277 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14279 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14280 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14281 failure if the compiler has Graphite support disabled.
14282 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14284 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14285 CFLAGS-memmove.c): Likewise.
14286 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14289 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14291 * sysdeps/x86_64/x32/_itoa.h: New file.
14293 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14294 getdents system call only if kernel and user dirents have the
14295 same d_ino and d_off.
14297 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14298 LLONG_MAX != LONG_MAX.
14299 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14300 (_fitoa_word): Likewise.
14302 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14304 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14305 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14306 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14308 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14309 include <bits/wordsize.h>. Check __x86_64__ instead of
14311 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14312 if __x86_64__ is defined. Use anonymous union on fpstate.
14314 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14317 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14319 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14320 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14321 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14322 Refer to _rtld_local_ro instead of _rtld_global_ro.
14323 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14325 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14327 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14329 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14330 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14331 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14333 * sysdeps/powerpc/powerpc32/dl-machine.c
14334 (__elf_machine_runtime_setup) [PROF]: Don't reference
14337 2012-05-18 Andreas Jaeger <aj@suse.de>
14339 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14340 function only available for GCCs before 3.4 since GCC 3.4
14341 introduced a builtin.
14343 (llrintf): Likewise.
14344 (llrint): Likewise.
14351 (nearbyint): Likewise.
14352 (nearbyintf): Likewise.
14356 (floorf): Likewise.
14358 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14360 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14361 on both fields and cast pointer to __syscall_ulong_t.
14363 * bits/types.h (__fsword_t): New type.
14364 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14365 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14366 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14367 (__FSWORD_T_TYPE): Likewise.
14368 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14369 (__FSWORD_T_TYPE): Likewise.
14370 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14371 (__FSWORD_T_TYPE): Likewise.
14372 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14373 (__FSWORD_T_TYPE): Likewise.
14374 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14375 __SWORD_TYPE with __fsword_t.
14376 (statfs64): Likewise.
14378 2012-05-17 David S. Miller <davem@davemloft.net>
14380 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14382 2012-05-17 Andreas Jaeger <aj@suse.de>
14384 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14387 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14389 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14391 2012-05-17 Andreas Jaeger <aj@suse.de>
14393 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14396 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14398 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14400 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14402 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14403 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14405 2012-05-17 Andreas Jaeger <aj@suse.de>
14406 Carlos O'Donell <carlos_odonell@mentor.com>
14409 * sysdeps/x86_64/multiarch/init-arch.h
14410 (bit_YMM_Usable): Rename to...
14411 (bit_AVX_Usable): ... this.
14412 (bit_FMA4_Usable): New macro.
14413 (bit_XMM_state): New macro.
14414 (bit_YMM_state): New macro.
14415 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14416 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14417 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14418 (CPUID_OSXSAVE): New macro.
14419 (CPUID_AVX): New macro.
14420 (CPUID_FMA4): New macro.
14421 (index_YMM_Usable): Rename to...
14422 (index_AVX_Usable): ... this.
14423 (HAS_AVX): Use HAS_ARCH_FEATURE.
14424 (HAS_FMA4): Likewise.
14425 (HAS_YMM_USABLE): Remove.
14426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14427 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14429 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14430 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14431 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14432 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14433 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14435 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14437 * math/libm-test.c: Support platforms without multiple rounding modes.
14438 * math/bug-nextafter.c: Support platforms without FP exceptions.
14439 * math/bug-nexttoward.c: Likewise.
14440 * math/test-fenv.c: Likewise.
14441 * math/test-misc.c: Likewise.
14442 * stdlib/bug-getcontext.c: Likewise.
14444 2012-05-17 Andreas Jaeger <aj@suse.de>
14446 * manual/examples/search.c (critter_cmp): Change signature to
14448 * manual/string.texi (Collation Functions): Likewise.
14450 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14452 * bits/types.h: Fold copyright years.
14453 * bits/typesizes.h: Likewise.
14454 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14455 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14456 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14457 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14458 * time/time.h: Likewise.
14460 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14463 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14464 in instead of returning them. Return void.
14465 (__libc_mallinfo): Accumulate over all arenas.
14466 (__malloc_stats): Adjust for change in int_mallinfo interface.
14468 2012-05-16 Roland McGrath <roland@hack.frob.com>
14471 * configure.in (NM): Add AC_CHECK_TOOL for it.
14472 (libc_extra_cflags): New substituted variable.
14473 Check for -fstack-protector being used implicitly.
14474 * configure: Regenerated.
14475 * config.make.in (config-extra-cflags): New variable,
14476 gets @libc_extra_cflags@.
14477 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14480 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14481 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14482 * configure: Regenerated.
14483 * config.make.in (CPPUNDEFS): New substituted variable.
14484 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14485 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14486 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14488 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14490 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14491 (mq_attr): Use __syscall_slong_t.
14493 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14495 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14496 Check __x86_64__ instead of __WORDSIZE.
14497 (_STAT_VER_LINUX): Likewise.
14498 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14499 __syscall_ulong_t and __syscall_slong_t.
14500 (stat64): Likewise.
14502 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14504 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14506 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14508 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14510 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14512 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14515 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14516 include <bits/wordsize.h>. Check __x86_64__ instead of
14518 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14520 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14522 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14523 include <bits/wordsize.h>. Check __x86_64__ instead of
14525 (user_regs_struct): Use "__extension__ unsigned long long"
14526 instead of "unsigned long" if __x86_64__ is defined.
14527 (user): Likewise. Pad after pointer field if __ILP32__ is
14530 2012-05-16 Joseph Myers <joseph@codesourcery.com>
14532 * configure.in (makeinfo): Require version 4.5 or later. Allow
14534 * configure: Regenerated.
14535 * manual/install.texi (texinfo): Increase version requirement to
14537 * INSTALL: Regenerated.
14539 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14541 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14543 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14545 * sysdeps/x86_64/x32/ffs.c: New file.
14547 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14549 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14550 defined. Use __syscall_ulong_t.
14551 (shminfo): Use __syscall_ulong_t.
14552 (shm_info): Likewise.
14554 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14557 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14559 (msgqnum_t): Use __syscall_ulong_t.
14560 (msglen_t): Likewise.
14561 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14564 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14565 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14567 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14569 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14570 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14572 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14575 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14576 include <bits/wordsize.h>. Check __x86_64__ instead of
14579 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14580 "unsigned long long int" if __x86_64__ is defined.
14581 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14583 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14584 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14585 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14587 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14589 (GET_PC): Cast to uintptr_t first.
14590 (GET_FRAME): Likewise.
14591 (GET_STACK): Likewise.
14593 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14594 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14595 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14596 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14597 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14598 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14599 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14600 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14601 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14602 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14603 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14604 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14605 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14606 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14607 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14608 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14609 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14610 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14611 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14612 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14613 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14614 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14615 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14616 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14617 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14618 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14619 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14620 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14621 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14623 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14625 * Makerules (+depfiles): Also collect depfiles from .oS in
14627 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14628 .oS, $(libnldbl-routines)).
14630 * Makerules (native-compile-mkdep-flags): Define.
14631 * sunrpc/Makefile (extra-objs): Add $(addprefix
14632 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14633 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14634 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14635 calling $(make-target-directory).
14637 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14639 * bits/types.h (__snseconds_t): Removed.
14640 * time/time.h (struct timespec): Replace __snseconds_t with
14642 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14643 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14645 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14646 (__SNSECONDS_T_TYPE): Likewise.
14647 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14648 (__SNSECONDS_T_TYPE): Likewise.
14649 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14650 (__SNSECONDS_T_TYPE): Likewise.
14652 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14654 * sysdeps/mach/hurd/bits/typesizes.h
14655 (__SYSCALL_SLONG_TYPE): New macro.
14656 (__SYSCALL_ULONG_TYPE): Likewise.
14658 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14660 * bits/types.h (__syscall_slong_t): New type.
14661 (__syscall_ulong_t): Likewise.
14663 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14664 (__SYSCALL_ULONG_TYPE): Likewise.
14665 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14666 (__SYSCALL_SLONG_TYPE): Likewise.
14667 (__SYSCALL_ULONG_TYPE): Likewise.
14668 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14669 (__SYSCALL_SLONG_TYPE): Likewise.
14670 (__SYSCALL_ULONG_TYPE): Likewise.
14671 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14672 (__SYSCALL_SLONG_TYPE): Likewise.
14673 (__SYSCALL_ULONG_TYPE): Likewise.
14675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14677 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14678 Add sigaltstack-offsets.sym.
14679 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14680 <sigaltstack-offsets.h>.
14681 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14682 longjmp_msg pointer.
14683 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14684 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14686 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14688 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14690 * elf/stackguard-macros.h: Remove file.
14691 * sysdeps/generic/stackguard-macros.h: New file.
14692 * sysdeps/i386/stackguard-macros.h: Likewise.
14693 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14694 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14695 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14696 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14697 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14698 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14699 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14700 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14701 <elf/stackguard-macros.h>.
14704 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14705 __aligned__ in attribute.
14706 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14707 (gregset_t): Likewise.
14709 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14711 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14712 * sysdeps/x86_64/64/Implies-after: Here. New file.
14713 * sysdeps/x86_64/x32/Implies-after: New file.
14715 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14717 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14718 and access return value for _dl_profile_fixup. Use R10_LP to
14721 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14723 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14725 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14727 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14728 * sysdeps/x86_64/x32/sysdep.h: New file.
14730 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14732 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14733 * sysdeps/x86_64/setjmp.S: Likewise.
14735 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14737 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14738 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14739 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14740 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14741 remove unused global constant.
14743 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14745 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14746 include of <not-cancel.h>.
14748 2012-05-15 Roland McGrath <roland@hack.frob.com>
14750 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14752 2012-05-15 Jeff Law <law@redhat.com>
14753 Andreas Jaeger <aj@suse.de>
14756 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14758 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14759 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14760 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14761 code changing __hst_map_handle.map.
14763 2012-05-15 Roland McGrath <roland@hack.frob.com>
14765 * configure.in (sysnames): Look for Implies-before and Implies-after
14767 * configure: Regenerated.
14769 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14771 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14772 8-byte data alignment with LP_SIZE alignment.
14774 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14776 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14779 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14781 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14783 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14785 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14786 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14787 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14789 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14793 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14794 (stackinfo_sub_sp): Likewise.
14796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14798 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14803 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14806 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14808 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14811 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14813 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14815 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14817 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14818 into R11_LP and load __x86_64_shared_cache_size_half into
14821 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14823 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14826 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14828 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14830 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14832 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14834 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14835 powerpc32/power7/fpu/s_logb.c via #include.
14836 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14837 powerpc32/power7/fpu/s_logbf.c via #include.
14838 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14839 powerpc32/power7/fpu/s_logbl.c via #include.
14841 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14843 * README.libm: Remove file.
14845 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14847 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14848 count for x32. Use R*_LP and omit operand-size suffix.
14850 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14852 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14853 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14854 * sysdeps/x86_64/x32/shlib-versions: New file.
14856 2012-05-14 Roland McGrath <roland@hack.frob.com>
14858 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14859 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14860 Use _dl_fatal_printf instead.
14862 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14864 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14865 set if not set by the user. Do not allow for being unset.
14866 * sysdeps/unix/sysv/linux/configure: Regenerated.
14868 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14870 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14871 the `q' suffix from lea and replace .quad with ASM_ADDR.
14873 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14875 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14876 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14878 (PTR_DEMANGLE): Likewise.
14880 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14882 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14884 (ASM_ADDR): Likewise.
14885 (RAX_LP): Likewise.
14886 (RBP_LP): Likewise.
14887 (RBX_LP): Likewise.
14888 (RCX_LP): Likewise.
14889 (RDI_LP): Likewise.
14890 (RSI_LP): Likewise.
14891 (RSP_LP): Likewise.
14894 (R10_LP): Likewise.
14895 (R10_LP): Likewise.
14896 (R11_LP): Likewise.
14897 (R12_LP): Likewise.
14898 (R13_LP): Likewise.
14899 (R14_LP): Likewise.
14900 (R15_LP): Likewise.
14902 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14904 * sysdeps/x86_64/x32/dl-machine.h: New file.
14906 2012-05-14 Andreas Jaeger <aj@suse.de>
14908 * manual/Makefile (subdir): Remove export of subdir.
14909 (all): Remove target.
14910 (.PHONY): Remove all from list.
14911 (mkinstalldirs): Remove.
14912 (.PHONY): Remove installdirs from list.
14913 ($(inst_infodir)/libc.info): Use make-target-directory.
14914 (installdirs): Remove.
14915 (subdir_%): Remove.
14916 (glibc-targets): Remove.
14919 ($(objpfx)stubs ../po/manual.pot): Remove.
14920 ($(objpfx)stamp%): Remove.
14921 (make-target-directory): Remove.
14922 (subdir_install): Remove.
14923 (routines): Remove.
14930 * manual/.gitignore: Remove, it's not needed anymore.
14931 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14933 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14935 (texis): Renamed to $(objpfx)texis.
14936 (texis-path): New, contains path to generated files.
14937 (chapters.%): Use texis-path for complete path, add extra argument
14939 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14940 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14941 (summary,texi, stamp-summary): Use complete path of
14942 files. Generate files in build dir.
14943 (dir-add.texi): Build in build dir.
14944 (libm-err.texi,stamp-libm-err): Likewise.
14945 (version.texi, stamp-version): Likewise.
14946 (.%c.texi): Likewise.
14947 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14948 (mostlyclean): Remove target.
14949 (realclean): Remove target.
14950 (generated): Add new variable with contents from mostlyclean and
14951 realclean, remove entries duplicated in common-mostlyclean, add
14952 stamp-libm-err and stamp-version.
14953 (generated-dirs): Add libc directory.
14954 ($(inst_infodir)/libc.info): Install files from build dir.
14956 * manual/install.texi (Configuring and compiling): Adjust since
14957 the info files are not part of the tar ball anymore.
14959 2012-05-14 Andreas Jaeger <aj@suse.de>
14961 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14964 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14967 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14968 to 2.2.0 where earlier.
14969 * sysdeps/unix/sysv/linux/configure: Regenerated.
14970 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14971 Remove conditional code.
14972 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14973 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14974 Remove conditional code.
14975 [!__NR_lchown]: Likewise.
14976 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14977 [__NR_lchown]: Likewise.
14978 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14979 comment referencing __ASSUME_LCHOWN_SYSCALL.
14980 * sysdeps/unix/sysv/linux/i386/sigaction.c
14981 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14982 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14983 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14984 Remove conditional code.
14985 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14986 (__protocol_available): Remove #if 0 code.
14987 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14989 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14990 * sysdeps/unix/sysv/linux/kernel-features.h
14991 (__ASSUME_GETCWD_SYSCALL): Don't define.
14992 (__ASSUME_REALTIME_SIGNALS): Likewise.
14993 (__ASSUME_PREAD_SYSCALL): Likewise.
14994 (__ASSUME_PWRITE_SYSCALL): Likewise.
14995 (__ASSUME_POLL_SYSCALL): Likewise.
14996 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14997 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14999 (__ASSUME_SIOCGIFNAME): Don't define.
15000 (__ASSUME_MSG_NOSIGNAL): Likewise.
15001 (__ASSUME_SENDFILE): Define unconditionally.
15002 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15003 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15005 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15006 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15007 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15008 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15009 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15010 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15011 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15013 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15014 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15016 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15017 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15019 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15020 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15022 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15023 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15025 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15026 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15028 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15029 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15031 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15032 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15034 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15035 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15036 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15037 Remove conditional code.
15038 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15039 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15040 Remove conditional code.
15041 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15042 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15043 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15044 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15045 Remove conditional code.
15046 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15047 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15048 Remove conditional code.
15049 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15050 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15051 Remove conditional code.
15052 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15053 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15054 Remove conditional code.
15055 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15056 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15057 Remove conditional code.
15058 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15059 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15060 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15061 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15062 * sysdeps/unix/sysv/linux/sigaction.c
15063 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15064 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15065 * sysdeps/unix/sysv/linux/sigpending.c
15066 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15067 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15068 * sysdeps/unix/sysv/linux/sigprocmask.c
15069 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15070 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15071 * sysdeps/unix/sysv/linux/sigsuspend.c
15072 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15073 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15074 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15075 (__libc_missing_rt_sigs): Remove.
15076 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15077 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15078 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15079 Remove conditional code.
15080 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15081 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15083 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15084 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15085 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15086 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15088 2012-05-14 Andreas Jaeger <aj@suse.de>
15090 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15091 it's not used in glibc.
15092 (__coshm1): Likewise.
15093 (__acosh1p): Likewise.
15096 * manual/string.texi (Copying and Concatenation): Add missing
15097 variable in concat example.
15098 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15100 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15103 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15104 __builtin_clzl with __builtin_clzll.
15106 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15109 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15112 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15114 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15115 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15116 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15117 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15119 2012-05-14 Mike Frysinger <vapier@gentoo.org>
15121 * NEWS: Update ia64 info.
15123 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15125 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15128 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15130 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15131 * sysdeps/unix/syscalls.list (dup3): Likewise.
15132 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15133 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15135 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15137 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15138 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15140 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15142 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15144 (TLS_IE): Use mov/add instead of movq/addq to load thread
15146 (TLS_GD_PREFIX): New.
15149 2012-05-11 David S. Miller <davem@davemloft.net>
15151 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15152 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15153 (_FPU_SETCW): Likewise.
15155 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15157 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15158 is 32-byte aligned.
15160 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
15163 * iconvdata/gb18030.c: Update tables.
15164 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
15165 characters specially.
15166 (BODY for TO_LOOP): Add encoding of missing ranges.
15168 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
15171 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15172 * sysdeps/mach/hurd/dup3.c: Likewise.
15173 * sysdeps/mach/hurd/readlinkat.c: Likewise.
15174 * sysdeps/powerpc/memmove.c:: Likewise.
15176 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15178 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15179 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15181 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15183 * elf/elf.h (R_X86_64_RELATIVE64): New.
15184 (R_X86_64_NUM): Updated.
15185 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15186 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15187 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15188 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15189 tst-quad1pie tst-quad2pie
15190 (modules-names): Add tst-quadmod1 tst-quadmod2.
15191 ($(objpfx)tst-quad1): New dependency.
15192 ($(objpfx)tst-quad2): Likewise.
15193 ($(objpfx)tst-quad1pie): Likewise.
15194 ($(objpfx)tst-quad2pie): Likewise.
15195 * sysdeps/x86_64/tst-quad1.c: New file.
15196 * sysdeps/x86_64/tst-quad1pie.c: New file.
15197 * sysdeps/x86_64/tst-quad2.c: Likewise.
15198 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15199 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15200 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15201 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15202 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15204 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15206 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15207 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15208 * streams/stropts.h (t_scalar_t): Define type.
15210 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15211 (_PATH_PRESERVE): Set to "/var/lib".
15212 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15214 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15217 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15218 if __dir_mkfile succeeded.
15220 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15221 checking for _hurd_dtablesize. Unlock it right after having
15222 finished _hurd_dtable allocation.
15224 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15226 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15227 * sysdeps/mach/hurd/configure: Regenerated.
15228 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15229 special-casing to...
15230 * sysdeps/gnu/configure.in: ... this new file.
15231 * sysdeps/unix/sysv/linux/configure: Regenerated.
15232 * sysdeps/gnu/configure: New generated file.
15234 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15235 for Linux: use nsec instead of usec, as well as:
15236 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15237 members of type struct timespec.
15238 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15240 (struct stat64): Likewise.
15241 (_STATBUF_ST_NSEC): New macro.
15242 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15244 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15245 __strtoul_internal rather than strtoul.
15247 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15249 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15252 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15254 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15255 which preserves existing values.
15256 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15258 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15260 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15261 TIMEOUT values. Return EINVAL for NFDS values either negative or
15262 greater than FD_SETSIZE.
15264 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15266 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15267 allocated, call __vm_protect to finish enabling the existing space, and
15268 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15269 allocate the remainder.
15271 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15273 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15274 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15276 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15278 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15279 sysdeps/mach/hurd/readlink.c.
15281 * posix/tst-sysconf.c (posix_options): Only use
15282 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15283 _POSIX_SYNCHRONIZED_IO when they are defined
15284 * sysdeps/mach/hurd/bits/posix_opt.h:
15285 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15286 (_XOPEN_REALTIME): Undefine macro.
15287 (_XOPEN_REALTIME_THREADS): Undefine macro.
15288 (_XOPEN_SHM): Undefine macro.
15289 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15291 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15293 (_POSIX_ASYNC_IO): Undefine macro.
15294 (_POSIX_PRIORITIZED_IO): Undefine macro.
15295 (_POSIX_SPIN_LOCKS): Define macro to -1.
15297 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15298 SA_NODEFER, SA_RESETHAND.
15299 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15300 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15303 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15305 * elf/Makefile (pldd-modules): Define unconditionally.
15307 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15309 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15311 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15313 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15314 Return ENOENT when name is empty.
15315 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15317 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15319 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15321 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15323 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15325 Fix mlock in all cases except non-readable pages.
15326 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15327 instead of VM_PROT_ALL as parameter to __vm_wire function.
15329 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15330 (__mkdir): When path is `/', just fail with EEXIST.
15331 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15333 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15335 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15336 <sys/uio.h> (for writev).
15337 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15338 and <sys/param.h> (for MIN).
15340 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15342 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15343 REQUESTED_TIME. Properly set the remaining time and return EINTR
15346 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15348 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15349 Depend on against $(link-rpcuserlibs).
15351 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15353 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15354 (__libc_stack_end): Do not use attribute_relro.
15355 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15356 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
15357 to libthread-provided value.
15358 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15361 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15364 * bits/libc-lock.h (__libc_once_get): New macro.
15365 * sysdeps/mach/bits/libc-lock.h: Likewise.
15366 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15367 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15368 instead of using implementation details.
15370 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15371 * libio/freopen.c: Likewise.
15372 * libio/freopen64.c: Likewise.
15373 * misc/syslog.c: Likewise.
15374 * nscd/connections.c: Likewise.
15375 * nscd/netgroupcache.c: Likewise.
15376 * sysdeps/posix/getcwd.c: Likewise.
15378 2012-05-10 Roland McGrath <roland@hack.frob.com>
15380 * math/w_ilogbf.c: Add #include <limits.h>.
15382 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15384 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
15385 path instead of returning without unlocking.
15387 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15388 immediate-write ioctls.
15389 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15391 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15393 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15394 __builtin_frame_address instead of making assumptions about the
15395 location of the return address relative to DATA. Force early load of
15396 the return address.
15397 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15398 __builtin_frame_address.
15401 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15402 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15403 implement dup3 and do some further code clean-ups.
15404 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15405 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15407 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15409 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15411 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15412 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15413 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15414 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15415 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15418 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15419 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15420 when handler == SIG_ERR, not when handler != SIG_ERR.
15422 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15424 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15425 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15428 accept4 for GNU Hurd.
15429 * include/sys/socket.h (__libc_accept4): New prototype.
15430 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15431 to implement __libc_accept4.
15432 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15434 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15436 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15437 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15438 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15439 signal-defines.sym.
15441 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15443 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
15445 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15447 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15448 assertion on O_CLOEXEC flag.
15449 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15450 * hurd/intern-fd.c: Likewise.
15451 * hurd/port2fd.c: Likewise.
15453 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15456 * bits/in.h (IPV6_PKTINFO): Define new macro.
15457 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15459 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15464 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15465 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15466 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15467 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15468 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15469 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15470 * math/libm-test.inc (logb_test) : Additional logb tests.
15472 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15473 Andreas Jaeger <aj@suse.de>
15475 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15476 * configure: Regenerated.
15477 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15478 * config.make.in (link-obsolete-rpc): New substituted variable.
15479 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15480 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15481 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15482 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15483 so that libc.a contains the symbols.
15484 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15485 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15486 * sunrpc/auth_none.c: Likewise.
15487 * sunrpc/auth_unix.c: Likewise.
15488 * sunrpc/authdes_prot.c: Likewise.
15489 * sunrpc/authuxprot.c: Likewise.
15490 * sunrpc/clnt_gen.c: Likewise.
15491 * sunrpc/clnt_perr.c: Likewise.
15492 * sunrpc/clnt_raw.c: Likewise.
15493 * sunrpc/clnt_simp.c: Likewise.
15494 * sunrpc/clnt_tcp.c: Likewise.
15495 * sunrpc/clnt_udp.c: Likewise.
15496 * sunrpc/clnt_unix.c: Likewise.
15497 * sunrpc/des_crypt.c: Likewise.
15498 * sunrpc/des_soft.c: Likewise.
15499 * sunrpc/get_myaddr.c: Likewise.
15500 * sunrpc/key_call.c: Likewise.
15501 * sunrpc/key_prot.c: Likewise.
15502 * sunrpc/netname.c: Likewise.
15503 * sunrpc/pm_getmaps.c: Likewise.
15504 * sunrpc/pm_getport.c: Likewise.
15505 * sunrpc/pmap_clnt.c: Likewise.
15506 * sunrpc/pmap_prot.c: Likewise.
15507 * sunrpc/pmap_prot2.c: Likewise.
15508 * sunrpc/pmap_rmt.c: Likewise.
15509 * sunrpc/publickey.c: Likewise.
15510 * sunrpc/rpc_cmsg.c: Likewise.
15511 * sunrpc/rpc_common.c: Likewise.
15512 * sunrpc/rpc_dtable.c: Likewise.
15513 * sunrpc/rpc_prot.c: Likewise.
15514 * sunrpc/rpc_thread.c: Likewise.
15515 * sunrpc/rtime.c: Likewise.
15516 * sunrpc/svc.c: Likewise.
15517 * sunrpc/svc_auth.c: Likewise.
15518 * sunrpc/svc_raw.c: Likewise.
15519 * sunrpc/svc_run.c: Likewise.
15520 * sunrpc/svc_tcp.c: Likewise.
15521 * sunrpc/svc_udp.c: Likewise.
15522 * sunrpc/svc_unix.c: Likewise.
15523 * sunrpc/svcauth_des.c: Likewise.
15524 * sunrpc/xcrypt.c: Likewise.
15525 * sunrpc/xdr.c: Likewise.
15526 * sunrpc/xdr_array.c: Likewise.
15527 * sunrpc/xdr_float.c: Likewise.
15528 * sunrpc/xdr_intXX_t.c: Likewise.
15529 * sunrpc/xdr_mem.c: Likewise.
15530 * sunrpc/xdr_rec.c: Likewise.
15531 * sunrpc/xdr_ref.c: Likewise.
15532 * sunrpc/xdr_sizeof.c: Likewise.
15533 * sunrpc/xdr_stdio.c: Likewise.
15535 2012-05-10 Roland McGrath <roland@hack.frob.com>
15537 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15538 change. Update copyright years.
15540 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15542 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15544 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15545 Joseph Myers <joseph@codesourcery.com>
15546 Paul Pluzhnikov <ppluzhnikov@google.com>
15549 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15551 [cross-compiling] (extra-libs): Likewise.
15552 [cross-compiling] (extra-libs-others): Likewise.
15553 [cross-compiling] (librpcsvc-routines): Likewise.
15554 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15555 [cross-compiling] (omit-deps): Likewise.
15556 (sunrpc-CPPFLAGS): New variable.
15557 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15558 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15559 (cross-rpcgen-objs): New variable.
15560 (extra-objs): Append $(cross-rpcgen-objs).
15561 ($(cross-rpcgen-objs)): New rule.
15562 ($(objpfx)cross-rpcgen): Likewise.
15563 (rpcgen-cmd): Define to use $(built-program-file). Expand
15565 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15566 ($(objpfx)x%.stmp): Likewise.
15567 * sunrpc/proto.h [IS_IN_build] (_): Define.
15568 [IS_IN_build] (_libc_intl_domainname): Likewise.
15570 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15572 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15573 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15574 and R_X86_64_TPOFF64.
15576 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15578 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15579 sysdeps/unix/sysv/syscalls.list.
15582 * sysdeps/unix/sysv/syscalls.list: Remove file.
15584 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15587 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15588 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15589 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15590 (__LC_IDENTIFICATION): Make these macros useful in #if
15591 expressions, as required by C99.
15593 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15595 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15596 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15599 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15601 * stdlib/longlong.h: Updated from GCC.
15603 2012-05-09 Andreas Jaeger <aj@suse.de>
15605 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15606 default is first entry.
15607 (run_mode): Set type.
15608 (main): Remove informal message about syslog.
15609 (options): Fix typo.
15612 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15615 (llrintf): Likewise.
15616 (llrint): Likewise.
15619 (nearbyint): Likewise.
15620 (nearbyintf): Likewise.
15622 2012-05-09 Andreas Jaeger <aj@suse.de>
15623 Pedro Alves <palves@redhat.com>
15625 * nscd/nscd.c (run_mode): Use enum.
15626 (main): Cleanup coding style issue.
15628 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
15629 Andreas Jaeger <aj@suse.de>
15631 * nscd/nscd.c (go_background): Replaced with...
15632 (run_mode): ... this.
15633 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15634 (options): Add -F --foreground.
15635 (main): Implement it.
15636 (parse_opt): Parse it.
15638 2012-05-09 Andreas Jaeger <aj@suse.de>
15641 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15642 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15643 -Wconversion warning.
15644 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15647 2012-05-09 Joseph Myers <joseph@codesourcery.com>
15649 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15651 (LC_ALL): Use macro-int-constant.
15652 (LC_COLLATE): Likewise.
15653 (LC_CTYPE): Likewise.
15654 (LC_MESSAGES): Likewise.
15655 (LC_MONETARY): Likewise.
15656 (LC_NUMERIC): Likewise.
15657 (LC_TIME): Likewise.
15658 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15659 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15660 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15661 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15663 [C99-based standards] (float_t): Expect type.
15664 [C99-based standards] (double_t): Expect type.
15665 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15667 [C99-based standards] (HUGE_VALL): Likewise.
15668 [C99-based standards] (INFINITY): Likewise.
15669 [C99-based standards] (NAN): Likewise.
15670 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15671 [C99-based standards] (FP_NAN): Likewise.
15672 [C99-based standards] (FP_NORMAL): Likewise.
15673 [C99-based standards] (FP_SUBNORMAL): Likewise.
15674 [C99-based standards] (FP_ZERO): Likewise.
15675 [C99-based standards] (FP_FAST_FMA): Use
15676 optional-macro-int-constant. Specify type. Require == 1.
15677 [C99-based standards] (FP_FAST_FMAF): Likewise.
15678 [C99-based standards] (FP_FAST_FMAL): Likewise.
15679 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15680 [C99-based standards] (FP_ILOGBNAN): Likewise.
15681 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15683 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15684 [C99-based standards] (math_errhandling): Specify type.
15685 [ISO99 || ISO11] (signgam): Do not allow.
15686 [non-C99-based standards] (copysignf): Do not allow.
15687 [non-C99-based standards] (exp2f): Likewise.
15688 [non-C99-based standards] (log2f): Likewise.
15689 [non-C99-based standards] (modff): Allow.
15690 [non-C99-based standards] (erff): Do not allow.
15691 [non-C99-based standards] (erfcf): Likewise.
15692 [non-C99-based standards] (gammaf): Likewise.
15693 [non-C99-based standards] (hypotf): Likewise.
15694 [non-C99-based standards] (j0f): Likewise.
15695 [non-C99-based standards] (j1f): Likewise.
15696 [non-C99-based standards] (jnf): Likewise.
15697 [non-C99-based standards] (lgammaf): Likewise.
15698 [non-C99-based standards] (tgammaf): Likewise.
15699 [non-C99-based standards] (y0f): Likewise.
15700 [non-C99-based standards] (y1f): Likewise.
15701 [non-C99-based standards] (ynf): Likewise.
15702 [non-C99-based standards] (isnanf): Likewise.
15703 [non-C99-based standards] (acoshf): Likewise.
15704 [non-C99-based standards] (asinhf): Likewise.
15705 [non-C99-based standards] (atanhf): Likewise.
15706 [non-C99-based standards] (cbrtf): Likewise.
15707 [non-C99-based standards] (expm1f): Likewise.
15708 [non-C99-based standards] (ilogbf): Likewise.
15709 [non-C99-based standards] (log1pf): Likewise.
15710 [non-C99-based standards] (logbf): Likewise.
15711 [non-C99-based standards] (nextafterf): Likewise.
15712 [non-C99-based standards] (remainderf): Likewise.
15713 [non-C99-based standards] (rintf): Likewise.
15714 [non-C99-based standards] (scalbf): Likewise.
15715 [non-C99-based standards] (copysignl): Likewise.
15716 [non-C99-based standards] (exp2l): Likewise.
15717 [non-C99-based standards] (log2l): Likewise.
15718 [non-C99-based standards] (modfl): Allow.
15719 [non-C99-based standards] (erfl): Do not allow.
15720 [non-C99-based standards] (erfcl): Likewise.
15721 [non-C99-based standards] (gammal): Likewise.
15722 [non-C99-based standards] (hypotl): Likewise.
15723 [non-C99-based standards] (j0l): Likewise.
15724 [non-C99-based standards] (j1l): Likewise.
15725 [non-C99-based standards] (jnl): Likewise.
15726 [non-C99-based standards] (lgammal): Likewise.
15727 [non-C99-based standards] (tgammal): Likewise.
15728 [non-C99-based standards] (y0l): Likewise.
15729 [non-C99-based standards] (y1l): Likewise.
15730 [non-C99-based standards] (ynl): Likewise.
15731 [non-C99-based standards] (isnanl): Likewise.
15732 [non-C99-based standards] (acoshl): Likewise.
15733 [non-C99-based standards] (asinhl): Likewise.
15734 [non-C99-based standards] (atanhl): Likewise.
15735 [non-C99-based standards] (cbrtl): Likewise.
15736 [non-C99-based standards] (expm1l): Likewise.
15737 [non-C99-based standards] (ilogbl): Likewise.
15738 [non-C99-based standards] (log1pl): Likewise.
15739 [non-C99-based standards] (logbl): Likewise.
15740 [non-C99-based standards] (nextafterl): Likewise.
15741 [non-C99-based standards] (remainderl): Likewise.
15742 [non-C99-based standards] (rintl): Likewise.
15743 [non-C99-based standards] (scalbl): Likewise.
15744 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15745 [non-C99-based standards] (FP_*): Do not allow.
15746 [C99-based standards] (FP_*): Change to
15747 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15748 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15750 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15751 (SIG_ERR): Likewise.
15752 [X/Open-based standards] (SIG_HOLD): Likewise.
15753 (SIG_IGN): Likewise.
15754 (SIGABRT): Use macro-int-constant. Specify type. Require
15756 (SIGFPE): Likewise.
15757 (SIGILL): Likewise.
15758 (SIGINT): Likewise.
15759 (SIGSEGV): Likewise.
15760 (SIGTER): Likewise.
15761 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15762 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15763 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15764 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15765 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15766 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15767 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15768 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15769 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15770 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15771 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15772 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15773 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15774 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15775 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15776 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15777 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15778 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15779 [X/Open-based standards] (SIGTRAP): Likewise.
15780 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15781 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15782 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15783 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15784 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15787 2012-05-08 Ian Wienand <ianw@vmware.com>
15790 * time/tzset.c (__tzset_parse_tz): Update default rules for
15791 daylight time changes in the Energy Policy Act of 2005.
15793 2012-05-09 Andreas Jaeger <aj@suse.de>
15796 * elf/ldconfig.c (parse_conf): Change string to make clear that
15797 ldconfig only issued a warning if ld.so.conf does not exist.
15799 2012-05-08 David S. Miller <davem@davemloft.net>
15801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15802 movxtod instead of popping the value on the stack.
15804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15806 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15808 * config.h.in: Add HAVE_ARM_PCS_VFP.
15810 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15813 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15814 checking but the checks are disabled for any reason.
15816 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15818 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15819 and ELF64_R_TYPE with ELFW(R_TYPE).
15821 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15823 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15824 (ulimit): Likewise.
15826 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15827 (settimeofday): Likewise.
15829 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15831 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15832 a struct th_u2 inside the union, and move tu_block/tu_code into
15833 a new th_u3 union of tu_block/tu_code inside of that. Move
15834 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15835 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15836 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15837 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15838 (th_stuff): Change to th_u1.tu_stuff.
15840 (th_msg): Change to th_u1.th_u2.tu_data.
15842 2012-05-07 David S. Miller <davem@davemloft.net>
15844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15847 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15848 (SETUP_PIC_REG): Use it.
15849 (SETUP_PIC_REG_LEAF): Use it.
15851 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15855 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15857 (EXPL_FINITE): Likewise.
15858 (FLDLOG): Likewise.
15859 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15860 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15862 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15864 (EXPL_FINITE): Likewise.
15865 (FLDLOG): Likewise.
15866 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15867 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15869 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15870 test of -max_value argument for long double.
15871 * sysdeps/i386/fpu/libm-test-ulps: Update.
15872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15874 2012-05-06 David S. Miller <davem@davemloft.net>
15876 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15877 quad soft-float symbols whose references which are compiler
15879 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15881 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15885 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15887 (EXPL_FINITE): Likewise.
15888 (FLDLOG): Likewise.
15891 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15892 Adjust comments for base varying.
15893 (__expl_finite): Change alias to EXPL_FINITE.
15894 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15896 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15897 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15898 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15899 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15900 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15902 (EXPL_FINITE): Likewise.
15903 (FLDLOG): Likewise.
15906 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15907 Adjust comments for base varying.
15908 (__expl_finite): Change alias to EXPL_FINITE.
15909 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15914 * math/libm-test.inc (check_float_internal): Correct ulp
15915 calculation for subnormal expected results.
15917 2012-05-06 Andreas Jaeger <aj@suse.de>
15919 * Makeconfig (+math-flags): New, set to -frounding-math.
15920 (+cflags): Add +math-flags so that all of glibc gets compiled with
15923 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15925 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15927 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15933 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15934 (__ieee754_expl): Allow for and saturate large arguments.
15935 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15936 (u_threshold): Likewise.
15937 (__exp): Call __ieee754_exp before checking for overflow and
15939 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15940 (u_threshold): Likewise.
15941 (__expf): Call __ieee754_expf before checking for overflow and
15943 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15944 (u_threshold): Likewise.
15945 (__expl): Call __ieee754_expl before checking for overflow and
15947 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15948 (__ieee754_expl): Allow for and saturate large arguments.
15949 * math/libm-test.inc (exp_test): Add another test. Do not allow
15950 missing overflow exception on overflow.
15951 (expm1_test): Do not allow missing overflow exception on overflow.
15953 * sysdeps/i386/fpu/e_expl.c: Move to ...
15954 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15955 rather than using inline asm.
15956 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15957 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15958 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15960 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15963 (signal): Likewise.
15967 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15969 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15970 sysdeps/unix/common/syscalls.list.
15971 (fchmod): Likewise.
15972 (fchown): Likewise.
15973 (ftruncate): Likewise.
15974 (getrusage): Likewise.
15975 (gettimeofday): Likewise.
15976 (setpgid): Likewise.
15977 (setregid): Likewise.
15978 (setreuid): Likewise.
15979 (sigaction): Likewise.
15980 (truncate): Likewise.
15981 (vhangup): Likewise.
15982 * sysdeps/unix/common/syscalls.list: Remove file.
15983 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15984 * sysdeps/unix/sysv/linux/Implies: Likewise.
15986 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15988 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15990 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15992 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15994 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15997 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16000 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16003 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16006 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16009 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16012 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16016 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16020 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16023 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16027 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16031 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16033 * sysdeps/unix/common/bits/dirent.h: Remove file.
16034 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16036 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16037 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16038 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16039 * sysdeps/unix/bsd/isatty.c: Likewise.
16040 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16041 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16042 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16044 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16047 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16048 long double comparison inaccuracies.
16049 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16052 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16054 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16055 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16057 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16060 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16061 nonzero digits before rounding a hex value.
16062 * stdlib/tst-strtod.c (tests): Add another test.
16064 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16066 * sysdeps/s390/fpu/libm-test-ulps: Update.
16068 2012-05-03 Andreas Jaeger <aj@suse.de>
16070 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16071 does not get optimized out.
16072 (malloc_opt_barrier): New.
16074 2012-05-03 Andreas Jaeger <aj@suse.de>
16075 Roland McGrath <roland@hack.frob.com>
16077 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
16078 intermediate file deletion.
16079 (generated): Add .symlist files.
16081 2012-05-03 Joseph Myers <joseph@codesourcery.com>
16084 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16085 Redirect under this condition.
16086 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16087 [__USE_GNU] (__dprintf_chk): Not under this condition.
16088 [__USE_GNU] (__vdprintf_chk): Likewise.
16089 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16090 under this condition.
16091 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16092 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16093 [__USE_XOPEN2K8] (vdprintf): Likewise.
16094 [__USE_GNU] (__dprintf_chk): Not under this condition.
16095 [__USE_GNU] (__vdprintf_chk): Likewise.
16096 [__USE_GNU] (dprintf): Likewise.
16097 [__USE_GNU] (vdprintf): Likewise.
16099 2012-05-03 Roland McGrath <roland@hack.frob.com>
16101 * elf/Makefile (common-generated): Set this instead of generated for
16102 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16103 $(all-built-dso)-derived lists.
16105 2012-05-03 Andreas Jaeger <aj@suse.de>
16107 * sysdeps/i386/fpu/libm-test-ulps: Update.
16110 * FAQ.in: Likewise.
16111 * scripts/gen-FAQ.pl: Likewise.
16112 * manual/install.texi (Installation): Point to online location of
16114 * Makefile (files-for-dist): Remove FAQ.
16117 2012-05-02 Allan McRae <allan@archlinux.org>
16119 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16120 (LDFLAGS-reldepmod5.so): Likewise.
16121 (LDFLAGS-reldep6mod1.so): Likewise.
16122 (LDFLAGS-reldep6mod4.so): Likewise.
16123 (LDFLAGS-reldep8mod3.so): Likewise.
16124 (LDFLAGS-unload4mod1.so): Likewise.
16125 (LDFLAGS-unload4mod2.so): Likewise.
16126 (LDFLAGS-tst-initorder): Likewise.
16127 (LDFLAGS-tst-initordera2.so): Likewise.
16128 (LDFLAGS-tst-initordera3.so): Likewise.
16129 (LDFLAGS-tst-initordera4.so): Likewise.
16130 (LDFLAGS-tst-initorderb2.so): Likewise.
16131 (LDFLAGS-noload): Likewise.
16132 (LDFLAGS-next): Likewise.
16133 (LDFLAGS-order2mod1.so): Likewise.
16134 (LDFLAGS-order2mod2.so): Likewise.
16135 (LDFLAGS-tst-initorder2): Likewise.
16136 (LDFLAGS-tst-initorder2a.so): Likewise.
16137 (LDFLAGS-tst-initorder2b.so): Likewise.
16138 (LDFLAGS-tst-initorder2c.so): Likewise.
16139 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16141 2012-05-02 David S. Miller <davem@davemloft.net>
16143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16145 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16148 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16150 2012-05-02 Andreas Jaeger <aj@suse.de>
16152 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16153 since we manipulate rounding mode.
16154 (CPPFLAGS-test-idouble.c): Likewise.
16155 (CPPFLAGS-test-ifloat.c): Likewise.
16156 (CFLAGS-test-ldouble.c): Likewise.
16157 (CFLAGS-test-double.c): Likewise.
16158 (CFLAGS-test-float.c): Likewise.
16159 (CFLAGS-test-misc.c): Likewise.
16160 (CFLAGS-test-test-fenv.c): Likewise.
16162 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16166 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16167 comparisons to determine direction to adjust input.
16169 2012-05-01 Roland McGrath <roland@hack.frob.com>
16171 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16172 output to the target.
16174 * scripts/localplt.awk: New file.
16175 * elf/Makefile ($(objpfx)check-localplt): Target removed.
16176 (check-localplt-CFLAGS): Variable removed.
16177 ($(all-built-dso:=.jmprel)): New static pattern rule.
16178 (generated): Add those targets.
16179 (localplt-built-dso): New variable.
16180 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16182 * elf/check-localplt.c: File removed.
16184 * scripts/check-execstack.awk: New file.
16185 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16186 (check-execstack-CFLAGS): Variable removed.
16187 ($(objpfx)check-execstack.h): Target removed.
16188 ($(objpfx)execstack-default): New target.
16189 (generated): Add that instead of check-execstack.h.
16190 ($(all-built-dso:=.phdr)): New static pattern rule.
16191 (generated): Add those targets.
16192 * elf/check-execstack.c: File removed.
16194 * scripts/check-textrel.awk: New file.
16195 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16196 (check-textrel-CFLAGS): Variable removed.
16197 (all-built-dso): Use := to define.o
16198 ($(all-built-dso:=.dyn)): New static pattern rule.
16199 (generated): Add those targets.
16200 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16201 * config.make.in (READELF): New substituted variable.
16202 * elf/check-textrel.c: File removed.
16204 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16206 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16208 * conform/data/ctype.h-data [C99-based standards] (isblank):
16210 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16211 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16212 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16213 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16214 Specify type. Require positive value.
16215 (EILSEQ): Likewise.
16216 (ERANGE): Likewise.
16217 [ISO || POSIX] (EILSEQ): Do not expect.
16218 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16219 Specify type. Require positive value.
16220 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16221 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16222 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16223 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16224 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16225 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16226 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16227 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16228 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16229 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16230 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16231 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16232 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16233 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16234 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16235 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16236 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16237 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16238 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16239 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16240 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16241 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16242 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16243 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16244 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16245 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16246 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16247 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16248 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16249 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16250 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16251 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16252 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16253 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16254 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16255 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16256 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16257 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16258 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16259 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16260 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16261 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16262 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16263 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16264 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16265 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16266 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16267 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16268 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16269 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16270 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16271 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16272 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16273 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16274 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16275 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16276 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16277 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16278 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16279 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16280 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16281 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16282 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16283 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16284 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16285 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16286 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16287 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16288 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16289 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16290 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16291 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16292 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16293 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16294 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16295 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16296 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16298 (FLT_ROUNDS): Expect as macro, not constant.
16299 (FLT_MANT_DIG): Use macro-int-constant.
16300 (DBL_MANT_DIG): Likewise.
16301 (LDBL_MANT_DIG): Likewise.
16302 (FLT_DIG): Likewise.
16303 (DBL_DIG): Likewise.
16304 (LDBL_DIG): Likewise.
16305 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16306 (DBL_MIN_EXP): Likewise.
16307 (LDBL_MIN_EXP): Likewise.
16308 (FLT_MAX_EXP): Use macro-int-constant.
16309 (DBL_MAX_EXP): Likewise.
16310 (LDBL_MAX_EXP): Likewise.
16311 (FLT_MAX_10_EXP): Likewise.
16312 (DBL_MAX_10_EXP): Likewise.
16313 (LDBL_MAX_10_EXP): Likewise.
16314 (FLT_MAX): Use macro-constant.
16315 (DBL_MAX): Likewise.
16316 (LDBL_MAX): Likewise.
16317 (FLT_EPSILON): Use macro-constant. Give upper bound.
16318 (DBL_EPSILON): Likewise.
16319 (LDBL_EPSILON): Likewise.
16320 (FLT_MIN): Likewise.
16321 (DBL_MIN): Likewise.
16322 (LDBL_MIN): Likewise.
16323 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16324 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16325 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16326 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16327 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16328 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16329 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16330 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16331 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16332 [ISO11] (FLT_TRUE_MIN): Likewise.
16333 [ISO11] (LDBL_TRUE_MIN): Likewise.
16334 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16335 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16336 (SCHAR_MIN): Use macro-int-constant. Specify type.
16337 (SCHAR_MAX): Likewise.
16338 (UCHAR_MAX): Likewise.
16339 (CHAR_MIN): Likewise.
16340 (CHAR_MAX): Likewise.
16341 (MB_LEN_MAX): Use macro-int-constant.
16342 (SHRT_MIN): Use macro-int-constant. Specify type.
16343 (SHRT_MAX): Likewise.
16344 (USHRT_MAX): Likewise.
16345 (INT_MAX): Likewise.
16346 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16348 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16350 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16352 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16353 bound negative. Suffix upper bound with "L".
16354 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16356 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16358 [C99-based standards] (LLONG_MAX): Likewise.
16359 [C99-based standards] (ULLONG_MAX): Likewise.
16360 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16362 [ISO11] (max_align_t): Require type.
16363 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16365 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16366 from $CFLAGS, without defining away __attribute__ calls.
16367 (checknamespace): Use $CFLAGS_namespace.
16369 * conform/conformtest.pl (@keywords): Only include C99 keywords
16370 for standards based on C99 or C11.
16372 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16374 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16377 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16378 usability of symbols in #if.
16380 * conform/conformtest.pl: If macro or constant types start
16381 "promoted:", expect the symbol to be of the following type
16382 promoted by the integer promotions.
16384 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16385 in one place. Also handle "macro-constant".
16387 * conform/conformtest.pl: Only accept expected macro values with
16388 "==". Parse all "macro" lines in one place.
16389 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16391 * conform/conformtest.pl: Handle braced types on "constant" lines
16392 instead of handling "typed-constant".
16393 * conform/data/signal.h-data: Use "constant" instead of
16396 * conform/conformtest.pl: Handle "optional-" at start of lines in
16397 one place rather than duplicating several cases. Handle each
16398 format of "macro" line with initial "optional-".
16400 * conform/conformtest.pl: Only accept expected constant or
16401 optional-constant values with "==". Parse all "constant" lines in
16402 one place. Parse all "optional-constant" lines in one place.
16403 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16404 * conform/data/fmtmsg.h-data: Likewise.
16405 * conform/data/netinet/in.h-data: Likewise.
16406 * conform/data/tar.h-data: Likewise.
16407 * conform/data/limits.h-data: Use "==" form on "constant" and
16408 "optional-constant" lines.
16410 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16411 Use -std=c99 for XOPEN2K.
16412 (@knownproblems): Remove.
16413 (newtoken): Don't check %isknown.
16415 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16416 Do not expect macro.
16417 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16418 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16419 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16420 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16421 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16422 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16423 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16424 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16425 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16426 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16427 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16428 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16429 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16430 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16431 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16432 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16433 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16434 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16435 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16436 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16437 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16438 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16439 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16440 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16441 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16442 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16443 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16444 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16445 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16446 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16447 [XPG3] (acosh): Likewise.
16448 [XPG3] (asinh): Likewise.
16449 [XPG3] (atanh): Likewise.
16450 [XPG3] (cbrt): Likewise.
16451 [XPG3] (expm1): Likewise.
16452 [XPG3] (ilogb): Likewise.
16453 [XPG3] (log1p): Likewise.
16454 [XPG3] (logb): Likewise.
16455 [XPG3] (nextafter): Likewise.
16456 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16457 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16458 [XPG3] (remainder): Likewise.
16459 [XPG3] (rint): Likewise.
16460 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16461 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16462 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16463 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16464 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16465 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16466 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16467 [UNIX98 || XOPEN2K] (scalb): Expect.
16468 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16469 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16470 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16471 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16472 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16473 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16474 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16475 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16476 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16477 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16478 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16479 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16480 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16481 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16482 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16483 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16484 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16485 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16486 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16487 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16488 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16489 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16490 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16491 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16492 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16493 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16494 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16495 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16496 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16497 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16498 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16499 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16500 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16501 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16502 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16503 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16504 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16505 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16506 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16507 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16508 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16509 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16510 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16511 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16512 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16513 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16514 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16515 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16516 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16517 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16518 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16519 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16520 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16521 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16522 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16523 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16524 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16525 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16526 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16527 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16528 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16529 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16530 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16531 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16532 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16533 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16534 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16535 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16536 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16537 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16538 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16539 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16540 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16541 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16542 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16543 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16544 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16545 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16546 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16547 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16548 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16549 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16550 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16551 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16552 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16553 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16554 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16555 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16556 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16557 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16558 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16559 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16560 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16561 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16562 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16563 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16564 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16565 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16566 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16567 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16568 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16569 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16570 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16571 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16572 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16573 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16574 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16575 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16576 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16577 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16578 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16579 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16580 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16581 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16582 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16583 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16584 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16585 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16586 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16587 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16588 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16589 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16590 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16591 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16592 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16593 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16594 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16595 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16596 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16597 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16598 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16599 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16600 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16601 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16602 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16603 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16604 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16606 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16607 _XOPEN_SOURCE_EXTENDED for XPG4.
16609 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16611 * Makeconfig (localtime): Remove variable.
16612 (inst_localtime-file): Likewise.
16614 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16635 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16639 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16640 comparisons to determine direction to adjust input.
16641 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16642 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16643 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16645 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16647 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16649 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16650 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16652 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16654 * math/libm-test.inc (nexttoward_test): Add more tests.
16656 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16659 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16660 in version GLIBC_2.1, not GLIBC_2.0.
16661 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16664 2012-04-30 Joseph Myers <joseph@codesourcery.com>
16667 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16669 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16670 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16671 * math/libm-test.inc (acos_test): Add more tests.
16672 (asin_test): Likewise.
16673 * sysdeps/i386/fpu/libm-test-ulps: Update.
16674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16677 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16679 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16680 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16681 * math/libm-test.inc (acos_test_tonearest): New function.
16682 (acos_test_towardzero): Likewise.
16683 (acos_test_downward): Likewise.
16684 (acos_test_upward): Likewise.
16685 (asin_test_tonearest): Likewise.
16686 (asin_test_towardzero): Likewise.
16687 (asin_test_downward): Likewise.
16688 (asin_test_upward): Likewise.
16689 (main): Call the new functions.
16690 * sysdeps/i386/fpu/libm-test-ulps: Update.
16691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16695 * math/e_exp10.c: Include <float.h>.
16696 (__ieee754_exp10): Handle underflow here rather than multiplying
16697 large negative argument by M_LN10.
16698 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16700 * math/e_exp10l.c: Include <float.h>.
16701 (__ieee754_exp10l): Handle underflow here rather than multiplying
16702 large negative argument by M_LN10l.
16703 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16704 spurious overflow exception on underflow.
16706 2012-04-29 Marek Polacek <polacek@redhat.com>
16708 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16709 (__fortify_function): New macro.
16710 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16711 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16712 __extern_always_inline.
16713 * libio/bits/stdio2.h: Likewise.
16714 * libio/bits/stdio.h: Likewise.
16715 * string/string.h: Likewise.
16716 * string/bits/string3.h: Likewise.
16717 * include/stdio.h: Likewise.
16718 * stdlib/bits/stdlib.h: Likewise.
16719 * stdlib/stdlib.h: Likewise.
16720 * rt/bits/mqueue2.h: Likewise.
16721 * rt/mqueue.h: Likewise.
16722 * posix/bits/unistd.h: Likewise.
16723 * posix/unistd.h: Likewise.
16724 * io/bits/poll2.h: Likewise.
16725 * io/bits/fcntl2.h: Likewise.
16726 * io/fcntl.h: Likewise.
16727 * io/sys/poll.h: Likewise.
16728 * misc/bits/syslog.h: Likewise.
16729 * misc/bits/syslog-ldbl.h: Likewise.
16730 * misc/sys/syslog.h: Likewise.
16731 * socket/bits/socket2.h: Likewise.
16732 * socket/sys/socket.h: Likewise.
16733 * debug/tst-chk1.c: Likewise.
16734 * wcsmbs/bits/wchar2.h: Likewise.
16735 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16736 * wcsmbs/wchar.h: Likewise.
16738 2012-04-29 Andreas Jaeger <aj@suse.de>
16740 * Makerules (tests): Remove enable-check-abi protection.
16741 (check-abi-warn): Remove.
16742 (check-abi-%): Remove check-abi-warn usage.
16744 * configure.in: Remove check-abi configure option.
16745 * configure: Regenerated.
16746 * config.make.in (enable-check-abi): Remove.
16748 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16751 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16752 double functions to double *_finite functions.
16755 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16756 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16758 * stdio-common/Makefile (tests): Add tst-sprintf3.
16759 * stdio-common/tst-sprintf3.c: New file.
16761 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16762 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16764 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16766 * conform/conformtest.pl: Remove duplicate typed-constant
16769 2012-04-28 David S. Miller <davem@davemloft.net>
16771 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16772 (check-abi-%): Remove AWK script prerequisite and explicit
16774 (check-abi): Rewrite to just diff the symlist with the abilist.
16775 (config-tls, config-abi-config): Delete, no longer used.
16776 (update-abi-%): Remove AWK script and explicit abilist directory.
16777 (update-abi): Rewrite to simply compare and conditionally copy the
16778 symlist and the sysdep abilist file. Remove update-abi-config
16780 * abilist/ld.abilist: Remove.
16781 * abilist/libBrokenLocale.abilist: Remove.
16782 * abilist/libanl.abilist: Remove.
16783 * abilist/libcrypt.abilist: Remove.
16784 * abilist/libdl.abilist: Remove.
16785 * abilist/librt.abilist: Remove.
16786 * abilist/libthread_db.abilist: Remove.
16787 * abilist/libutil.abilist: Remove.
16788 * scripts/extract-abilist.awk: Remove.
16789 * scripts/merge-abilist.awk: Remove.
16790 * sysdeps/generic/libcidn.abilist: New file.
16791 * sysdeps/generic/libnss_compat.abilist: New file.
16792 * sysdeps/generic/libnss_db.abilist: New file.
16793 * sysdeps/generic/libnss_dns.abilist: New file.
16794 * sysdeps/generic/libnss_files.abilist: New file.
16795 * sysdeps/generic/libnss_hesiod.abilist: New file.
16796 * sysdeps/generic/libnss_nis.abilist: New file.
16797 * sysdeps/generic/libnss_nisplus.abilist: New file.
16798 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16799 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16800 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16802 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16803 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16804 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16805 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16806 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16807 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16808 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16809 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16810 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16812 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16813 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16814 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16815 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16817 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16818 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16819 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16820 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16821 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16822 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16824 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16825 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16826 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16828 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16849 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16851 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16853 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16931 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16932 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16933 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16935 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16936 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16937 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16938 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16939 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16940 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16941 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16942 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16943 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16944 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16968 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16989 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16991 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16996 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16998 * conform/conformtest.pl: Fix typo in handling typed-constant from
17001 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17003 * README: Cut down references to pre-2.6 Linux kernels and
17004 Linuxthreads. Update lists of configurations in libc and ports
17005 and sort alphabetically. Say "or newer" with Linux kernel version
17008 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17010 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17013 * math/libm-test.inc (logb_test_downward): New test to expose
17014 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17017 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17020 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17022 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17023 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17025 2012-04-26 Joseph Myers <joseph@codesourcery.com>
17027 * sysdeps/unix/i386/brk.S: Remove file.
17028 * sysdeps/unix/i386/dl-brk.S: Likewise.
17029 * sysdeps/unix/i386/pipe.S: Likewise.
17030 * sysdeps/unix/i386/sigreturn.S: Likewise.
17031 * sysdeps/unix/i386/syscall.S: Likewise.
17032 * sysdeps/unix/i386/vfork.S: Likewise.
17033 * sysdeps/unix/i386/wait.S: Likewise.
17035 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17036 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17038 * configure.in (arm*-none*): Do not allow without
17039 --enable-hacker-mode.
17040 (netbsd*): Remove case setting base_os.
17041 (386bsd*): Likewise.
17042 (freebsd*): Likewise.
17045 (sunos*): Likewise.
17046 (ultrix*): Likewise.
17047 (newsos*): Likewise.
17048 (dynix*): Likewise.
17054 (minix*): Likewise.
17055 (irix4*): Likewise.
17056 (irix6*): Likewise.
17057 (solaris[2-9]*): Likewise.
17059 * configure: Regenerated.
17061 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17064 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17065 overflow or cancellation in calculating denominator.
17066 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17067 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17068 down expression to avoid unexpected rounding in newer GCCs.
17069 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17071 2012-04-26 David S. Miller <davem@davemloft.net>
17073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17074 long-double compat symbols.
17075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17089 2012-04-25 David S. Miller <davem@davemloft.net>
17091 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17092 HWCAP_* values only after the memory barriers have been defined.
17093 (atomic_full_barrier): Define.
17094 (atomic_read_barrier): Define.
17095 (atomic_write_barrier): Define.
17097 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17099 * shlib-versions: Add libgcc_s version information.
17100 * sysdeps/generic/libgcc_s.h: Remove.
17101 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17103 * sysdeps/gnu/unwind-resume.c: Likewise.
17104 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17106 2012-04-25 David S. Miller <davem@davemloft.net>
17108 * sysdeps/unix/sparc/brk.S: Delete.
17109 * sysdeps/unix/sparc/dl-brk.S: Delete.
17110 * sysdeps/unix/sparc/pipe.S: Delete.
17111 * sysdeps/unix/sparc/sysdep.S: Delete.
17112 * sysdeps/unix/sparc/sysdep.h: Delete.
17113 * sysdeps/unix/sparc/vfork.S: Delete.
17114 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17115 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17116 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17117 ret_ERRVAL, r0, r1, MOVE): Define.
17118 (JUMPTARGET): Remove.
17119 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17120 sysdeps/unix/sparc/sysdep.h
17121 (ENTRY, END): Remove.
17122 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17124 2012-04-25 Joseph Myers <joseph@codesourcery.com>
17126 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17127 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17130 * timezone/README: Update upstream location and email address for
17132 * timezone/zdump.c: Update from tzcode 2012b.
17133 * timezone/zic.c: Likewise.
17135 * configure.in (libc_cv_as_needed): Remove test.
17136 * configure: Regenerated.
17137 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17138 conditional definition.
17139 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17140 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17141 * config.make.in (have-as-needed): Remove variable.
17143 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17144 Paul Pluzhnikov <ppluzhnikov@google.com>
17146 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17149 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17151 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17152 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17153 * sysdeps/sh/strlen.S: Likewise.
17155 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17157 * sysdeps/unix/fork.S: Remove file.
17158 * sysdeps/unix/i386/fork.S: Likewise.
17159 * sysdeps/unix/sparc/fork.S: Likewise.
17161 * sysdeps/unix/system.c: Remove file.
17162 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17164 * sysdeps/unix/getegid.S: Remove file.
17165 * sysdeps/unix/geteuid.S: Likewise.
17167 2012-04-24 Roland McGrath <roland@hack.frob.com>
17169 * scripts/check-localplt.awk: New file.
17170 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17172 * scripts/data/localplt-generic.data: Add a comment.
17174 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17175 NODE when __dir_mkfile failed.
17176 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17177 Reported by Ludovic Courtès <ludo@gnu.org>.
17179 2012-04-24 Andreas Jaeger <aj@suse.de>
17181 * Makerules (common-clean): Also remove gen-as-const-headers
17184 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17186 * Makerules (native-compile): Do not change working directory for
17187 build. Use $(OUTPUT_OPTION) in command.
17188 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17190 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17193 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17194 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17195 * math/libm-test.inc (floor_test): Add more tests.
17196 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17198 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17200 * sysdeps/unix/getdents.c: Remove file.
17201 * sysdeps/unix/sysv/getdents.c: Likewise.
17202 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17204 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17205 sysdeps/unix/mman/syscalls.list.
17207 (mprotect): Likewise.
17209 (munmap): Likewise.
17210 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17211 * sysdeps/unix/mman/syscalls.list: Remove.
17212 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17214 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17215 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17216 * configure: Regenerated.
17217 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17218 $(libgcc_s_suffix).
17219 * config.make.in (libgcc_s_suffix): Remove variable.
17221 2012-04-23 Joseph Myers <joseph@codesourcery.com>
17223 * sysdeps/unix/sysv/gethostname.c: Move to ...
17224 * sysdeps/posix/gethostname.c: ... here.
17226 * sysdeps/unix/execve.S: Remove file.
17228 * sysdeps/unix/_exit.S: Remove file.
17230 2012-04-23 Andreas Jaeger <aj@suse.de>
17233 * manual/Makefile: Remove make dist support, there's no
17234 need for a stand-alone documentation tar ball.
17235 (TEXI2DVI): Define always, it's not in Makeconfig.
17238 (edition): Removed.
17239 (glibc-doc-$(edition).tar): Removed
17243 (ETAGS): Remove, it's in Makeconfig.
17244 (move-if-change): Remove, it's in Makeconfig.
17246 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
17249 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17250 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17251 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17252 (strtod_l, strtof_l, strtold_l): Remove __wur.
17253 It is not necessarily an error to ignore strtol's return value.
17254 One can reliably look at the stored endptr to decide whether
17255 the number had valid syntax.
17257 2012-04-21 Andreas Jaeger <aj@suse.de>
17260 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17262 2012-04-21 Joseph Myers <joseph@codesourcery.com>
17264 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17265 * sysdeps/unix/sysv/Versions: Remove file.
17267 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17272 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
17275 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17276 version from __vm86.
17278 2012-04-20 Joseph Myers <joseph@codesourcery.com>
17280 * sysdeps/unix/common/lxstat.c: Remove file.
17281 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17283 * sysdeps/unix/sysv/Makefile: Remove file.
17285 * sysdeps/unix/sysv/direct.h: Remove file.
17287 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17288 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17289 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17290 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17291 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17292 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17293 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17295 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17297 * sysdeps/unix/xmknod.c: Remove file.
17298 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17300 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17302 * sysdeps/unix/sysv/i386/time.S: Remove file.
17304 * sysdeps/unix/fxstat.c: Remove file.
17305 * sysdeps/unix/xstat.c: Likewise.
17306 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17308 * sysdeps/unix/sysv/sigaction.c: Remove file.
17310 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17311 (sysdep_headers): Remove variable.
17312 [termio.h not in sysdep_headers] (generated): Likewise.
17313 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17314 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17315 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17316 * sysdeps/unix/sysv/tcflow.c: Likewise.
17317 * sysdeps/unix/sysv/tcflush.c: Likewise.
17318 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17319 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17320 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17321 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17322 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17324 * sysdeps/unix/siglist.c: Remove file.
17326 * sysdeps/unix/getppid.S: Remove file.
17328 * sysdeps/unix/mkdir.c: Remove file.
17329 * sysdeps/unix/rmdir.c: Likewise.
17331 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17333 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17335 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17336 errlist-compat value.
17338 2012-04-18 David S. Miller <davem@davemloft.net>
17340 * sysdeps/generic/memcopy.h (reg_char): Delete.
17341 * debug/strcat_chk.c: Use char, not reg_char.
17342 * debug/strcpy_chk.c: Likewise.
17343 * debug/strncat_chk.c: Likewise.
17344 * debug/strncpy_chk.c: Likewise.
17345 * string/memchr.c: Likewise.
17346 * string/memrchr.c: Likewise.
17347 * string/rawmemchr.c: Likewise.
17348 * string/strcat.c: Likewise.
17349 * string/strchr.c: Likewise.
17350 * string/strchrnul.c: Likewise.
17351 * string/strcmp.c: Likewise.
17352 * string/strcpy.c: Likewise.
17353 * string/strncat.c: Likewise.
17354 * string/strncmp.c: Likewise.
17355 * string/strncpy.c: Likewise.
17357 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17359 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17360 __builtin_memcopy is called when src and dest ranges are known to not
17363 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17365 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17366 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17367 fwd_align_merge macro call.
17368 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17369 bwd_align_merge macro call.
17370 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17372 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17374 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17375 bwd_align_merge macros.
17376 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17377 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17378 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17380 2012-04-18 David S. Miller <davem@davemloft.net>
17382 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17384 2012-04-18 Andreas Jaeger <aj@suse.de>
17387 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17388 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17389 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17391 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17392 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17393 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17395 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17396 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17397 Adjust for changed ldbl-128 files.
17399 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17400 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17401 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17403 2012-04-17 David S. Miller <davem@davemloft.net>
17405 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17407 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17409 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17410 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17411 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17412 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17413 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17414 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17416 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17419 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17420 * math/libm-test.inc: Add ilogb errno and exception tests.
17421 * math/w_ilogb.c: New file: ilogb wrapper.
17422 * math/w_ilogbf.c: New file: ilogbf wrapper.
17423 * math/w_ilogbl.c: New file: ilogbl wrapper.
17424 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17425 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17426 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17427 exception being thrown with 0.0 as argument.
17428 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17429 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17430 exception being thrown with 0.0 as argument.
17431 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17432 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17433 exception being thrown with 0.0 as argument.
17434 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17435 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17436 exception being thrown with 0.0 as argument.
17437 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17438 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
17439 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
17440 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17441 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17442 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17443 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17444 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17445 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17447 2012-04-17 Petr Baudis <pasky@ucw.cz>
17449 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17452 2012-04-16 Marek Polacek <polacek@redhat.com>
17454 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17456 2012-04-16 Marek Polacek <polacek@redhat.com>
17458 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17459 operands of fdivp instruction.
17461 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17463 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17464 * elf/tst-auditmod3b.c: Likewise.
17465 * elf/tst-auditmod4b.c: Likewise.
17466 * elf/tst-auditmod5b.c: Likewise.
17467 * elf/tst-auditmod6b.c: Likewise.
17468 * elf/tst-auditmod6c.c: Likewise.
17469 * elf/tst-auditmod7b.c: Likewise.
17470 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17471 * sysdeps/x86_64/preconfigure.in: Likewise.
17472 * sysdeps/x86_64/preconfigure: Regenerated.
17474 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17476 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17479 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
17481 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17482 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17484 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17487 * locale/iso-639.def: Fix gl language name. Spotted by
17490 2012-04-12 Roland McGrath <roland@hack.frob.com>
17493 * libio/libio.h (__io_write_fn): Update comment.
17495 2012-04-12 Petr Baudis <pasky@ucw.cz>
17498 * stdio.texi (Hook Functions): The user provided writer function
17499 is not allowed to return -1.
17501 2012-04-11 David S. Miller <davem@davemloft.net>
17503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17505 2012-04-11 Mike Frysinger <vapier@gentoo.org>
17507 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17508 Add a leading slash to rtkaio.
17510 2012-04-11 Jim Meyering <meyering@redhat.com>
17513 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17514 It is not necessarily an error to ignore fwrite's return
17515 value. One can reliably use ferror to test for errors after
17518 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17520 * bits/types.h (__snseconds_t): New type.
17521 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17523 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17524 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17525 (__SNSECONDS_T_TYPE): Likewise.
17526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17527 (__SNSECONDS_T_TYPE): Likewise.
17528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17529 (__SNSECONDS_T_TYPE): Likewise.
17531 2012-04-10 Andreas Jaeger <aj@suse.de>
17534 * manual/time.texi (Processor Time): Return type of times is
17535 elapsed real time since an arbitrary point in the past.
17536 (CPU Time): Move CLK_TCK from here...
17537 (Processor Time): ...to here. Correct description.
17538 * manual/conf.texi (Constants for Sysconf): Correct description of
17541 2012-04-10 David S. Miller <davem@davemloft.net>
17544 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17545 where the is a gap between DT_REL(A) and DT_JMPREL.
17547 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17549 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17550 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17551 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17553 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17555 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17556 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17557 (dl_main): Handle --inhibit-cache.
17558 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17560 * elf/dl-load.c (_dl_map_object): Use it.
17561 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17563 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17566 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17567 (__ieee754_powl): Saturate large exponents rather than testing for
17568 overflow of y*log2(x).
17569 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17570 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17574 * math/s_ctan.c: Include <float.h>.
17575 (__ctan): Avoid internal overflow or cancellation in calculating
17577 * math/s_ctanf.c: Likewise.
17578 * math/s_ctanl.c: Likewise.
17579 * math/s_ctanh.c: Likewise.
17580 * math/s_ctanhf.c: Likewise.
17581 * math/s_ctanhl.c: Likewise.
17582 * math/libm-test.inc (ctan_test): Add more tests.
17583 (ctanh_test): Likewise.
17584 * sysdeps/i386/fpu/libm-test-ulps: Update.
17585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17587 2012-04-09 Andreas Jaeger <aj@suse.de>
17590 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17591 is an optional BSD extension.
17594 * manual/stdio.texi (Opening Streams): Document additional fopen
17597 2012-04-09 Roland McGrath <roland@hack.frob.com>
17599 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17600 %eax without telling the compiler.
17602 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17605 * manual/install.texi: Use sourceware.org.
17607 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17610 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17611 (__ieee754_pow): Generate overflow and underflow using huge*huge
17612 and tiny*tiny rather than just returning constant infinity or zero
17613 for large exponents.
17614 * math/libm-test.inc (pow_test): Require overflow exceptions for
17615 applicable cases of large exponents.
17618 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17619 (__ieee754_pow): Use iterative multiplication algorithm only for
17620 integer exponents with absolute value below 1024. Check for odd
17621 integer exponents when using algorithm for real exponents.
17622 * math/libm-test.inc (pow_test): Add more tests.
17623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17625 2012-04-08 Joseph Myers <joseph@codesourcery.com>
17628 * math/libm-test.inc (exp_test): Do not allow overflow exception
17631 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17634 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17635 instead of __kernel_standard_f.
17637 2012-04-08 Mike Frysinger <vapier@gentoo.org>
17639 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17640 * sysdeps/x86_64/memset_chk.S: Likewise.
17642 2012-04-08 Andreas Jaeger <aj@suse.de>
17645 * manual/startup.texi (Environment Access): Describe return value
17646 for putenv and setenv.
17649 * manual/filesys.texi (Directory Entries): Add description for
17653 * manual/filesys.texi (Directory Entries): Clarify that it's file
17654 system not operating system in the description of DT_UNKNOWN.
17657 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17659 2012-04-08 Stephen Compall <s11@member.fsf.org>
17662 * manual/llio.texi (Opening and Closing Files): Add cross
17663 reference to explain mode argument.
17665 2012-04-07 Mike Frysinger <vapier@gentoo.org>
17667 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17668 * sysdeps/x86_64/memset_chk.S: Likewise.
17670 2012-04-07 David S. Miller <davem@davemloft.net>
17672 * elf/elf.h (R_SPARC_WDISP10): Define.
17673 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17675 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17676 R_SPARC_SIZE64 and R_SPARC_H34.
17678 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17680 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17681 conditions and remove no longer applicable assertion.
17683 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17685 * bits/byteswap.h: Include <features.h>.
17686 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17687 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17689 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17691 * bits/byteswap.h (__bswap_16): Removed.
17692 Include <bits/byteswap-16.h> to get __bswap_16.
17693 * sysdeps/i386/bits/byteswap.h: Likewise.
17694 * sysdeps/s390/bits/byteswap.h: Likewise.
17695 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17696 * bits/byteswap-16.h: New file.
17697 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17698 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17699 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17700 * string/Makefile (headers): Add bits/byteswap-16.h.
17702 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17705 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17707 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17708 * nss/tst-nss-static.c: New.
17710 2012-04-06 Robert Millan <rmh@gnu.org>
17713 * manual/llio.texi (File Position Primitive): lseek
17714 refers to WHENCE when it really means OFFSET.
17716 2012-04-06 Andreas Jaeger <aj@suse.de>
17718 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17719 strncmp declarations.
17721 * abilist/libc.abilist: Add __poll and __ppoll.
17723 2012-04-05 David S. Miller <davem@davemloft.net>
17725 * scripts/check-local-headers.sh: Accept a host triplet in the
17726 path matched by the exclude regexp.
17728 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17730 * sysdeps/powerpc/powerpc32/dl-machine.h
17731 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17732 * sysdeps/s390/s390-32/dl-machine.h
17733 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17734 * sysdeps/sparc/sparc32/dl-machine.h
17735 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17736 * sysdeps/sparc/sparc64/dl-machine.h
17737 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17739 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17741 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17742 undefined symbol errors.
17744 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17747 2012-04-05 Michael Matz <matz@suse.de>
17750 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17752 2012-04-05 Andreas Jaeger <aj@suse.de>
17755 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17758 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17760 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17761 which ROUND is no valid rounding mode.
17763 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17765 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17767 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17769 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17771 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17772 an exception using FPU order intentionally.
17774 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17776 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17777 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17778 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17779 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17781 2012-04-05 Simon Josefsson <simon@josefsson.org>
17784 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17785 EINVAL when BUFLEN is too smal.
17787 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17790 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17791 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17793 2012-04-03 Andreas Jaeger <aj@suse.de>
17796 * manual/setjmp.texi (System V contexts): Fix sentence.
17799 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17800 New macro for this case.
17801 [!__GNUC__] (__bswap_64): New inline function for this case.
17802 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17803 * bits/byteswap.h: Likewise.
17804 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17805 ull, guard with __GLIBC_HAVE_LONG_LONG.
17807 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17808 __GLIBC_HAVE_LONG_LONG.
17810 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17811 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17813 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17816 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17817 inptr and inend, rather than using last_ch.
17819 2012-04-02 David S. Miller <davem@davemloft.net>
17821 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17822 * stdio-common/printf-parse.h (read_int): Change return type to
17823 'int', return -1 on INT_MAX overflow.
17824 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17825 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17826 overflows INT_MAX. Check for overflow of in-format-string precision
17827 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17828 SIZE_MAX not INT_MAX for integer overflow test.
17829 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17830 skip the construct in the format string but do not record anything.
17831 * stdio-common/bug22.c: Adjust to test both width/prevision
17832 INT_MAX overflow as well as total length INT_MAX overflow. Check
17833 explicitly for proper errno values.
17835 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17837 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17839 * string/test-strcmp.c [! WIDE]: Likewise.
17840 * time/tst-mktime2.c: Likewise for INT_MAX.
17841 * string/test-string.h: #include <sys/param.h> for MIN.
17843 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17844 * sysdeps/i386/init-first.c (init): Likewise.
17845 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17846 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17847 * sysdeps/sh/init-first.c (init): Likewise.
17849 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17851 * po/ru.po: Update from translation team.
17852 * po/vi.po: Likewise.
17854 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17856 * resolv/nss_dns/dns-host.c: Merge copyright years.
17858 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17860 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17861 Optimize memcpy with prefetch if
17862 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17863 src, dst pointers have unequal 16 byte alignments.
17865 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17868 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17869 from a CNAME entry and return the minimum ttl for the query.
17870 (gaih_getanswer_slice): Likewise.
17872 2012-03-30 Jeff Law <law@redhat.com>
17874 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17876 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17877 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17879 * resolv/nss_dns/dns-host.c: Update copyright year.
17881 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17883 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17884 requests to save a system call. Fix check that all bytes are sent.
17886 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17887 comments for sendmmsg.
17889 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17892 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17893 with only 1 character between 0x0041 and 0x01b0.
17894 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17895 * wcsmbs/tst-mbsnrtowcs.c: New file.
17897 2012-03-29 David S. Miller <davem@davemloft.net>
17899 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17900 small copies by hand.
17902 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17905 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17906 _nss_compat_initgroups_dyn): Fall back to malloc/free
17907 for large group memberships.
17909 2012-03-28 David S. Miller <davem@davemloft.net>
17911 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17912 that branches into memcpy.
17913 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17914 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17915 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17916 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17917 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17919 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17920 implementation too.
17921 * sysdeps/sparc/mempcpy.S: New file.
17923 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17924 the IFUNC routine in the libc case.
17925 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17927 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17928 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17929 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17930 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17931 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17932 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17933 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17934 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17936 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17937 loop to 256 bytes instead of 64 bytes and fix test signedness.
17939 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17940 * sysdeps/sparc/sparc32/Makefile: rather than here...
17941 * sysdeps/sparc/sparc64/Makefile: and here.
17943 2012-03-28 Ulrich Drepper <drepper@gmail.com>
17945 * malloc/mallocbug.c: Avoid warnings about unused variables.
17947 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17950 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17951 in the right place. Discard and retry query if response is
17952 larger than input buffer size.
17954 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17959 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17960 x for large integer exponent.
17961 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17962 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17963 sign of result as needed afterwards.
17964 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17965 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17966 result for underflowing pow the same as for overflow.
17967 (__kernel_standard_l): Handle powl overflow and underflow here
17968 rather than calling __kernel_standard.
17969 * math/libm-test.inc (pow_test): Add more tests.
17984 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17985 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17986 (__kernel_standard_l): New function.
17987 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17989 * math/w_acosl.c (__acosl): Likewise.
17990 * math/w_asinl.c (__asinl): Likewise.
17991 * math/w_atan2l.c (__atan2l): Likewise.
17992 * math/w_atanhl.c (__atanhl): Likewise.
17993 * math/w_coshl.c (__coshl): Likewise.
17994 * math/w_exp10l.c (__exp10l): Likewise.
17995 * math/w_exp2l.c (__exp2l): Likewise.
17996 * math/w_fmodl.c (__fmodl): Likewise.
17997 * math/w_hypotl.c (__hypotl): Likewise.
17998 * math/w_j0l.c (__j0l, __y0l): Likewise.
17999 * math/w_j1l.c (__j1l, __y1l): Likewise.
18000 * math/w_jnl.c (__jnl, __ynl): Likewise.
18001 * math/w_lgammal.c (__lgammal): Likewise.
18002 * math/w_log10l.c (__log10l): Likewise.
18003 * math/w_log2l.c (__log2l): Likewise.
18004 * math/w_logl.c (__logl): Likewise.
18005 * math/w_powl.c (__powl): Likewise.
18006 * math/w_remainderl.c (__remainderl): Likewise.
18007 * math/w_scalbl.c (sysv_scalbl): Likewise.
18008 * math/w_sinhl.c (__sinhl): Likewise.
18009 * math/w_sqrtl.c (__sqrtl): Likewise.
18010 * math/w_tgammal.c (__tgammal): Likewise.
18011 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18012 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18013 * math/libm-test.inc (acos_test): Add more tests.
18014 (acosh_test): Likewise.
18015 (asin_test): Likewise.
18016 (atanh_test): Likewise.
18017 (exp_test): Likewise.
18018 (exp10_test): Likewise.
18019 (exp2_test): Likewise.
18020 (expm1_test): Likewise.
18021 (lgamma_test): Likewise.
18022 (log_test): Likewise.
18023 (log10_test): Likewise.
18024 (log1p_test): Likewise.
18025 (log2_test): Likewise.
18026 (pow_test): Do not allow some spurious overflow exceptions.
18027 (sqrt_test): Add more tests.
18028 (tgamma_test): Likewise.
18029 (y0_test): Likewise.
18030 (y1_test): Likewise.
18031 (yn_test): Likewise.
18033 2012-03-27 Anton Blanchard <anton@samba.org>
18035 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18037 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18038 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18039 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18041 2012-03-27 David S. Miller <davem@davemloft.net>
18043 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18045 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18046 have-as-vis3 check.
18048 2012-03-27 Andreas Jaeger <aj@suse.de>
18050 * sysdeps/x86_64/elf/configure.in: Moved to ...
18051 * sysdeps/x86_64/configure.in: ... here.
18052 * sysdeps/x86_64/elf/start.S: Moved to ...
18053 * sysdeps/x86_64/start.S: ... here.
18054 * sysdeps/x86_64/elf/configure: Delete.
18056 * sysdeps/x86_64/configure.in: Merge contents from
18057 sysdeps/i386/configure.in (without i686 check).
18059 * sysdeps/i386/elf/Versions: Merge into ...
18060 * sysdeps/i386/Versions: ... this.
18061 * sysdeps/i386/elf/Versions: Delete file.
18062 * sysdeps/i386/elf/start.S: Moved to ...
18063 * sysdeps/i386/start.S: ...here.
18064 * sysdeps/i386/elf/configure.in: Merge into...
18065 * sysdeps/i386/configure.in: ...here.
18066 * sysdeps/i386/elf/configure.in: Delete file.
18067 * sysdeps/i386/elf/configure: Delete file.
18069 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18070 * debug/backtracesyms.c: ... here.
18071 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18072 * debug/backtracesymsfd.c: ... here.
18073 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18074 * sysdeps/generic/ifunc-sel.h: ... here.
18076 * sysdeps/unix/i386/start.c: Delete file.
18077 * sysdeps/unix/sparc/start.c: Delete file.
18078 * sysdeps/unix/start.c: Delete file.
18080 * sysdeps/sh/elf/configure.in: Moved to ...
18081 * sysdeps/sh/configure.in: ... here.
18082 * sysdeps/sh/elf/start.S: Moved to ...
18083 * sysdeps/sh/start.S: ... here.
18084 * sysdeps/sh/elf/configure: Delete file.
18086 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18087 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18088 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18089 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18090 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18091 * sysdeps/powerpc/powerpc64/start.S: here.
18092 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18093 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18094 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18095 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18096 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18098 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18099 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18100 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18101 * sysdeps/powerpc/powerpc32/start.S: ... here.
18102 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18103 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18104 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18106 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18107 * sysdeps/powerpc/ifunc-sel.h: ... here.
18108 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18109 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18111 * sysdeps/sparc/elf/configure.in: Moved to ...
18112 * sysdeps/sparc/configure.in: ... here.
18113 * sysdeps/sparc/elf/configure: Delete file.
18114 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18115 * sysdeps/sparc/sparc32/start.S: ... here.
18116 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18117 * sysdeps/sparc/sparc64/start.S: ... here.
18118 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18119 * sysdeps/sparc/sparc32/Makefile: ... this.
18120 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18121 * sysdeps/sparc/sparc64/Makefile: ... this.
18123 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18124 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18125 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18126 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18127 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18128 * sysdeps/s390/s390-32/setjmp.S: ... here.
18129 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18130 * sysdeps/s390/s390-32/configure.in: ... here.
18131 * sysdeps/s390/s390-32/elf/configure: Delete file.
18132 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18133 * sysdeps/s390/s390-32/start.S: ... here.
18135 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18136 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18137 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18138 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18139 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18140 * sysdeps/s390/s390-64/setjmp.S: ... here.
18141 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18142 * sysdeps/s390/s390-64/configure.in: ... here
18143 * sysdeps/s390/s390-64/elf/configure: Delete file.
18144 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18145 * sysdeps/s390/s390-64/start.S: ... here.
18146 * sysdeps/s390/s390-64/elf/configure: Delete.
18148 * configure.in: Remove support for elf directories in sysdeps.
18150 * configure: Regenerated.
18151 * sysdeps/i386/configure: Regenerated.
18152 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18153 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18154 * sysdeps/s390/s390-32/configure: Regenerated.
18155 * sysdeps/s390/s390-64/configure: Regenerated.
18156 * sysdeps/sh/configure: Regenerated.
18157 * sysdeps/sparc/configure: Regenerated.
18158 * sysdeps/x86_64/configure: Regenerated.
18160 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
18162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18164 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18165 denormal result into account.
18167 2012-03-25 Roland McGrath <roland@hack.frob.com>
18169 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18170 Reported by Allan McRae <allan@archlinux.org>.
18172 2012-03-23 Jeff Law <law@redhat.com>
18174 * nss/getnssent.c (__nss_getent): Fix typo.
18176 2012-03-23 David S. Miller <davem@davemloft.net>
18178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18180 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18182 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18183 to pad to uint64_t for each field.
18184 (dl_tls_index): Replace unsigned long with uint64_t.
18186 2012-03-23 Daniel Jacobowitz <dmj@google.com>
18187 Paul Pluzhnikov <ppluzhnikov@google.com>
18190 * grp/Makefile (otherlibs): Don't set it.
18191 * inet/Makefile (otherlibs): Likewise.
18192 * login/Makefile (otherlibs): Likewise.
18193 * nscd/Makefile (otherlibs): Likewise.
18194 * posix/Makefile (otherlibs): Likewise.
18195 * pwd/Makefile (otherlibs): Likewise.
18196 * rt/Makefile (otherlibs): Likewise.
18197 * sunrpc/Makefile (otherlibs): Likewise.
18198 * nss/Makefile (otherlibs): Likewise.
18199 Add libnss_files to routines and static-only-routines.
18200 ($(objpfx)getent): Remove rule.
18201 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18202 static-only-routines.
18204 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18207 * math/s_cexp.c: Include <float.h>.
18208 (__cexp): Handle exp result overflowing not necessarily
18209 overflowing both real and imaginary parts of result.
18210 * math/s_cexpf.c: Likewise.
18211 * math/s_cexpl.c: Likewise.
18212 * math/libm-test.inc (cexp_test): Add more tests.
18213 * sysdeps/i386/fpu/libm-test-ulps: Update.
18214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18216 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18218 * include/link.h (ELFW): New macro.
18219 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18220 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18222 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18224 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18227 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18229 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18231 (struct La_x32_retval): Likewise.
18233 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18235 * sysdeps/x86_64/preconfigure.in: New file.
18236 * sysdeps/x86_64/preconfigure: New generated file.
18238 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18241 * math/e_exp2l.c: Include <float.h>.
18242 (__ieee754_exp2l): Handle overflow and underflow cases
18243 separately. Only pass fractional part of argument to
18245 * math/libm-test.inc (exp2_test): Add more tests.
18247 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18248 negating x to take absolute value.
18249 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18251 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18252 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18254 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18255 computing low part if x was negated.
18256 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18258 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18260 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18261 la_x32_gnu_pltexit.
18262 (pltexit): Cast int_retval to ptrdiff_t.
18263 * elf/tst-auditmod3b.c: Likewise.
18264 * elf/tst-auditmod4b.c: Likewise.
18265 * elf/tst-auditmod5b.c: Likewise.
18266 * elf/tst-auditmod6b.c: Likewise.
18267 * elf/tst-auditmod6c.c: Likewise.
18268 * elf/tst-auditmod7b.c: Likewise.
18270 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18271 and x32_gnu_pltexit.
18273 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18274 __ELF_NATIVE_CLASS.
18275 (La_x32_regs): New macro.
18276 (La_x32_retval): Likewise.
18277 (la_x32_gnu_pltenter): New function prototype.
18278 (la_x32_gnu_pltexit): Likewise.
18280 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18282 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18287 * configure.in (libc_cv_cc_nofma): Check for option to disable
18288 generation of FMA instructions.
18289 * configure: Regenerate.
18290 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18291 * sysdeps/ieee754/dbl-64/Makefile: New file.
18292 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18293 Remove brandred-fma4.
18294 (CFLAGS-brandred-fma4.c): Remove.
18295 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18296 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18298 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18301 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18303 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18304 LLONG_MAX != LONG_MAX.
18305 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18306 (_fitoa_word): Likewise.
18307 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18308 LLONG_MAX != LONG_MAX.
18309 * stdio-common/_itowa.h: Include <_itoa.h>.
18310 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18311 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18312 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18313 only if not defined.
18314 (_ITOA_WORD_TYPE): Likewise.
18315 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18316 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18318 2012-03-21 David S. Miller <davem@davemloft.net>
18320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18322 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18324 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18325 of x86_64 when setting libc_cv_slibdir, libdir and
18327 * sysdeps/unix/sysv/linux/configure: Regenerated.
18329 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18331 * manual/lang.texi (Old Varargs): Remove section.
18332 (How Variadic): Update menu.
18333 (va_start): Do not mention varargs.h.
18335 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18336 Joseph Myers <joseph@codesourcery.com>
18338 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18340 * configure: Regenerated.
18342 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18344 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18345 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18348 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18351 * Makefile (files-for-dist): Remove NOTES.
18352 (NOTES): Remove rule.
18353 * README: Don't refer to NOTES.
18354 * manual/creature.texi: Don't include macros.texi.
18355 * manual/intro.texi (creature.texi): Remove comment referring to
18358 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18359 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18360 * configure: Regenerated.
18361 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18362 LIBC_TRY_CC_OPTION.
18363 (libc_cv_as_i686): Likewise.
18364 (libc_cv_cc_avx): Likewise.
18365 (libc_cv_cc_sse2avx): Likewise.
18366 (libc_cv_cc_fma4): Likewise.
18367 (libc_cv_cc_novzeroupper): Likewise.
18368 * sysdeps/i386/configure: Regenerated.
18371 * sysdeps/i386/fpu/s_cexp.S: Remove.
18372 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18373 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18374 * math/libm-test.inc (cexp_test): Add more tests.
18375 * sysdeps/i386/fpu/libm-test-ulps: Update.
18376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18378 2012-03-21 Allan McRae <allan@archlinux.org>
18380 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18382 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18385 * math/w_exp2.c: Do not include <float.h>.
18386 (o_threshold, u_threshold): Remove.
18387 (__exp2): Calculate result before checking finiteness and calling
18389 * math/w_exp2f.c: Likewise.
18390 * math/w_exp2l.c: Likewise.
18391 * math/libm-test.inc (exp2_test): Require overflow exception for
18395 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18396 range of signed 64-bit integers before using fistpll. Remove
18397 checks for whether integers fit in mantissa bits.
18398 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18399 the range of signed 32-bit integers before using fistpl. Remove
18400 checks for whether integers fit in mantissa bits.
18401 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18402 (__ieee754_powl): Test for y outside the range of signed 64-bit
18403 integers before using fistpll. Reduce 64-bit values to 63-bit
18405 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18406 divide-by-zero is raised for zero to large negative powers.
18407 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18408 (__ieee754_powl): Test for y outside the range of signed 64-bit
18409 integers before using fistpll. Reduce 64-bit values to 63-bit
18411 * math/libm-test.inc (pow_test): Add more tests.
18413 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18415 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18416 <stdio-common/_itoa.h>.
18417 * debug/segfault.c: Likewise.
18418 * elf/dl-cache.c: Likewise.
18419 * elf/dl-minimal.c: Likewise.
18420 * elf/dl-misc.c: Likewise.
18421 * elf/dl-sysdep.c: Likewise.
18422 * elf/dl-version.c: Likewise.
18423 * elf/rtld.c: Likewise.
18424 * hurd/hurdsock.c: Likewise.
18425 * hurd/lookup-retry.c: Likewise.
18426 * malloc/malloc.c: Likewise.
18427 * malloc/mtrace.c: Likewise.
18428 * nscd/nscd_getgr_r.c: Likewise.
18429 * nscd/nscd_getpw_r.c: Likewise.
18430 * nscd/nscd_getserv_r.c: Likewise.
18431 * posix/getopt_init.c: Likewise.
18432 * posix/wordexp.c: Likewise.
18433 * stdio-common/_itoa.c: Likewise.
18434 * stdio-common/printf_fphex.c: Likewise.
18435 * stdio-common/vfprintf.c: Likewise.
18436 * string/_strerror.c: Likewise.
18437 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18438 * sysdeps/i386/i686/hp-timing.h: Likewise.
18439 * sysdeps/mach/_strerror.c: Likewise.
18440 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18441 * sysdeps/mach/hurd/sethostid.c: Likewise.
18442 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18443 * sysdeps/mach/xpg-strerror.c: Likewise.
18444 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18445 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18446 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18447 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18448 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18449 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18450 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18451 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18452 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18453 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18454 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18455 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18456 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18457 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18458 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18459 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18460 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18461 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18462 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18463 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18464 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18466 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18468 * stdio-common/_itoa.h: Moved to ...
18469 * sysdeps/generic/_itoa.h: Here.
18471 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18473 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18474 instead of "_itoa.h" and "_itowa.h".
18475 * stdio-common/vfprintf.: Likewise.
18477 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18479 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18481 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18482 (__signbit): Likwise.
18483 (llrintf): Likwise.
18486 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18488 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18491 2012-03-20 Joseph Myers <joseph@codesourcery.com>
18493 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18494 OVERFLOW_EXCEPTION_OK.
18495 * math/libm-test.inc ("Philosophy"): Update comment about
18497 (OVERFLOW_EXCEPTION): Define.
18498 (OVERFLOW_EXCEPTION_OK): Likewise.
18499 (INVALID_EXCEPTION_OK): Renumber.
18500 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18501 (IGNORE_ZERO_INF_SIGN): Likewise.
18502 (test_exceptions): Handle FE_OVERFLOW.
18503 (exp10_test): Expect overflow exceptions.
18504 (exp2_test): Likewise.
18505 (expm1_test): Likewise.
18506 (nextafter_test): Likewise.
18507 (pow_test): Likewise.
18508 (scalbn_test): Likewise.
18509 (scalbln_test): Likewise.
18511 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18513 * sysdeps/x86_64/bits/atomic.h
18514 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18516 (atomic_exchange_acq): Likewise.
18517 (__arch_exchange_and_add_body): Likewise.
18518 (__arch_add_body): Likewise.
18519 (atomic_add_negative): Likewise.
18520 (atomic_add_zero): Likewise.
18522 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18524 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
18525 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18527 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18529 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18530 Check __x86_64__ instead of __WORDSIZE.
18532 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18534 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18536 2012-03-19 David S. Miller <davem@davemloft.net>
18538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18540 * sysdeps/sparc/fpu/fenv_private.h: New file.
18541 * sysdeps/sparc/fpu/math_private.h: Use it.
18542 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18544 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18545 (libc_feholdexcept_setroundl): Remove.
18546 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18548 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18549 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18551 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18553 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18554 int64_t instead of long int.
18555 (INSERT_WORDS64): Likwise.
18557 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18559 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18560 _Unwind_GetCFA return to _Unwind_Ptr first.
18562 2012-03-19 Joseph Myers <joseph@codesourcery.com>
18565 * math/s_clog.c: Include <float.h>.
18566 (__clog): Scale large or subnormal inputs.
18567 * math/s_clogf.c: Likewise.
18568 * math/s_clogl.c: Likewise.
18569 * math/s_clog10.c: Include <float.h>.
18570 (M_LOG10_2): Define.
18571 (__clog10): Scale large or subnormal inputs.
18572 * math/s_clog10f.c: Likewise.
18573 * math/s_clog10l.c: Likewise.
18574 * math/libm-test.inc (clog_test): Add more tests.
18575 (clog10_test): Likewise.
18576 * sysdeps/i386/fpu/libm-test-ulps: Update.
18577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18580 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18582 * math/libm-test.inc (atan2_test): Add another test.
18584 * Makerules (common-objdir-compile): Remove.
18585 * sysdeps/unix/Makefile (config-generated): Do not add
18586 $(unix-generated) to variable.
18587 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18588 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18590 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18592 [generic bits/local_lim.h] (before-compile): Do not append to
18594 [generic bits/local_lim.h] (common-generated): Likewise.
18595 [generic sys/param.h] (before-compile): Do not append to variable.
18596 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18597 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18598 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18599 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18601 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18602 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18603 [generic sys/param.h] ($(addprefix
18604 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18605 [generic sys/param.h] (common-generated): Do not append to
18607 [generic sys/param.h] (sysdep_headers): Likewise.
18608 [generic bits/errno.h] (before-compile): Do not append to
18610 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18612 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18613 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18614 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18615 [generic bits/errno.h] (common-generated): Do not append to
18617 [generic bits/ioctls.h] (before-compile): Do not append to
18619 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18621 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18622 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18623 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18625 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18626 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18627 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18628 [generic bits/ioctls.h] (common-generated): Do not append to
18630 [generic sys/syscall.h] (syscall.h): Remove variable.
18631 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18633 [generic sys/syscall.h] (before-compile): Do not append to
18635 [generic sys/syscall.h] (common-generated): Likewise.
18636 * sysdeps/unix/errnos-tmpl.c: Remove file.
18637 * sysdeps/unix/errnos.awk: Likewise.
18638 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18639 * sysdeps/unix/ioctls.awk: Likewise.
18640 * sysdeps/unix/mk-local_lim.c: Likewise.
18641 * sysdeps/unix/snarf-ioctls: Likewise.
18643 2012-03-19 Richard Henderson <rth@twiddle.net>
18645 * sysdeps/i386/fpu/fenv_private.h: New file.
18646 * sysdeps/i386/fpu/math_private.h: Use it.
18647 (math_opt_barrier, math_force_eval): Remove.
18648 (libc_feholdexcept_setround_53bit): Remove.
18649 (libc_feupdateenv_53bit): Remove.
18650 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18651 (math_opt_barrier, math_force_eval): Remove.
18652 (libc_feholdexcept): Remove.
18653 (libc_feholdexcept_setround): Remove.
18654 (libc_fetestexcept, libc_fesetenv): Remove.
18655 (libc_feupdateenv_test): Remove.
18656 (libc_feupdateenv, libc_feholdsetround): Remove.
18657 (libc_feresetround): Remove.
18659 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18660 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18662 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18663 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18664 (libc_feupdateenv_testl): New.
18665 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18666 (libc_feupdateenv_testf): New.
18667 (libc_feupdateenv): Use libc_feupdateenv_test.
18668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18669 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18671 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18672 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18673 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18674 (libc_feresetround_noex): New.
18675 (libc_feresetround_noexf): New.
18676 (libc_feresetround_noexl): New.
18677 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18678 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18679 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18680 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18682 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18683 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18685 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18686 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18687 SET_RESTORE_ROUND_NOEX.
18688 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18689 SET_RESTORE_ROUND_NOEXF.
18690 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18691 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18692 (libc_feholdsetroundf): New.
18693 (libc_feresetround, libc_feresetroundf): New.
18695 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18696 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18697 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18699 * sysdeps/generic/math_private.h: Include <fenv.h>.
18700 (default_libc_feholdexcept): New.
18701 (default_libc_feholdexcept_setround): New.
18702 (default_libc_fesetenv, default_libc_feupdateenv): New.
18703 (libc_feholdexcept): Only define if undefined.
18704 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18705 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18706 (libc_feholdexcept_setroundl): Likewise.
18707 (libc_feholdexcept_setround_53bit): Likewise.
18708 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18709 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18710 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18711 (libc_feupdateenv_53bit): Likewise.
18712 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18713 (libc_feholdexcept): Convert from macro to inline function.
18714 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18715 (libc_fesetenv, libc_feupdateenv): Likewise.
18717 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18718 not previously defined.
18719 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18720 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18721 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18722 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18723 * sysdeps/ieee754/flt-32/math_private.h: New file.
18724 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18725 math_private.h below SET_FLOAT_WORD.
18726 (__isnan, __isinf_ns, __finite): Remove.
18727 (__isnanf, __isinf_nsf, __finitef): Remove.
18729 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18733 2012-03-17 David S. Miller <davem@davemloft.net>
18736 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18739 2012-03-16 David S. Miller <davem@davemloft.net>
18741 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18745 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18747 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18748 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18749 sysdep_routines when subdir is sysvipc.
18750 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18751 __getshmlba helper.
18753 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18755 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18757 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18760 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18762 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18763 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18764 (__lround): Renamed to ...
18765 (__llround): This. Replace long int with long long int.
18766 Define lround functions as aliases of llround functions.
18767 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18769 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18771 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18772 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18773 adresses to uintptr_t. Replace "long int" and "unsigned long
18774 int" with "greg_t" on va_arg.
18776 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18778 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18779 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18781 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18782 Move e_machine check before EI_CLASS check. Handle x32
18783 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18784 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18785 SKIP_EM_IA_64 and include
18786 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18788 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18789 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18790 (add_system_dir): New macro.
18792 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18793 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18795 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18806 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18808 * math/w_j0f.c (j0f): Likewise.
18810 * math/w_j0l.c (__j0l): Likewise.
18812 * math/w_j1.c (j1): Likewise.
18814 * math/w_j1f.c (j1f): Likewise.
18816 * math/w_j1l.c (__j1l): Likewise.
18818 * math/w_jn.c (jn): Likewise.
18820 * math/w_jnf.c (jnf): Likewise.
18822 * math/w_jnl.c (__jnl): Likewise.
18824 * math/libm-test.inc (j0_test): Add more tests.
18825 (j1_test): Likewise.
18826 (jn_test): Likewise. Add trailing semicolon to existing test.
18827 (y0_test): Likewise.
18828 (y1_test): Likewise.
18829 * sysdeps/i386/fpu/libm-test-ulps: Update.
18830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18834 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18835 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18836 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18837 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18838 (__tanl): Set errno for infinite argument.
18839 * sysdeps/i386/fpu/mptan.c: Remove.
18840 * sysdeps/i386/fpu/s_tan.S: Likewise.
18841 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18842 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18843 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18844 * math/libm-test.inc (tan_test): Add more tests and enable more
18845 tests for double and long double.
18846 * sysdeps/i386/fpu/libm-test-ulps: Update.
18847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18849 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18851 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18852 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18854 2012-03-16 Roland McGrath <roland@hack.frob.com>
18856 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18857 * configure.in: Use it for both main tree and add-ons.
18858 * configure: Regenerated.
18860 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18862 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18864 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18866 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18870 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18871 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18872 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18873 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18874 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18876 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18877 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18878 != 0 for prec == 2.
18879 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18880 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18881 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18882 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18883 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18884 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18885 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18886 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18887 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18888 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18889 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18890 * math/libm-test.inc (cos_test): Add more tests and enable more
18891 tests for long double.
18892 (sin_test): Likewise.
18893 (sincos_test): Likewise.
18894 * sysdeps/i386/fpu/libm-test-ulps: Update.
18895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18897 2012-03-16 David S. Miller <davem@davemloft.net>
18899 * sysdeps/sparc/fpu/math_private.h: New file.
18901 2012-03-15 David S. Miller <davem@davemloft.net>
18903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18913 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18917 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18918 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18920 * sysdeps/sparc/sparc-ifunc.h: New file.
18921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18946 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18947 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18948 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18949 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18950 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18951 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18952 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18953 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18954 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18958 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18959 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18960 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18961 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18962 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18963 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18964 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18966 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18968 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18972 2012-03-15 Andreas Jaeger <aj@suse.de>
18975 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18976 ieee754/flt-32 implementation for sin, cos and sincos.
18977 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18978 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18979 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18980 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18981 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18982 ieee754/flt-32 implementation for tan.
18984 * math/libm-test.inc (cos_test): Enable some large input tests for
18986 (sin_test): Likewise.
18987 (sincos_test): Likewise.
18988 (tan_test): Add tests for large input.
18990 * sysdeps/i386/fpu/libm-test-ulps: Update.
18992 2012-03-15 Andreas Jaeger <aj@suse.de>
18995 * math/libm-test.inc (cos_test): Add more test cases.
18996 (sin_test): Likewise.
18997 (sincos_test): Likewise.
18999 2012-03-15 Andreas Jaeger <aj@suse.de>
19002 * math/libm-test.inc (cos_test): Add a test case for large input
19004 (sin_test): Likewise.
19005 (sincos_test): Likewise.
19007 2012-03-15 Andreas Jaeger <aj@suse.de>,
19008 Joseph Myers <joseph@codesourcery.com>
19011 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
19012 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19013 * sysdeps/i386/fpu/branred.c: Likewise.
19014 * sysdeps/i386/fpu/dosincos.c: Likewise.
19015 * sysdeps/i386/fpu/mpa.c: Likewise.
19016 * sysdeps/i386/fpu/s_cos.S: Likewise.
19017 * sysdeps/i386/fpu/s_sin.S: Likewise.
19018 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19019 * sysdeps/i386/fpu/sincos32.c: Likewise.
19021 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19023 (libc_feupdateenv_53bit): Define.
19024 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19026 (libc_feupdateenv_53bit): Define.
19028 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19029 53 bit (without extend i386 double precision).
19031 * math/libm-test.inc (sincos_test): Add tests for large input.
19035 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19037 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19041 2012-03-15 David S. Miller <davem@davemloft.net>
19043 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19044 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19045 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19046 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19052 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19053 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19054 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
19058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
19061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
19064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
19067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19070 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19071 fmin/fmax sysdep routines.
19072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19074 2012-03-14 David S. Miller <davem@davemloft.net>
19076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19079 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19080 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19081 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19082 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19083 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19085 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19086 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19087 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19092 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19095 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19096 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19097 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19098 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19099 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19101 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19102 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19103 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
19104 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
19109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
19112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
19115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
19118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
19121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
19136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
19139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
19142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
19145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19148 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19153 * sysdeps/sparc/configure.in: New file.
19154 * sysdeps/sparc/configure: Generate.
19155 * configure.in (libc_cv_sparc_as_vis3): Substitute.
19156 * configure: Regenerate.
19157 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19158 * config.make.in (have-as-vis3): New.
19159 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19160 available use -Av9d instead of -Av9a.
19161 * sysdeps/sparc/sparc64/Makefile: Likewise.
19162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
19163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19171 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19172 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19173 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19174 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19175 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19177 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19178 fzeros/fnegs to load 0x80000000 into a float register instead of
19180 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19182 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19186 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19187 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19188 ($(inst_includedir)/bits/syscall.h): Remove rule.
19189 ($(objpfx)bits/syscall.d): Include instead of
19190 $(objpfx)syscall-list.d.
19191 (generated): Change syscall-list.h and syscall-list.d to
19192 bits/syscall.h and bits/syscall.d.
19194 2012-03-14 Roland McGrath <roland@hack.frob.com>
19197 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19199 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19202 * math/s_csqrt.c: Include <float.h>.
19203 (__csqrt): Scale large or subnormal inputs.
19204 * math/s_csqrtf.c: Likewise.
19205 * math/s_csqrtl.c: Likewise.
19206 * math/libm-test.inc (csqrt_test): Add more tests.
19207 * sysdeps/i386/fpu/libm-test-ulps: Update.
19208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19211 * math/libm-test.inc (hypot_test): Add more tests.
19213 2012-03-13 David S. Miller <davem@davemloft.net>
19216 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19217 double-precision for the calculation instead of scaling.
19219 2012-03-13 Joseph Myers <joseph@codesourcery.com>
19221 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19222 manipulate bits before adding and subtracting TWO52[sx].
19223 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19224 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19226 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19228 2012-03-13 David S. Miller <davem@davemloft.net>
19230 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19231 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19232 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19233 rtld-global-offsets.h
19234 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19236 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19239 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19241 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19242 'err' in the ifdef scope in which it is actually used.
19244 * nss/nss_db/db-init.c: Include string.h
19246 2012-03-12 David S. Miller <davem@davemloft.net>
19248 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19249 masking out of the most significant byte of random value used.
19250 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19251 Fix coding style in previous change.
19253 * sysdeps/unix/sysv/linux/kernel-features.h
19254 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19255 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19257 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19260 2012-03-11 David S. Miller <davem@davemloft.net>
19262 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19263 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19264 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19265 for 'resultvar' otherwise things get truncated on 64-bit.
19267 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19268 Fix masking out of the most significant byte of random value used.
19270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19272 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19276 2012-03-09 David S. Miller <davem@davemloft.net>
19278 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19279 variables with appropriate CPP guards.
19280 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19281 frame pointer, not the stack pointer. Correct layout comments. Fix test
19282 on resulting framesize and the management of the outregs buffer for pltexit.
19283 Preserve floating point return values across _dl_call_pltexit call.
19284 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19285 framesize and the management of the outregs buffer for pltexit.
19286 Preserve floating point return values across _dl_call_pltexit
19288 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19289 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19290 (print_exit): Fix format string for return register value.
19292 2012-03-10 Joseph Myers <joseph@codesourcery.com>
19294 * sunrpc/Makefile (others): Add rpcgen.
19295 ($(objpfx)rpcgen): Remove special build rule and dependency on
19297 * sunrpc/rpcgen.c: New file.
19299 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19302 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19303 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19304 * sysdeps/i386/crti.S: Likewise.
19305 * sysdeps/i386/crtn.S: Likewise.
19306 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19307 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19308 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19309 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19310 * sysdeps/sh/crti.S: Likewise.
19311 * sysdeps/sh/crtn.S: Likewise.
19312 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19315 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19317 * locale/programs/locfile-kw.gperf: Likewise.
19318 * locale/programs/charmap-kw.h: Regenerated.
19319 * locale/programs/locfile-kw.h: Likewise.
19322 * intl/plural.y: Replace FSF snail mail address with URL.
19323 * intl/plural.c: Regenerated.
19325 2012-03-09 Richard Henderson <rth@twiddle.net>
19327 * include/math_private.h: Remove file.
19328 * math/math_private.h: Move file ...
19329 * sysdeps/generic/math_private.h: ... here.
19331 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19332 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19333 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19335 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
19336 and <math_private.h>.
19337 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19338 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19339 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19340 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19341 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19342 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19343 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19344 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19345 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19346 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19347 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19348 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19349 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19351 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19352 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19353 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19354 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19355 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19356 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19358 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19359 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19360 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19361 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19362 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19363 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19364 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19365 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19366 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19367 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19368 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19369 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19370 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19371 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19372 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19373 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19374 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19375 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19376 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19377 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19378 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19379 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19380 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19381 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19382 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19383 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19384 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19385 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19386 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19387 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19388 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19389 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19390 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19391 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19392 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19393 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19394 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19395 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19396 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19397 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19398 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19399 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19400 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19401 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19402 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19403 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19404 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19405 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19406 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19407 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19408 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19409 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19410 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19411 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19412 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19413 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19414 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19415 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19416 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19417 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19418 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19421 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19422 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19424 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19425 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19426 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19427 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19428 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19429 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19430 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19431 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19432 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19433 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19434 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19435 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19436 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19437 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19438 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19439 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19440 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19441 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19442 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19443 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19444 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19445 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19446 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19447 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19448 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19449 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19450 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19451 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19452 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19453 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19454 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19455 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19456 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19457 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19458 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19459 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19460 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19461 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19462 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19463 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19464 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19465 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19466 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19467 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19468 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19469 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19470 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19471 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19472 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19473 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19474 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19475 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19476 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19477 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19478 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19479 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19480 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19481 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19482 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19483 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19484 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19485 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19486 * sysdeps/ieee754/k_standard.c: Likewise.
19487 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19488 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19489 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19490 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19491 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19492 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19493 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19494 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19495 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19496 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19497 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19498 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19499 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19500 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19501 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19502 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19503 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19504 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19505 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19506 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19507 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19508 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19509 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19510 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19511 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19512 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19513 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19514 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19515 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19516 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19517 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19518 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19519 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19520 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19521 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19522 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19523 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19524 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19525 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19526 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19527 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19528 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19529 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19530 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19531 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19532 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19533 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19534 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19535 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19536 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19537 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19538 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19539 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19540 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19541 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19542 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19543 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19544 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19545 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19546 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19547 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19548 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19549 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19550 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19551 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19552 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19553 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19554 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19555 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19558 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19559 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19560 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19561 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19562 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19563 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19564 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19565 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19566 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19567 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19568 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19569 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19570 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19571 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19572 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19573 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19574 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19575 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19576 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19577 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19578 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19579 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19580 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19581 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19582 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19583 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19584 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19585 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19586 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19587 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19588 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19589 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19590 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19591 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19592 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19593 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19594 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19595 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19596 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19597 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19598 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19599 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19600 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19601 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19602 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19603 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19604 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19605 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19606 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19607 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19608 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19609 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19610 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19611 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19612 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19613 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19614 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19615 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19616 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19617 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19618 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19619 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19620 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19621 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19622 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19623 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19624 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19625 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19626 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19627 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19628 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19629 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19630 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19631 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19632 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19633 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19634 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19635 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19636 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19637 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19638 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19639 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19640 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19641 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19642 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19643 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19644 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19645 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19646 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19647 * sysdeps/ieee754/s_lib_version.c: Likewise.
19648 * sysdeps/ieee754/s_matherr.c: Likewise.
19649 * sysdeps/ieee754/s_signgam.c: Likewise.
19650 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19651 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19652 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19653 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19654 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19655 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19656 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19657 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19658 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19659 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19660 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19661 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19662 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19663 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19664 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19665 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19666 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19667 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19668 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19669 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19670 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19672 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19674 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19675 * sunrpc/rpc_main.c: Likewise.
19676 * sunrpc/rpc_svcout.c: Likewise.
19678 2012-03-09 David S. Miller <davem@davemloft.net>
19680 * include/math_private.h: New file.
19682 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19684 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19685 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19686 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19687 from <bits/socket_type.h>.
19688 (enum __socket_type): Don't define here.
19689 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19690 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19691 bits/socket_type.h.
19694 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19695 checking __USE_GNU.
19697 * Makerules ($(inst_includedir)/%.h): New rule.
19698 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19699 (install-others): Remove variable setting.
19700 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19702 2012-03-08 Richard Henderson <rth@twiddle.net>
19704 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19705 from macro to inline function; merge with the
19706 !__LIBC_INTERNAL_MATH_INLINES version.
19707 (__ieee754_sqrtf): Likewise.
19709 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19710 to inline function.
19711 (__rintf, __floor, __floorf): Likewise.
19713 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19714 macro to inline function.
19715 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19717 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19718 not <math/math_private.h>.
19720 2012-03-08 David S. Miller <davem@davemloft.net>
19722 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19724 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19726 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19728 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19730 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19731 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19733 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19735 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19736 be defined individually, they must be defined as a block. Define
19737 S for printing a string instead of hidint the different by using a
19738 macro for adding the 'l'.
19739 * stdio-common/tst-fphex-wide.c: Adjust.
19741 2012-03-07 Marek Polacek <polacek@redhat.com>
19743 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19745 2012-03-08 Marek Polacek <polacek@redhat.com>
19748 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19749 * stdio-common/tst-fphex.c: Define a few macros to make the
19750 test reusable. Use them.
19751 * stdio-common/tst-fphex-wide.c: New file.
19753 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19756 * manual/macros.texi (gnusystems): New macro.
19757 (nongnusystems): Likewise.
19758 (gnulinuxhurdsystems): Likewise.
19759 (gnuhurdsystems): Likewise..
19760 (gnulinuxsystems): Likewise.
19761 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19762 variants of the GNU system, not "GNU system".
19763 * manual/conf.texi: Likewise.
19764 * manual/errno.texi: Likewise. Update example of errno macro
19766 * manual/filesys.texi: Likewise.
19767 (getumask): Document as specific to GNU/Hurd.
19768 * manual/install.texi: Likewise. Reword some references to
19770 * manual/intro.texi: Likewise.
19771 * manual/io.texi: Likewise.
19772 (File Name Portability): Detail which constraints are inapplicable
19773 to all GNU systems and which are only inapplicable to GNU/Hurd.
19774 * manual/job.texi: Likewise.
19775 * manual/llio.texi: Likewise.
19776 (O_NOCTTY): Document as present on GNU/Linux.
19777 * manual/maint.texi: Likewise.
19778 * manual/memory.texi: Likewise.
19779 * manual/pattern.texi: Likewise.
19780 * manual/pipe.texi: Likewise.
19781 * manual/process.texi: Likewise.
19782 * manual/resource.texi: Likewise.
19783 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19785 * manual/setjmp.texi: Likewise.
19786 * manual/signal.texi: Likewise.
19787 * manual/startup.texi: Likewise.
19788 * manual/stdio.texi: Likewise.
19789 * manual/terminal.texi: Likewise.
19790 (ONLCR): Document as POSIX.
19791 (OXTABS): Document availability on GNU/Linux as XTABS.
19792 (ONOEOT): Document availability separately from other bits.
19793 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19794 * manual/time.texi: Likewise.
19795 * manual/users.texi: Likewise.
19796 * INSTALL: Regenerated.
19797 * sysdeps/gnu/errlist.c: Regenerated.
19799 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19800 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19801 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19803 * configure: Regenerated.
19805 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19807 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19808 default includes instead of AC_HEADER_CHECK.
19809 * sysdeps/i386/configure: Regenerated.
19812 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19813 * math/s_cacoshf.c (__cacoshf): Likewise.
19814 * math/s_cacoshl.c (__cacoshl): Likewise.
19815 * math/s_casinh.c (__casinh): Set signs of result from argument.
19816 * math/s_casinhf.c (__casinhf): Likewise.
19817 * math/s_casinhl.c (__casinhl): Likewise.
19818 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19819 (casinh_test): Add more tests.
19820 * sysdeps/i386/fpu/libm-test-ulps: Update.
19821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19823 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19825 * po/zh_TW.po: Update from translation team.
19827 * login/Makefile (distribute): Remove variable.
19828 * catgets/Makefile: Likewise.
19829 * mach/Makefile: Likewise.
19830 * malloc/Makefile: Likewise.
19831 * misc/Makefile: Likewise.
19832 * iconv/Makefile: Likewise.
19833 * nscd/Makefile: Likewise.
19834 * hurd/Makefile: Likewise.
19835 * manual/Makefile: Likewise.
19836 * locale/Makefile: Likewise.
19837 * intl/Makefile: Likewise.
19838 * conform/Makefile: Likewise.
19839 * nss/Makefile: Likewise.
19840 * time/Makefile: Likewise.
19841 * soft-fp/Makefile: Likewise.
19842 * dirent/Makefile: Likewise.
19843 * gmon/Makefile: Likewise.
19844 * po/Makefile: Likewise.
19845 * rt/Makefile: Likewise.
19846 * socket/Makefile: Likewise.
19847 * math/Makefile: Likewise.
19848 * signal/Makefile: Likewise.
19849 * debug/Makefile: Likewise.
19850 * elf/Makefile: Likewise.
19851 * timezone/Makefile: Likewise.
19852 * stdlib/Makefile: Likewise.
19853 * iconvdata/Makefile: Likewise.
19854 * sunrpc/Makefile: Likewise.
19855 * io/Makefile: Likewise.
19856 * argp/Makefile: Likewise.
19857 * inet/Makefile: Likewise.
19858 * hesiod/Makefile: Likewise.
19859 * grp/Makefile: Likewise.
19860 * csu/Makefile: Likewise.
19861 * wctype/Makefile: Likewise.
19862 * crypt/Makefile: Likewise.
19863 * libio/Makefile: Likewise.
19864 * string/Makefile: Likewise.
19865 * nis/Makefile: Likewise.
19866 * resolv/Makefile: Likewise.
19867 * stdio-common/Makefile: Likewise.
19868 * wcsmbs/Makefile: Likewise.
19869 * dlfcn/Makefile: Likewise.
19870 * posix/Makefile: Likewise.
19873 * timezone/Makefile: Don't install timezone files, just the programs
19876 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19878 * nss/databases.def: Add missing gshadow entry.
19880 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19882 2012-03-06 Marek Polacek <polacek@redhat.com>
19885 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19886 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19887 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19888 * stdio-common/tst-long-dbl-fphex.c: New file.
19890 2012-03-06 David S. Miller <davem@davemloft.net>
19892 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19893 (set_obp_int): New function.
19894 (get_obp_int): New function.
19895 (__get_clockfreq_via_dev_openprom): Likewise.
19896 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19897 Avoid unused variable warnings on 'val' and use builtin_expect.
19898 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19900 (INLINE_CLONE_SYSCALL): Likewise.
19902 2012-03-05 David S. Miller <davem@davemloft.net>
19904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19906 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19910 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19911 only for |x| >= 40.
19912 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19914 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19916 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19917 Replace gettimeofday with __vdso_gettimeofday.
19919 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19920 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19921 __vdso_clock_gettime and __vdso_getcpu.
19923 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19924 time with __vdso_time.
19926 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19928 * manual/lang.texi (size_t): Note types to which size_t may be
19929 equivalent with the GNU C Library, but do not describe when
19930 differences between them are significant.
19932 2012-03-05 Andreas Jaeger <aj@suse.de>
19934 * sysdeps/i386/fpu/libm-test-ulps: Update.
19936 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19939 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19940 (__ieee754_pow): Save and restore rounding mode and use
19941 round-to-nearest for main computations.
19942 * math/libm-test.inc (pow_test_tonearest): New function.
19943 (pow_test_towardzero): Likewise.
19944 (pow_test_downward): Likewise.
19945 (pow_test_upward): Likewise.
19946 (main): Call the new functions.
19947 * sysdeps/i386/fpu/libm-test-ulps: Update.
19948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19951 * math/libm-test.inc (cosh_test_tonearest): New function.
19952 (cosh_test_towardzero): Likewise.
19953 (cosh_test_downward): Likewise.
19954 (cosh_test_upward): Likewise.
19955 (sinh_test_tonearest): Likewise.
19956 (sinh_test_towardzero): Likewise.
19957 (sinh_test_downward): Likewise.
19958 (sinh_test_upward): Likewise.
19959 (main): Call the new functions.
19960 * sysdeps/i386/fpu/libm-test-ulps: Update.
19961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19963 2012-03-05 Tom de Vries <tom@codesourcery.com>
19965 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19966 default stack guard is set in last bytes.
19967 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19969 2012-03-05 Kees Cook <keescook@chromium.org>
19971 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19974 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19975 possibly allocate from heap instead of stack.
19976 * stdio-common/bug-vfprintf-nargs.c: New file.
19977 * stdio-common/Makefile (tests): Add nargs overflow test.
19979 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19983 2012-03-03 Marek Polacek <polacek@redhat.com>
19985 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19986 * math/math_private.h: Likewise.
19987 * stdlib/tst-strtod.c: Likewise.
19988 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19989 * sysdeps/x86_64/bits/atomic.h: Likewise.
19991 2012-03-02 David S. Miller <davem@davemloft.net>
19993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19997 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19998 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19999 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20000 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20002 2012-03-02 Roland McGrath <roland@hack.frob.com>
20005 * manual/examples/README: New file, says the example source files
20006 can be used under GPL>=2.
20007 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20008 line containing just "*/".
20009 * manual/examples/add.c: Add copyright header (GPL>=2).
20010 * manual/examples/argp-ex1.c: Likewise.
20011 * manual/examples/argp-ex2.c: Likewise.
20012 * manual/examples/argp-ex3.c: Likewise.
20013 * manual/examples/argp-ex4.c: Likewise.
20014 * manual/examples/atexit.c: Likewise.
20015 * manual/examples/db.c: Likewise.
20016 * manual/examples/dir.c: Likewise.
20017 * manual/examples/dir2.c: Likewise.
20018 * manual/examples/execinfo.c: Likewise.
20019 * manual/examples/filecli.c: Likewise.
20020 * manual/examples/filesrv.c: Likewise.
20021 * manual/examples/fmtmsgexpl.c: Likewise.
20022 * manual/examples/genpass.c: Likewise.
20023 * manual/examples/inetcli.c: Likewise.
20024 * manual/examples/inetsrv.c: Likewise.
20025 * manual/examples/isockad.c: Likewise.
20026 * manual/examples/longopt.c: Likewise.
20027 * manual/examples/memopen.c: Likewise.
20028 * manual/examples/memstrm.c: Likewise.
20029 * manual/examples/mkfsock.c: Likewise.
20030 * manual/examples/mkisock.c: Likewise.
20031 * manual/examples/mygetpass.c: Likewise.
20032 * manual/examples/pipe.c: Likewise.
20033 * manual/examples/popen.c: Likewise.
20034 * manual/examples/rprintf.c: Likewise.
20035 * manual/examples/search.c: Likewise.
20036 * manual/examples/select.c: Likewise.
20037 * manual/examples/setjmp.c: Likewise.
20038 * manual/examples/sigh1.c: Likewise.
20039 * manual/examples/sigusr.c: Likewise.
20040 * manual/examples/stpcpy.c: Likewise.
20041 * manual/examples/strdupa.c: Likewise.
20042 * manual/examples/strftim.c: Likewise.
20043 * manual/examples/strncat.c: Likewise.
20044 * manual/examples/subopt.c: Likewise.
20045 * manual/examples/swapcontext.c: Likewise.
20046 * manual/examples/termios.c: Likewise.
20047 * manual/examples/testopt.c: Likewise.
20048 * manual/examples/testpass.c: Likewise.
20049 * manual/examples/timeval_subtract.c: Likewise.
20052 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20054 * manual/timeval_subtract.c.texi: ... here, new file.
20056 2012-03-02 David S. Miller <davem@davemloft.net>
20058 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20060 2012-03-02 Joseph Myers <joseph@codesourcery.com>
20063 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20064 (__sin): Save and restore rounding mode and use round-to-nearest
20065 for all computations.
20066 (__cos): Save and restore rounding mode and use round-to-nearest
20067 for all computations.
20068 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20070 (tan): Save and restore rounding mode and use round-to-nearest for
20072 * math/libm-test.inc (cos_test_tonearest): New function.
20073 (cos_test_towardzero): Likewise.
20074 (cos_test_downward): Likewise.
20075 (cos_test_upward): Likewise.
20076 (sin_test_tonearest): Likewise.
20077 (sin_test_towardzero): Likewise.
20078 (sin_test_downward): Likewise.
20079 (sin_test_upward): Likewise.
20080 (tan_test_tonearest): Likewise.
20081 (tan_test_towardzero): Likewise.
20082 (tan_test_downward): Likewise.
20083 (tan_test_upward): Likewise.
20084 (main): Call the new functions.
20085 * sysdeps/i386/fpu/libm-test-ulps: Update.
20086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20089 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20090 small n, then large n, before computing and testing k+n.
20091 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20092 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20094 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20096 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20097 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20098 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20099 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20100 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20101 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20102 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20103 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20104 * math/libm-test.inc (scalbn_test): Add more tests.
20105 (scalbln_test): Likewise.
20107 * manual/filesys.texi (mode_t): Describe constraints on size and
20108 signedness, not exact equivalence to a particular type.
20110 (ino64_t): Likewise.
20112 (nlink_t): Likewise.
20113 (blkcnt_t): Likewise.
20114 (blkcnt64_t): Likewise.
20115 * manual/llio.texi (off_t): Likewise.
20118 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20119 (__ieee754_exp): Save and restore rounding mode and use
20120 round-to-nearest for all computations.
20121 * math/libm-test.inc (exp_test_tonearest): New function.
20122 (exp_test_towardzero): Likewise.
20123 (exp_test_downward): Likewise.
20124 (exp_test_upward): Likewise.
20125 (main): Call the new functions.
20126 * sysdeps/i386/fpu/libm-test-ulps: Update.
20127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20129 2012-03-01 Chris Demetriou <cgd@google.com>
20131 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20132 have predictable order.
20134 2012-03-01 David S. Miller <davem@davemloft.net>
20136 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20138 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20139 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20140 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20141 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20143 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20144 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20145 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20147 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20148 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20149 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20150 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20151 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20153 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20155 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20156 * sysdeps/sparc/fpu/libm-test-ulps: to here.
20157 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20159 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20160 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20161 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20162 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20163 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20164 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20165 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20166 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20167 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20168 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20169 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20170 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20171 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20172 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20173 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20175 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20176 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20177 * sysdeps/sparc/elf/configure: Regenerated.
20179 2012-03-01 Joseph Myers <joseph@codesourcery.com>
20181 * configure.in (AS, LD): Require binutils 2.20 or later.
20182 * configure: Regenerated.
20183 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20184 as required minimum version.
20185 * INSTALL: Regenerated.
20189 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20190 before squaring exponent.
20191 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20192 bottom long double and 27 bits of top long double before squaring
20194 * math/libm-test.inc (erfc_test): Add more tests.
20195 * sysdeps/i386/fpu/libm-test-ulps: Update.
20196 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20199 2012-03-01 Kai Tietz <ktietz@redhat.com>
20201 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20202 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20203 containing bit-fields.
20204 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20205 * soft-fp/single.h (_FP_UNION_S): Likewise.
20206 * soft-fp/double.h (_FP_UNION_D): Likewise.
20208 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20211 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20212 not include ../strcmp.S.
20213 [USE_AS_STRNCASECMP_L]: Likewise.
20214 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20215 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20216 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20217 (__strncasecmp_l_ia32): Define as alias to
20218 __strncasecmp_l_nonascii.
20221 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20222 * sysdeps/i386/fpu/libm-test-ulps: Update.
20223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20225 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20228 2012-02-29 Jeff Law <law@redhat.com>
20230 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20231 out of bounds read.
20233 2012-02-29 Marek Polacek <polacek@redhat.com>
20236 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20237 * elf/Makefile: Add rules to run tst-unused-dep.out.
20239 2012-02-28 David S. Miller <davem@davemloft.net>
20241 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20242 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20244 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20245 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20246 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20248 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20250 * math/libm-test.inc (llround_test): Move one test from
20251 lround_test. Use TEST_f_L in moved test.
20252 (lround_test): Move misplaced test to llround_test. Add testcase
20255 2012-02-28 Ulrich Drepper <drepper@gmail.com>
20257 * sysdeps/x86_64/fpu/e_expf.S: New file.
20258 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20260 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20263 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20264 of remain_len that may cause incomplete multi-byte character and
20266 * posix/bug-regex33.c: New file.
20267 * posix/Makefile (tests): Add bug-regex33.
20269 2012-02-28 Joseph Myers <joseph@codesourcery.com>
20271 * manual/macros.texi: New file.
20272 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20273 * manual/libc.texinfo: Include macros.texi.
20274 * manual/creatute.texi: Likewise.
20275 * manual/install.texi: Likewise.
20276 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20277 @glibcadj{} in references to the GNU C Library.
20278 * manual/charset.texi: Likewise.
20279 * manual/conf.texi: Likewise.
20280 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20281 when not using those macros.
20282 * manual/creature.texi: Likewise.
20283 * manual/crypt.texi: Likewise.
20284 * manual/errno.texi: Likewise.
20285 * manual/filesys.texi: Likewise.
20286 * manual/header.texi: Likewise.
20287 * manual/install.texi: Likewise.
20288 * manual/intro.texi: Likewise.
20289 * manual/io.texi: Likewise.
20290 * manual/job.texi: Likewise.
20291 * manual/lang.texi: Likewise.
20292 * manual/libc.texiinfo: Likewise.
20293 * manual/llio.texi: Likewise.
20294 * manual/locale.texi: Likewise.
20295 * manual/maint.texi: Likewise.
20296 * manual/math.texi: Likewise.
20297 * manual/memory.texi: Likewise.
20298 * manual/message.texi: Likewise.
20299 * manual/nss.texi: Likewise.
20300 * manual/pattern.texi: Likewise.
20301 * manual/process.texi: Likewise.
20302 * manual/resource.texi: Likewise.
20303 * manual/search.texi: Likewise.
20304 * manual/setjmp.texi: Likewise.
20305 * manual/signal.texi: Likewise.
20306 * manual/socket.texi: Likewise.
20307 * manual/startup.texi: Likewise.
20308 * manual/stdio.texi: Likewise.
20309 * manual/string.texi: Likewise.
20310 * manual/sysinfo.texi: Likewise.
20311 * manual/syslog.texi: Likewise.
20312 * manual/terminal.texi: Likewise.
20313 * manual/time.texi: Likewise.
20314 * manual/users.texi: Likewise.
20315 * INSTALL: Regenerated.
20316 * NOTES: Regenerated.
20317 * sysdeps/gnu/errlist.c: Regenerated.
20319 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20321 * include/dirent.h: Include <dirstream.h> before
20324 2012-02-28 David S. Miller <davem@davemloft.net>
20326 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20327 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20328 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20329 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20331 2012-02-27 David S. Miller <davem@davemloft.net>
20333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20335 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20336 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20339 frame pointer instead of stack pointer relative arg slot.
20340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20341 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20342 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20344 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20347 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20349 2012-02-27 David S. Miller <davem@davemloft.net>
20351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20355 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20356 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20357 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20358 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20360 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20362 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20363 later. Allow versions 5-9.
20364 * configure: Regenerated.
20365 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20366 required minimum version and 4.6 as recommended version. Do not
20367 mention bugs in GCC 2.7 and 2.8.
20368 * INSTALL: Regenerated.
20370 2012-02-27 David S. Miller <davem@davemloft.net>
20372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20376 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20377 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20378 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20379 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20381 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20382 manipulate bits before adding and subtracting TWO112[sx].
20383 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20385 2012-02-27 Roland McGrath <roland@hack.frob.com>
20388 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20389 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20390 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20391 being in POSIX, because they are in 1003.1-2008.
20393 * rt/tst-aio.c: Include <fcntl.h>.
20394 * rt/tst-aio7.c: Likewise.
20395 * rt/tst-aio64.c: Likewise.
20397 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20399 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20401 * manual/install.texi (--with-headers): Describe headers as
20402 interface headers, not private headers.
20403 (Specific advice for GNU/Linux systems): Describe use of headers
20404 from "make headers_install", not private headers from older
20406 * INSTALL: Regenerated.
20407 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20409 * sysdeps/unix/sysv/linux/configure: Regenerated.
20411 * manual/llio.texi (fclean): Remove documentation.
20413 * manual/Makefile (libc-texi-generated): New variable. Include
20415 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20416 $(libc-texi-generated), not duplicated list of files.
20417 (version.texi, stamp-version): New rules.
20418 (realclean): Remove $(libc-texi-generated), not individual files
20419 from that list. Do not remove dir-add.texinfo.
20420 * manual/libc.texinfo: Comment out uses of edition numbers and
20421 references to printed manual. Remove last-updated dates.
20422 (EDITION): Comment out.
20424 (VERSION, UPDATED): Remove.
20425 (version.texi): Include.
20427 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20429 * sysdeps/posix/spawni.c: Include <signal.h>.
20430 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20431 * sysdeps/pthread/aio_fsync.c: Likewise.
20433 2012-02-26 Ulrich Drepper <drepper@gmail.com>
20435 * conform/Makefile (tests): Run only when not cross-compiling and
20436 when fast-check is not defined.
20438 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20439 * conform/data/limits.h-data: Fixes for POSIX2008.
20440 * conform/run-conformtest.sh: Run all tests.
20441 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20443 * include/bits/dlfcn.h: Likewise.
20444 * include/langinfo.h: Likewise.
20445 * include/monetary.h: Likewise.
20446 * include/sys/poll.h: Likewise.
20448 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20450 * posix/spawn.h: Define __need_sigset_t.
20451 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20452 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20453 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20454 to get sigevent_t only.
20455 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20456 only for __USE_GNU.
20457 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20458 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20459 process_vm_writev only for __USE_GNU.
20460 * termios/termios.h: Declare tcgetsid also for POSIX2008.
20462 * conform/Makefile: For now ignore errors from run-conformtest.
20463 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20464 POSIX to avoid namespace pollution. Don't prepend headers.
20465 * conform/data/aio.h-data: Fixes for POSIX testing.
20466 * conform/data/fcntl.h-data: Likewise.
20467 * conform/data/glob.h-data: Likewise.
20468 * conform/data/grp.h-data: Likewise.
20469 * conform/data/pthread.h-data: Likewise.
20470 * conform/data/pwd.h-data: Likewise.
20471 * conform/data/signal.h-data: Likewise.
20472 * conform/data/spawn.h-data: Likewise.
20473 * conform/data/stdio.h-data: Likewise.
20474 * conform/data/stdlib.h-data: Likewise.
20475 * conform/data/stropts.h-data: Likewise.
20476 * conform/data/sys/mman.h-data: Likewise.
20477 * conform/data/sys/stat.h-data: Likewise.
20478 * conform/data/sys/types.h-data: Likewise.
20479 * conform/data/sys/wait.h-data: Likewise.
20480 * conform/data/time.h-data: Likewise.
20481 * conform/data/unistd.h-data: Likewise.
20482 * conform/data/utime.h-data: Likewise.
20484 * io/sys/stat.h: fchmod was always in POSIX.
20485 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20486 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20487 * rt/aio.h: Define __need_timespec before including <time.h>.
20488 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20489 struct. Add forward declaration of pthread_attr_t and use it in
20491 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20492 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20493 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20494 always remove CLK_TCK definition.
20496 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20498 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20500 2012-02-25 Ulrich Drepper <drepper@gmail.com>
20502 * conform/run-conformtest.sh: New file.
20503 * conform/Makefile: Run run-conformtest for tests.
20504 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20507 * conform/data/uchar.h-data: New file.
20508 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20509 * conform/data/arpa/inet.h-data: Likewise.
20510 * conform/data/assert.h-data: Likewise.
20511 * conform/data/complex.h-data: Likewise.
20512 * conform/data/cpio.h-data: Likewise.
20513 * conform/data/ctype.h-data: Likewise.
20514 * conform/data/dirent.h-data: Likewise.
20515 * conform/data/dlfcn.h-data: Likewise.
20516 * conform/data/errno.h-data: Likewise.
20517 * conform/data/fcntl.h-data: Likewise.
20518 * conform/data/float.h-data: Likewise.
20519 * conform/data/fmtmsg.h-data: Likewise.
20520 * conform/data/fnmatch.h-data: Likewise.
20521 * conform/data/ftw.h-data: Likewise.
20522 * conform/data/glob.h-data: Likewise.
20523 * conform/data/grp.h-data: Likewise.
20524 * conform/data/iconv.h-data: Likewise.
20525 * conform/data/inttypes.h-data: Likewise.
20526 * conform/data/langinfo.h-data: Likewise.
20527 * conform/data/libgen.h-data: Likewise.
20528 * conform/data/limits.h-data: Likewise.
20529 * conform/data/locale.h-data: Likewise.
20530 * conform/data/math.h-data: Likewise.
20531 * conform/data/monetary.h-data: Likewise.
20532 * conform/data/mqueue.h-data: Likewise.
20533 * conform/data/ndbm.h-data: Likewise.
20534 * conform/data/net/if.h-data: Likewise.
20535 * conform/data/netdb.h-data: Likewise.
20536 * conform/data/netinet/in.h-data: Likewise.
20537 * conform/data/nl_types.h-data: Likewise.
20538 * conform/data/poll.h-data: Likewise.
20539 * conform/data/pthread.h-data: Likewise.
20540 * conform/data/pwd.h-data: Likewise.
20541 * conform/data/regex.h-data: Likewise.
20542 * conform/data/sched.h-data: Likewise.
20543 * conform/data/search.h-data: Likewise.
20544 * conform/data/semaphore.h-data: Likewise.
20545 * conform/data/setjmp.h-data: Likewise.
20546 * conform/data/signal.h-data: Likewise.
20547 * conform/data/spawn.h-data: Likewise.
20548 * conform/data/stdarg.h-data: Likewise.
20549 * conform/data/stdio.h-data: Likewise.
20550 * conform/data/stdlib.h-data: Likewise.
20551 * conform/data/string.h-data: Likewise.
20552 * conform/data/strings.h-data: Likewise.
20553 * conform/data/stropts.h-data: Likewise.
20554 * conform/data/sys/ipc.h-data: Likewise.
20555 * conform/data/sys/mman.h-data: Likewise.
20556 * conform/data/sys/msg.h-data: Likewise.
20557 * conform/data/sys/resource.h-data: Likewise.
20558 * conform/data/sys/select.h-data: Likewise.
20559 * conform/data/sys/sem.h-data: Likewise.
20560 * conform/data/sys/shm.h-data: Likewise.
20561 * conform/data/sys/socket.h-data: Likewise.
20562 * conform/data/sys/stat.h-data: Likewise.
20563 * conform/data/sys/statvfs.h-data: Likewise.
20564 * conform/data/sys/time.h-data: Likewise.
20565 * conform/data/sys/timeb.h-data: Likewise.
20566 * conform/data/sys/times.h-data: Likewise.
20567 * conform/data/sys/types.h-data: Likewise.
20568 * conform/data/sys/uio.h-data: Likewise.
20569 * conform/data/sys/un.h-data: Likewise.
20570 * conform/data/sys/utsname.h-data: Likewise.
20571 * conform/data/sys/wait.h-data: Likewise.
20572 * conform/data/syslog.h-data: Likewise.
20573 * conform/data/tar.h-data: Likewise.
20574 * conform/data/termios.h-data: Likewise.
20575 * conform/data/utime.h-data: Likewise.
20576 * conform/data/utmpx.h-data: Likewise.
20577 * conform/data/varargs.h-data: Likewise.
20578 * conform/data/wchar.h-data: Likewise.
20579 * conform/data/wctype.h-data: Likewise.
20580 * conform/data/wordexp.h-data: Likewise.
20582 * include/stropts.h: New file.
20583 * include/uchar.h: New file.
20584 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20585 * include/assert.h: Likewise.
20586 * include/ctype.h: Likewise.
20587 * include/dirent.h: Likewise.
20588 * include/dlfcn.h: Likewise.
20589 * include/fcntl.h: Likewise.
20590 * include/fnmatch.h: Likewise.
20591 * include/glob.h: Likewise.
20592 * include/grp.h: Likewise.
20593 * include/libio.h: Likewise.
20594 * include/locale.h: Likewise.
20595 * include/math.h: Likewise.
20596 * include/net/if.h: Likewise.
20597 * include/netdb.h: Likewise.
20598 * include/netinet/in.h: Likewise.
20599 * include/pthread.h: Likewise.
20600 * include/pwd.h: Likewise.
20601 * include/regex.h: Likewise.
20602 * include/sched.h: Likewise.
20603 * include/search.h: Likewise.
20604 * include/setjmp.h: Likewise.
20605 * include/signal.h: Likewise.
20606 * include/stdio.h: Likewise.
20607 * include/stdlib.h: Likewise.
20608 * include/string.h: Likewise.
20609 * include/sys/cdefs.h: Likewise.
20610 * include/sys/mman.h: Likewise.
20611 * include/sys/msg.h: Likewise.
20612 * include/sys/resource.h: Likewise.
20613 * include/sys/select.h: Likewise.
20614 * include/sys/socket.h: Likewise.
20615 * include/sys/stat.h: Likewise.
20616 * include/sys/statvfs.h: Likewise.
20617 * include/sys/time.h: Likewise.
20618 * include/sys/times.h: Likewise.
20619 * include/sys/uio.h: Likewise.
20620 * include/sys/utsname.h: Likewise.
20621 * include/sys/wait.h: Likewise.
20622 * include/termios.h: Likewise.
20623 * include/time.h: Likewise.
20624 * include/ulimit.h: Likewise.
20625 * include/unistd.h: Likewise.
20626 * include/utime.h: Likewise.
20627 * include/wchar.h: Likewise.
20628 * include/wctype.h: Likewise.
20629 * include/wordexp.h: Likewise.
20631 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20633 * time/time.h: TIME_UTC must be a macro.
20634 Make timespec_get available for ISO C11 only as well.
20636 2012-02-24 Ulrich Drepper <drepper@gmail.com>
20638 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20639 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20641 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20643 * configure.in: Use -o not -a in test for unsupported multi-arch.
20645 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20647 * manual/texinfo.tex: Update to version 2012-01-19.16.
20649 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20651 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20653 2012-02-24 Roland McGrath <roland@hack.frob.com>
20656 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20657 * manual/fdl-1.3.texi: New file.
20658 * manual/fdl-1.1.texi: File removed.
20661 * manual/libc.texinfo (FDL_VERSION): New @set.
20662 Use it for mention of FDL in cover text.
20663 (Documentation License): Use it in @include file name.
20665 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20666 Roland McGrath <roland@hack.frob.com>
20669 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20670 not LONG_LONG_MAX and LONG_LONG_MIN.
20671 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20672 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20674 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20676 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20680 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20681 manipulate bits before adding and subtracting TWO23[sx].
20682 * math/libm-test.inc (nearbyint_test): Add more tests.
20684 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20687 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20688 bits before adding and subtracting TWO23[sx].
20689 * math/libm-test.inc (rint_test): Add more tests.
20690 (rint_test_tonearest): Likewise.
20691 (rint_test_towardzero): Likewise.
20692 (rint_test_downward): Likewise.
20693 (rint_test_upward: Likewise.
20695 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20698 * include/stdc-predef.h: New file. Extracted from features.h.
20699 * include/features.h: Include stdc-predef.h.
20700 * Makefile (headers): Add stdc-predef.h.
20701 * CONFORMANCE (Compiler limitations): Update.
20703 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20705 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20707 2012-02-21 David S. Miller <davem@davemloft.net>
20709 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20710 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20712 2012-02-20 David S. Miller <davem@davemloft.net>
20714 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20715 using a normal save/restore sequence, rather than allocating a
20716 dummy stack frame just to store a frame pointer and restore.
20717 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20719 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20721 * manual/install.texi: Fix stray word in line-wrapped comment.
20723 2012-02-20 David S. Miller <davem@davemloft.net>
20725 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20726 both binutils and gcc support GOTDATA.
20728 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20729 "rd %pc" in the PIC register setup sequences.
20731 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20732 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20733 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20734 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20735 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20736 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20737 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20738 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20740 (SYSCALL_ERROR_HANDLER): Likewise.
20741 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20742 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20743 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20744 (SYSCALL_ERROR_HANDLER): Likewise.
20746 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20747 (HAVE_GCC_GOTDATA): New.
20748 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20749 relocation support in both binutils and gcc.
20750 * sysdeps/sparc/elf/configure: Regenerate.
20752 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20753 * sysdeps/sparc/sparc32/elf/configure: Delete.
20754 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20755 * sysdeps/sparc/sparc64/elf/configure: Delete.
20756 * sysdeps/sparc/elf/configure.in: New file.
20757 * sysdeps/sparc/elf/configure: Generate.
20759 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20760 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20761 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20762 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20763 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20765 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20767 * manual/install.texi: Do not mention specific glibc version
20769 * manual/libc.texinfo (VERSION, UPDATED): Update.
20770 (@copying): Use @copyright{} and range of years.
20772 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20775 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20776 [crti.S not in sysdirs] (generated): Do not append.
20777 [crti.S not in sysdirs] (omit-deps): Likewise.
20778 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20779 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20780 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20781 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20782 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20784 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20785 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20786 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20787 * csu/defs.awk: Remove file.
20788 * sysdeps/generic/initfini.c: Likewise.
20789 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20791 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20794 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20796 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20797 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20798 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20799 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20800 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20801 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20803 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20804 (__EPOLL_PACKED): Define to empty if not defined by
20806 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20810 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20812 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20813 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20814 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20815 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20817 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20821 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20823 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20825 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20826 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20827 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20830 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20832 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20833 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20835 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20837 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20838 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20840 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20842 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20845 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20847 * math/w_acos.c: Use non-signaling floating-point comparisons.
20848 * math/w_acosf.c: Likewise.
20849 * math/w_acosh.c: Likewise.
20850 * math/w_acoshf.c: Likewise.
20851 * math/w_acoshl.c: Likewise.
20852 * math/w_acosl.c: Likewise.
20853 * math/w_asin.c: Likewise.
20854 * math/w_asinf.c: Likewise.
20855 * math/w_asinl.c: Likewise.
20856 * math/w_atanh.c: Likewise.
20857 * math/w_atanhf.c: Likewise.
20858 * math/w_atanhl.c: Likewise.
20859 * math/w_exp2.c: Likewise.
20860 * math/w_exp2f.c: Likewise.
20861 * math/w_exp2l.c: Likewise.
20862 * math/w_j0.c: Likewise.
20863 * math/w_j0f.c: Likewise.
20864 * math/w_j0l.c: Likewise.
20865 * math/w_j1.c: Likewise.
20866 * math/w_j1f.c: Likewise.
20867 * math/w_j1l.c: Likewise.
20868 * math/w_jn.c: Likewise.
20869 * math/w_jnf.c: Likewise.
20870 * math/w_log.c: Likewise.
20871 * math/w_log10.c: Likewise.
20872 * math/w_log10f.c: Likewise.
20873 * math/w_log10l.c: Likewise.
20874 * math/w_log2.c: Likewise.
20875 * math/w_log2f.c: Likewise.
20876 * math/w_log2l.c: Likewise.
20877 * math/w_logf.c: Likewise.
20878 * math/w_logl.c: Likewise.
20879 * math/w_sqrt.c: Likewise.
20880 * math/w_sqrtf.c: Likewise.
20881 * math/w_sqrtl.c: Likewise.
20882 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20883 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20884 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20885 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20886 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20888 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20891 * manual/string.texi (strnlen): Use correct parameter name in
20892 equivalent expression.
20894 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20897 * manual/users.texi (seteuid): Consistently use neweuid for
20900 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20903 * manual/nss.texi (Services in the NSS configuration): Correct
20904 list of services in example configuration file.
20906 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20909 * manual/arith.texi: Remove statements about negative zero
20910 behaving identically to zero.
20912 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20915 * manual/install.texi: Do not document upgrading from libc5.
20917 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20920 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20922 2012-02-18 David S. Miller <davem@davemloft.net>
20924 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20925 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20926 %o7 across the call.
20927 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20929 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20930 SETUP_PIC_REG_LEAF.
20931 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20932 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20933 * sysdeps/sparc/crtn.S: Likewise.
20935 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20937 * aout/Makefile: Remove.
20939 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20942 * manual/examples/argp-ex1.c (main): Format definition in GNU
20944 * manual/examples/argp-ex2.c (main): Likewise.
20945 * manual/examples/argp-ex3.c (main): Likewise.
20946 * manual/examples/argp-ex4.c (main): Likewise.
20947 * manual/examples/longopt.c (main): Use new-style prototype
20949 * manual/examples/strncat.c (main): Specify return type and use
20950 (void) for arguments.
20951 * manual/examples/subopt.c (main): Use char **argv argument.
20953 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20956 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20959 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20962 * manual/string.texi (strchr): Change when strchrnul is
20965 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20968 * manual/locale.texi (setlocale): Document LOCPATH.
20970 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20973 * manual/process.texi (execle): Move @dots{} before last argument.
20975 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
20978 * manual/charset.texi (Generic Charset Conversion): Fix typo
20979 (LC_TYPE -> LC_CTYPE).
20981 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20984 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20985 (scalbnf): Likewise.
20986 (scalbnl): Likewise.
20987 (scalbln): Likewise.
20988 (scalblnf): Likewise.
20989 (scalblnl): Likewise.
20990 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20991 (vwarnx): Likewise.
20994 * manual/filesys.texi (telldir): Use braces around return type.
20995 * manual/llio.texi (mmap): Add space after comma.
20996 (mmap64): Likewise.
20997 * manual/math.texi (jn): Use @var{} on parameter names.
21003 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21005 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21007 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21008 (sched_get_priority_max): Likewise.
21009 * manual/signal.texi (sigvec): Add space after comma.
21010 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21012 (if_indextoname): Likewise.
21013 (if_freenameindex): Likewise.
21014 (sendto): Use ',' instead of '.' in prototype.
21015 * manual/startup.texi (syscall): Use @dots{} instead of literal
21017 * manual/stdio.texi (__fpending): Separate initial words of
21018 paragraph from @deftypefun line.
21019 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21021 (vsyslog): Use @var{} on parameter names.
21022 * manual/terminal.texi (stty): Use @var{} on parameter names.
21023 * manual/users.texi (getutmp): Use @var{} on parameter names.
21024 (getutmpx): Likewise.
21026 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21029 * manual/stdio.texi (fopen): Fix typos in description of
21032 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21035 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21036 get clock_id definition.
21038 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
21041 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21042 (madvise): Cast every argument to void on its own.
21044 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21047 * manual/startup.texi (Exit Status): Fix typo.
21049 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21052 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21053 * manual/examples/argp-ex2.c: Likewise.
21054 * manual/examples/argp-ex3.c: Likewise.
21056 2012-02-16 Richard Henderson <rth@redhat.com>
21058 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21059 * sysdeps/s390/s390-32/initfini.c: Remove.
21060 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21061 * sysdeps/s390/s390-64/initfini.c: Remove.
21063 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21065 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21066 compiler output for sysdeps/generic/initfini.c.
21067 * sysdeps/sh/elf/initfini.c: Remove file.
21069 2012-02-16 David S. Miller <davem@davemloft.net>
21072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21074 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21075 * sysdeps/sparc/crti.S: New file.
21076 * sysdeps/sparc/crtn.S: New file.
21077 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21078 * sysdeps/sparc/sparc64/Makefile: Likewise.
21080 2012-02-15 Mike Frysinger <vapier@gentoo.org>
21083 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21085 2012-02-15 Roland McGrath <roland@hack.frob.com>
21088 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21090 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21091 (write, read, close): Likewise.
21092 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21094 2012-02-15 Joseph Myers <joseph@codesourcery.com>
21096 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21097 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21098 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21099 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21101 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21105 2012-02-14 Marek Polacek <polacek@redhat.com>
21107 * sysdeps/x86_64/crti.S: New file.
21108 * sysdeps/x86_64/crtn.S: New file.
21109 * sysdeps/x86_64/elf/initfini.c: Remove file.
21111 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21113 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21114 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21115 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21116 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21118 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21122 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21124 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21125 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21126 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21127 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21129 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21133 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21135 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21136 __feraiseexcept instead of feraiseexcept.
21138 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21139 nanosleep invocations.
21140 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21141 strings, and add error checking for a nanosleep invocations.
21143 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21145 Replace FSF snail mail address with URLs, as per GNU coding standards.
21146 Most of the snail mail addresses were wrong anyway, and omitting
21147 them makes the source code easier to maintain. Almost all of the
21148 changes are to license notices and to locale LC_IDENTIFICATION
21149 addresses, except for this one:
21150 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21151 not its snail mail address.
21153 2012-02-09 Richard Henderson <rth@twiddle.net>
21155 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21156 of kernel-features.h.
21158 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21160 2012-02-08 Marek Polacek <polacek@redhat.com>
21162 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21163 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21164 * sysdeps/gnu/_G_config.h: Likewise.
21165 * sysdeps/generic/_G_config.h: Likewise.
21167 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
21169 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21173 * sysdeps/powerpc/powerpc32/crti.S: New file.
21174 * sysdeps/powerpc/powerpc32/crtn.S: New file.
21175 * sysdeps/powerpc/powerpc64/crti.S: New file.
21176 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21178 * Makeconfig (have-initfini): Don't set.
21179 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21180 * configure.in (nopic_initfini): Don't substitute.
21181 * config.h.in (HAVE_INITFINI): Don't #undef.
21182 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21183 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21185 2012-02-08 Joseph Myers <joseph@codesourcery.com>
21187 Support crti.S and crtn.S provided directly by architectures.
21188 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21189 [crti.S in sysdirs] (omit-deps): Likewise.
21190 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21191 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21192 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21193 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21194 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21195 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21196 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21197 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21198 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21199 compiler output for sysdeps/generic/initfini.c.
21200 * sysdeps/i386/elf/Makefile: Remove file.
21201 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21203 2012-02-07 Marek Polacek <polacek@redhat.com>
21205 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21206 * sysdeps/gnu/_G_config.h: Likewise.
21207 * sysdeps/mach/hurd/_G_config.h: Likewise.
21209 2012-02-07 Marek Polacek <polacek@redhat.com>
21211 * math/Makefile (tests): Add tst-CMPLX2.
21212 * math/tst-CMPLX2.c: New file.
21214 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21216 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21218 * math/libm-test.inc (jn_test): Add missing L suffix.
21220 2012-02-06 Marek Polacek <polacek@redhat.com>
21222 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21223 * sysdeps/i386/fpu/e_powf.S: Likewise.
21224 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21225 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21226 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21227 * sysdeps/i386/fpu/e_pow.S: Likewise.
21228 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21229 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21230 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21231 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21232 * sysdeps/i386/fpu/e_log2.S: Likewise.
21233 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21234 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21235 * sysdeps/i386/fpu/e_powl.S: Likewise.
21236 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21237 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21238 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21239 * sysdeps/i386/fpu/e_logl.S: Likewise.
21240 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21241 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21242 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21243 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21244 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21245 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21246 * sysdeps/i386/fpu/e_log.S: Likewise.
21247 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21248 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21249 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21250 * sysdeps/i386/fpu/e_logf.S: Likewise.
21251 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21252 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21253 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21254 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21255 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21256 * sysdeps/i386/fpu/e_log10.S: Likewise.
21257 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21258 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21259 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21260 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21261 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21262 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21263 * sysdeps/i386/asm-syntax.h: Likewise.
21264 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21265 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21266 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21267 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21268 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21269 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21270 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21271 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21272 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21273 * sysdeps/powerpc/sysdep.h: Likewise.
21274 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21275 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21277 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21280 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21282 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21284 * sysdeps/i386/sysdep.h: Include <features.h>.
21285 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21288 2012-02-05 Joseph Myers <joseph@codesourcery.com>
21290 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21292 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21295 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21297 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21298 (SETUP_PIC_REG): Use GET_PC_THUNK.
21299 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21302 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21304 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21305 for non-PIC compilation.
21306 (SETUP_PIC_REG): Add .p2align directive.
21307 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21308 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21309 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21310 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21311 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21312 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21313 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21314 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21315 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21316 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21317 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21318 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21319 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21320 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21321 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21322 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21323 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21324 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21325 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21326 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21327 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21328 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21329 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21330 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21331 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21332 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21333 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21334 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21335 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21336 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21337 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21338 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21339 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21340 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21341 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21342 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21343 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21344 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21345 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21346 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21347 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21349 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21351 * math/tst-CMPLX.c: Include <stdio.h>.
21353 2012-01-31 Joseph Myers <joseph@codesourcery.com>
21355 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21357 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21358 * sysdeps/sparc/bits/mathdef.h: Likewise.
21360 2012-01-31 Marek Polacek <polacek@redhat.com>
21362 * libio/libio.h: Don't define _PARAMS.
21363 * locale/programs/config.h: Don't define PARAMS.
21364 * stdlib/strtol_l.c: Likewise.
21365 (__strtol_l): Remove PARAMS from the prototype.
21367 2012-01-31 Ulrich Drepper <drepper@gmail.com>
21369 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21370 names. Just use the correct names. Remove unnecessary wrapper
21372 * malloc/arena.c: Likewise.
21373 * malloc/hooks.c: Likewise.
21375 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21376 ARENA_TEST says not to. Simplify test for creation of a new arena.
21377 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21379 2012-01-30 Ulrich Drepper <drepper@gmail.com>
21381 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21383 (update_get_addr): New function.
21384 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21385 GET_ADDR_MODULE parameter.
21387 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21389 * crypt/cert.c: Remove __STDC__ conditionals.
21390 * crypt/crypt-entry.c: Likewise.
21391 * crypt/crypt_util.c: Likewise.
21392 * libio/filedoalloc.c: Likewise.
21393 * libio/fileops.c: Likewise.
21394 * libio/genops.c: Likewise.
21395 * libio/iofclose.c: Likewise.
21396 * libio/iofdopen.c: Likewise.
21397 * libio/iofopen.c: Likewise.
21398 * libio/iofopen64.c: Likewise.
21399 * libio/iogetdelim.c: Likewise.
21400 * libio/iopopen.c: Likewise.
21401 * libio/obprintf.c: Likewise.
21402 * libio/oldfileops.c: Likewise.
21403 * libio/oldiofclose.c: Likewise.
21404 * libio/oldiofdopen.c: Likewise.
21405 * libio/oldiofopen.c: Likewise.
21406 * libio/oldiopopen.c: Likewise.
21407 * libio/wfiledoalloc.c: Likewise.
21408 * libio/wgenops.c: Likewise.
21409 * locale/programs/xmalloc.c: Likewise.
21410 * misc/syslog.c: Likewise.
21411 * stdio-common/xbug.c: Likewise.
21412 * string/memchr.c: Likewise.
21413 * string/memcmp.c: Likewise.
21414 * string/memrchr.c: Likewise.
21415 * string/rawmemchr.c: Likewise.
21416 * sysdeps/posix/getcwd.c: Likewise.
21417 * time/strftime_l.c: Likewise.
21419 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21421 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
21422 * config.make.in (config-cflags-sse2avx): Define.
21423 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21426 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21428 * scripts/config.guess: Update from upstream config git repository.
21429 * scripts/config.sub: Likewise.
21431 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21433 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21435 (R_TILEPRO_*, R_TILEGX_*): New macros.
21437 * scripts/firstversions.awk: Fix bug in version range handling.
21439 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21441 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21443 * include/sys/epoll.h: New file.
21444 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21447 2012-01-28 Ulrich Drepper <drepper@gmail.com>
21449 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21450 Avoid unnecessary __WORDSIZE == 64 test.
21451 (fmaxf): Use VEX format if possible.
21456 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21457 * math/math_private.h: Remove libc_fegetround* and
21459 * sysdeps/i386/configure.in: Check for -msse2avx.
21460 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21461 also if SSE2AVX is defined.
21462 Remove libc_fegetround* and libc_fesetround*.
21463 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21464 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21465 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21467 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21468 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21469 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21470 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21471 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21473 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21475 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21477 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21479 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21481 2012-01-27 Ulrich Drepper <drepper@gmail.com>
21484 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21486 * Makeconfig (libm): Define.
21487 * elf/Makefile: Add rules to build and run tst-relsort1.
21488 * elf/tst-relsort1.c: New file.
21489 * elf/tst-relsort1mod1.c: New file.
21490 * elf/tst-relsort1mod2.c: New file.
21492 2012-01-27 Joseph Myers <joseph@codesourcery.com>
21494 * math/s_ldexp.c: Remove __STDC__ conditionals.
21495 * math/s_ldexpf.c: Likewise.
21496 * math/s_ldexpl.c: Likewise.
21497 * math/s_nextafter.c: Likewise.
21498 * math/s_nexttowardf.c: Likewise.
21499 * math/s_significand.c: Likewise.
21500 * math/s_significandf.c: Likewise.
21501 * math/s_significandl.c: Likewise.
21502 * math/w_jnl.c: Likewise.
21503 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21504 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21505 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21506 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21507 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21508 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21509 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21510 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21511 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21512 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21513 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21514 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21515 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21516 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21517 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21518 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21519 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21520 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21521 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21522 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21523 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21524 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21525 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21526 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21527 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21528 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21529 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21530 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21531 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21532 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21533 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21534 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21535 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21536 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21537 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21538 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21539 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21540 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21541 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21542 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21543 * sysdeps/ieee754/k_standard.c: Likewise.
21544 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21545 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21546 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21547 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21548 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21549 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21550 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21551 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21552 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21553 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21554 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21555 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21556 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21557 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21558 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21559 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21560 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21561 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21562 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21563 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21564 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21565 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21566 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21567 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21568 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21569 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21570 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21571 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21573 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21574 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21575 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21576 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21577 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21578 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21579 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21580 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21581 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21582 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21583 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21584 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21585 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21586 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21587 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21588 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21589 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21590 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21591 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21592 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21593 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21594 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21595 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21596 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21597 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21598 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21599 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21600 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21601 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21602 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21603 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21604 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21605 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21606 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21607 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21608 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21609 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21610 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21611 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21612 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21613 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21614 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21615 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21616 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21617 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21618 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21619 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21620 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21621 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21622 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21623 * sysdeps/ieee754/s_matherr.c: Likewise.
21624 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21625 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21626 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21627 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21629 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21631 * crypt/md5.h: Remove __STDC__ conditionals.
21632 * libio/libioP.h: Likewise.
21633 * locale/programs/config.h: Likewise.
21634 * sysdeps/generic/sysdep.h: Likewise.
21635 * sysdeps/i386/asm-syntax.h: Likewise.
21636 * sysdeps/s390/asm-syntax.h: Likewise.
21637 * sysdeps/unix/sysdep.h: Likewise.
21638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21641 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21643 * libio/libio.h: Remove __STDC__ conditionals.
21644 * malloc/obstack.h: Likewise.
21645 * math/complex.h: Likewise.
21646 * math/math.h: Likewise.
21647 * sysdeps/generic/_G_config.h: Likewise.
21648 * sysdeps/gnu/_G_config.h: Likewise.
21649 * sysdeps/mach/hurd/_G_config.h: Likewise.
21650 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21651 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21652 * sysdeps/sparc/bits/mathdef.h: Likewise.
21654 2012-01-26 Ulrich Drepper <drepper@gmail.com>
21657 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21658 Clean up HAS_* macros.
21659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21660 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21662 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21664 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21665 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21666 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21667 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21668 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21670 2012-01-25 Joseph Myers <joseph@codesourcery.com>
21672 * elf/tst-unique3.cc (gets): Remove declaration.
21673 * elf/tst-unique3lib.cc (gets): Likewise.
21674 * elf/tst-unique3lib2.cc (gets): Likewise.
21675 * elf/tst-unique4.cc (gets): Likewise.
21677 2012-01-24 Ulrich Drepper <drepper@gmail.com>
21679 * include/stdio.h: Add C++ protection. Add gets declarations and
21681 * debug/tst-chk1.c: Don't declare gets here.
21682 * stdio-common/tst-gets.c: Likewise.
21684 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21686 * posix/glob: Remove directory.
21688 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21690 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21692 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21694 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21695 of the non-standard EPFNOSUPPORT.
21697 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21699 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21700 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21701 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21703 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21705 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21707 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21709 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21711 * nscd/grpcache.c (cache_addgr): Likewise.
21712 * nscd/hstcache.c (cache_addhst): Likewise.
21713 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21714 * nscd/pwdcache.c (cache_addpw): Likewise.
21715 * nscd/servicescache.c (cache_addserv): Likewise.
21717 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21719 * malloc/malloc.c: Various cleanups.
21720 * malloc/hooks.c: Likewise.
21722 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21723 * stdlib/bug-fmtmsg1.c: New file.
21725 * stdlib/fmtmsg.c (init): Add missing unlock.
21726 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21728 2012-01-12 Marek Polacek <polacek@redhat.com>
21730 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21733 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21735 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21736 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21737 macro to ensure uniqueness of label name.
21738 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21739 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21741 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21743 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21745 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21746 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21747 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21748 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21750 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21752 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21754 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21755 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21756 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21758 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21760 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21761 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21762 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21763 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21765 * math/bits/math-finite.h: Add ldexp support.
21767 2012-01-10 Marek Polacek <polacek@redhat.com>
21769 * locale/programs/localedef.h (show_archive_content): Add noreturn
21772 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21774 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21776 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21778 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21780 * io/Makefile (headers): Add bits/poll2.h.
21782 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21785 typo #include statement.
21787 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21789 * include/sys/cdefs.h: Define __attribute_alloc_size.
21790 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21791 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21792 * elf/pldd.c: Likewise.
21793 * iconv/iconv_charmap.c: Likewise.
21794 * iconv/iconvconfig.c: Likewise.
21795 * iconv/strtab.c: Likewise.
21796 * locale/programs/locale.c: Likewise.
21797 * locale/programs/localedef.h: Likewise.
21798 * locale/programs/simple-hash.c: Likewise.
21799 * nscd/nscd.h: Likewise.
21800 * nss/makedb.c: Likewise.
21801 * sysdeps/generic/ldconfig.h: Likewise.
21802 * locale/programs/localedef.c: Remove xmalloc prototype.
21803 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21805 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21807 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21810 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21812 * math/Makefile (tests): Add tst-CMPLX.
21813 * math/tst-CMPLX.c: New file.
21815 * math/complex.h (CMPLXL): Fix typo.
21817 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21818 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21820 * debug/tst-chk1.c: Add poll and ppoll tests.
21821 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21822 * include/sys/poll.h: Add hidden proto for ppoll.
21823 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21824 * sysdeps/mach/hurd/ppoll.c: Likewise.
21825 * io/ppoll.c: Likewise.
21826 * debug/poll_chk.c: New file.
21827 * debug/ppoll_chk.c: New file.
21828 * include/bits/poll2.h: New file.
21829 * io/bits/poll2.h: New file.
21832 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21834 * configure.in: static is always set to yes. Remove.
21835 * config.make.in: Don't set build-static.
21836 * Makeconfig: Remove use of build-static.
21837 * dlfcn/Makefile: Likewise.
21838 * elf/Makefile: Likewise.
21839 * math/Makefile: Likewise.
21840 * misc/Makefile: Likewise.
21841 * nptl/Makefile: Likewise.
21842 * sysdeps/mach/hurd/Makefile: Likewise.
21844 * configure.in: PWD_P is not used anymore.
21845 * config.make.in: Remove PWD_P entry.
21847 * configure.in: Remove last remnants of RANLIB.
21848 No need to check for signed size_t anymore.
21849 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21851 Remove __builtin_expect test because we require at least gcc 3.4.
21852 * aclocal.m4: Likewise.
21854 * wcsmbs/mbrtoc16.c: Implement using towc function.
21855 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21856 * wcsmbs/wcsmbsload.c: Likewise.
21857 * iconv/gconv_simple.c: Likewise.
21858 * iconv/gconv_int.h: Likewise.
21859 * iconv/gconv_builtin.h: Likewise.
21860 * iconv/iconv_prog.c: Remove CHAR16 handling.
21862 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21864 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21866 * configure.in: Remove --with-elf and --enable-bounded options.
21867 Dont set base_machine for ia64. More non-ELF conditions removed.
21868 Remove testing and setting of leading underscore information.
21869 * config.make.in (build-bounded): Set to no.
21870 * config.h.in: Remove NO_UNDERSCORES entry.
21871 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21873 * csu/start.c: Remove !NO_UNDERSCORE code.
21874 * locale/localeinfo.h: Likewise.
21875 * sysdeps/generic/machine-gmon.h: Likewise.
21876 * sysdeps/generic/sysdep.h: Likewise.
21877 * sysdeps/i386/sysdep.h: Likewise.
21878 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21879 * sysdeps/mach/sysdep.h: Likewise.
21880 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21881 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21882 * sysdeps/sh/sysdep.h: Likewise.
21883 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21884 * sysdeps/unix/i386/sysdep.S: Likewise.
21885 * sysdeps/unix/sparc/start.c: Likewise.
21886 * sysdeps/unix/sparc/sysdep.S: Likewise.
21887 * sysdeps/unix/sparc/sysdep.h: Likewise.
21888 * sysdeps/unix/start.c: Likewise.
21889 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21890 * sysdeps/x86_64/sysdep.h: Likewise.
21892 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21895 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21897 * argp/argp-fmtstream.h: Use const instead __const.
21898 * argp/argp.h: Likewise.
21899 * assert/assert.h: Likewise.
21900 * bits/fenv.h: Likewise.
21901 * bits/sched.h: Likewise.
21902 * bits/sigset.h: Likewise.
21903 * bits/sigthread.h: Likewise.
21904 * catgets/nl_types.h: Likewise.
21905 * conform/data/pthread.h-data: Likewise.
21906 * crypt/crypt-private.h: Likewise.
21907 * crypt/crypt.h: Likewise.
21908 * crypt/crypt_util.c: Likewise.
21909 * ctype/ctype.h: Likewise.
21910 * debug/execinfo.h: Likewise.
21911 * debug/mbsnrtowcs_chk.c: Likewise.
21912 * debug/mbsrtowcs_chk.c: Likewise.
21913 * debug/wcsnrtombs_chk.c: Likewise.
21914 * debug/wcsrtombs_chk.c: Likewise.
21915 * debug/wcstombs_chk.c: Likewise.
21916 * dirent/dirent.h: Likewise.
21917 * dlfcn/dlfcn.h: Likewise.
21918 * elf/neededtest4.c: Likewise.
21919 * grp/grp.h: Likewise.
21920 * gshadow/gshadow.h: Likewise.
21921 * iconv/gconv.h: Likewise.
21922 * iconv/gconv_int.h: Likewise.
21923 * iconv/gconv_simple.c: Likewise.
21924 * iconv/iconv.h: Likewise.
21925 * iconv/loop.c: Likewise.
21926 * iconv/skeleton.c: Likewise.
21927 * include/aio.h: Likewise.
21928 * include/aliases.h: Likewise.
21929 * include/argz.h: Likewise.
21930 * include/arpa/inet.h: Likewise.
21931 * include/assert.h: Likewise.
21932 * include/dirent.h: Likewise.
21933 * include/dlfcn.h: Likewise.
21934 * include/execinfo.h: Likewise.
21935 * include/fcntl.h: Likewise.
21936 * include/fenv.h: Likewise.
21937 * include/glob.h: Likewise.
21938 * include/grp.h: Likewise.
21939 * include/libintl.h: Likewise.
21940 * include/mntent.h: Likewise.
21941 * include/netdb.h: Likewise.
21942 * include/pwd.h: Likewise.
21943 * include/rpc/netdb.h: Likewise.
21944 * include/sched.h: Likewise.
21945 * include/search.h: Likewise.
21946 * include/shadow.h: Likewise.
21947 * include/signal.h: Likewise.
21948 * include/stdio.h: Likewise.
21949 * include/stdlib.h: Likewise.
21950 * include/string.h: Likewise.
21951 * include/sys/socket.h: Likewise.
21952 * include/sys/stat.h: Likewise.
21953 * include/sys/statfs.h: Likewise.
21954 * include/sys/statvfs.h: Likewise.
21955 * include/sys/syslog.h: Likewise.
21956 * include/sys/time.h: Likewise.
21957 * include/sys/uio.h: Likewise.
21958 * include/time.h: Likewise.
21959 * include/unistd.h: Likewise.
21960 * include/utmp.h: Likewise.
21961 * include/wchar.h: Likewise.
21962 * include/wctype.h: Likewise.
21963 * inet/aliases.h: Likewise.
21964 * inet/arpa/inet.h: Likewise.
21965 * inet/netinet/ether.h: Likewise.
21966 * inet/netinet/in.h: Likewise.
21967 * intl/libintl.h: Likewise.
21968 * io/bits/fcntl2.h: Likewise.
21969 * io/fcntl.h: Likewise.
21970 * io/ftw.h: Likewise.
21971 * io/sys/poll.h: Likewise.
21972 * io/sys/stat.h: Likewise.
21973 * io/sys/statfs.h: Likewise.
21974 * io/sys/statvfs.h: Likewise.
21975 * io/utime.h: Likewise.
21976 * libio/bits/stdio.h: Likewise.
21977 * libio/bits/stdio2.h: Likewise.
21978 * libio/libio.h: Likewise.
21979 * libio/libioP.h: Likewise.
21980 * libio/stdio.h: Likewise.
21981 * locale/lc-ctype.c: Likewise.
21982 * locale/locale.h: Likewise.
21983 * login/utmp.h: Likewise.
21984 * malloc/arena.c: Likewise.
21985 * malloc/malloc.c: Likewise.
21986 * malloc/malloc.h: Likewise.
21987 * malloc/mcheck.c: Likewise.
21988 * malloc/mtrace.c: Likewise.
21989 * math/bits/mathcalls.h: Likewise.
21990 * math/fenv.h: Likewise.
21991 * math/math_private.h: Likewise.
21992 * misc/bits/error.h: Likewise.
21993 * misc/bits/syslog.h: Likewise.
21994 * misc/err.h: Likewise.
21995 * misc/error.h: Likewise.
21996 * misc/fstab.h: Likewise.
21997 * misc/mntent.h: Likewise.
21998 * misc/regexp.h: Likewise.
21999 * misc/search.h: Likewise.
22000 * misc/sgtty.h: Likewise.
22001 * misc/sys/mman.h: Likewise.
22002 * misc/sys/syslog.h: Likewise.
22003 * misc/sys/uio.h: Likewise.
22004 * misc/sys/xattr.h: Likewise.
22005 * misc/ttyent.h: Likewise.
22006 * nis/rpcsvc/ypclnt.h: Likewise.
22007 * nss/nss.h: Likewise.
22008 * posix/bits/unistd.h: Likewise.
22009 * posix/fnmatch.h: Likewise.
22010 * posix/glob.h: Likewise.
22011 * posix/sched.h: Likewise.
22012 * posix/spawn.h: Likewise.
22013 * posix/sys/wait.h: Likewise.
22014 * posix/unistd.h: Likewise.
22015 * posix/wordexp.h: Likewise.
22016 * pwd/pwd.h: Likewise.
22017 * resolv/netdb.h: Likewise.
22018 * resource/sys/resource.h: Likewise.
22019 * rt/aio.h: Likewise.
22020 * rt/bits/mqueue2.h: Likewise.
22021 * rt/mqueue.h: Likewise.
22022 * shadow/shadow.h: Likewise.
22023 * signal/signal.h: Likewise.
22024 * socket/send.c: Likewise.
22025 * socket/sendto.c: Likewise.
22026 * socket/sys/socket.h: Likewise.
22027 * stdio-common/printf.h: Likewise.
22028 * stdlib/bits/stdlib.h: Likewise.
22029 * stdlib/fmtmsg.h: Likewise.
22030 * stdlib/monetary.h: Likewise.
22031 * stdlib/stdlib.h: Likewise.
22032 * stdlib/ucontext.h: Likewise.
22033 * streams/stropts.h: Likewise.
22034 * string/argz.h: Likewise.
22035 * string/bits/string2.h: Likewise.
22036 * string/string.h: Likewise.
22037 * string/strings.h: Likewise.
22038 * sunrpc/rpc/auth.h: Likewise.
22039 * sunrpc/rpc/auth_des.h: Likewise.
22040 * sunrpc/rpc/clnt.h: Likewise.
22041 * sunrpc/rpc/netdb.h: Likewise.
22042 * sunrpc/rpc/pmap_clnt.h: Likewise.
22043 * sunrpc/rpc/xdr.h: Likewise.
22044 * sysdeps/generic/inttypes.h: Likewise.
22045 * sysdeps/generic/net/if.h: Likewise.
22046 * sysdeps/generic/sys/swap.h: Likewise.
22047 * sysdeps/gnu/net/if.h: Likewise.
22048 * sysdeps/gnu/utmpx.h: Likewise.
22049 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22050 * sysdeps/i386/i486/bits/string.h: Likewise.
22051 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22052 * sysdeps/s390/bits/string.h: Likewise.
22053 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22054 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22055 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22056 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22057 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22058 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22059 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22060 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22061 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22062 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22063 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22064 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22065 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22066 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22067 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22068 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22069 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22070 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22071 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22072 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22073 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22074 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22075 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22076 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22077 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22078 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22079 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22080 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22081 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22082 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22083 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22084 * sysvipc/sys/ipc.h: Likewise.
22085 * sysvipc/sys/msg.h: Likewise.
22086 * sysvipc/sys/sem.h: Likewise.
22087 * sysvipc/sys/shm.h: Likewise.
22088 * termios/termios.h: Likewise.
22089 * time/sys/time.h: Likewise.
22090 * time/time.h: Likewise.
22091 * wcsmbs/bits/wchar2.h: Likewise.
22092 * wcsmbs/uchar.h: Likewise.
22093 * wcsmbs/wchar.h: Likewise.
22094 * wctype/wctype.h: Likewise.
22097 * Makeconfig: Remove all but ELF support including AIX support.
22098 * Makerules: Likewise.
22099 * config.h.in: Likewise.
22100 * config.make.in: Likewise.
22101 * configure: Likewise.
22102 * configure.in: Likewise.
22103 * csu/Makefile: Likewise.
22104 * csu/version.c: Likewise.
22105 * debug/Makefile: Likewise.
22106 * dlfcn/Makefile: Likewise.
22107 * elf/Makefile: Likewise.
22108 * extra-lib.mk: Likewise.
22109 * iconv/Makefile: Likewise.
22110 * include/libc-symbols.h: Likewise.
22111 * include/shlib-compat.h: Likewise.
22112 * resolv/Makefile: Likewise.
22113 * resolv/res_libc.c: Likewise.
22114 * rt/Makefile: Likewise.
22115 * sysdeps/i386/asm-syntax.h: Likewise.
22116 * sysdeps/i386/sysdep.h: Likewise.
22117 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22118 * sysdeps/mach/sysdep.h: Likewise.
22119 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22120 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22121 * sysdeps/s390/asm-syntax.h: Likewise.
22122 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22123 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22124 * sysdeps/sh/sysdep.h: Likewise.
22125 * sysdeps/unix/sparc/sysdep.h: Likewise.
22126 * sysdeps/wordsize-32/divdi3.c: Likewise.
22127 * sysdeps/x86_64/sysdep.h: Likewise.
22129 * argp/Versions: Remove _argp_unlock_xxx.
22132 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22133 * abilist/libBrokenLocale.abilist: Likewise.
22134 * abilist/libanl.abilist: Likewise.
22135 * abilist/libc.abilist: Likewise.
22136 * abilist/libcrypt.abilist: Likewise.
22137 * abilist/libdl.abilist: Likewise.
22138 * abilist/libm.abilist: Likewise.
22139 * abilist/libnsl.abilist: Likewise.
22140 * abilist/libpthread.abilist: Likewise.
22141 * abilist/libresolv.abilist: Likewise.
22142 * abilist/librt.abilist: Likewise.
22143 * abilist/libthread_db.abilist: Likewise.
22144 * abilist/libutil.abilist: Likewise.
22145 * abilist/libnss_db.abilist: New file.
22147 * scripts/abilist.awk: Add support for indirect functions.
22149 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22151 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22153 * shlib-versions: Remove entries for ports architectures.
22155 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
22157 * elf/stackguard-macros.h: Remove support for IA-64.
22158 * elf/tst-auditmod1.c: Likewise.
22159 * sysdeps/generic/ldsodefs.h: Likewise.
22161 * sysdeps/unix/sysv/linux/configure.in: Ports should define
22162 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22166 * configure.in: Remove --enable-omitfp support.
22168 * config.make.in: Likewise.
22169 * Makeconfig: Likewise.
22170 * manual/install.texi: Likewise.
22172 In case anyone cares, the IA-64 architecture could move to ports.
22173 * sysdeps/ia64/*: Removed.
22174 * sysdeps/unix/sysv/linux/ia64/*: Removed.
22175 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
22178 * configure.in: Remove entries for unsupported architectures.
22181 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22182 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22184 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22185 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22186 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22187 fall back to using wcrtomb.
22188 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22189 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22191 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22192 * wcsmbs/tst-c16c32-1.c: New file.
22194 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22197 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22199 * elf/tst-unique3.cc: Add explicit declaration of gets.
22200 * elf/tst-unique3lib.cc: Likewise.
22201 * elf/tst-unique3lib2.cc: Likewise.
22202 * elf/tst-unique4.cc: Likewise.
22204 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22206 2012-01-06 Joseph Myers <joseph@codesourcery.com>
22209 * assert/assert.h (static_assert): Don't define for C++.
22210 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22211 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22213 2012-01-03 Ulrich Drepper <drepper@gmail.com>
22215 * iconv/loop.c (single loop): Fix assertion in storing of
22218 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22220 2012-01-01 Ulrich Drepper <drepper@gmail.com>
22222 * posix/getconf.c: Update copyright year.
22223 * nss/getent.c: Likewise.
22224 * nss/makedb.c: Likewise.
22225 * iconv/iconvconfig.c: Likewise.
22226 * iconv/iconv_prog.c: Likewise.
22227 * elf/ldconfig.c: Likewise.
22228 * elf/pldd.c: Likewise.
22229 * elf/sotruss.ksh: Likewise.
22230 * catgets/gencat.c: Likewise.
22231 * csu/version.c: Likewise.
22232 * elf/ldd.bash.in: Likewise.
22233 * elf/sprof.c (print_version): Likewise.
22234 * locale/programs/locale.c: Likewise.
22235 * locale/programs/localedef.c: Likewise.
22236 * login/programs/pt_chown.c: Likewise.
22237 * nscd/nscd.c (print_version): Likewise.
22238 * debug/xtrace.sh: Likewise.
22239 * malloc/memusage.sh: Likewise.
22240 * malloc/mtrace.pl: Likewise.
22241 * debug/catchsegv.sh: Likewise.
22243 2011-12-30 Jakub Jelinek <jakub@redhat.com>
22245 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22248 2011-12-24 Ulrich Drepper <drepper@gmail.com>
22251 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22252 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22254 * iconv/gconv_int.h: Likewise.
22255 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22256 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22257 from libc for GLIBC_2.16.
22258 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22259 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22260 * wcsmbs/uchar.h: Really define mbstate_t.
22261 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22262 * wcsmbs/c16rtomb.c: New file.
22263 * wcsmbs/mbrtoc16.c: New file.
22264 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22265 for C/POSIX locale.
22266 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22267 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22269 * wcsmbs/wchar.h: Add missing __restrict.
22271 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22274 * time/Makefile (routines): Add timespec_get.
22275 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22276 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22277 timespec for ISO C11.
22278 * time/timespec_get.c: New file.
22279 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22280 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22283 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22284 * stdlib/stdlib.h: Declare aligned_alloc.
22285 * Versions.def: Add GLIBC_2.16 for libc.
22286 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22289 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22292 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
22296 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22299 * assert/assert.h (static_assert): Define.
22301 * version.h: Update for 2.16 development version.
22304 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22307 * version.h (RELEASE): Bump for 2.15 release.
22308 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22310 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22311 Patch by Marek Polacek <mpolacek@redhat.com>.
22313 * bits/byteswap.h: Protect long long constants with __extension__.
22314 * sysdeps/i386/bits/byteswap.h: Likewise.
22315 * sysdeps/ia64/bits/byteswap.h: Likewise.
22316 * sysdeps/s390/bits/byteswap.h: Likewise.
22317 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22319 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22322 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22323 destination buffer.
22324 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22326 2011-12-23 Marek Polacek <polacek@redhat.com>
22328 * elf/dl-addr.c (determine_info): Add inline keyword.
22329 * elf/tst-auditmod4b.c (check_avx): Likewise.
22330 * elf/tst-auditmod6b.c (check_avx): Likewise.
22331 * elf/tst-auditmod6c.c (check_avx): Likewise.
22332 * elf/tst-auditmod7b.c (check_avx): Likewise.
22334 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22336 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22339 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22342 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22343 processing for last bytes.
22345 2011-08-06 Bruno Haible <bruno@clisp.org>
22348 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22349 U+0385, not to U+1FEE.
22352 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22353 entry for U+00A5 U+0301.
22355 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22358 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22359 buffer for the output is too small.
22361 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22365 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22366 SSE flags if possible.
22368 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22371 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22372 processing for last bytes.
22374 2011-12-22 Joseph Myers <joseph@codesourcery.com>
22376 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22377 (syscall-list-default-options, syscall-list-default-condition)
22378 (syscall-list-includes): Define.
22379 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22380 list of ABIs and options and #if conditions for each ABI. Do not
22381 handle common syscalls between ABIs specially.
22382 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22384 (syscall-list-variants, syscall-list-32bit-options)
22385 (syscall-list-32bit-condition, syscall-list-64bit-options)
22386 (syscall-list-64bit-condition): Define.
22387 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22388 (syscall-list-variants, syscall-list-32bit-options)
22389 (syscall-list-32bit-condition, syscall-list-64bit-options)
22390 (syscall-list-64bit-condition): Define.
22391 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22393 (syscall-list-variants, syscall-list-32bit-options)
22394 (syscall-list-32bit-condition, syscall-list-64bit-options)
22395 (syscall-list-64bit-condition): Define.
22396 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22398 (syscall-list-variants, syscall-list-32bit-options)
22399 (syscall-list-32bit-condition, syscall-list-64bit-options)
22400 (syscall-list-64bit-condition): Define.
22402 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22404 * locale/iso-639.def: Add brx entry.
22407 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22408 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22410 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22411 __feraiseexcept_renamed.
22413 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22416 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22417 EPOLLET with unsigned values.
22418 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22419 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22421 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22422 to large cancellation.
22423 * math/s_cacoshf.c: Likewise.
22424 * math/s_cacoshl.c: Likewise.
22426 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22430 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22431 * math/s_cacoshf.c: Likewise.
22432 * math/s_cacoshl.c: Likewise.
22434 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22437 * iconv/gconv.h: Define __GCONV_SWAP.
22438 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22439 * iconvdata/utf-16.c: Likewise.
22440 * iconvdata/utf-32.c: Likewise.
22442 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22445 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22446 numerator after shifting it by one limb.
22448 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22450 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22451 under [__USE_EXTERN_INLINES].
22453 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22456 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22458 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22460 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22461 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22463 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22464 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22465 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22466 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22467 for strncasecmp/strncasecmp_l compilation.
22468 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22469 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22471 2011-12-08 Marek Polacek <mpolacek@redhat.com>
22474 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22477 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22480 * time/tzfile.c (__tzfile_read): Check values from file header.
22482 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22484 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22485 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22486 * powerpc/powerpc32/dl-start.S: Likewise.
22487 * powerpc/powerpc32/elf/start.S: Likewise.
22488 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22489 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22490 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22491 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22492 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22493 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22494 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22495 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22496 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22497 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22498 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22499 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22500 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22501 * powerpc/powerpc32/memset.S: Likewise.
22502 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22503 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22504 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22505 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22506 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22507 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22508 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22509 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22510 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22511 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22512 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22513 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22514 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22516 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22518 * math/libm-test.inc: Added more nearbyint tests.
22519 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22520 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22521 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22522 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22524 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22526 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22529 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22531 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22532 Add wcscpy-ssse3 wcscpy-c.
22533 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22534 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22535 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22536 * sysdeps/x86_64/wcschr.S: New file.
22537 * sysdeps/x86_64/wcsrchr.S: New file.
22538 * string/test-strcmp.c: Remove checking of wcscmp function for
22540 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22541 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22542 wcsrchr-sse2 wcsrchr-c.
22543 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22544 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22545 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22546 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22547 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22548 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22549 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22550 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22551 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22552 * wcsmbc/wcschr.c (WCSCHR): New macro.
22554 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22556 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22557 * wcsmbs/test-wcsrchr.c: New file.
22558 * string/test-strrchr.c: Add wcsrchr support.
22560 * wcsmbs/test-wcscpy.c: New file.
22561 * string/test-strcpy.c: Add wcscpy support.
22564 2011-12-10 Ulrich Drepper <drepper@gmail.com>
22566 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22569 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22572 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22574 2011-12-04 Ulrich Drepper <drepper@gmail.com>
22576 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
22577 Minor optimizations.
22579 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22580 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22581 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22583 2011-12-03 Ulrich Drepper <drepper@gmail.com>
22585 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22586 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22587 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22588 for gcc to avoid warnings.
22589 * inet/Makefile (tests): Add tst-checks.
22590 * inet/tst-checks.c: New file.
22592 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22595 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22598 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22599 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22601 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22603 2011-12-02 Ulrich Drepper <drepper@gmail.com>
22605 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22608 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22610 2011-11-29 Joseph Myers <joseph@codesourcery.com>
22612 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22613 conditional on GCC version.
22614 (__arch_compare_and_exchange_val_8_acq)
22615 (__arch_compare_and_exchange_val_16_acq)
22616 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22617 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22618 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22620 2011-12-02 Joseph Myers <joseph@codesourcery.com>
22622 * sysdeps/sh/backtrace.c: New file.
22624 2011-12-02 Andreas Schwab <schwab@redhat.com>
22626 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22629 2011-12-01 Andreas Schwab <schwab@redhat.com>
22631 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22632 falling back to utime.
22634 2011-11-30 Andreas Schwab <schwab@redhat.com>
22636 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22637 expectations for float.
22639 2011-11-29 Andreas Schwab <schwab@redhat.com>
22641 * locale/weight.h (findidx): Add parameter len.
22642 * locale/weightwc.h (findidx): Likewise.
22643 * posix/fnmatch_loop.c (FCT): Adjust caller.
22644 * posix/regcomp.c (build_equiv_class): Likewise.
22645 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22646 * posix/regexec.c (check_node_accept_bytes): Likewise.
22647 * string/strcoll_l.c (STRCOLL): Likewise.
22648 * string/strxfrm_l.c (STRXFRM): Likewise.
22650 2011-11-17 Ulrich Drepper <drepper@gmail.com>
22652 * Makefile.in: Remove CVSOPT handling.
22653 * configure.in: Remove use of AC_REVISION.
22654 * iconvdata/Makefile (distribute): No need to filter out CVS.
22655 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22658 2011-11-16 Andreas Schwab <schwab@redhat.com>
22660 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22661 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22662 [USE_AS_STRNCASECMP_L]: Likewise.
22663 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22664 NO_TLS_DIRECT_SEG_REFS.
22665 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22666 Fix argument offsets for non-PIC.
22667 [USE_AS_STRNCASECMP_L]: Likewise.
22668 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22669 NO_TLS_DIRECT_SEG_REFS.
22671 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22673 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22675 * locale/loadlocale.c (_nl_load_locale): Likewise.
22677 2011-11-15 Andreas Schwab <schwab@redhat.com>
22679 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22680 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22681 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22682 (SYSCALL_GETTIME): Set errno on error.
22684 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22685 count references to noai6ai_cached.
22687 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22689 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22691 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22692 FD_CLOEXEC for /proc/self/maps.
22694 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22695 FD_CLOEXEC for /proc/meminfo.
22697 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22700 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22701 FD_CLOEXEC for given file.
22703 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22705 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22706 FD_CLOEXEC for /etc/hosts.
22707 (_gethtent): Likewise.
22709 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22711 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22712 cancellation and set FD_CLOEXEC for /etc/netgroup.
22714 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22715 reading /etc/publickey.
22717 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22718 allow cancellation when reading /etc/group.
22720 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22722 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22724 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22725 when using data file.
22727 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22729 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22730 (write_nis_obj): Use "c" and "e" in fopen.
22732 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22734 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22736 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22738 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22740 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22743 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22745 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22747 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22749 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22750 file parsing and set FD_CLOEXEC.
22752 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22754 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22756 2011-11-14 Andreas Schwab <schwab@redhat.com>
22758 * malloc/arena.c (arena_get2): Don't call reused_arena when
22759 _int_new_arena failed.
22761 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22763 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22764 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22765 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22766 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22767 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22768 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22769 to compile strcasecmp and strncasecmp.
22770 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22771 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22773 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22775 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22777 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22778 locale-defines.sym to gen-as-const-headers.
22779 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22780 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22781 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22782 to compile strcasecmp and strncasecmp.
22783 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22784 strcasecmp_l and strncasecmp_l.
22785 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22786 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22787 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22788 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22789 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22790 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22791 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22792 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22793 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22794 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22795 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22797 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22799 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22800 result of SYSDEP_GETTIME_CPU to retval.
22801 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22802 parameter list to macro. Remove trailing semicolon. Adjust users.
22804 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22807 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22809 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22811 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22812 from unused variable.
22814 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22816 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22819 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22822 * sunrpc/rpc_prot.c (rejected): Fix case value.
22824 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22825 unsigned long long int to avoid warnings in shift.
22827 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22829 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22832 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22833 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22834 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22836 * nis/nis_table.c (nis_list): Use variable of correct type for
22837 result of __follow_path call.
22839 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22841 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22842 of math functions ceil, trunc, floor, round, and sqrt, when
22843 avaliable on the platform.
22844 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22846 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22847 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22848 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22850 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22852 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22853 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22855 2011-11-11 Roland McGrath <roland@hack.frob.com>
22857 * include/unistd.h: Fix __readlink return type.
22858 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22860 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22862 * stdlib/ucontext.h: Undo last change for makecontext.
22864 2011-11-11 Andreas Schwab <schwab@redhat.com>
22866 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22868 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22869 * setjmp/setjmp.h: Mark functions as non-leaf.
22870 * setjmp/bits/setjmp2.h: Likewise.
22871 * stdlib/ucontext.h: Likewise.
22873 2011-11-10 Andreas Schwab <schwab@redhat.com>
22875 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22876 (reused_arena): Don't check arena limit.
22877 (arena_get2): Atomically check arena limit.
22879 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22881 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22882 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22884 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22887 2011-11-07 Andreas Schwab <schwab@redhat.com>
22889 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22890 handler when locking.
22892 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22893 Fix size of allocated buffer.
22895 2011-11-04 Andreas Schwab <schwab@redhat.com>
22898 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22899 declarations for long double functions.
22900 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22902 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22904 2011-11-03 Andreas Schwab <schwab@redhat.com>
22906 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22909 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22912 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22914 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22916 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22918 * include/alloca.h (stackinfo_alloca_round): Define.
22919 (extend_alloca): Use it.
22920 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22921 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22924 * scripts/check-local-headers.sh: Ignore libaudit.h.
22926 * nscd/Makefile (extra-objs): Make recursively expanded.
22928 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22930 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22931 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22933 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22934 * posix/tst-rfc3484-2.c: Likewise.
22935 * posix/tst-rfc3484-3.c: Likewise.
22937 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22939 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22941 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22942 process_vm_writev from libc using GLIBC_2.15 version.
22944 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22946 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22948 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22951 2011-10-31 Ulrich Drepper <drepper@gmail.com>
22954 * nss/getent.c (initgroups_keys): Show error message in case no group
22957 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22958 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22959 __bump_nl_timestamp.
22960 * nscd/connections (nscd_init): When host database is served open
22961 netlink socket and request notification about configuration changes.
22962 (main_loop_poll): Track netlink file descriptor and bump timestamp
22963 in case data becomes available.
22964 (main_loop_epoll): Likewise.
22965 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22966 (database_pers_head): Add extra_data fileds.
22967 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22968 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22969 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22971 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22972 in6ai data, call __free_in6ai.
22973 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22974 Add -DHAVE_NETLINK.
22975 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22976 interface information. Reuse previous data if netlink timestamp
22978 (__bump_nl_timestamp): New function.
22979 (__free_in6ai): New function.
22981 2011-10-30 Ulrich Drepper <drepper@gmail.com>
22983 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22984 close_not_cancel_no_status here.
22985 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22987 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22990 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22993 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22994 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22995 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22997 2011-07-03 Andreas Jaeger <aj@suse.de>
23000 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23001 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23002 * math/libm-test.inc (sin_test): Add test case.
23004 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23007 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23008 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23010 * elf/chroot_canon.c (chroot_canon): Cleanups.
23012 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23015 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23016 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23018 * string/test-strchr.c: Make usable for strchrnul testing.
23019 * string/test-strchrnul.c: New file.
23020 * string/Makefile (strop-tests): Add strchrnul.
23022 * po/it.po: Update from translation team.
23023 * po/es.po: Likewise.
23025 2011-10-28 Ulrich Drepper <drepper@gmail.com>
23027 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23028 the three constants needed as parameters. Drop the others.
23029 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23030 __m128i_strloadu_tolower.
23031 Create and initialize variable zero and use it in all the places
23032 where _mm_setzero_si128 was used.
23034 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23035 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23036 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23037 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23039 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23040 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23041 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23042 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23043 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23044 __mpranred, __mptan.
23045 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23046 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23047 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23048 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23049 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23050 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23051 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23052 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23053 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23055 2011-10-28 Andreas Schwab <schwab@redhat.com>
23057 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23058 redefine if SHARED.
23059 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23061 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23062 wide char related routines to wcsmbs subdir.
23064 2011-10-27 Andreas Schwab <schwab@redhat.com>
23067 * misc/sys/cdefs.h (__THROWNL): Define.
23068 * posix/unistd.h: Use __THREADNL instead of __THREAD
23069 for memory synchronization functions.
23071 2011-10-26 Roland McGrath <roland@hack.frob.com>
23074 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23076 * manual/stdio.texi (Obstack Streams): Node removed.
23078 2011-10-26 Andreas Schwab <schwab@redhat.com>
23080 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23081 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23082 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23084 * math/math_private.h (math_force_eval): Allow non-addressable
23086 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23088 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23090 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23091 file is not needed.
23093 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23094 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23095 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23096 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23097 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23098 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23099 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23100 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23102 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23103 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23104 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23105 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23106 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23107 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23108 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23109 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23110 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23111 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23112 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23113 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23114 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23115 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23116 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23117 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23118 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23119 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23120 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23122 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23123 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23125 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23126 place. Use VEX encoding when compiling for AVX.
23128 2011-10-25 Andreas Schwab <schwab@redhat.com>
23130 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23131 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23133 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23135 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23137 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
23138 useless if() expression.
23139 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23140 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23141 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23143 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23144 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23145 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23146 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23147 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23148 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23149 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23150 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23151 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23152 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23153 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23154 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23155 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23156 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23157 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23159 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23161 2011-10-25 Andreas Schwab <schwab@redhat.com>
23163 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23165 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23167 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23169 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23170 .text section. Avoid duplicate constants.
23171 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23172 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23173 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23174 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23175 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23176 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23177 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23179 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23180 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23181 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23182 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23183 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23184 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23185 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23186 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23187 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23188 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23189 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23190 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23191 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23192 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23193 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23194 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23195 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23196 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23197 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23198 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23199 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23200 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23201 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23202 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23203 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23204 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23205 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23206 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23207 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23208 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23209 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23210 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23211 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23212 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23213 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23214 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23215 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23217 2011-10-24 Ulrich Drepper <drepper@gmail.com>
23219 * sysdeps/x86_64/dla.h: Move to ...
23220 * sysdeps/x86_64/fpu/dla.h: ...here.
23221 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23222 situations. Use __builtin_fma only for gcc 4.6 and up.
23224 * config.make.in: Add have-mfma4 entry.
23225 * configure.in: Substitute libc_cv_cc_fma4.
23226 * math/Makefile (dbl-only-routines): Add sincostab.
23227 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23228 Use __sincostab not sincos.
23229 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23231 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23232 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23233 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23234 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23236 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23237 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23238 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23239 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23241 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23242 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23244 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23245 define aliases when function name is a macro.
23246 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23247 sysdeps/ieee754/dbl-64/sincos.tbl.
23248 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23249 fma4-enabled routines.
23250 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23251 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23252 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23253 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23254 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23255 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23256 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23257 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23258 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23259 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23260 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23261 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23262 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23263 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23264 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23265 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23266 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23267 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23268 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23269 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23270 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23271 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23272 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23273 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23274 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23275 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23276 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23277 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23278 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23279 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23281 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23283 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23284 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23285 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23286 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23287 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23288 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23289 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23290 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23292 2011-10-24 Andreas Schwab <schwab@redhat.com>
23294 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23296 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23298 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23300 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23302 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23304 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23305 Remove unused variable magic_bits.
23306 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23308 * string/strnlen.c: Define and use STRNLEN macro.
23309 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23310 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23311 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23312 * wcsmbs/wcslen.c: Define and use WCSLEN.
23313 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23314 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23315 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23316 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23317 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23318 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23319 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23321 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23324 strnlen-sse2-no-bsf.
23325 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23326 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23327 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23328 Add strnlen support.
23329 (USE_AS_STRNLEN): New macro.
23330 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23331 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23332 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23333 * sysdeps/x86_64/wcslen.S: New file.
23335 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23337 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23338 XMM-moves are used for copying on small sizes.
23340 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23342 * wcsmbs/Makefile (strop-tests): Add wcschr.
23343 * wcsmbs/test-wcschr.c: New file.
23344 * string/test-strchr.c: Update.
23345 Add wcschr support.
23348 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23350 * wcsmbs/Makefile (strop-tests): Add wcslen.
23351 * wcsmbs/test-wcslen.c: New file.
23352 * string/test-strlen.c: Update.
23353 Add wcslen support.
23356 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23358 * po/it.po: Update from translation team.
23360 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23362 * sysdeps/x86_64/wcscmp.S: Update.
23363 Fix wrong comparison semantics.
23364 wcscmp shall use signed comparison not unsigned.
23365 Don't use substraction to avoid overflow bug.
23366 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23367 * wcsmbc/wcscmp.c: Likewise.
23368 * string/test-strcmp.c: Likewise.
23369 Add new tests to check cases with negative values.
23371 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23373 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23374 * sysdeps/x86_64/dla.h: ...here. New file.
23375 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23376 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23377 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23378 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23380 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23381 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23382 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23383 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23385 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23387 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23388 __ynl_finite aliases.
23390 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23394 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23396 [DLA_FMA] (EMULV): Use DLA_FMA.
23397 [DLA_FMA] (MUL12): Use EMULV.
23398 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23399 that are not needed.
23400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23402 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23403 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23404 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23405 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23406 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23408 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23410 * math/s_nan.c: Undef __nan.
23411 * math/s_nanf.c: Undef __nanf.
23412 * math/s_nanl.c: Undef __nanl.
23413 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23416 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23418 * math/s_catan.c: Add branch predictions.
23419 * math/s_catanf.c: Likewise.
23420 * math/s_catanh.c: Likewise.
23421 * math/s_catanhf.c: Likewise.
23422 * math/s_catanhl.c: Likewise.
23423 * math/s_catanl.c: Likewise.
23424 * math/s_cexp.c: Likewise.
23425 * math/s_cexpf.c: Likewise.
23426 * math/s_cexpl.c: Likewise.
23427 * math/s_clog.c: Likewise.
23428 * math/s_clog10.c: Likewise.
23429 * math/s_clog10f.c: Likewise.
23430 * math/s_clog10l.c: Likewise.
23431 * math/s_clogf.c: Likewise.
23432 * math/s_clogl.c: Likewise.
23433 * math/s_csqrt.c: Likewise.
23434 * math/s_csqrtf.c: Likewise.
23435 * math/s_csqrtl.c: Likewise.
23436 * math/s_ctanf.c: Likewise.
23437 * math/s_ctanh.c: Likewise.
23438 * math/s_ctanhf.c: Likewise.
23439 * math/s_ctanhl.c: Likewise.
23440 * math/s_ctanl.c: Likewise.
23442 * math/math_private.h: Define __nan, __nanf, __nanl.
23443 * math/s_cacosh.c: Include <math_private.h>.
23444 * math/s_cacoshl.c: Likewise.
23445 * math/s_casinh.c: Likewise.
23446 * math/s_casinhf.c: Likewise.
23447 * math/s_casinhl.c: Likewise.
23448 * math/s_ccos.c: Rely entire on ccosh.
23449 * math/s_ccosf.c: Rely entire on ccoshf.
23450 * math/s_ccosl.c: Rely entirely on ccoshl.
23451 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23452 Remove tests for FE_INVALID.
23453 * math/s_ccoshf.c: Likewise.
23454 * math/s_ccoshl.c: Likewise.
23455 * math/s_csin.c: Likewise.
23456 * math/s_csinf.c: Likewise.
23457 * math/s_csinh.c Likewise.
23458 * math/s_csinhf.c: Likewise.
23459 * math/s_csinhl.c: Likewise.
23460 * math/s_csinl.c: Likewise.
23461 * math/s_ctan.c: Likewise.
23462 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23463 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23464 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23466 2011-10-21 Ulrich Drepper <drepper@gmail.com>
23468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23469 compilation problems.
23471 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23474 2011-10-20 Ulrich Drepper <drepper@gmail.com>
23476 * sysdeps/i386/configure.in: Test for -mfma4 option.
23477 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23478 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23479 COMMON_CPUID_INDEX_80000001.
23480 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23481 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23482 use it if FMA3 is not supported.
23483 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23485 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23486 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23488 2011-10-20 Andreas Schwab <schwab@redhat.com>
23491 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23492 it would create a cycle with a link time dependency.
23494 2011-10-19 Ulrich Drepper <drepper@gmail.com>
23496 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23498 * string/Makefile (strop-tests): Add rawmemchr.
23499 * string/test-rawmemchr.c: New file.
23501 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23502 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23503 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23504 when compiling str{,n}casecmp and when AVX is available. Hook up
23505 new optimized code in initializers.
23507 2011-10-19 Andreas Schwab <schwab@redhat.com>
23509 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23510 __feraiseexcept instead of feraiseexcept.
23512 2011-10-18 Ulrich Drepper <drepper@gmail.com>
23514 * math/math_private.h: Define defaults for libc_fetestexcept and
23516 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23517 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23518 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23519 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23520 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23521 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23522 libc_fetestexcept and libc_feupdateenv.
23524 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23525 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23526 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23527 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23528 libc_feholdexcept_setround.
23530 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23531 Add s_nearbyint-c and s_nearbyintf-c.
23532 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23533 nearbyintf inlines.
23534 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23535 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23536 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23537 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23539 * math/math_private.h: Define defaults for libc_fegetround,
23540 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23541 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23542 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23543 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23544 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23545 standard functions.
23546 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23547 Remove comments and hacks for old compiler versions.
23548 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23549 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23550 libc_feholdexceptl.
23552 2011-10-18 Andreas Schwab <schwab@redhat.com>
23554 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
23555 (__feraiseexcept_renamed): Add __NTH.
23556 (feraiseexcept): Add __NTH. Rename local variables to fix
23557 namespace violations.
23559 2011-10-17 Ulrich Drepper <drepper@gmail.com>
23561 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23563 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23565 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23566 recently added interfaces.
23567 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23569 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23570 about macro parameter expansion.
23572 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23573 __NO_MATH_INLINES is defined. Cleanups.
23575 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23576 and __floorf is target has SSE4.1.
23577 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23578 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23579 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23580 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23582 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23584 (floorf): Likewise.
23586 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23588 2011-10-17 Andreas Schwab <schwab@redhat.com>
23590 * misc/sys/cdefs.h: Fix last change.
23592 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23595 2011-10-16 Ulrich Drepper <drepper@gmail.com>
23597 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23599 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23600 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23601 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23602 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23603 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23604 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23605 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23606 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23607 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23608 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23609 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23610 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23611 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23612 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23613 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23614 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23615 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23616 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23617 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23618 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23619 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23620 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23622 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23623 ceil, ceilf, floor, floorf.
23625 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23626 Perform IRELATIVE relocations last.
23628 * elf/do-rel.h: Add another parameter nrelative, replacing the
23629 local variable with the same name. Change name of the function
23630 to end in Rel or Rela (uppercase).
23631 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23632 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23633 elf_dynamic_do_##reloc function.
23635 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23637 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23638 is sufficient, at least on modern CPUs.
23640 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23642 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23643 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23645 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23647 * math/bits/math-finite.h: Add entries for exp.
23648 * math/e_expl.c: Add __*_finite alias.
23649 * sysdeps/i386/fpu/e_exp.S: Likewise.
23650 * sysdeps/i386/fpu/e_expf.S: Likewise.
23651 * sysdeps/i386/fpu/e_expl.c: Likewise.
23652 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23653 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23654 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23655 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23656 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23657 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23658 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23660 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23661 is sufficient, at least on modern CPUs.
23663 * ctype/ctype-info.c (__ctype_init): Define.
23664 * include/ctype.h (__ctype_init): Declare.
23665 (__ctype_b_loc): The variable is always initialized.
23666 (__ctype_toupper_loc): Likewise.
23667 (__ctype_tolower_loc): Likewise.
23668 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23669 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23671 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23673 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23675 * configure.in: Also look in $cxxmachine/include for C++ system
23678 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23680 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23681 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23682 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23683 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23684 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23685 (USE_AS_WMEMCMP): New macro.
23687 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23688 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23689 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23690 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23692 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23693 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23694 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23695 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23696 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23697 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23698 (USE_AS_WMEMCMP): New macro.
23699 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23700 * sysdeps/string/test-memcmp.c: Update.
23701 Fix simple_wmemcmp.
23703 * wcsmbs/wmemcmp.c: Update.
23704 (WMEMCMP): New macro.
23707 2011-10-12 Andreas Jaeger <aj@suse.de>
23710 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23712 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23714 * libio/iofwide.c (do_length): Avoid warning.
23716 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23718 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23720 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23722 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23723 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23724 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23725 * sysdeps/i386/i686/fpu/e_log.S: New file.
23726 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23727 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23729 * ctype/ctype.h: Add support for inlined isXXX functions when
23730 compiling C++ code.
23732 2011-10-14 Andreas Schwab <schwab@redhat.com>
23734 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23736 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23738 2011-10-13 Roland McGrath <roland@hack.frob.com>
23741 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23743 2011-10-13 Andreas Schwab <schwab@redhat.com>
23745 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23746 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23749 * sysdeps/x86_64/memrchr.S: Check for zero size.
23751 * string/stratcliff.c: Add memrchr tests.
23753 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23755 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23756 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23757 rawmemchr-sse2 rawmemchr-sse2-bsf.
23758 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23759 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23760 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23761 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23762 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23763 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23764 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23765 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23766 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23767 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23768 * string/memrchr.c (MEMRCHR): New macro.
23770 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23772 Add integration with gcc's -ffinite-math-only and optimize wrapper
23774 * Versions.def: Define GLIBC_2.15 version for libm.
23775 * math/Makefile (headers): Add bits/math-finite.h.
23776 * math/bits/math-finite.h: New file.
23777 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23778 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23779 * math/e_acoshl.c: Add __*_finite alias.
23780 * math/e_acosl.c: Likewise.
23781 * math/e_asinl.c: Likewise.
23782 * math/e_atan2l.c: Likewise.
23783 * math/e_atanhl.c: Likewise.
23784 * math/e_coshl.c: Likewise.
23785 * math/e_exp10.c: Likewise.
23786 * math/e_exp10f.c: Likewise.
23787 * math/e_exp10l.c: Likewise.
23788 * math/e_exp2l.c: Likewise.
23789 * math/e_fmodl.c: Likewise.
23790 * math/e_gammal_r.c: Likewise.
23791 * math/e_hypotl.c: Likewise.
23792 * math/e_j0l.c: Likewise.
23793 * math/e_j1l.c: Likewise.
23794 * math/e_jnl.c: Likewise.
23795 * math/e_lgammal_r.c: Likewise.
23796 * math/e_log10l.c: Likewise.
23797 * math/e_log2l.c: Likewise.
23798 * math/e_logl.c: Likewise.
23799 * math/e_powl.c: Likewise.
23800 * math/e_sinhl.c: Likewise.
23801 * math/e_sqrtl.c: Likewise.
23802 * math/e_scalb.c: Completely rewritten and optimized.
23803 * math/e_scalbf.c: Likewise.
23804 * math/e_scalbl.c: Likewise.
23805 * math/w_acos.c: Likewise.
23806 * math/w_acosf.c: Likewise.
23807 * math/w_acosl.c: Likewise.
23808 * math/w_acosh.c: Likewise.
23809 * math/w_acoshf.c: Likewise.
23810 * math/w_acoshl.c: Likewise.
23811 * math/w_asin.c: Likewise.
23812 * math/w_asinf.c: Likewise.
23813 * math/w_asinl.c: Likewise.
23814 * math/w_atan2.c: Likewise.
23815 * math/w_atan2f.c: Likewise.
23816 * math/w_atan2l.c: Likewise.
23817 * math/w_atanh.c: Likewise.
23818 * math/w_atanhf.c: Likewise.
23819 * math/w_atanhl.c: Likewise.
23820 * math/w_exp10.c: Likewise.
23821 * math/w_exp10f.c: Likewise.
23822 * math/w_exp10l.c: Likewise.
23823 * math/w_fmod.c: Likewise.
23824 * math/w_fmodf.c: Likewise.
23825 * math/w_fmodl.c: Likewise.
23826 * math/w_j0.c: Likewise.
23827 * math/w_j0f.c: Likewise.
23828 * math/w_j0l.c: Likewise.
23829 * math/w_j1.c: Likewise.
23830 * math/w_j1f.c: Likewise.
23831 * math/w_j1l.c: Likewise.
23832 * math/w_jn.c: Likewise.
23833 * math/w_jnf.c: Likewise.
23834 * math/w_log.c: Likewise.
23835 * math/w_logf.c: Likewise.
23836 * math/w_logl.c: Likewise.
23837 * math/w_log10.c: Likewise.
23838 * math/w_log10f.c: Likewise.
23839 * math/w_log10l.c: Likewise.
23840 * math/w_log2.c: Likewise.
23841 * math/w_log2f.c: Likewise.
23842 * math/w_log2l.c: Likewise.
23843 * math/w_pow.c: Likewise.
23844 * math/w_powf.c: Likewise.
23845 * math/w_powl.c: Likewise.
23846 * math/w_remainder.c: Likewise.
23847 * math/w_remainderf.c: Likewise.
23848 * math/w_remainderl.c: Likewise.
23849 * math/w_scalb.c: Likewise.
23850 * math/w_scalbf.c: Likewise.
23851 * math/w_scalbl.c: Likewise.
23852 * math/w_sqrt.c: Likewise.
23853 * math/w_sqrtf.c: Likewise.
23854 * math/w_sqrtl.c: Likewise.
23855 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23856 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23858 * math/math_private.h: Declare __kernel_standard_f.
23859 * math/w_cosh.c: Remove cruft and optimize a bit.
23860 * math/w_coshf.c: Likewise.
23861 * math/w_coshl.c: Likewise.
23862 * math/w_exp2.c: Likewise.
23863 * math/w_exp2f.c: Likewise.
23864 * math/w_exp2l.c: Likewise.
23865 * math/w_hypot.c: Likewise.
23866 * math/w_hypotf.c: Likewise.
23867 * math/w_hypotl.c: Likewise.
23868 * math/w_lgamma.c: Likewise.
23869 * math/w_lgamma_r.c: Likewise.
23870 * math/w_lgammaf.c: Likewise.
23871 * math/w_lgammaf_r.c: Likewise.
23872 * math/w_lgammal.c: Likewise.
23873 * math/w_lgammal_r.c: Likewise.
23874 * math/w_sinh.c: Likewise.
23875 * math/w_sinhf.c: Likewise.
23876 * math/w_sinhl.c: Likewise.
23877 * math/w_tgamma.c: Likewise.
23878 * math/w_tgammaf.c: Likewise.
23879 * math/w_tgammal.c: Likewise.
23880 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23881 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23882 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23883 Minor optimizations. Pretty printing. Remove cruft.
23884 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23885 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23886 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23887 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23888 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23889 * sysdeps/i386/fpu/e_asin.S: Likewise.
23890 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23891 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23892 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23893 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23894 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23895 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23896 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23897 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23898 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23899 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23900 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23901 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23902 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23903 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23904 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23905 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23906 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23907 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23908 * sysdeps/i386/fpu/e_log.S: Likewise.
23909 * sysdeps/i386/fpu/e_log10.S: Likewise.
23910 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23911 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23912 * sysdeps/i386/fpu/e_log2.S: Likewise.
23913 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23914 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23915 * sysdeps/i386/fpu/e_logf.S: Likewise.
23916 * sysdeps/i386/fpu/e_logl.S: Likewise.
23917 * sysdeps/i386/fpu/e_pow.S: Likewise.
23918 * sysdeps/i386/fpu/e_powf.S: Likewise.
23919 * sysdeps/i386/fpu/e_powl.S: Likewise.
23920 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23921 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23922 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23923 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23924 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23925 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23926 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23927 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23928 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23929 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23930 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23932 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23933 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23934 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23935 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23936 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23937 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23938 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23939 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23940 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23942 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23943 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23944 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23945 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23946 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23947 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23948 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23949 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23950 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23951 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23952 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23953 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23954 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23955 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23956 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23957 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23958 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23959 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23960 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23961 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23962 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23963 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23964 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23965 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23966 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23967 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23968 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23969 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23970 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23971 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23972 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23973 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23974 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23975 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23976 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23977 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23978 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23979 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23980 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23981 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23982 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23983 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23984 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23985 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23986 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23987 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23988 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23989 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23990 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23991 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23992 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23993 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23994 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23995 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23996 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23997 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23998 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23999 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24000 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24001 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24002 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24003 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24004 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24005 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24006 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24007 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24008 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24009 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24010 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24011 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24012 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24013 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24014 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24015 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24016 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24017 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24018 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24019 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24020 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24021 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24022 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24023 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24024 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24025 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24026 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24027 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24028 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24029 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24030 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24031 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24032 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24033 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24034 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24035 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24036 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24037 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24038 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24039 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24040 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24041 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24042 (__isnanf): Likewise.
24043 (__isinf_ns): Likewise.
24044 (__isinf_nsf): Likewise.
24045 (__finite): Likewise.
24046 (__finitef): Likewise.
24047 (__ieee754_sqrt): Define as macro.
24048 (__ieee754_sqrtf): Define as macro.
24049 (__ieee754_sqrtl): Define as macro.
24050 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24052 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24053 __FINITE_MATH_ONLY__ consistent.
24054 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24056 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24058 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24061 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24063 2011-10-09 Ulrich Drepper <drepper@gmail.com>
24065 * po/ja.po: Update from translation team.
24067 2011-10-08 Roland McGrath <roland@hack.frob.com>
24069 * locale/programs/locarchive.c (prepare_address_space): New function.
24070 (create_archive, enlarge_archive, open_archive): Use it.
24072 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24073 inside [SHARED], where it is used.
24075 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24077 * nss/getent.c (netgroup_keys): Remove unused variable.
24078 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24080 2011-10-08 Ulrich Drepper <drepper@gmail.com>
24082 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24083 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24085 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24086 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24087 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24088 * math/Makefile (libm-calls): Add s_isinf_ns.
24089 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24090 * math/multc3.c: Likewise.
24091 * math/s_casin.c: Likewise.
24092 * math/s_casinf.c: Likewise.
24093 * math/s_casinl.c: Likewise.
24094 * math/s_ccos.c: Likewise.
24095 * math/s_ccosf.c: Likewise.
24096 * math/s_ccosl.c: Likewise.
24097 * math/s_ctan.c: Likewise.
24098 * math/s_ctanf.c: Likewise.
24099 * math/s_ctanh.c: Likewise.
24100 * math/s_ctanhf.c: Likewise.
24101 * math/s_ctanhl.c: Likewise.
24102 * math/s_ctanl.c: Likewise.
24103 * math/w_fmod.c: Likewise.
24104 * math/w_fmodf.c: Likewise.
24105 * math/w_fmodl.c: Likewise.
24106 * math/w_remainder.c: Likewise.
24107 * math/w_remainderf.c: Likewise.
24108 * math/w_remainderl.c: Likewise.
24109 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24110 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24111 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24113 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24114 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24115 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24116 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24118 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24120 * stdio-common/printf_fphex.c: Likewise.
24121 * stdio-common/printf_size.c: Likewise.
24123 * math/e_exp10.c: Include math_private.h using <...> not "...".
24124 * math/e_exp10f.c: Likewise.
24125 * math/e_exp10l.c: Likewise.
24126 * math/e_exp2l.c: Likewise.
24127 * math/e_j0l.c: Likewise.
24128 * math/e_j1l.c: Likewise.
24129 * math/e_jnl.c: Likewise.
24130 * math/e_lgammal_r.c: Likewise.
24131 * math/e_rem_pio2l.c: Likewise.
24132 * math/e_scalb.c: Likewise.
24133 * math/e_scalbf.c: Likewise.
24134 * math/e_scalbl.c: Likewise.
24135 * math/k_cosl.c: Likewise.
24136 * math/k_sinl.c: Likewise.
24137 * math/k_tanl.c: Likewise.
24138 * math/s_cacoshf.c: Likewise.
24139 * math/s_catan.c: Likewise.
24140 * math/s_catanf.c: Likewise.
24141 * math/s_catanh.c: Likewise.
24142 * math/s_catanhf.c: Likewise.
24143 * math/s_catanhl.c: Likewise.
24144 * math/s_catanl.c: Likewise.
24145 * math/s_ccosh.c: Likewise.
24146 * math/s_ccoshf.c: Likewise.
24147 * math/s_ccoshl.c: Likewise.
24148 * math/s_cexp.c: Likewise.
24149 * math/s_cexpf.c: Likewise.
24150 * math/s_cexpl.c: Likewise.
24151 * math/s_clog.c: Likewise.
24152 * math/s_clog10.c: Likewise.
24153 * math/s_clog10f.c: Likewise.
24154 * math/s_clog10l.c: Likewise.
24155 * math/s_clogf.c: Likewise.
24156 * math/s_clogl.c: Likewise.
24157 * math/s_csin.c: Likewise.
24158 * math/s_csinf.c: Likewise.
24159 * math/s_csinh.c: Likewise.
24160 * math/s_csinhf.c: Likewise.
24161 * math/s_csinhl.c: Likewise.
24162 * math/s_csinl.c: Likewise.
24163 * math/s_csqrt.c: Likewise.
24164 * math/s_csqrtf.c: Likewise.
24165 * math/s_csqrtl.c: Likewise.
24166 * math/s_ctan.c: Likewise.
24167 * math/s_ctanf.c: Likewise.
24168 * math/s_ctanh.c: Likewise.
24169 * math/s_ctanhf.c: Likewise.
24170 * math/s_ctanhl.c: Likewise.
24171 * math/s_ctanl.c: Likewise.
24172 * math/s_ldexp.c: Likewise.
24173 * math/s_ldexpf.c: Likewise.
24174 * math/s_ldexpl.c: Likewise.
24175 * math/s_significand.c: Likewise.
24176 * math/s_significandf.c: Likewise.
24177 * math/s_significandl.c: Likewise.
24178 * math/w_acos.c: Likewise.
24179 * math/w_acosf.c: Likewise.
24180 * math/w_acosh.c: Likewise.
24181 * math/w_acoshf.c: Likewise.
24182 * math/w_acoshl.c: Likewise.
24183 * math/w_acosl.c: Likewise.
24184 * math/w_asin.c: Likewise.
24185 * math/w_asinf.c: Likewise.
24186 * math/w_asinl.c: Likewise.
24187 * math/w_atan2.c: Likewise.
24188 * math/w_atan2f.c: Likewise.
24189 * math/w_atan2l.c: Likewise.
24190 * math/w_atanh.c: Likewise.
24191 * math/w_atanhf.c: Likewise.
24192 * math/w_atanhl.c: Likewise.
24193 * math/w_cosh.c: Likewise.
24194 * math/w_coshf.c: Likewise.
24195 * math/w_coshl.c: Likewise.
24196 * math/w_dremf.c: Likewise.
24197 * math/w_exp10.c: Likewise.
24198 * math/w_exp10f.c: Likewise.
24199 * math/w_exp10l.c: Likewise.
24200 * math/w_exp2.c: Likewise.
24201 * math/w_exp2f.c: Likewise.
24202 * math/w_fmod.c: Likewise.
24203 * math/w_fmodf.c: Likewise.
24204 * math/w_fmodl.c: Likewise.
24205 * math/w_hypot.c: Likewise.
24206 * math/w_hypotf.c: Likewise.
24207 * math/w_hypotl.c: Likewise.
24208 * math/w_j0.c: Likewise.
24209 * math/w_j0f.c: Likewise.
24210 * math/w_j0l.c: Likewise.
24211 * math/w_j1.c: Likewise.
24212 * math/w_j1f.c: Likewise.
24213 * math/w_j1l.c: Likewise.
24214 * math/w_jn.c: Likewise.
24215 * math/w_jnf.c: Likewise.
24216 * math/w_jnl.c: Likewise.
24217 * math/w_lgamma.c: Likewise.
24218 * math/w_lgamma_r.c: Likewise.
24219 * math/w_lgammaf.c: Likewise.
24220 * math/w_lgammaf_r.c: Likewise.
24221 * math/w_lgammal.c: Likewise.
24222 * math/w_lgammal_r.c: Likewise.
24223 * math/w_log.c: Likewise.
24224 * math/w_log10.c: Likewise.
24225 * math/w_log10f.c: Likewise.
24226 * math/w_log10l.c: Likewise.
24227 * math/w_log2.c: Likewise.
24228 * math/w_log2f.c: Likewise.
24229 * math/w_log2l.c: Likewise.
24230 * math/w_logf.c: Likewise.
24231 * math/w_logl.c: Likewise.
24232 * math/w_pow.c: Likewise.
24233 * math/w_powf.c: Likewise.
24234 * math/w_powl.c: Likewise.
24235 * math/w_remainder.c: Likewise.
24236 * math/w_remainderf.c: Likewise.
24237 * math/w_remainderl.c: Likewise.
24238 * math/w_scalb.c: Likewise.
24239 * math/w_scalbf.c: Likewise.
24240 * math/w_scalbl.c: Likewise.
24241 * math/w_sinh.c: Likewise.
24242 * math/w_sinhf.c: Likewise.
24243 * math/w_sinhl.c: Likewise.
24244 * math/w_sqrt.c: Likewise.
24245 * math/w_sqrtf.c: Likewise.
24246 * math/w_sqrtl.c: Likewise.
24247 * math/w_tgamma.c: Likewise.
24248 * math/w_tgammaf.c: Likewise.
24249 * math/w_tgammal.c: Likewise.
24251 * po/ja.po: Update from translation team.
24253 2011-09-29 Andreas Jaeger <aj@suse.de>
24256 * sunrpc/netname.c (netname2host): Fix logic.
24260 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24262 * math/w_remainder.c (__remainder): Likewise.
24263 * math/w_remainderf.c (__remainderf): Likewise.
24264 * math/libm-test.inc (remainder_test): Add test cases.
24266 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24268 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24271 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24273 * string/test-memcmp.c: Avoid unncessary #defines.
24274 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24276 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24278 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24279 Use new sse2 version for core i3 - i7 as it's faster
24280 than sse42 version.
24281 (bit_Prefer_PMINUB_for_stringop): New.
24282 * sysdeps/x86_64/rawmemchr.S: Update.
24283 Replace with faster SSE2 version.
24284 * sysdeps/x86_64/memrchr.S: New file.
24285 * sysdeps/x86_64/memchr.S: Update.
24286 Replace with faster SSE2 version.
24288 2011-09-12 Marek Polacek <mpolacek@redhat.com>
24290 * elf/dl-load.c (lose): Add cast to avoid warning.
24292 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24294 * po/ca.po: Update from translation team.
24296 * inet/getnetgrent_r.c: Hook up nscd.
24297 * nscd/Makefile (routines): Add nscd_netgroup.
24298 (nscd-modules): Add netgroupcache.
24299 (CFLAGS-netgroupcache.c): Define.
24300 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24301 (cache_search): Add const to second parameter.
24302 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24304 (dbs): Add netgrdb entry.
24305 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24306 (verify_persistent_db): Handle netgrdb.
24307 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24308 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24310 (netgroup_response_header): Define.
24311 (innetgroup_response_header): Define.
24312 (datahead): Add netgroup_response_header and innetgroup_response_header
24314 * nscd/nscd.conf: Add entries for netgroup cache.
24315 * nscd/nscd.h (dbtype): Add netgrdb.
24316 (_PATH_NSCD_NETGROUP_DB): Define.
24317 (netgroup_iov_disabled): Declare.
24318 (xmalloc, xcalloc, xrealloc): Move declarations here.
24319 (cache_search): Adjust prototype.
24320 Add netgroup-related prototypes.
24321 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24322 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24323 (__nscd_innetgr): Declare.
24324 * nscd/selinux.c (perms): Use access_vector_t as element type and
24325 add netgroup-related initializers.
24326 * nscd/netgroupcache.c: New file.
24327 * nscd/nscd_netgroup.c: New file.
24328 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24329 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24330 For four parameters use innetgr.
24331 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24332 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24333 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24334 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24336 * nscd/connections.c (register_traced_file): Don't register file
24337 for disabled databases.
24339 2011-10-06 Ulrich Drepper <drepper@gmail.com>
24341 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24343 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24344 from tree and freeing node.
24346 2011-09-25 Jiri Olsa <jolsa@redhat.com>
24348 * nss/nsswitch.c (__nss_database_lookup): Handle
24349 nss_parse_service_list out of memory case.
24351 2011-09-15 Jiri Olsa <jolsa@redhat.com>
24353 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24354 out of memory case.
24356 2011-10-04 Andreas Schwab <schwab@redhat.com>
24358 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24359 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24361 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24362 elf_machine_rela, elf_machine_lazy_rel.
24363 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24364 (ELF_DYNAMIC_DO_REL): Likewise.
24365 (ELF_DYNAMIC_DO_RELA): Likewise.
24366 (ELF_DYNAMIC_RELOCATE): Likewise.
24367 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24368 to ELF_DYNAMIC_DO_REL.
24369 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24370 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24371 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24373 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24374 skip_ifunc, don't call ifunc function if non-zero.
24375 (elf_machine_rela): Likewise.
24376 (elf_machine_lazy_rel): Likewise.
24377 (elf_machine_lazy_rela): Likewise.
24378 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24379 (elf_machine_lazy_rel): Likewise.
24380 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24382 (elf_machine_lazy_rel): Likewise.
24383 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24385 (elf_machine_lazy_rel): Likewise.
24386 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24387 (elf_machine_lazy_rel): Likewise.
24388 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24389 (elf_machine_lazy_rel): Likewise.
24390 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24391 (elf_machine_lazy_rel): Likewise.
24392 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24393 (elf_machine_lazy_rel): Likewise.
24394 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24395 (elf_machine_lazy_rel): Likewise.
24396 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24397 (elf_machine_lazy_rel): Likewise.
24399 2011-09-28 Ulrich Drepper <drepper@gmail.com>
24401 * nss/nss_files/files-init.c (_nss_files_init): Use static
24402 initialization for all the *_traced_file variables.
24404 2011-09-28 Andreas Schwab <schwab@redhat.com>
24406 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24408 2011-09-27 Roland McGrath <roland@hack.frob.com>
24411 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24413 2011-09-27 Andreas Schwab <schwab@redhat.com>
24415 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24416 Reread the line before reparsing it.
24418 2011-09-26 Andreas Schwab <schwab@redhat.com>
24420 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24422 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24423 Maxim Kuvyrkov <maxim@codesourcery.com>
24424 Joseph Myers <joseph@codesourcery.com>
24426 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24427 if needed for __stack_chk_guard.
24429 2011-09-19 Roland McGrath <roland@hack.frob.com>
24431 * sysdeps/posix/spawni.c (script_execute): Always define it.
24432 It will be optimized away if unused.
24433 (maybe_script_execute): New function.
24434 (__spawni): Call it.
24436 * Makerules: Don't include tls.make.
24437 (config-tls): Always set to thread.
24438 * tls.make.c: File removed.
24440 2011-09-19 Mike Frysinger <vapier@gentoo.org>
24442 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24443 * config.make.in (CPPFLAGS-config): New substituted variable.
24445 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24447 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24450 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24451 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24453 2011-09-15 Roland McGrath <roland@hack.frob.com>
24455 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24456 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24457 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24458 (CALL_FAIL): Likewise.
24459 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24460 (CALL_FAIL): Macro removed.
24461 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24463 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24465 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24466 for __FINITE_MATH_ONLY__ == 1.
24468 2011-09-15 Andreas Schwab <schwab@redhat.com>
24470 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24471 __ieee754_sqrt instead of sqrt.
24472 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24473 __ieee754_sqrtf instead of sqrtf.
24474 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24475 __floorf instead of floorf.
24476 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24477 __floorf, __truncf instead of floorf, truncf.
24479 2011-09-14 Ulrich Drepper <drepper@gmail.com>
24481 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24483 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24484 __extern_always_inline.
24485 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24488 2011-09-14 Andreas Schwab <schwab@redhat.com>
24490 * elf/rtld.c (dl_main): Also relocate in dependency order when
24491 doing symbol dependency testing.
24493 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24495 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24496 Always define `refsym'.
24498 2011-09-13 Andreas Schwab <schwab@redhat.com>
24500 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24501 (__FD_ELT): Renamed from __FDELT.
24502 * misc/bits/select2.h (__FD_ELT): Likewise.
24503 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24504 __FD_MASK instead of __FDELT, __FDMASK.
24505 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24507 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24510 * elf/Makefile (gen-ldd): Fix pattern.
24512 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24513 (init_tls): Likewise.
24515 2011-09-12 Ulrich Drepper <drepper@gmail.com>
24517 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24519 2011-09-12 Andreas Schwab <schwab@redhat.com>
24521 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24522 `struct cmsghdr *' instead of `void *'.
24523 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24526 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24528 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24530 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24531 ldd_rewrite_script.
24533 2011-09-11 Ulrich Drepper <drepper@gmail.com>
24535 * configure.in: Remove --with-tls option.
24536 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24537 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24538 out in case it is missing.
24539 * sysdeps/ia64/elf/configure.in: Likewise.
24540 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24541 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24542 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24543 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24544 * sysdeps/sh/elf/configure.in: Likewise.
24545 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24546 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24547 * sysdeps/x86_64/elf/configure.in: Likewise.
24548 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24549 * sysdeps/mach/hurd/tls.h: Likewise.
24552 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24555 * configure.in: Fix use of AC_INIT.
24557 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24559 2011-09-10 Ulrich Drepper <drepper@gmail.com>
24561 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24563 * malloc/hooks.c: Likewise.
24566 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24567 variables statically.
24568 (narenas): Initialize.
24569 (list_lock): Initialize.
24570 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24571 initializtion of main_arena and list_lock. Small cleanups.
24572 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24573 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24574 Add initializers to main_arena and mp_.
24575 (malloc_state): Remove pagesize member. Change all users to use
24578 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24579 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24580 is always initialized.
24582 * malloc/malloc.c: Removed unused configurations and dead code.
24583 * malloc/arena.c: Likewise.
24584 * malloc/hooks.c: Likewise.
24585 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
24587 * include/tls.h: Removed. USE___THREAD must always be defined.
24588 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24589 * elf/dl-libc.c: Likewise.
24590 * elf/dl-tsd.c: Likewise.
24591 * include/errno.h: Likewise.
24592 * include/netdb.h: Likewise.
24593 * include/resolv.h: Likewise.
24594 * inet/herrno-loc.c: Likewise.
24595 * inet/herrno.c: Likewise.
24596 * malloc/arena.c: Likewise.
24597 * malloc/hooks.c: Likewise.
24598 * malloc/malloc.c: Likewise.
24599 * resolv/res-state.c: Likewise.
24600 * resolv/res_libc.c: Likewise.
24601 * sysdeps/i386/dl-machine.h: Likewise.
24602 * sysdeps/ia64/dl-machine.h: Likewise.
24603 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24604 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24605 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24606 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24607 * sysdeps/sh/dl-machine.h: Likewise.
24608 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24609 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24610 * sysdeps/unix/i386/sysdep.S: Likewise.
24611 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24612 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24613 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24614 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24615 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24616 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24617 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24619 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24621 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24622 * sysdeps/x86_64/dl-machine.h: Likewise.
24623 * tls.make.c: Likewise.
24625 * configure.in: Remove --with-__thread option. Make tests for
24626 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24627 tls_model attribute fail if no support is available. Remove
24629 * Makeconfig: Adjust for dropped configure option. All features are
24631 * Makerules: Likewise.
24632 * Versions.def: Likewise.
24633 * argp/argp-fmtstream.c: Likewise.
24634 * argp/argp-fmtstream.h: Likewise.
24635 * argp/argp-help.c: Likewise.
24636 * assert/assert.c: Likewise.
24637 * config.h.in: Likewise.
24638 * config.make.in: Likewise.
24639 * configure: Likewise.
24640 * configure.in: Likewise.
24641 * csu/Versions: Likewise.
24642 * csu/init.c: Likewise.
24643 * elf/tst-audit2.c: Likewise.
24644 * elf/tst-tls10.c: Likewise.
24645 * elf/tst-tls10.h: Likewise.
24646 * elf/tst-tls11.c: Likewise.
24647 * elf/tst-tls12.c: Likewise.
24648 * elf/tst-tls14.c: Likewise.
24649 * elf/tst-tlsmod11.c: Likewise.
24650 * elf/tst-tlsmod12.c: Likewise.
24651 * elf/tst-tlsmod13.c: Likewise.
24652 * elf/tst-tlsmod13a.c: Likewise.
24653 * elf/tst-tlsmod14a.c: Likewise.
24654 * elf/tst-tlsmod15b.c: Likewise.
24655 * elf/tst-tlsmod16a.c: Likewise.
24656 * elf/tst-tlsmod16b.c: Likewise.
24657 * elf/tst-tlsmod7.c: Likewise.
24658 * elf/tst-tlsmod8.c: Likewise.
24659 * elf/tst-tlsmod9.c: Likewise.
24660 * gmon/gmon.c: Likewise.
24661 * grp/fgetgrent_r.c: Likewise.
24662 * grp/putgrent.c: Likewise.
24663 * hurd/fopenport.c: Likewise.
24664 * include/libc-symbols.h: Likewise.
24665 * include/tls.h: Likewise.
24666 * intl/gettextP.h: Likewise.
24667 * intl/loadinfo.h: Likewise.
24668 * locale/global-locale.c: Likewise.
24669 * locale/localeinfo.h: Likewise.
24670 * mach/devstream.c: Likewise.
24671 * malloc/arena.c: Likewise.
24672 * malloc/set-freeres.c: Likewise.
24673 * misc/err.c: Likewise.
24674 * misc/getttyent.c: Likewise.
24675 * misc/mntent_r.c: Likewise.
24676 * posix/getopt.c: Likewise.
24677 * posix/wordexp.c: Likewise.
24678 * pwd/fgetpwent_r.c: Likewise.
24679 * resolv/Versions: Likewise.
24680 * resolv/res_hconf.c: Likewise.
24681 * shadow/fgetspent_r.c: Likewise.
24682 * shadow/putspent.c: Likewise.
24683 * stdio-common/printf_fphex.c: Likewise.
24684 * stdio-common/tmpfile.c: Likewise.
24685 * stdlib/abort.c: Likewise.
24686 * stdlib/fmtmsg.c: Likewise.
24687 * sunrpc/auth_unix.c: Likewise.
24688 * sunrpc/clnt_perr.c: Likewise.
24689 * sunrpc/clnt_tcp.c: Likewise.
24690 * sunrpc/clnt_udp.c: Likewise.
24691 * sunrpc/clnt_unix.c: Likewise.
24692 * sunrpc/openchild.c: Likewise.
24693 * sunrpc/svc_simple.c: Likewise.
24694 * sunrpc/svc_tcp.c: Likewise.
24695 * sunrpc/svc_udp.c: Likewise.
24696 * sunrpc/svc_unix.c: Likewise.
24697 * sunrpc/xdr.c: Likewise.
24698 * sunrpc/xdr_array.c: Likewise.
24699 * sunrpc/xdr_rec.c: Likewise.
24700 * sunrpc/xdr_ref.c: Likewise.
24701 * sunrpc/xdr_stdio.c: Likewise.
24703 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24705 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24707 2011-07-03 Andreas Jaeger <aj@suse.de>
24709 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24710 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24711 regenerate with gen-libm-tests.pl.
24713 2010-05-12 Petr Baudis <pasky@suse.cz>
24716 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24717 around j0() zero points by switching to j1().
24718 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24719 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24720 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24721 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24723 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24725 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24727 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24729 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24730 Patch in part by Pavel Roskin <proski@gnu.org>.
24733 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24735 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24736 Free memory block if necessary.
24739 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24740 be NULL. Don't lock in this case.
24742 2011-09-09 Roland McGrath <roland@hack.frob.com>
24744 * elf/elf.h (ELFOSABI_GNU): New macro.
24745 (ELFOSABI_LINUX): Define to that.
24747 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24749 * string/strncat.c (strncat): Undef the symbol in case it has been
24750 defined in bits/string.h.
24752 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24754 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24756 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24759 2011-08-17 Andreas Jaeger <aj@suse.de>
24761 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24763 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24764 Ian Lance Taylor <iant@google.com>
24766 * math/libm-test.inc (lround_test): New testcase.
24767 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24769 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24771 * Makefile: Remove support for automatic cvs check-ins.
24772 * Makerules: Likewise.
24773 * config.make.in: Likewise.
24774 * configure.in: Likewise.
24775 * intl/Makefile: Likewise.
24776 * locale/Makefile: Likewise.
24777 * po/Makefile: Likewise.
24778 * posix/Makefile: Likewise.
24779 * sysdeps/gnu/Makefile: Likewise.
24780 * sysdeps/mach/hurd/Makefile: Likewise.
24781 * sysdeps/sparc/sparc32/Makefile: Likewise.
24784 * posix/Makefile (bug-regex32-ENV): Define.
24785 Patch by John Stanley <jpsinthemix@verizon.net>.
24787 * misc/Makefile (headers): Add bits/select2.h.
24788 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24789 * misc/bits/select2.h: New file.
24790 * include/bits/select2.h: New file.
24791 * debug/Makefile (routines): Add fdelt_chk.
24792 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24793 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24795 * debug/fdelt_chk.c: New file.
24797 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24798 * wcsmbs/test-wmemcmp.c: Likewise.
24799 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24800 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24802 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24804 * string/Makefile (strop-tests): Add memcmp.
24805 * string/test-wmemcmp.c: New file.
24806 * string/test-memcmp.c: Add wmemcmp support.
24808 2011-09-08 Roland McGrath <roland@hack.frob.com>
24811 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24814 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24815 garbage value in a __mach_port_mod_refs call in the cases of the
24816 task-self and thread-self ports.
24818 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24820 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24822 2011-09-08 Andreas Schwab <schwab@redhat.com>
24824 * elf/dl-load.c (lose): Check for non-null L.
24826 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24828 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24830 * elf/dl-libc.c (dlerror_run): Pass back error code from
24834 * elf/dl-load.c (lose): Free l_origin if it is valid.
24836 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24838 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24839 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24840 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24841 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24842 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24843 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24845 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24847 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24848 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24849 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24850 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24851 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24852 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24853 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24854 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24855 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24856 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24858 2011-08-15 Alan Modra <amodra@gmail.com>
24861 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24862 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24863 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24864 ppc_mcount to static-only-routines.
24865 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24867 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24868 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24870 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24872 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24873 for finite and infinity parameters.
24875 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24877 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24878 and add nop instructions for throughput optimization.
24879 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24881 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24883 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24884 aligned copy for power7 with vector-scalar instructions.
24885 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24887 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24889 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24892 2011-09-07 Andreas Schwab <schwab@redhat.com>
24895 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24898 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24900 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24901 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24902 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24903 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24906 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24908 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24909 Forgot to demangle the pointer.
24911 * sysdeps/i386/sysdep.h: Define atom_text_section.
24912 * sysdeps/x86_64/sysdep.h: Likewise.
24913 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24914 section with atom_text_section.
24915 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24916 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24917 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24918 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24919 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24921 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24922 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24923 already be defined. Change to take two parameters and don't assign
24924 result to variable. Adjust all users.
24925 Define INTERNAL_GETTIME if not already defined.
24926 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24928 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24929 HAVE_CLOCK_GETTIME_VSYSCALL.
24930 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24932 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24933 gettimeofday vsyscall, just use time.
24935 2011-09-06 Andreas Schwab <schwab@redhat.com>
24937 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24940 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24942 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24944 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24946 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24947 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24948 syscall if possible.
24950 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24952 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24953 e_ident. Don't pass to find_mapsXX.
24954 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24956 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24959 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24960 * sysdeps/x86_64/multiarch/strchr.S: Update.
24961 Check bit_slow_BSF bit.
24962 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24963 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24964 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24966 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24969 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24971 (tryshell): Define.
24972 (__spawni): Change last parameter to be flag. Test
24973 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24974 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24975 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24976 * posix/spawni.c: Likewise.
24977 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24978 * posix/spawnp.c: Likewise. Change normal version to use
24979 SPAWN_XFLAGS_USE_PATH.
24980 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24981 SPAWN_XFLAGS_TRY_SHELL.
24984 * posix/glob.h: Remove gcc 1.x support.
24987 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24989 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24991 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24992 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24994 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24995 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24996 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24997 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24998 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24999 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25001 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25003 * sysdeps/x86_64/wcscmp.S: New file.
25005 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25006 wcscmp-c wcscmp-sse2
25007 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25008 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25009 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25010 * wcsmbs/wcscmp.c: Allow renaming.
25012 2011-09-05 David S. Miller <davem@davemloft.net>
25014 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25015 stack slot, rather than the struct return pointer slot.
25016 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25017 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25019 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25021 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25023 * po/ja.po: Update from translation team.
25026 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25027 kernel in 64-bit binaries.
25029 2011-09-01 David S. Miller <davem@davemloft.net>
25031 * elf/elf.h (HWCAP_SPARC_*): Move to..
25032 * sysdeps/sparc/sysdep.h: this new file and add new values.
25033 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25034 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25035 _DL_HWCAP_COUNT to 24.
25036 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25038 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25039 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25040 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25041 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25042 instead of magic constants.
25043 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25045 2011-08-31 David S. Miller <davem@davemloft.net>
25047 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25048 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25049 Reimplement to do errno handling inline.
25050 (SYSCALL_ERROR_HANDLER): New macro.
25051 (__SYSCALL_STRING): Do not do errno handling in asm.
25052 (__CLONE_SYSCALL_STRING): Delete.
25053 (__INTERNAL_SYSCALL_STRING): Delete.
25054 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25055 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25056 (PSEUDO): Reimplement to do errno handling inline.
25057 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25058 (SYSCALL_ERROR_HANDLER): New macro.
25059 (__SYSCALL_STRING): Do not do errno handling in asm.
25060 (__CLONE_SYSCALL_STRING): Delete.
25061 (__INTERNAL_SYSCALL_STRING): Delete.
25062 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25063 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25065 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25066 (inline_syscall*): Add 'err' argument.
25067 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25068 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25069 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25070 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25072 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25073 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25075 2011-08-30 Andreas Schwab <schwab@redhat.com>
25077 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25079 2011-08-29 Jiri Olsa <jolsa@redhat.com>
25081 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25084 2011-08-24 David S. Miller <davem@davemloft.net>
25086 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25088 2011-08-24 Andreas Schwab <schwab@redhat.com>
25090 * elf/Makefile: Add rules to build and run unload8 test.
25091 * elf/unload8.c: New file.
25092 * elf/unload8mod1.c: New file.
25093 * elf/unload8mod1x.c: New file.
25094 * elf/unload8mod2.c: New file.
25095 * elf/unload8mod3.c: New file.
25097 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25100 2011-08-23 David S. Miller <davem@davemloft.net>
25102 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25103 subtract stack bias.
25104 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25105 %sp not %fp in calculations.
25106 (_JMPBUF_UNWINDS_ADJ): Likewise.
25108 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25109 (aio_suspend): Call it to force an exception region around the
25110 AIO_MISC_WAIT() invocation.
25112 2011-08-23 Andreas Schwab <schwab@redhat.com>
25114 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25117 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25119 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25121 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25122 and <dl-machine.h>.
25123 (Elf64_FuncDesc): Remove.
25125 2011-08-22 David S. Miller <davem@davemloft.net>
25127 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25128 sigaltstack check, add missing cfi directives.
25129 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25130 missing cfi directives, and sigaltstack handling.
25132 2011-08-16 Andreas Schwab <schwab@redhat.com>
25135 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25136 object is seen twice.
25137 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25139 * elf/Makefile (distribute): Add tst-initorder2.c.
25140 (tests): Add tst-initorder2.
25141 (modules-names): Add tst-initorder2a tst-initorder2b
25142 tst-initorder2c tst-initorder2d. Add rules to build them.
25143 ($(objpfx)tst-initorder2.out): New rule.
25144 * elf/tst-initorder2.c: New file.
25145 * elf/tst-initorder2.exp: New file.
25147 2011-08-22 Andreas Schwab <schwab@redhat.com>
25149 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25151 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25152 dependencies back to end of function.
25154 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25155 $(elfobjdir)/ld.so.
25157 2011-08-21 Ulrich Drepper <drepper@gmail.com>
25159 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25160 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25161 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25162 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25163 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25164 of __vdso_gettimeofday.
25165 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25166 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
25168 (_libc_vdso_platform_setup): Remove initialization of
25169 __vdso_gettimeofday and __vdso_time.
25171 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25173 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25174 and fgetc_unlocked.
25175 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25178 * elf/dl-open.c (add_to_global): Report additions to the global scope
25179 for LD_DEBUG=scopes.
25180 (dl_open_worker): Also print scope of newly loaded dependencies.
25181 (_dl_show_scope): Indicate if there is no scope.
25184 * stdio-common/Makefile (tests): Add bug24.
25185 * stdio-common/bug24.c: New file.
25187 2011-08-19 Andreas Jaeger <aj@suse.de>
25190 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25191 non-existant file when using close-on-exec mode.
25193 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25195 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25196 the very first instruction.
25198 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25199 the CFI state in the end.
25200 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25201 inclusion of dl-trampoline.h.
25202 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25204 2011-08-19 Andreas Schwab <schwab@redhat.com>
25206 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25207 expectations for long double.
25209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25210 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25212 2011-08-14 David S. Miller <davem@davemloft.net>
25214 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25215 artificual limit depends upon the system page size.
25217 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25219 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25220 * resolv/Makefile: Define CFLAGS-libresolv.
25222 2011-08-17 Andreas Schwab <schwab@redhat.com>
25224 * nss/makedb.c (compute_tables): Make variables used in nested
25227 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25229 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25230 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25231 if buffer was too small.
25233 * elf/pldd.c (main): Attach to all threads in the process.
25234 Rewrite /proc handling to use *at functions.
25236 2011-08-16 Ulrich Drepper <drepper@gmail.com>
25238 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25239 specifies first scope to show.
25240 (dl_open_worker): Update callers. Move printing scope of new
25241 object to before the relocation.
25242 * elf/rtld.c (dl_main): Update _dl_show_scope call.
25243 * sysdeps/generic/ldsodefs.h: Update declaration.
25245 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25246 string for the scope number.
25248 2011-08-14 Ulrich Drepper <drepper@gmail.com>
25250 * nscd/servicescache.c (cache_addserv): Make sure written is always
25253 2011-08-14 Roland McGrath <roland@hack.frob.com>
25255 * sysdeps/i386/i486/bits/atomic.h
25256 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25257 statement expression, so as to suppress "set but not used" warning.
25258 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25260 * string/strncat.c (STRNCAT): Use prototype definition.
25262 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25263 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25265 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25266 (localedef-modules): Add localedef.
25267 (locale-modules): Add locale.
25269 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25270 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25271 to avoid a warning.
25273 2011-08-14 David S. Miller <davem@davemloft.net>
25275 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25276 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25278 2011-08-13 Ulrich Drepper <drepper@gmail.com>
25280 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
25281 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25282 * elf/rtld.c (dl_main): Set l_name of vDSO.
25283 Call _dl_show_scope when DL_DEBUG_SCOPES.
25284 (process_dl_debug): Recognize scopes flag and also set it for all.
25285 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25286 Declare _dl_show_scope.
25288 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25289 (do_dlopen): Pass caller_dlopen to dl_open.
25290 (__libc_dlopen_mode): Initialize caller_dlopen.
25292 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25293 of libc. Make tolower call locale-independent. Optimize a bit by
25294 using isdigit instead of isalnum.
25295 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25297 2011-08-12 Ulrich Drepper <drepper@gmail.com>
25299 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25300 was a dependency or dynamically loaded.
25302 2011-08-11 Ulrich Drepper <drepper@gmail.com>
25304 * intl/l10nflist.c: Allow architecture-specific pop function.
25305 * sysdeps/x86_64/l10nflist.c: New file.
25307 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25310 2011-08-10 Andreas Schwab <schwab@redhat.com>
25312 * include/dirent.h: Add libc_hidden_proto for scandirat and
25313 scandirat64. Don't declare __scandirat64.
25314 * dirent/scandirat.c: Add libc_hidden_def.
25315 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25316 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25318 2011-08-10 David S. Miller <davem@davemloft.net>
25320 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25322 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25323 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25324 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25326 2011-08-09 Ulrich Drepper <drepper@gmail.com>
25328 * Versions.def [libc]: Add GLIBC_2.15.
25329 * dirent/Makefile (routines): Add scandirat and scandirat64.
25330 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25332 * dirent/dirent.h: Declare scandirat and scandirat64.
25333 * dirent/scandirat.c: New file.
25334 * dirent/scandirat64.c: New file.
25335 * sysdeps/wordsize-64/scandirat.c: New file.
25336 * sysdeps/wordsize-64/scandirat64.c: New file.
25337 * dirent/opendir.c: Define opendirat.
25338 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25340 * dirent/scandir64.c: Adjust for scandir.c change.
25341 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25342 __scandirat64, and __scandir_cancel_handler.
25343 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25344 additional parameter and use openat instead of open (outside of ld.so).
25345 Add new __opendir as wrapper around __opendirat.
25346 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25347 here without requiring old scandirat implementation.
25349 2011-08-08 Ulrich Drepper <drepper@gmail.com>
25351 * dirent/scandir.c (cancel_handler): Renamed to
25352 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25353 defined. Adjust users.
25354 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25355 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25357 2011-08-04 Ulrich Drepper <drepper@gmail.com>
25359 * string/test-string.h (IMPL): Use __STRING to expand name and then
25362 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25365 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25367 * string/Makefile: Update.
25368 (strop-tests): Append strncat.
25369 * string/test-wcscmp.c: New file.
25370 New comprehensive test for wcscmp.
25371 * string/test-strcmp.c: Update.
25372 (WIDE): New define.
25374 2011-07-22 Andreas Schwab <schwab@redhat.com>
25376 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25379 2011-07-26 Andreas Schwab <schwab@redhat.com>
25381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25382 encoding to ACE if AI_IDN.
25384 2011-08-01 Jakub Jelinek <jakub@redhat.com>
25386 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25387 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25389 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25391 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25392 Fix overflow bug in strncat.
25393 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25395 * string/test-strncat.c: Update.
25396 Add new tests for checking overflow bugs.
25398 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25400 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25401 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25402 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25403 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25404 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25405 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25406 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25407 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25408 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25410 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25411 (USE_AS_STRCAT): Define.
25412 Add strcat and strncat support.
25413 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25415 2011-07-25 Andreas Schwab <schwab@redhat.com>
25417 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25418 __n bigger than INT_MAX+1.
25419 (__strncmp_g): Likewise.
25421 2011-07-23 Ulrich Drepper <drepper@gmail.com>
25423 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25424 * libio/stido.h: Likewise.
25426 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25428 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25431 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25432 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25433 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25434 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25435 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25438 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25441 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25443 (_dl_x86_64_save_sse): Likewise.
25445 2011-07-22 Ulrich Drepper <drepper@gmail.com>
25447 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25449 (_dl_x86_64_save_sse): Likewise.
25451 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25453 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25455 2011-07-21 Andreas Schwab <schwab@redhat.com>
25457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25459 (_dl_x86_64_save_sse): Use correct AVX check.
25461 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25463 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25464 bug in strncpy/strncat.
25465 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25467 2011-07-21 Ulrich Drepper <drepper@gmail.com>
25469 * string/tester.c (test_strcat): Add tests for different alignments
25470 of source and destination.
25471 (test_strncat): Likewise.
25473 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25476 * posix/glob.c (glob): Check passed in values before using them in
25477 expressions to avoid some overflows.
25478 (glob_in_dir): Likewise.
25481 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25482 check for AVX enablement so that we don't crash with old kernels and
25484 * elf/tst-audit4.c: Add same checks here.
25485 * elf/tst-audit6.c: Likewise.
25487 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
25489 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25491 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25493 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25495 * po/cs.po: Update from translation team.
25496 * po/bg.po: Likewise.
25498 2011-07-12 Marek Polacek <mpolacek@redhat.com>
25500 * misc/sys/cdefs.h: Add support for const attribute.
25501 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25502 to gnu_dev_{major,minor,makedev} functions.
25504 2011-07-20 Marek Polacek <mpolacek@redhat.com>
25506 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25508 2011-07-20 Andreas Schwab <schwab@redhat.com>
25510 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25513 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25515 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25516 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25517 register in order to avoid conflicts with the soft frame pointer
25518 being held in r11 when necessary.
25519 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25520 (INTERNAL_VSYSCALL_NCS): Likewise.
25522 2011-07-14 Marek Polacek <mpolacek@redhat.com>
25524 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25525 * elf/dl-fini.c (_dl_fini): Adjust caller.
25526 * elf/dl-close.c (_dl_close_worker): Likewise.
25527 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25529 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25531 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25532 "aux_cache->nlibs < 0".
25534 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25535 in the reload-count case.
25537 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25539 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25540 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25541 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25542 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25543 * sysdeps/x86_64/multiarch/strcat.S: New file.
25544 * sysdeps/x86_64/multiarch/strncat.S: New file.
25545 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25546 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25547 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25548 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25549 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25550 (USE_AS_STRCAT): Define.
25551 Add strcat and strncat support.
25552 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25553 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25554 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25555 * string/strncat.c: Update.
25556 (USE_AS_STRNCAT): Define.
25557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25558 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25560 * sysdeps/x86_64/multiarch/init-arch.h
25561 (bit_Prefer_PMINUB_for_stringop): New.
25562 (index_Prefer_PMINUB_for_stringop): Likewise.
25563 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25564 bit_Prefer_PMINUB_for_stringop.
25566 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25568 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25570 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25571 of casting of buffer.
25572 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25573 buffer32 and buffer64.
25574 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25575 writes instead of casting of buffer.
25576 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25578 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25581 2011-07-19 Andreas Schwab <schwab@redhat.com>
25583 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25585 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25587 * nscd/nscd.c (termination_handler): Don't do anything for a database
25588 if it has not yet been initialized.
25590 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25592 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25594 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25596 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25598 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25600 * po/nl.po: Update from translation team.
25601 * po/sv.po: Likewise.
25603 2011-07-16 Roland McGrath <roland@hack.frob.com>
25605 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25606 now disallowed by GCC.
25608 * configure.in (use-default-link): Default to yes if a test -shared
25609 link meets our qualifications.
25610 * configure: Regenerated.
25612 * config.make.in (output-format): New variable.
25613 * configure.in: Check for ld --print-output-format support.
25614 * configure: Regenerated.
25615 * Makerules ($(common-objpfx)format.lds)
25616 [$(output-format) != unknown]: Just use $(output-format),
25617 instead of the linker-script munging.
25619 2011-07-14 Roland McGrath <roland@hack.frob.com>
25621 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25622 of $(common-objpfx)shlib.lds.
25623 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25625 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25626 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25628 * configure.in (-z relro check): Adjust test code to add a large
25629 writable data section after it.
25630 * configure: Regenerated.
25632 2011-07-11 Roland McGrath <roland@hack.frob.com>
25634 * configure.in (-z relro check): Fix test code to make the variable
25636 * configure: Regenerated.
25638 2011-07-11 Ulrich Drepper <drepper@gmail.com>
25640 * nscd/nscd.h (struct traced_file): Define.
25641 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25642 elements. Add traced_files.
25643 (inotify_fd): Declare.
25644 (register_traced_file): Declare.
25645 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25646 (inotify_fd): Export.
25647 (resolv_conf_descr): Remove.
25648 (nscd_init): Move inotify descriptor creation to main.
25649 Don't register files for notification here.
25650 (register_traced_file): New function.
25651 (invalidate_cache): Don't use reset_res to determine whether to call
25652 res_init, go through the list of registered files.
25653 (main_loop_poll): The inotify descriptors are now stored in the
25654 structures for the traced files.
25655 (main_loop_epoll): Likewise
25656 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25657 to __nss_disable_nscd.
25658 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25659 for a database anymore. Check the records for all the registered
25661 * nss/Makefile (libnss_files-routines): Add files-init.
25662 (libnss_db-routines): Add db-init.
25663 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25664 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25665 * nss/nss_db/db-init.c: New file.
25666 * nss/nss_files/files-init.c: New file.
25667 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25668 __nss_lookup_function.
25669 (__nss_lookup_function): Call nss_load_library.
25670 (nss_load_all_libraries): New function.
25671 (__nss_disable_nscd): Take parameter with callback function for files
25672 to register. Set is_nscd. Load all the DSOs for the NSS modules
25673 used for the cached services.
25674 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25675 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25676 options for features to all the files in nscd.
25678 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25680 2011-07-10 Roland McGrath <roland@hack.frob.com>
25682 * csu/elf-init.c (__libc_csu_init): Comment typo.
25684 2011-07-09 Ulrich Drepper <drepper@gmail.com>
25686 * po/pl.po: Update from translation team.
25687 * po/ja.po: Likewise.
25688 * po/ru.po: Likewise.
25689 * po/ko.po: Likewise.
25690 * po/fr.po: Likewise.
25692 2011-07-09 Roland McGrath <roland@hack.frob.com>
25694 * configure.in (.ctors/.dtors header and trailer check):
25695 Use an empirical test on a built program.
25696 * configure: Regenerated.
25698 * configure.in (-z relro check): Use an empirical test on a built DSO.
25699 Detect, but do not require, on ia64.
25700 * configure: Regenerated.
25702 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25703 Update tests that use readelf to use $READELF instead.
25704 * configure: Regenerated.
25706 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25708 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25709 if the result is not used.
25711 2011-07-05 Andreas Jaeger <aj@suse.de>
25714 * stdlib/tst-strtod.c: Add testcase.
25716 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25718 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25719 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25720 The latter has a higher limit. Take additional parameter to pass to
25722 (__pathconf): Pass file to __statfs_link_max.
25723 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25725 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25729 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25730 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25732 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25733 (__statfs_filesize_max): Likewise.
25734 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25736 2011-07-05 Andreas Jaeger <aj@suse.de>
25738 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25740 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25742 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25744 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25747 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25749 * Makefile (strop-tests): Add strncat.
25750 * string/test-strncat.c: New file.
25752 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25754 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25756 2011-06-21 Andreas Jaeger <aj@suse.de>
25758 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25759 Copy rule from iconvdata/Makefile.
25761 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25764 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25765 but no long options are defined, just return 'W'.
25767 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25770 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25772 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25774 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25776 (innetgr): Likewise.
25778 2011-07-05 Roland McGrath <roland@hack.frob.com>
25780 * config.make.in (install_root): Default to $(DESTDIR).
25782 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25784 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25786 2011-07-02 Roland McGrath <roland@hack.frob.com>
25788 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25790 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25791 containing directory rather than embedding absolute directory names.
25793 * scripts/check-local-headers.sh: Rewritten using awk.
25794 Match by word, not by line. Print error messages for matches.
25795 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25797 * Makerules [shlib-lds-flags empty]:
25798 ($(common-objpfx)libc_pic.opts): New target.
25799 ($(common-objpfx)libc_pic.os.clean): New target.
25800 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25802 * config.make.in (OBJCOPY): New variable.
25803 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25804 * configure: Regenerated.
25806 * config.make.in (use-default-link): New variable.
25807 * configure.in (use_default_link): Grok --with-default-link to set it.
25808 * configure: Regenerated.
25809 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25810 (shlib-lds, shlib-lds-flags): Define to empty.
25812 * Makerules (shlib-lds): New variable.
25813 (shlib-lds-flags): New variable.
25814 (build-shlib, build-moduile, build-module-asneeded): Use it.
25815 ($(common-objpfx)libc.so): Use $(shlib-lds).
25816 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25817 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25819 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25820 DT_FLAGS/DT_FLAGS_1 with zero flags.
25822 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25823 linker script munging.
25825 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25827 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25829 * crypt/sha512.c (sha512_process_block): Perform total addition using
25830 128-bit if possible.
25831 (__sha512_finish_ctx): Likewise.
25832 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25834 * crypt/sha256.c (SWAP64): Define.
25835 (sha256_process_block): Perform total addition using 64-bit if
25837 (__sha256_finish_ctx): Likewise.
25839 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25841 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25842 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25843 * nscd/hstcache.c (cache_addhst): Likewise.
25844 * nscd/grpcache.c (cache_addgr): Likewise.
25845 * nscd/aicache.c (addhstaiX): Likewise
25846 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25848 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25850 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25851 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25852 * nscd/hstcache.c (cache_addhst): Likewise.
25853 * nscd/grpcache.c (cache_addgr): Likewise.
25854 * nscd/aicache.c (addhstaiX): Likewise
25856 2011-07-01 Andreas Schwab <schwab@redhat.com>
25858 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25859 domain only when needed.
25861 2011-06-30 Andreas Schwab <schwab@redhat.com>
25863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25864 is always restored.
25866 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25868 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25869 are re-adding the entry.
25870 * nscd/servicescache.c (cache_addserv): Likewise.
25872 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25874 * sysdeps/generic/dl-irel.h: fix protection against multiple
25876 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25878 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25881 * malloc/memusage.sh: Fix quoting in message.
25882 * debug/xtrace.sh: Likewise.
25884 * configure.in: Remove support for --experimental-malloc option, make
25886 * config.make.in: Likewise.
25887 * malloc/Makefile: Likewise.
25889 2011-06-27 Andreas Schwab <schwab@redhat.com>
25891 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25892 two-byte characters.
25894 2011-06-27 Roland McGrath <roland@hack.frob.com>
25896 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25897 AC_CACHE_CHECK invocation.
25898 * configure: Regenerated.
25900 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25902 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25905 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25906 bit from old_res_options.
25908 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25910 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25911 value type for setfct.
25913 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25915 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25916 __gettimeofday instead of gettimeofday.
25918 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25920 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25922 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25924 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25926 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25929 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25931 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25932 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25933 strcpy-sse2-unaligned strncpy-sse2-unaligned
25934 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25935 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25936 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25937 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25938 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25939 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25940 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25941 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25942 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25943 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25944 (STRCPY): Support SSE2 and SSSE3 versions.
25946 2011-06-24 Ulrich Drepper <drepper@gmail.com>
25949 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25950 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25951 kernels which artificially limit size of requests.
25953 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25956 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25957 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25958 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25959 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25960 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25961 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25962 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25963 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25964 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25965 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25966 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25967 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25968 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25969 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25971 Enable unaligned load optimization for Intel Core i3, i5 and i7
25973 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25975 (index_Fast_Unaligned_Load): Define.
25976 (HAS_FAST_UNALIGNED_LOAD): Define.
25978 2011-06-23 Marek Polacek <mpolacek@redhat.com>
25980 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25982 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25985 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25986 until it is clear that the information is realy needed.
25987 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25989 2011-06-22 Andreas Schwab <schwab@redhat.com>
25991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25993 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25995 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25996 /sys/devices/system/cpu/online if it is usable.
25998 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25999 reading the information from the /proc filesystem to once a second.
26001 2011-06-21 Andreas Jaeger <aj@suse.de>
26003 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26004 NULL after inclusion of kernel headers.
26006 2011-06-21 Ulrich Drepper <drepper@gmail.com>
26008 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26009 calls to internal_setent.
26012 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26013 addresses using gethostbyname4_r ignore IPv4 addresses.
26015 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26016 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26018 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26020 2011-06-20 David S. Miller <davem@davemloft.net>
26022 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26024 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26026 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26027 (elf_irel): Use it.
26028 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26029 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26030 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26031 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26032 * sysdeps/x86_64/dl-irel.h: Likewise.
26034 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26035 * elf/dl-sym.c: Likewise.
26037 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26039 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26040 need to dereference resplen2.
26042 2011-06-14 Andreas Schwab <schwab@redhat.com>
26044 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26046 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26048 * Makeconfig: Define vardbdir and inst_vardbdir.
26049 * nss/Makefile: Add rules to install db-Makefile.
26051 * nss/nss_db/db-XXX.c: Cleanup.
26053 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26054 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26056 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26057 * nss/makedb.c: Implement -g option to specify that value strings
26058 are generated and should not be added to table iterated over for
26060 * nss/nss_db/db-initgroups.c: New file.
26062 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26065 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26066 (internal_getgrouplist): Adjust to name change.
26067 Update use_initgroups_entry if this is not the first call.
26068 * nss/databases.def: Add initgroups entry.
26070 * nss/makedb.c (compute_tables): Check result of multiple hash table
26071 sizes to minimize maximum chain length.
26073 2011-06-14 Ulrich Drepper <drepper@gmail.com>
26075 * Versions.def: Add entry for libnss_db.
26076 * shlib-versions: Likewise.
26077 * nss/Makefile: Add rules to build libnss_db.
26078 * nss/Versions: Add libnss_db information. Organize libnss_files
26080 * nss/db-Makefile: Add gshadow support. Change rules for the new
26081 makedb progra. Some minor improvements to generate smaller files.
26082 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26084 * nss/makedb.c: ...here.
26085 Improve database format to be smaller and require less memory at
26087 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26089 * nss/nss_db/db-netgrp.c: Likewise.
26090 * nss/nss_db/db-open.c: Likewise.
26091 * nss/nss_files/flies-XXX.x: Adjust comments.
26092 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26093 * nss/nss_files/files-grp.c: Likewise.
26094 * nss/nss_files/files-hosts.c: Likewise.
26095 * nss/nss_files/files-network.c: Likewise.
26096 * nss/nss_files/files-proto.c: Likewise.
26097 * nss/nss_files/files-pwd.c: Likewise.
26098 * nss/nss_files/files-rpc.c: Likewise.
26099 * nss/nss_files/files-service.c: Likewise.
26100 * nss/nss_files/files-sgrp.c: Likewise.
26101 * nss/nss_files/files-spwd.c: Likewise.
26102 * nss/nss_db/db-alias.c: Removed.
26103 * nss/nss_db/dummy-db.h: Removed.
26105 2011-06-02 Ulrich Drepper <drepper@gmail.com>
26107 * nss/makedb.c: Rewritten to not use database library.
26108 * nss/Makefile: Update to build new makedb program.
26110 2011-06-14 Andreas Jaeger <aj@suse.de>
26112 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26113 memset declaration.
26115 2011-06-10 Andreas Schwab <schwab@redhat.com>
26117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26120 2011-06-10 Roland McGrath <roland@hack.frob.com>
26122 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26123 * elf/Makefile ($(objpfx)ld.so): Likewise.
26125 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26126 Don't list ld.so twice in dependencies.
26128 * posix/bug-regex31.c: Include <stdlib.h>.
26130 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26132 * nis/nss_compat/compat-spwd.c
26133 (getspent_next_nss_netgr): Remove unused variable.
26134 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26136 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26137 nonmembers" output to use the right array.
26139 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26141 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26143 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26144 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26145 * catgets/gencat.c (read_input_file): Likewise.
26146 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26148 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26149 variable definition inside #if's controlling its use.
26151 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26153 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26155 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26157 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26160 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26162 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26163 * configure: Regenerated.
26165 * Makerules: Revert last change.
26166 * elf/Makefile: Likewise.
26168 2011-06-09 Roland McGrath <roland@hack.frob.com>
26170 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26171 * elf/Makefile ($(objpfx)librtld.os): Likewise.
26172 (reloc-link): Likewise.
26174 2011-06-09 Ulrich Drepper <drepper@gmail.com>
26176 * elf/Makefile: Add rules to build pldd.
26177 * elf/pldd.c: New file.
26178 * elf/pldd-xx.c: New file.
26180 2011-06-07 Ulrich Drepper <drepper@gmail.com>
26182 * version.h: Update for 2.15 development version.
26184 2011-06-07 David S. Miller <davem@davemloft.net>
26186 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26188 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26189 elf_machine_lazy_rel): Likewise.
26190 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26191 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26192 elf_machine_lazy_rel): Likewise.
26193 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26194 dl_hwcap via passed in argument.
26195 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26198 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26200 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26202 2011-06-06 Roland McGrath <roland@hack.frob.com>
26205 * manual/fdl-1.1.texi: New file, verbatim from:
26206 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26207 * manual/lgpl-2.1.texi: New file, verbatim from:
26208 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26209 * manual/Makefile (licenses): New variable, list those new file names.
26211 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26213 * manual/fdl.texi: File removed.
26214 * manual/lesser.texi: File removed.
26215 * manual/libc.texinfo (Copying, Documentation License):
26216 Use new @include file names, put @appendix directive before @include.
26218 2011-06-04 Jakub Jelinek <jakub@redhat.com>
26221 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26222 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26223 (mq_open): Add __NTH.
26225 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26228 Assume Intel Core i3/i5/i7 processor if AVX is available.
26230 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26232 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26235 2011-05-31 Andreas Schwab <schwab@redhat.com>
26237 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26238 memory. Use alloca_account. Fix memory leak when retrying.
26240 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26242 * version.h (RELEASE): Bump for 2.14 release.
26243 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26245 * config.make.in (RANLIB): Remove entry.
26247 2011-05-30 Ulrich Drepper <drepper@gmail.com>
26249 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26250 (libc.pot): Work around missing support for .ksh extension in xgettext.
26253 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26254 if both request failed.
26255 (send_dg): In case of server errors clear resplen or *resplen2.
26258 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26259 when there are multiple maps.
26260 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26261 (_dl_fini): Remove test here.
26263 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26265 2011-05-29 Ulrich Drepper <drepper@gmail.com>
26268 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26269 bit from old_res_options.
26270 (gaih_inet): Likewise.
26273 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
26276 * resolv/res_init.c (res_setoptions): Make the code more compact.
26279 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26283 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26285 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26288 * malloc/malloc.h: Declare malloc hook variables as volatile.
26290 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26294 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
26295 raise in the comment.
26296 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26297 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26298 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
26300 2011-05-28 Ulrich Drepper <drepper@gmail.com>
26303 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26304 grow the buffers more if it already has to be sufficient.
26305 (build_wcs_upper_buffer): Likewise.
26306 * posix/regexec.c (check_matching): Likewise.
26307 (clean_state_log_if_needed): Likewise.
26308 (extend_buffers): Don't enlarge buffers beyond size of the input
26310 Patches mostly by Emil Wojak <emil@wojak.eu>.
26311 * posix/bug-regex32.c: New file.
26312 * posix/Makefile (tests): Add bug-regex32.
26314 * locale/findlocale.c (_nl_find_locale): Return right away if
26315 _nl_explode_name failed.
26316 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26318 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26320 * debug/xtrace.sh: Unify messages.
26321 * malloc/memusage.sh: Likewise.
26324 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26325 time symbol from vDSO. Substitute with vsyscall if not available.
26326 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26329 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26330 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26331 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26332 Add sendmmsg and internal_sendmmsg.
26333 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26334 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26335 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26337 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26338 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26339 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26341 2011-05-27 Ulrich Drepper <drepper@gmail.com>
26344 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26345 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26347 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26351 * iconvdata/Makefile (tests): Add bug-iconv9.
26352 * iconvdata/bug-iconv9.c: New file.
26354 2011-05-27 Andreas Schwab <schwab@redhat.com>
26357 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26359 2011-05-25 Jakub Jelinek <jakub@redhat.com>
26361 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26362 (struct user_regs_struct): Change intcs field back to cs.
26364 2011-05-25 Ulrich Drepper <drepper@gmail.com>
26366 * po/ja.po: Update from translation team.
26368 2011-05-23 Ulrich Drepper <drepper@gmail.com>
26371 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26372 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26374 2011-05-20 Andreas Schwab <schwab@redhat.com>
26376 * stdlib/longlong.h: Update from GCC.
26378 2011-05-23 Andreas Schwab <schwab@redhat.com>
26380 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26382 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26383 Add parameter name.
26384 (__sysconf): Pass it down.
26386 2011-05-22 Ulrich Drepper <drepper@gmail.com>
26389 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26391 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26392 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26393 add in in __libc_use_alloca calls. Adjust callers.
26394 (glob): Use malloc in some situations.
26396 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26397 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26400 2011-05-21 Ulrich Drepper <drepper@gmail.com>
26402 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26403 and CLOCK_BOOTTIME_ALARM.
26406 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26409 * string/_strerror.c (__strerror_r): Print negative errors as signed
26413 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26414 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26415 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26417 * configure.in: Fix typo in redirection and correct removal of test
26418 files in two cases.
26421 * locale/setlocale.c (new_composite_name): Fix test to check for
26422 identical name of all categories.
26425 * libio/filedoalloc.c (local_isatty): New function.
26426 (_IO_file_doallocate): Use local_isatty.
26427 * stdio-common/perror.c (perror): In case a new stream is used
26428 forward the stream error.
26429 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26432 2011-05-20 Ulrich Drepper <drepper@gmail.com>
26435 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26437 * include/alloca.h (extend_alloca_account): Define.
26440 * posix/regex.h: Fix comments with documentation of user-accessible
26441 fields after compilation and describe correct free'ing of pattern
26442 after re_compile_pattern.
26443 Patch by Reuben Thomas <rrt@sc3d.org>.
26445 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26447 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26448 and -mno-altivec to prevent the compiler from using Altivec and/or
26449 VSX instructions when the corresponding registers are not available.
26451 2011-05-19 Andreas Schwab <schwab@redhat.com>
26453 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26455 2011-05-19 Ulrich Drepper <drepper@gmail.com>
26457 * libio/freopen.c (freopen): Use __dup2, not dup2.
26458 * libio/freopen64.c (freopen64): Likewise.
26460 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26463 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26464 * math/Makefile (tests): Add test-powl.
26465 (CFLAGS-test-powl.c): Define.
26466 * math/test-powl.c: New file.
26468 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26470 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26472 2011-05-17 Ulrich Drepper <drepper@gmail.com>
26475 * iconvdata/gb18030.c: Update to GB18020-2005.
26477 2011-05-16 Ulrich Drepper <drepper@gmail.com>
26479 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26480 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26481 Patch by Aharon Robbins <arnold@skeeve.com>.
26484 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26488 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26489 through underflows.
26492 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26493 point to strings before performing equality test for error_one_per_line
26497 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26500 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26501 (struct user_fpregs_struct): Avoid __uint*_t types.
26504 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26505 symbol info. Use it instead of calling _dl_addr locally.
26506 (lock_and_info): New function.
26507 (tr_freehook): Call lock_and_info and pass symbol info as additional
26508 parameter to tr_where.
26509 (tr_mallochook): Likewise.
26510 (tr_reallochook): Likewise.
26511 (tr_memalignhook): Likewise.
26513 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26514 used and couldn't be at all thread-safe.
26516 2011-05-15 Ulrich Drepper <drepper@gmail.com>
26518 * libio/freopen.c (freopen): Don't close old file descriptor
26519 before the new one is opened. Instead dup the new file descriptor
26520 to the old one after the new stream is created.
26521 * libio/freopen64.c (freopen64): Likewise.
26522 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26523 * libio/fileops.c (_IO_new_file_close_it): Handle new
26524 _IO_FLAGS2_NOCLOSE flag.
26525 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26526 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26527 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26528 _IO_FLAGS2_NOCLOSE flag.
26529 * include/unistd.h: Add hidden_proto for dup3.
26530 Define __have_dup3.
26531 * io/dup3.c: Define hidden symbol.
26532 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26535 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26536 when an incomplete long option is used.
26537 * posix/tst-getopt_long1.c: New file.
26538 * posix/Makefile (tests): Add tst-getopt_long1.
26541 * scripts/config.guess: Update from autoconf-2.68.
26542 * scripts/config.sub: Likewise.
26545 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26547 (has_cpuclock): ...this. New function.
26548 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26549 macro here based on has_cpuclock code.
26552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26553 First byte (not low byte) is now always NUL.
26554 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26556 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26557 Use non-cancelable interfaces.
26560 * locale/iso-639.def: Add entry for Sorani.
26563 * include/stdlib.h: Move include protection to the right place.
26564 Define abort_msg_s. Declare __abort_msg with it.
26565 * stdlib/abort.c (__abort_msg): Adjust type.
26566 * assert/assert.c (__assert_fail_base): New function. Majority
26567 of code from __assert_fail. Allocate memory for __abort_msg with
26569 (__assert_fail): Now call __assert_fail_base.
26570 * assert/assert-perr.c: Remove bulk of implementation. Use
26571 __assert_fail_base.
26572 * include/assert.hL Declare __assert_fail_base.
26573 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26575 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26577 2011-05-14 Ulrich Drepper <drepper@gmail.com>
26581 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26582 until all modules are registered in the DTV.
26583 * elf/Makefile: Add rules to build and run tst-tls19.
26584 * elf/tst-tls19.c: New file.
26585 * elf/tst-tls19mod1.c: New file.
26586 * elf/tst-tls19mod2.c: New file.
26587 * elf/tst-tls19mod3.c: New file.
26588 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26591 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26595 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26596 two-byte sequence errors.
26597 * iconvdata/Makefile (tests): Add bug-iconv8.
26598 * iconvdata/bug-iconv8.c: New file.
26601 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26604 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26607 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26608 (dummy_getcfa): New function.
26609 (init): Get _Unwind_GetCFA address, use dummy if not found.
26610 (backtrace_helper): In recursion check, also check whether CFA changes.
26611 (__backtrace): Completely initialize arg.
26613 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26614 storing incomplete byte sequence in state object. Avoid testing for
26615 guaranteed too small input if we know there is enough data available.
26617 2011-05-11 Andreas Schwab <schwab@redhat.com>
26619 * Makeconfig (+link-pie): Indent.
26620 * Rules (binaries-pie): Define if $(have-fpie) and
26622 (binaries-shared): Also filter out $(binaries-pie).
26623 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26624 * nscd/Makefile (others-pie): Add nscd.
26625 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26626 ($(objpfx)nscd): Remove command override.
26627 * login/Makefile (others-pie): Add pt_chown.
26628 ($(objpfx)pt_chown): Remove command override.
26629 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26630 remove command overrides.
26632 2011-05-13 Ulrich Drepper <drepper@gmail.com>
26634 * libio/tst_putwc.c: Fix error messages.
26637 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26638 currently writing and seek to current position when not.
26639 * libio/Makefile (tests): Add bug-fclose1.
26640 * libio/bug-fclose1.c: New file.
26642 2011-05-12 Ulrich Drepper <drepper@gmail.com>
26645 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26646 don't set DF_1_NODELETE here.
26647 (do_lookup_x): When entering new entry test for copy relocation
26648 and if necessary set DF_1_NODELETE flag.
26649 * elf/tst-unique4.cc: New file.
26650 * elf/tst-unique4.h: New file.
26651 * elf/tst-unique4lib.cc: New file.
26652 * elf/Makefile: Add rules to build and run tst-unique4.
26653 Patch by Piotr Bury <pbury@goahead.com>.
26655 2011-05-11 Ulrich Drepper <drepper@gmail.com>
26658 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26661 * misc/mntent_r.c (addmntent): Flush the stream after the output
26664 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26665 (is_trusted_path_normalize): Skip initial colon. Append slash
26666 to empty buffer. Duplicate is_trusted_path code but allow
26667 constructed patch to be prefix.
26668 (is_dst): Allow $ORIGIN followed by /.
26669 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26670 Correct testing of result of is_trusted_path_normalize
26671 (decompose_rpath): Fix warning.
26673 2011-05-10 Ulrich Drepper <drepper@gmail.com>
26676 * grp/initgroups.c (internal_getgrouplist): When we found the service
26677 list through the initgroups entry in nsswitch.conf do not always
26678 continue on a successful lookup. Don't always use the
26679 __nss_group_database value if it is set.
26680 * nss/nsswitch.conf (initgroups): Change action for successful db
26681 lookup to continue for compatibility.
26683 2011-05-09 Ulrich Drepper <drepper@gmail.com>
26686 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26688 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26690 * iconvdata/tst-tables.sh: Likewise.
26691 * iconvdata/cp770.c: New file.
26692 * iconvdata/cp771.c: New file.
26693 * iconvdata/cp772.c: New file.
26694 * iconvdata/cp773.c: New file.
26695 * iconvdata/cp774.c: New file.
26696 * iconvdata/testdata/CP770: New file.
26697 * iconvdata/testdata/CP770..UTF8: New file.
26698 * iconvdata/testdata/CP771: New file.
26699 * iconvdata/testdata/CP771..UTF8: New file.
26700 * iconvdata/testdata/CP772: New file.
26701 * iconvdata/testdata/CP772..UTF8: New file.
26702 * iconvdata/testdata/CP773: New file.
26703 * iconvdata/testdata/CP773..UTF8: New file.
26704 * iconvdata/testdata/CP774: New file.
26705 * iconvdata/testdata/CP774..UTF8: New file.
26707 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26709 * iconvdata/gen-8bit-gap.sh: Likewise.
26710 * iconvdata/gen-8bit.sh: Likewise.
26712 * locale/iso-639.def: Add ary entry.
26715 * locale/C-translit.h.in: Add U20A1 transliteration.
26718 * locale/iso-639.def: Add wae entry.
26719 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26722 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26726 * locale/C-translit.h.in: Add entry for U20B9.
26727 Patch by pravin.d.s@gmail.com.
26729 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26732 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26733 ENAMETOOLONG use generic getcwd.
26734 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26735 in rtld. Use *stat64.
26736 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26737 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26738 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26739 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26740 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26741 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26742 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26743 __fstatat64 macros.
26744 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26745 * dirent/rewinddir.c: Add libc_hidden_def.
26746 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26747 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26749 * include/dirent.h (__alloc_dir): Add flags parameter.
26750 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26751 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26753 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26754 from fdopendir if O_CLOEXEC is already set.
26756 2011-03-15 Alan Modra <amodra@gmail.com>
26758 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26759 l_tls_firstbyte_offset non-zero. Save padding offset in
26760 l_tls_firstbyte_offset for later use.
26761 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26762 freeing static tls block.
26764 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26766 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26767 where #ifdef was intended. The intent is to prevent ARG_MAX from
26768 being defined by the kernel headers.
26770 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26773 * resolv/resolv.h: Define RES_NOTLDQUERY.
26774 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26775 no-tld-query and set RES_NOTLDQUERY.
26776 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26777 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26778 modern BIND to search name as TLD unless forbidden.
26780 2011-05-07 Petr Baudis <pasky@suse.cz>
26781 Ulrich Drepper <drepper@gmail.com>
26784 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26785 (is_trusted_path): ...to here.
26786 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26787 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26788 using is_trusted_path_normalize() in setuid scripts.
26790 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26792 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26793 __BEGIN/__END_DECLS.
26795 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26797 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26798 NSS_STATUS_NOTFOUND if no record was found.
26800 2011-05-05 Andreas Schwab <schwab@redhat.com>
26802 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26803 (headers-not-in-tirpc): Remove rpc/netdb.h
26804 * resolv/netdb.h: Revert last change.
26806 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26808 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26809 circular dependency between libgcc.a and libc.a.
26811 2011-05-05 Andreas Schwab <schwab@redhat.com>
26813 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26814 * nis/Makefile: Don't install rpcsvc/*.
26815 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26816 instead of <rpc/types.h>.
26817 (MAXHOSTNAMELEN): Define.
26819 2011-05-03 Andreas Schwab <schwab@redhat.com>
26821 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26823 2011-04-28 Maciej Babinski <mbabinski@google.com>
26826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26827 gethostbyname4_r when IPv6 results are possible.
26829 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26832 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26833 _PC_PIPE_BUF handling.
26835 2011-04-30 Bruno Haible <bruno@clisp.org>
26838 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26839 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26841 * inet/getnameinfo.c (getnameinfo): Likewise.
26843 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26845 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26846 to groups setting in database lookup.
26847 * nss/nsswitch.conf: Add initgroups entry.
26849 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26852 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26854 Patch by Eric Blake <eblake@redhat.com>.
26856 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26858 * sunrpc/Makefile (need-export-routines): Add svc_run.
26859 (routines): Remove svc_run.
26860 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26861 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26862 * sunrpc/svc_run.c (svc_run): Likewise.
26863 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26865 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26867 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26868 problem in reallocation in last patch.
26870 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26872 * sunrpc/Makefile: Move inclusion of Rules.
26874 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26876 * nss/nss_files/files-initgroups.c: New file.
26877 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26878 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26879 _nss_files_initgroups_dyn.
26881 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26883 * elf/elf.h (R_ARM_IRELATIVE): Define.
26885 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26887 * po/ru.po: Update from translation team.
26889 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26891 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26894 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26897 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26898 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26899 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26900 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26901 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26903 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26905 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26907 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26908 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26909 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26911 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26914 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26916 * stdlib/bug-getcontext.c: New file.
26917 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26919 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26921 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26922 instructions into .machine "z9-109".
26923 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26924 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26926 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26928 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26929 between environment variables and auxiliary vector.
26931 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26933 * Makefile: Add rules to build linkobj/libc.so.
26934 * include/libc-symbols.h: Define libc_hidden_nolink.
26935 * include/rpc/auth.h: Mark functions which are to be hidden.
26936 * include/rpc/auth_des.h: Likewise.
26937 * include/rpc/auth_unix.h: Likewise.
26938 * include/rpc/clnt.h: Likewise.
26939 * include/rpc/des_crypt.h: Likewise.
26940 * include/rpc/key_prot.h: Likewise.
26941 * include/rpc/pmap_clnt.h: Likewise.
26942 * include/rpc/pmap_prot.h: Likewise.
26943 * include/rpc/pmap_rmt.h: Likewise.
26944 * include/rpc/rpc_msg.h: Likewise.
26945 * include/rpc/svc.h: Likewise.
26946 * include/rpc/svc_auth.h: Likewise.
26947 * include/rpc/xdr.h: Likewise.
26948 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26949 * nss/Makefile: Likewise.
26950 * sunrpc/Makefile: Don't install headers. Build library with normal
26951 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26952 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26953 for the compat linking library. Remove use of INTDEF/INTUSE.
26954 * sunrpc/auth_none.c: Likewise.
26955 * sunrpc/auth_unix.c: Likewise.
26956 * sunrpc/authdes_prot.c: Likewise.
26957 * sunrpc/authuxprot.c: Likewise.
26958 * sunrpc/clnt_gen.c: Likewise.
26959 * sunrpc/clnt_perr.c: Likewise.
26960 * sunrpc/clnt_raw.c: Likewise.
26961 * sunrpc/clnt_simp.c: Likewise.
26962 * sunrpc/clnt_tcp.c: Likewise.
26963 * sunrpc/clnt_udp.c: Likewise.
26964 * sunrpc/clnt_unix.c: Likewise.
26965 * sunrpc/des_crypt.c: Likewise.
26966 * sunrpc/des_soft.c: Likewise.
26967 * sunrpc/get_myaddr.c: Likewise.
26968 * sunrpc/key_call.c: Likewise.
26969 * sunrpc/key_prot.c: Likewise.
26970 * sunrpc/netname.c: Likewise.
26971 * sunrpc/pm_getmaps.c: Likewise.
26972 * sunrpc/pm_getport.c: Likewise.
26973 * sunrpc/pmap_clnt.c: Likewise.
26974 * sunrpc/pmap_prot.c: Likewise.
26975 * sunrpc/pmap_prot2.c: Likewise.
26976 * sunrpc/pmap_rmt.c: Likewise.
26977 * sunrpc/publickey.c: Likewise.
26978 * sunrpc/rpc_cmsg.c: Likewise.
26979 * sunrpc/rpc_common.c: Likewise.
26980 * sunrpc/rpc_dtable.c: Likewise.
26981 * sunrpc/rpc_prot.c: Likewise.
26982 * sunrpc/rpc_thread.c: Likewise.
26983 * sunrpc/rtime.c: Likewise.
26984 * sunrpc/svc.c: Likewise.
26985 * sunrpc/svc_auth.c: Likewise.
26986 * sunrpc/svc_authux.c: Likewise.
26987 * sunrpc/svc_raw.c: Likewise.
26988 * sunrpc/svc_run.c: Likewise.
26989 * sunrpc/svc_simple.c: Likewise.
26990 * sunrpc/svc_tcp.c: Likewise.
26991 * sunrpc/svc_udp.c: Likewise.
26992 * sunrpc/svc_unix.c: Likewise.
26993 * sunrpc/svcauth_des.c: Likewise.
26994 * sunrpc/xcrypt.c: Likewise.
26995 * sunrpc/xdr.c: Likewise.
26996 * sunrpc/xdr_array.c: Likewise.
26997 * sunrpc/xdr_float.c: Likewise.
26998 * sunrpc/xdr_intXX_t.c: Likewise.
26999 * sunrpc/xdr_mem.c: Likewise.
27000 * sunrpc/xdr_rec.c: Likewise.
27001 * sunrpc/xdr_ref.c: Likewise.
27002 * sunrpc/xdr_sizeof.c: Likewise.
27003 * sunrpc/xdr_stdio.c: Likewise.
27005 2011-04-10 Ulrich Drepper <drepper@gmail.com>
27008 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27009 * sysdeps/ia64/dl-tls.h: Likewise.
27010 * sysdeps/powerpc/dl-tls.h: Likewise.
27011 * sysdeps/s390/dl-tls.h: Likewise.
27012 * sysdeps/sh/dl-tls.h: Likewise.
27013 * sysdeps/sparc/dl-tls.h: Likewise.
27014 * sysdeps/x86_64/dl-tls.h: Likewise.
27015 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27017 2011-03-14 Andreas Schwab <schwab@redhat.com>
27019 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27020 rpath element also skip the following colon.
27021 (expand_dynamic_string_token): Add is_path parameter and pass
27022 down to DL_DST_REQUIRED and _dl_dst_substitute.
27023 (decompose_rpath): Call expand_dynamic_string_token with
27024 non-zero is_path. Ignore empty rpaths.
27025 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27028 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27033 2011-04-09 Ulrich Drepper <drepper@gmail.com>
27036 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27037 Patch by Filipe David Manana <fdmanana@apache.org>.
27039 2011-04-07 Andreas Schwab <schwab@redhat.com>
27041 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27042 Maintain aligned stack.
27043 (CHECK_RSP): Remove unused macro.
27045 2011-04-03 Ulrich Drepper <drepper@gmail.com>
27047 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27048 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27050 2011-04-02 Ulrich Drepper <drepper@gmail.com>
27052 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27054 * include/features.h: Mention __USE_XOPEN2K8 in comment.
27056 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27059 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27060 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27061 * sysdeps/x86_64/memmove.c: New file.
27062 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27063 (memcpy): Renamed to ...
27064 (__new_memcpy): This.
27065 (memcpy): Provide GLIBC_2_14 memcpy.
27066 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27067 (memcpy): Provide GLIBC_2_2_5 memcpy.
27069 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27072 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27074 2011-03-30 Andreas Schwab <schwab@redhat.com>
27076 * misc/syncfs.c: New file.
27077 * misc/Makefile (routines): Add syncfs.
27078 * posix/unistd.h: Declare syncfs.
27079 * sysdeps/unix/syscalls.list: Add syncfs.
27081 2011-04-01 Andreas Schwab <schwab@redhat.com>
27083 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27085 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27086 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27087 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27088 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27089 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27090 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27091 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27093 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27095 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27096 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27097 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27098 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27099 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27100 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27101 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27103 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27104 sync_file_range.c with -fexceptions.
27105 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27106 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27107 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27108 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27109 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27110 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27111 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
27112 sync_file_range as cancellation point
27113 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27114 now a wrapper around __call_sync_file_range with cancellation handling.
27115 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27116 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27117 function name to __call_sync_file_range.
27118 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27119 Add call_sync_file_range.
27121 2011-04-01 Andreas Schwab <schwab@redhat.com>
27123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27126 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27128 * iconv/iconv.h: Fix typo in comment.
27129 * io/fcntl.h: Likewise.
27130 * libio/stdio.h: Likewise.
27131 * posix/spawn.h: Likewise.
27132 * posix/unistd.h: Likewise.
27133 * stdlib/stdlib.h: Likewise.
27134 * time/time.h: Likewise.
27135 * wcsmbs/wchar.h: Likewise.
27137 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27138 open_by_handle): Add.
27139 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27140 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27141 Augment a few comments.
27142 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27143 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27144 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27145 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27146 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27147 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27150 * io/fcntl.h (AT_EMPTY_PATH): Define.
27152 2011-03-30 Ulrich Drepper <drepper@gmail.com>
27154 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27155 * sysdeps/unix/sysv/linux/bits/time.h: New file.
27156 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27158 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
27159 * Versions.def: Add GLIBC_2.14.
27160 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27163 2011-03-22 Ulrich Drepper <drepper@gmail.com>
27165 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27167 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27169 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
27172 * string/test-strncmp.c (do_page_test): New function.
27173 (check2): Likewise.
27174 (test_main): Call check2.
27175 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27177 2011-03-20 Ulrich Drepper <drepper@gmail.com>
27180 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27181 Handle cache information in CPU leaf 4.
27182 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27184 2011-03-18 Ulrich Drepper <drepper@gmail.com>
27187 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27188 character representation.
27189 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27191 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27193 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27194 END(__isnan) to END(__isnanf) to match function entry point/label
27195 EALIGN(__isnanf,...).
27197 2011-03-10 Jakub Jelinek <jakub@redhat.com>
27199 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27201 2011-03-10 Ulrich Drepper <drepper@gmail.com>
27204 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27205 copy from the symbol referenced in the relocation to initialize the
27207 Patch by Piotr Bury <pbury@goahead.com>.
27208 * elf/Makefile: Add rules to build and tst-unique3.
27209 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27210 * elf/tst-unique3.cc: New file.
27211 * elf/tst-unique3.h: New file.
27212 * elf/tst-unique3lib.cc: New file.
27213 * elf/tst-unique3lib2.cc: New file.
27215 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27217 2011-03-10 Mike Frysinger <vapier@gentoo.org>
27219 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27220 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27223 2011-03-06 Ulrich Drepper <drepper@gmail.com>
27225 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27226 to-be-loaded object along a path to loader is ld.so.
27228 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27229 Ulrich Drepper <drepper@gmail.com>
27231 * sysdeps/x86_64/memset.S: After aligning destination, code
27232 branches to different locations depending on the value of
27233 misalignment, when multiarch is enabled. Fix this.
27235 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27237 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27238 Set _x86_64_preferred_memory_instruction for AMD processsors.
27239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27240 Set bit_Prefer_SSE_for_memop for AMD processors.
27242 2011-03-04 Ulrich Drepper <drepper@gmail.com>
27244 * libio/fmemopen.c (fmemopen): Optimize a bit.
27246 2011-03-03 Andreas Schwab <schwab@redhat.com>
27248 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27250 2011-03-03 Roland McGrath <roland@redhat.com>
27252 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27254 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27256 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
27257 __bzero_ultra1 instead of __memset_ultra1.
27259 2011-02-23 Andreas Schwab <schwab@redhat.com>
27260 Ulrich Drepper <drepper@gmail.com>
27263 * include/link.h (struct link_map): Add l_orig_initfini.
27264 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27265 returning unsuccessfully.
27266 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27267 close of a file loaded at startup, restore the original l_initfini
27269 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27270 list, store the pointer.
27271 * elf/Makefile ($(objpfx)noload-mem): New rule.
27272 (noload-ENV): Define.
27273 (tests): Add $(objpfx)noload-mem.
27274 * elf/noload.c: Include <memcheck.h>.
27275 (main): Call mtrace. Close all opened handles.
27277 2011-02-17 Andreas Schwab <schwab@redhat.com>
27280 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27281 dependencies are missing.
27283 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27285 Fix __if_freereq crash: Unlike the generic version which uses free,
27287 * sysdeps/mach/hurd/ifreq.h: New file.
27289 2011-01-27 Petr Baudis <pasky@suse.cz>
27290 Ulrich Drepper <drepper@gmail.com>
27293 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27294 to extend_alloca().
27295 * stdio-common/bug23.c: New file.
27296 * stdio-common/Makefile (tests): Add bug23.
27298 2010-09-28 Andreas Schwab <schwab@redhat.com>
27299 Ulrich Drepper <drepper@gmail.com>
27302 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27303 before performing relro protection. At old place add assertion
27304 to make sure nothing changed.
27306 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27307 Glauber de Oliveira Costa <glommer@gmail.com>
27309 * elf/elf.h: Add new ARM TLS relocs.
27311 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27314 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27316 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27318 * sysdeps/wordsize-64/tst-writev.c: New file.
27320 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27322 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27323 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27324 insns in _dl_start to prevent a TOC reference before relocs are
27327 2011-02-15 Ulrich Drepper <drepper@gmail.com>
27330 * Makeconfig: Remove RANLIB definition.
27331 * Makerules: Don't use RANLIB.
27332 * aclocal.m4: Remove ranlib test.
27333 * configure.in: No need to check for ranlib.
27334 * elf/rtld-Rules: Don't use RANLIB.
27336 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27338 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27340 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27341 inclusion protection macro.
27343 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27344 SIGRTMIN and SIGRTMAX and print information in that case only when
27345 SIGRTMIN is defined.
27347 2011-02-11 Jakub Jelinek <jakub@redhat.com>
27349 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27350 arginfo fn returning -1.
27352 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27353 and thousands string is zero terminated.
27355 2011-02-03 Andreas Schwab <schwab@redhat.com>
27357 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27358 sysdeps/unix/sysv/linux/bits/socket.h.
27360 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27362 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27363 (__CPU_COUNT): Remove old macros.
27364 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27365 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27366 (__CPU_ALLOC, __CPU_FREE): Add macros.
27367 (__sched_cpualloc, __sched_cpufree): Add declarations.
27369 2011-02-05 Ulrich Drepper <drepper@gmail.com>
27371 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27372 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27373 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27374 (readdhstai): Return value of addhstaiX call.
27375 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27376 (addgrbyX): Return value returned by cache_addgr.
27377 (readdgrbyname): Return value returned by addgrbyX.
27378 (readdgrbygid): Likewise.
27379 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27380 (addpwbyX): Return value returned by cache_addpw.
27381 (readdpwbyname): Return value returned by addhstbyX.
27382 (readdpwbyuid): Likewise.
27383 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27384 (addservbyX): Return value returned by cache_addserv.
27385 (readdservbyname): Return value returned by addservbyX:
27386 (readdservbyport): Likewise.
27387 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27388 (addhstbyX): Return value returned by cache_addhst.
27389 (readdhstbyname): Return value returned by addhstbyX.
27390 (readdhstbyaddr): Likewise.
27391 (readdhstbynamev6): Likewise.
27392 (readdhstbyaddrv6): Likewise.
27393 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27394 (readdinitgroups): Return value returned by addinitgroupsX.
27395 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27396 (prune_cache): Keep track of timeout value of re-added entries.
27397 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27398 * nscd/nscd.h: Adjust prototypes of readd* functions.
27400 2011-02-04 Roland McGrath <roland@redhat.com>
27402 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27403 (nis_stats): Likewise.
27404 * nis/nis_modify.c (nis_modify): Likewise.
27405 * nis/nis_remove.c (nis_remove): Likewise.
27406 * nis/nis_add.c (nis_add): Likewise.
27408 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27410 * posix/fnmatch_loop.c: Add some consts.
27412 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27414 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27417 * config.make.in (config-cflags-novzeroupper): Define.
27418 * configure.in: Substitute libc_cv_cc_novzeroupper.
27419 * elf/Makefile (AVX-CFLAGS): Define.
27420 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27421 (CFLAGS-tst-auditmod4a.c): Likewise.
27422 (CFLAGS-tst-auditmod4b.c): Likewise.
27423 (CFLAGS-tst-auditmod6b.c): Likewise.
27424 (CFLAGS-tst-auditmod6c.c): Likewise.
27425 (CFLAGS-tst-auditmod7b.c): Likewise.
27426 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27428 2011-02-02 Ulrich Drepper <drepper@gmail.com>
27430 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27431 function to the callback.
27432 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27434 2011-02-02 Andreas Schwab <schwab@redhat.com>
27436 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27439 2011-01-19 Ulrich Drepper <drepper@gmail.com>
27442 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27444 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27446 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27449 * elf/Makefile: Add rules to build and run new test.
27450 * elf/tst-initorder.c: New file.
27451 * elf/tst-initorder.exp: New file.
27452 * elf/tst-initordera1.c: New file.
27453 * elf/tst-initordera2.c: New file.
27454 * elf/tst-initordera3.c: New file.
27455 * elf/tst-initordera4.c: New file.
27456 * elf/tst-initorderb1.c: New file.
27457 * elf/tst-initorderb2.c: New file.
27458 * elf/tst-order-a1.c: New file.
27459 * elf/tst-order-a2.c: New file.
27460 * elf/tst-order-a3.c: New file.
27461 * elf/tst-order-a4.c: New file.
27462 * elf/tst-order-b1.c: New file.
27463 * elf/tst-order-b2.c: New file.
27464 * elf/tst-order-main.c: New file.
27465 New test case by George Gensure <werkt0@gmail.com>.
27467 2010-10-01 Andreas Schwab <schwab@redhat.com>
27469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27470 decoding ACE if AI_CANONIDN.
27472 2011-01-18 Ulrich Drepper <drepper@gmail.com>
27474 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27476 2011-01-17 Ulrich Drepper <drepper@gmail.com>
27478 * version.h (RELEASE): Bump for 2.13 release.
27479 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27481 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27483 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27485 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27486 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27487 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27488 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27489 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27490 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27492 * posix/getconf.c: Update copyright year.
27493 * catgets/gencat.c: Likewise.
27494 * csu/version.c: Likewise.
27495 * debug/catchsegv.sh: Likewise.
27496 * debug/xtrace.sh: Likewise.
27497 * elf/ldconfig.c: Likewise.
27498 * elf/ldd.bash.in: Likewise.
27499 * elf/sprof.c (print_version): Likewise.
27500 * iconv/iconv_prog.c: Likewise.
27501 * iconv/iconvconfig.c: Likewise.
27502 * locale/programs/locale.c: Likewise.
27503 * locale/programs/localedef.c: Likewise.
27504 * malloc/memusage.sh: Likewise.
27505 * malloc/mtrace.pl: Likewise.
27506 * nscd/nscd.c (print_version): Likewise.
27507 * nss/getent.c: Likewise.
27509 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27510 PF_CAIF, and PF_ALG.
27511 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27513 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27515 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27516 (modules-names): Use them.
27517 (ifunc-test-modules, ifunc-pie-tests): Define.
27518 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27519 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27520 (test-extras): Likewise.
27521 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27522 $(compile-command.c).
27523 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27524 (all-built-dso): Define.
27525 (check-textrel.out, check-execstack.out): Depend on it.
27527 * configure.in: Don't override --enable-multi-arch.
27529 2011-01-15 Ulrich Drepper <drepper@gmail.com>
27532 * nscd/hstcache.c (tryagain): Define.
27533 (cache_addhst): Return tryagain not notfound for temporary errors.
27534 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27537 2011-01-14 Ulrich Drepper <drepper@gmail.com>
27540 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27541 to make the syscall.
27542 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27545 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27546 and fall back to matching as normal character if the string ends before
27547 the matching ']' is found. This is what POSIX requires.
27548 * posix/testfnm.c: Adjust test result.
27549 * posix/globtest.sh: Adjust test result. Add new test.
27550 * posix/tst-fnmatch.input: Likewise.
27551 * posix/tst-fnmatch2.c: Add new test.
27553 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27555 * elf/Makefile (check-execstack): Revert last change. Depend on
27557 (check-execstack.h): New target.
27558 (generated): Add check-execstack.h.
27559 * elf/check-execstack.c: Include "check-execstack.h".
27560 (main): Revert last change.
27561 (handle_file): Return zero if GNU_STACK is absent and
27562 DEFAULT_STACK_PERMS doesn't include PF_X.
27564 2011-01-13 Ulrich Drepper <drepper@gmail.com>
27566 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27567 in child fails because the descriptor is already closed.
27568 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27569 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27570 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
27573 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27577 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27578 temporary buffer used to handle multi lookups locally.
27579 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
27581 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27583 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27586 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27588 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27589 alignment for SSE2.
27591 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27594 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27595 characters. When rounding increased number of integer digits recompute
27597 * stdio-common/tst-grouping.c: New file.
27598 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27600 2011-01-09 Ulrich Drepper <drepper@gmail.com>
27602 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27603 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27605 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27607 * bits/select.h: Likewise.
27609 2011-01-08 Ulrich Drepper <drepper@gmail.com>
27611 * po/ja.po: Update from translation team.
27613 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
27616 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27617 implementation just like for lxstat, fxstatat, et al.
27619 2010-12-27 Jim Meyering <meyering@redhat.com>
27622 * posix/regexec.c (build_trtable): Return failure indication upon
27623 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27625 2010-12-25 Ulrich Drepper <drepper@gmail.com>
27628 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27629 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27630 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27631 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27634 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27637 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27638 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27640 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27642 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27643 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27644 script has SORT_BY_INIT_PRIORITY.
27645 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27646 NO_CTORS_DTORS_SECTIONS is defined.
27647 * elf/soinit.c: Likewise.
27648 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27649 NO_CTORS_DTORS_SECTIONS is defined.
27650 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27651 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27652 * sysdeps/sh/init-first.c: Likewise.
27653 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27655 2010-12-24 Ulrich Drepper <drepper@gmail.com>
27657 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27658 always use the slow path.
27660 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27662 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27663 similar rule which adds the sysdep directories to the header search in
27664 order to pick up the correct platform stackinfo.h.
27665 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27666 perform test if it is, otherwise return successfully without testing.
27667 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27668 DEFAULT_STACK_PERMS define in stackinfo.h.
27669 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27670 defined in stackinfo.h.
27671 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27672 DEFAULT_STACK_PERMS defined in stackinfo.h.
27673 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27674 * sysdeps/ia64/stackinfo.h: Likewise.
27675 * sysdeps/s390/stackinfo.h: Likewise.
27676 * sysdeps/sh/stackinfo.h: Likewise.
27677 * sysdeps/sparc/stackinfo.h: Likewise.
27678 * sysdeps/x86_64/stackinfo.h: Likewise.
27679 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27680 PF_X for powerpc64. Retain PF_X for powerpc32.
27682 2010-12-19 Ulrich Drepper <drepper@gmail.com>
27684 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27686 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27687 GETDENTS_64BIT_ALIGNED.
27689 2010-12-14 Ulrich Drepper <dreper@gmail.com>
27691 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27693 2010-12-10 Andreas Schwab <schwab@redhat.com>
27695 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27698 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27699 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27701 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27702 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27704 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27707 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27710 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27712 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27714 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27716 * po/it.po: Update from translation team.
27718 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27720 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27723 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27725 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27727 2010-11-24 Andreas Schwab <schwab@redhat.com>
27729 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27731 (gaih_getanswer_slice): Likewise.
27733 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27735 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27737 2010-05-31 Petr Baudis <pasky@suse.cz>
27740 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27741 silently even in the chroot mode.
27743 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27745 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27746 last patch a bit. Pretty printing
27748 2010-05-31 Petr Baudis <pasky@suse.cz>
27751 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27752 initialization of skip_initgroups_dyn.
27754 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27756 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27757 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27759 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27761 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27763 2010-11-11 Andreas Schwab <schwab@redhat.com>
27765 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27766 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27767 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27768 ($(objpfx)tst-fnmatch-mem): New rule.
27769 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27770 * posix/tst-fnmatch.c (main): Call mtrace.
27772 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27775 Support Intel processor model 6 and model 0x2c.
27777 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27779 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27782 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27785 * string/test-strncasecmp.c (check_result): New function.
27786 (do_one_test): Use it.
27787 (check1): New function.
27788 (test_main): Use it.
27789 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27790 Support strcasecmp and strncasecmp.
27792 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27795 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27796 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27798 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27800 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27804 * sysdeps/x86_64/multiarch/bzero.S: New file.
27805 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27806 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27807 * sysdeps/x86_64/multiarch/memset.S: New file.
27808 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27810 Set bit_Prefer_SSE_for_memop for Intel processors.
27811 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27813 (index_Prefer_SSE_for_memop): Define.
27814 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27816 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27818 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27819 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27821 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27824 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27825 (__x86_64_raw_data_cache_size_half): Likewise.
27826 (__x86_64_raw_shared_cache_size): Likewise.
27827 (__x86_64_raw_shared_cache_size_half): Likewise.
27829 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27830 (__x86_64_raw_data_cache_size_half): Likewise.
27831 (__x86_64_raw_shared_cache_size): Likewise.
27832 (__x86_64_raw_shared_cache_size_half): Likewise.
27833 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27834 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27835 and __x86_64_raw_shared_cache_size_half. Round
27836 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27837 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27838 to multiple of 256 bytes.
27840 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27843 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27844 of inacessible symlinks. Verify result of symlink before returning it.
27845 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27846 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27848 2010-10-28 Erich Ritz <erichritz@gmail.com>
27850 * math/math.h (isinf): Fix typo in comment.
27852 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27854 * po/da.po: Update from translation team.
27856 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27858 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27859 is added to the list.
27861 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27862 Ulrich Drepper <drepper@gmail.com>
27864 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27865 the global list here. Move code to...
27866 (_dl_add_to_namespace_list): ...here. New function.
27867 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27868 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27869 * elf/dl-load.c (lose): Don't remove the element from the list.
27870 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27871 (_dl_map_object): Likewise.
27873 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27876 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27877 into all bytes of SSE register.
27878 Patch by Richard Li <richardpku@gmail.com>.
27880 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27883 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27886 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27888 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27889 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27890 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27891 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27896 2010-10-22 Andreas Schwab <schwab@redhat.com>
27898 * include/dlfcn.h (__RTLD_SECURE): Define.
27899 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27900 mode & __RTLD_SECURE instead.
27901 (open_path): Rename preloaded parameter to secure.
27902 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27903 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27904 * elf/dl-deps.c (openaux): Likewise.
27905 * elf/rtld.c (struct map_args): Remove is_preloaded.
27906 (map_doit): Don't use it.
27907 (dl_main): Likewise.
27908 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27909 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27911 2010-09-09 Andreas Schwab <schwab@redhat.com>
27913 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27914 (sysd-rules-targets): Remove duplicates.
27915 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27916 rtld-%.$o dependency.
27918 2010-10-18 Andreas Schwab <schwab@redhat.com>
27920 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27921 _dl_map_object do it.
27923 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27925 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27926 fast fma builtins, define the macros in the C99 standard.
27927 (FP_FAST_FMAF): Likewise.
27928 (FP_FAST_FMAL): Likewise.
27929 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27931 * bits/mathdef.h: Update copyright year.
27932 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27934 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27936 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27937 builtins, define the macros in the C99 standard.
27938 (FP_FAST_FMAF): Likewise.
27939 (FP_FAST_FMAL): Likewise.
27940 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27942 (FP_FAST_FMAF): Likewise.
27944 2010-10-15 Jakub Jelinek <jakub@redhat.com>
27947 * math/libm-test.inc (fma_test): Some new testcases.
27948 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27949 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27950 y and infinite z. Do multiplication by C already in long double.
27951 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27953 y and infinite z. Do bitwise or of inexact bit into u.d.
27954 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27955 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27956 * sysdeps/i386/fpu/s_fma.S: Removed.
27957 * sysdeps/i386/fpu/s_fmal.S: Removed.
27959 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27962 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27963 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27964 computation is not scheduled after fetestexcept. Fix value
27965 of minimum denormal long double.
27967 2010-10-14 Jakub Jelinek <jakub@redhat.com>
27970 * math/libm-test.inc (fma_test): Add some more tests.
27971 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27974 2010-10-15 Andreas Schwab <schwab@redhat.com>
27976 * scripts/data/localplt-s390-linux-gnu.data: New file.
27977 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27979 2010-10-13 Jakub Jelinek <jakub@redhat.com>
27982 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27983 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27985 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27987 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27988 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27989 if one of x and y is very large and the other is subnormal.
27990 * sysdeps/s390/fpu/s_fmaf.c: New file.
27991 * sysdeps/s390/fpu/s_fma.c: New file.
27992 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27993 * sysdeps/powerpc/fpu/s_fma.S: New file.
27994 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27995 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27996 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27998 2010-10-12 Jakub Jelinek <jakub@redhat.com>
28001 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28003 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28004 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28005 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28006 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28007 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28008 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28009 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28011 2010-10-12 Ulrich Drepper <drepper@redhat.com>
28014 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28015 * posix/bug-regex31.input: Add test case.
28017 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28019 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28020 * posix/bug-regex31.input: New file.
28023 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28024 (parse_sub_exp): Fix last change, use postorder.
28026 * posix/bug-regex31.c: New file.
28027 * posix/Makefile: Add rules to build and run bug-regex31.
28029 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28032 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28035 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28036 to have entries in sys_siglist.
28039 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28042 2010-10-07 Jakub Jelinek <jakub@redhat.com>
28045 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28046 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28047 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28048 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28049 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28050 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28051 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28052 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28053 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28054 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28055 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28056 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28057 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28058 * math/ftestexcept.c (fetestexcept): Likewise.
28059 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28060 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28061 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28062 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28063 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28064 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28065 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28067 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28070 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28073 2010-10-06 Ulrich Drepper <drepper@gmail.com>
28075 * string/bug-strstr1.c: New file.
28076 * string/Makefile: Add rules to build and run bug-strstr1.
28078 2010-10-05 Eric Blake <eblake@redhat.com>
28081 * string/str-two-way.h (two_way_long_needle): Always clear memory
28082 when skipping input due to the shift table.
28084 2010-10-03 Ulrich Drepper <drepper@gmail.com>
28087 * malloc/mcheck.c: Handle large requests.
28090 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28091 for strncmp and strncasecmp.
28092 * string/stratcliff.c: Add tests for strcmp and strncmp.
28093 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28095 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28097 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28100 2010-09-30 Andreas Jaeger <aj@suse.de>
28102 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28103 (CGROUP_SUPER_MAGIC): Define.
28104 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28105 Handle btrfs and cgroup file systems.
28106 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28109 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
28111 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28112 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28114 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28117 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28118 trying to locate the ELF header.
28120 2010-09-27 Andreas Schwab <schwab@redhat.com>
28123 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28124 Mask out sign-bit copies when constructing f_fsid.
28126 2010-09-24 Petr Baudis <pasky@suse.cz>
28128 * debug/stack_chk_fail_local.c: Add missing licence exception.
28129 * debug/warning-nop.c: Likewise.
28131 2010-09-15 Joseph Myers <joseph@codesourcery.com>
28133 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28134 implementing getdents64 using getdents syscall, set d_type if
28135 __ASSUME_GETDENTS32_D_TYPE.
28137 2010-09-16 Andreas Schwab <schwab@redhat.com>
28139 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28140 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28142 2010-09-21 Ulrich Drepper <drepper@redhat.com>
28145 * posix/unistd.h: Undo change of feature selection for ftruncate from
28148 2010-09-20 Ulrich Drepper <drepper@redhat.com>
28150 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
28153 2010-09-20 Andreas Schwab <schwab@redhat.com>
28155 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28157 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28159 2010-09-14 Andreas Schwab <schwab@redhat.com>
28161 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28162 variables after CHECK_SP call.
28163 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28165 2010-09-13 Andreas Schwab <schwab@redhat.com>
28166 Ulrich Drepper <drepper@redhat.com>
28168 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28169 re-relocationg ld.so.
28170 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28171 _dl_init_paths call.
28172 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
28175 2010-09-14 Ulrich Drepper <drepper@redhat.com>
28177 * resolv/res_init.c (__res_vinit): Count the default server we added.
28179 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28180 Ulrich Drepper <drepper@redhat.com>
28183 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28184 (____longjmp_chk): Use %ebx for saving value across system call.
28187 2010-09-06 Andreas Schwab <schwab@redhat.com>
28189 * manual/Makefile: Don't mix pattern rules with normal rules.
28191 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28193 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28195 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28196 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28197 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28198 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28199 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28202 2010-09-04 Ulrich Drepper <drepper@redhat.com>
28205 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28206 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28208 2010-09-02 Ulrich Drepper <drepper@redhat.com>
28210 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28211 * sysdeps/x86_64/addmul_1.S: Likewise.
28212 * sysdeps/x86_64/lshift.S: Likewise.
28213 * sysdeps/x86_64/mul_1.S: Likewise.
28214 * sysdeps/x86_64/rshift.S: Likewise.
28215 * sysdeps/x86_64/sub_n.S: Likewise.
28216 * sysdeps/x86_64/submul_1.S: Likewise.
28218 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28220 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28221 Define __sched_param instead of SCHED_* and sched_param when
28222 <bits/sched.h> is included with __need_schedparam defined.
28223 * bits/sched.h [__need_schedparam]
28224 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
28225 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28226 (__defined_schedparam): Define to 1.
28227 (__sched_param): New structure, identical to sched_param.
28228 (__need_schedparam): Undefine.
28230 2010-08-31 Mike Frysinger <vapier@gentoo.org>
28232 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28233 (epoll_create1): Declare.
28235 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28237 2010-08-31 Andreas Schwab <schwab@redhat.com>
28240 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28241 shifting retval into place.
28243 2010-09-01 Ulrich Drepper <drepper@redhat.com>
28245 * nis/rpcsvc/nis.h: Update copyright notice.
28246 * nis/rpcsvc/nis.x: Likewise.
28247 * nis/rpcsvc/nis_callback.h: Likewise.
28248 * nis/rpcsvc/nis_callback.x: Likewise.
28249 * nis/rpcsvc/nis_object.x: Likewise.
28250 * nis/rpcsvc/nis_tags.h: Likewise.
28251 * nis/rpcsvc/yp.h: Likewise.
28252 * nis/rpcsvc/yp.x: Likewise.
28253 * nis/rpcsvc/ypupd.h: Likewise.
28254 * nis/yp_xdr.c: Likewise.
28255 * nis/ypupdate_xdr.c: Likewise.
28257 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28258 mainly the body of pmap_getport. Add parameters to specify timeouts.
28259 (pmap_getport): Use __libc_rpc_getport.
28260 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28261 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28262 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28264 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28269 2010-08-27 Roland McGrath <roland@redhat.com>
28271 * sysdeps/i386/i686/multiarch/Makefile
28272 (CFLAGS-varshift.c): New variable.
28274 2010-08-27 Ulrich Drepper <drepper@redhat.com>
28276 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28277 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28279 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28281 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28283 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28285 * sysdeps/x86_64/strlen.S: Unroll the loop.
28286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28287 strlen-sse2 strlen-sse2-bsf.
28288 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28289 __strlen_no_bsf if bit_Slow_BSF is set.
28290 (__strlen_sse42): Removed.
28291 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28292 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28294 2010-08-25 Roland McGrath <roland@redhat.com>
28296 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28297 * sysdeps/x86_64/multiarch/varshift.c: New file.
28298 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28299 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28300 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28301 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28303 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28305 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28306 strlen-sse2 strlen-sse2-bsf.
28307 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28308 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28309 (__strlen_sse2): Removed.
28310 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28311 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28313 bit_Slow_BSF for Atom.
28314 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28315 (index_Slow_BSF): Define.
28316 (HAS_SLOW_BSF): Define.
28318 2010-08-25 Ulrich Drepper <drepper@redhat.com>
28321 * resolv/res_init.c (__res_vinit): When no server address at all
28322 is given default to loopback.
28324 2010-08-24 Roland McGrath <roland@redhat.com>
28326 * configure.in: Remove config-name.h generation.
28327 * configure: Regenerated.
28328 * config-name.in: File removed.
28329 * scripts/config-uname.sh: New file.
28330 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28331 ($(objdir)config-name.h): New target.
28333 * sunrpc/rpc_parse.h: Avoid nested comment.
28335 2010-08-24 Richard Henderson <rth@redhat.com>
28336 Ulrich Drepper <drepper@redhat.com>
28337 H.J. Lu <hongjiu.lu@intel.com>
28339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28340 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28341 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28342 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28343 _mm_alignr_epi8 with _mm_loadu_si128.
28344 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28345 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28346 (__m128i_shift_right): Removed.
28347 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28348 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28349 * sysdeps/x86_64/multiarch/varshift.h: New file.
28350 * sysdeps/x86_64/multiarch/varshift.S: New file.
28352 2010-08-21 Mike Frysinger <vapier@gentoo.org>
28354 * configure.in: Move assembler checks to before sysdep dir checking.
28356 2010-08-20 Petr Baudis <pasky@suse.cz>
28358 * LICENSES: Sync the sunrpc license.
28360 2010-08-19 Ulrich Drepper <drepper@redhat.com>
28362 * sunrpc/auth_des.c: Update copyright notice once again.
28363 * sunrpc/auth_none.c: Likewise.
28364 * sunrpc/auth_unix.c: Likewise.
28365 * sunrpc/authdes_prot.c: Likewise.
28366 * sunrpc/authuxprot.c: Likewise.
28367 * sunrpc/bindrsvprt.c: Likewise.
28368 * sunrpc/clnt_gen.c: Likewise.
28369 * sunrpc/clnt_perr.c: Likewise.
28370 * sunrpc/clnt_raw.c: Likewise.
28371 * sunrpc/clnt_simp.c: Likewise.
28372 * sunrpc/clnt_tcp.c: Likewise.
28373 * sunrpc/clnt_udp.c: Likewise.
28374 * sunrpc/clnt_unix.c: Likewise.
28375 * sunrpc/des_crypt.c: Likewise.
28376 * sunrpc/des_soft.c: Likewise.
28377 * sunrpc/get_myaddr.c: Likewise.
28378 * sunrpc/getrpcport.c: Likewise.
28379 * sunrpc/key_call.c: Likewise.
28380 * sunrpc/key_prot.c: Likewise.
28381 * sunrpc/openchild.c: Likewise.
28382 * sunrpc/pm_getmaps.c: Likewise.
28383 * sunrpc/pm_getport.c: Likewise.
28384 * sunrpc/pmap_clnt.c: Likewise.
28385 * sunrpc/pmap_prot.c: Likewise.
28386 * sunrpc/pmap_prot2.c: Likewise.
28387 * sunrpc/pmap_rmt.c: Likewise.
28388 * sunrpc/rpc/auth.h: Likewise.
28389 * sunrpc/rpc/auth_unix.h: Likewise.
28390 * sunrpc/rpc/clnt.h: Likewise.
28391 * sunrpc/rpc/des_crypt.h: Likewise.
28392 * sunrpc/rpc/key_prot.h: Likewise.
28393 * sunrpc/rpc/netdb.h: Likewise.
28394 * sunrpc/rpc/pmap_clnt.h: Likewise.
28395 * sunrpc/rpc/pmap_prot.h: Likewise.
28396 * sunrpc/rpc/pmap_rmt.h: Likewise.
28397 * sunrpc/rpc/rpc.h: Likewise.
28398 * sunrpc/rpc/rpc_des.h: Likewise.
28399 * sunrpc/rpc/rpc_msg.h: Likewise.
28400 * sunrpc/rpc/svc.h: Likewise.
28401 * sunrpc/rpc/svc_auth.h: Likewise.
28402 * sunrpc/rpc/types.h: Likewise.
28403 * sunrpc/rpc/xdr.h: Likewise.
28404 * sunrpc/rpc_clntout.c: Likewise.
28405 * sunrpc/rpc_cmsg.c: Likewise.
28406 * sunrpc/rpc_common.c: Likewise.
28407 * sunrpc/rpc_cout.c: Likewise.
28408 * sunrpc/rpc_dtable.c: Likewise.
28409 * sunrpc/rpc_hout.c: Likewise.
28410 * sunrpc/rpc_main.c: Likewise.
28411 * sunrpc/rpc_parse.c: Likewise.
28412 * sunrpc/rpc_parse.h: Likewise.
28413 * sunrpc/rpc_prot.c: Likewise.
28414 * sunrpc/rpc_sample.c: Likewise.
28415 * sunrpc/rpc_scan.c: Likewise.
28416 * sunrpc/rpc_scan.h: Likewise.
28417 * sunrpc/rpc_svcout.c: Likewise.
28418 * sunrpc/rpc_tblout.c: Likewise.
28419 * sunrpc/rpc_util.c: Likewise.
28420 * sunrpc/rpc_util.h: Likewise.
28421 * sunrpc/rpcinfo.c: Likewise.
28422 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28423 * sunrpc/rpcsvc/key_prot.x: Likewise.
28424 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28425 * sunrpc/rpcsvc/mount.x: Likewise.
28426 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28427 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28428 * sunrpc/rpcsvc/rex.x: Likewise.
28429 * sunrpc/rpcsvc/rstat.x: Likewise.
28430 * sunrpc/rpcsvc/rusers.x: Likewise.
28431 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28432 * sunrpc/rpcsvc/spray.x: Likewise.
28433 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28434 * sunrpc/rtime.c: Likewise.
28435 * sunrpc/svc.c: Likewise.
28436 * sunrpc/svc_auth.c: Likewise.
28437 * sunrpc/svc_authux.c: Likewise.
28438 * sunrpc/svc_raw.c: Likewise.
28439 * sunrpc/svc_run.c: Likewise.
28440 * sunrpc/svc_simple.c: Likewise.
28441 * sunrpc/svc_tcp.c: Likewise.
28442 * sunrpc/svc_udp.c: Likewise.
28443 * sunrpc/svc_unix.c: Likewise.
28444 * sunrpc/svcauth_des.c: Likewise.
28445 * sunrpc/xcrypt.c: Likewise.
28446 * sunrpc/xdr.c: Likewise.
28447 * sunrpc/xdr_array.c: Likewise.
28448 * sunrpc/xdr_float.c: Likewise.
28449 * sunrpc/xdr_mem.c: Likewise.
28450 * sunrpc/xdr_rec.c: Likewise.
28451 * sunrpc/xdr_ref.c: Likewise.
28452 * sunrpc/xdr_sizeof.c: Likewise.
28453 * sunrpc/xdr_stdio.c: Likewise.
28455 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28458 2010-08-19 Andreas Schwab <schwab@redhat.com>
28460 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28462 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
28464 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28465 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28466 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28467 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28468 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28469 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28470 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28471 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28472 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28473 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28474 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28475 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28476 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28477 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28479 2010-07-26 Anton Blanchard <anton@samba.org>
28481 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28482 * malloc/arena.c (heap_trim): Likewise.
28484 2010-08-16 Ulrich Drepper <drepper@redhat.com>
28486 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28488 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28489 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28491 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28493 * sysdeps/i386/elf/Makefile: New file.
28495 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28497 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28498 from fanotify_init.
28499 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28500 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28502 2010-08-15 Ulrich Drepper <drepper@redhat.com>
28504 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28506 * sysdeps/multiarch/strcmp.S: Likewise.
28508 2010-08-14 Ulrich Drepper <drepper@redhat.com>
28510 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28511 strncase_l-nonascii.
28512 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28513 Add strncase_l-ssse3.
28514 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28515 * sysdeps/x86_64/strcmp.S: Likewise.
28516 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28517 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28518 * sysdeps/x86_64/strncase.S: New file.
28519 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28520 * sysdeps/x86_64/strncase_l.S: New file.
28521 * string/Makefile (strop-tests): Add strncasecmp.
28522 * string/test-strncasecmp.c: New file.
28524 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28527 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28528 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28530 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28532 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28534 2010-08-12 Ulrich Drepper <drepper@redhat.com>
28536 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28537 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28538 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28540 2010-05-01 Alan Modra <amodra@gmail.com>
28542 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28543 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28544 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28545 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28546 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28547 tidying. Don't tail-call __sigjmp_save for static lib.
28548 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28550 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28551 (CALL_MCOUNT): Add eh info, and nop after bl.
28552 (TAIL_CALL_SYSCALL_ERROR): New macro.
28553 (PSEUDO_RET): Use it.
28554 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28555 Correct save location of integer regs and cr.
28556 (_dl_profile_resolve): Correct cr save location. Delete nops
28557 after bl when SHARED. Reduce cfi size a little by better
28558 placement of cfi directives.
28559 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28560 make a stack frame. Instead use parm save area as a temp.
28561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28562 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28564 Don't make a stack frame for parent, use parm save area.
28565 Increase child stack frame to 112 bytes. Don't save unused reg,
28566 and adjust reg usage. Set up cfi on error recovery and
28567 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28569 (__makecontext): Add dummy nop after jump to exit.
28570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28571 Use correct parm save area and cr save, reduce stack frame.
28572 Correct cfi for possible PSEUDO_RET frame setup.
28573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28574 Branch to local label emitted by PSEUDO_RET rather than
28577 2010-08-12 Andreas Schwab <schwab@redhat.com>
28580 * locale/programs/locale.c (print_assignment): New function.
28581 (show_locale_vars): Use it.
28583 2010-08-11 Ulrich Drepper <drepper@redhat.com>
28585 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28587 (struct statfs64): Likewise.
28588 (_STATFS_F_FLAGS): Define.
28589 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28590 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28591 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28592 (ST_VALID): Define locally.
28593 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28594 __statvfs_getflags, use the provided value.
28595 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28596 __ASSUME_STATFS_F_FLAGS.
28598 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28600 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28601 Add sys/fanotify.h.
28602 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28603 fanotify_mask for GLIBC_2.13.
28604 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28605 fanotify_init and fanotify_mark.
28606 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28607 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28609 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28611 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28612 prlimit64 for GLIBC_2.13.
28613 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28615 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28618 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28619 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28620 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28621 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28623 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28626 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28627 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28629 * nss/Makefile: Add rules to build and run tst-nss-test1.
28630 * shlib-versions: Add entry for libnss_test1.
28631 * nss/nss_test1.c: New file.
28632 * nss/tst-nss-test1.c: New file.
28634 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28635 (__nss_configure_lookup): Set appropriate entry in
28636 __nss_configure_lookup to true.
28637 * nss/nsswitch.h: Define enum with indeces of databases in
28638 databases and __nss_database_custom arrays. Declare
28639 __nss_database_custom.
28640 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28641 to avoid using nscd when custom rules are installed.
28642 * nss/getXXbyYY_r.c: Likewise.
28643 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28645 * nss/nss_files/files-parse.c: Whitespace fixes.
28647 2010-08-09 Ulrich Drepper <drepper@redhat.com>
28650 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28651 * posix/fnmatch_loop.c: Likewise.
28653 2010-07-17 Andi Kleen <ak@linux.intel.com>
28655 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28656 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28657 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28658 * Versions.def [GLIBC_2.13]: Add.
28660 2010-08-06 Ulrich Drepper <drepper@redhat.com>
28662 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28663 Also fail if tpwd after pwuid call is NULL.
28665 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28667 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28668 when converting to ms.
28670 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28672 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28673 EOPNOTSUPP errors with ENOTTY.
28674 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28675 EOPNOTSUPP errors with ENOTTY.
28677 2010-07-31 Ulrich Drepper <drepper@redhat.com>
28679 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28680 Add strcasecmp_l-ssse3.
28681 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28683 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28684 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28685 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28687 2010-07-30 Ulrich Drepper <drepper@redhat.com>
28689 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28691 * string/Makefile (strop-tests): Add strcasecmp.
28692 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28693 strcasecmp_l-nonascii.
28694 (gen-as-const-headers): Add locale-defines.sym.
28695 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28696 * sysdeps/x86_64/strcasecmp.S: New file.
28697 * sysdeps/x86_64/strcasecmp_l.S: New file.
28698 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28699 * sysdeps/x86_64/locale-defines.sym: New file.
28700 * string/test-strcasecmp.c: New file.
28702 * string/test-strcasestr.c: Test both ends of the range of characters.
28703 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28705 2010-07-29 Roland McGrath <roland@redhat.com>
28708 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28710 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28712 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28715 2010-07-27 Andreas Schwab <schwab@redhat.com>
28717 * manual/memory.texi (Malloc Tunable Parameters): Document
28720 2010-07-26 Roland McGrath <roland@redhat.com>
28723 * configure.in (-fgnu89-inline check): Set and substitute
28724 gnu89_inline, not libc_cv_gnu89_inline.
28725 * configure: Regenerated.
28726 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28728 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28730 * string/test-strnlen.c: New file.
28731 * string/Makefile (strop-tests): Add strnlen.
28732 * string/tester.c (test_strnlen): Add a few more test cases.
28733 * string/tst-strlen.c: Better error reporting.
28735 * sysdeps/x86_64/strnlen.S: New file.
28737 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28739 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28740 lower-latency instructions.
28742 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28744 * string/test-strcasestr.c: New file.
28745 * string/test-strstr.c: New file.
28746 * string/Makefile (strop-tests): Add strstr and strcasestr.
28747 * string/str-two-way.h: Don't undefine MAX.
28748 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28750 2010-07-21 Andreas Schwab <schwab@redhat.com>
28752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28753 strcasestr-nonascii.
28754 (CFLAGS-strcasestr-nonascii.c): Define.
28755 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28756 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28757 Remove unused attribute.
28759 2010-07-20 Roland McGrath <roland@redhat.com>
28761 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28762 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28763 ld.so.cache was broken. With it, there is no way to disable dsocaps
28764 like LD_HWCAP_MASK can disable hwcaps.
28766 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28768 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28770 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28772 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28773 call in strcasestr.
28774 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28775 __strcasestr_sse42_nonascii.
28776 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28777 strcasestr-nonascii.c.
28778 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28780 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28782 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28783 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28784 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28785 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28787 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28789 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28792 2010-07-06 Andreas Schwab <schwab@redhat.com>
28795 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28798 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28800 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28801 _PC_PIPE_BUF using F_GETPIPE_SZ.
28803 2010-07-05 Roland McGrath <roland@redhat.com>
28805 * manual/arith.texi (Rounding Functions): Fix rint description
28806 implicit in round description.
28808 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28810 * elf/Makefile: Fix linking for a few tests to make recent linker
28813 2010-06-30 Andreas Schwab <schwab@redhat.com>
28815 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28816 $(common-objpfx)libc_nonshared.a.
28818 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28820 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28821 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28822 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28823 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28824 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28825 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28826 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28827 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28842 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28843 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28844 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28845 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28846 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28847 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28848 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28849 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28850 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28851 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28852 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28853 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28869 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28871 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28872 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28873 * string/memmove.c (memmove): Renamed to ...
28874 (MEMMOVE): ...this. Default to memmove.
28875 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28876 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28878 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28879 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28880 mempcpy-ssse3-back memmove-ssse3-back.
28881 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28882 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28883 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28884 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28885 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28886 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28887 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28888 * sysdeps/x86_64/multiarch/memmove.c: New file.
28889 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28890 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28891 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28892 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28893 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28894 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28896 (index_Fast_Copy_Backward): Define.
28897 (HAS_ARCH_FEATURE): Define.
28898 (HAS_FAST_REP_STRING): Define.
28899 (HAS_FAST_COPY_BACKWARD): Define.
28901 2010-06-21 Andreas Schwab <schwab@redhat.com>
28903 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28904 Restore proper fallback handling.
28906 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28909 * posix/group_member.c (__group_member): Correct checking loop.
28911 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28912 OOM in getpwuid_r correctly. Return error number when the caller
28913 should return, otherwise -1.
28914 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28915 call returning > 0 value.
28916 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28918 2010-06-07 Andreas Schwab <schwab@redhat.com>
28920 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28921 libc_nonshared.a from targets in modules-names.
28923 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28925 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28928 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28930 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28931 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28932 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28933 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28935 2010-06-02 Andreas Schwab <schwab@redhat.com>
28937 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28939 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28941 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28943 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28944 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28946 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28947 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28948 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28950 2010-06-14 Roland McGrath <roland@redhat.com>
28952 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28954 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28956 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28957 __REDIRECT followed by __THROW.
28958 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28959 * posix/getopt.h (getopt): Likewise.
28961 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28963 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28964 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28965 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28967 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28968 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28970 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
28972 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28974 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28978 Properly check family and model.
28980 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28982 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28984 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
28986 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28988 2010-05-21 Ulrich Drepper <drepper@redhat.com>
28990 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28993 2010-05-19 Andreas Schwab <schwab@redhat.com>
28995 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28998 2010-05-21 Andreas Schwab <schwab@redhat.com>
29000 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29001 and internal_recvmmsg.
29002 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29003 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29004 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29005 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29007 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29008 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29009 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29011 2010-05-20 Andreas Schwab <schwab@redhat.com>
29013 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29015 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
29017 POWER7 optimizations.
29018 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29019 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29021 2010-05-19 Ulrich Drepper <drepper@redhat.com>
29023 * version.h: Update for 2.13 development version.
29025 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
29027 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29028 exceptions. Return 0.
29030 2010-05-07 Roland McGrath <roland@redhat.com>
29032 * elf/ldconfig.c (main): Add a const.
29034 2010-05-06 Ulrich Drepper <drepper@redhat.com>
29036 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29037 (args_options): Add no-idn option.
29038 (ahosts_keys_int): Add idn_flags to ai_flags.
29039 (parse_option): Handle 'i' option to clear idn_flags.
29041 * malloc/malloc.c (_int_free): Possible race in the most recently
29042 added check. Only act on the data if no current modification
29045 See ChangeLog.17 for earlier changes.