1 2013-05-13 Joseph Myers <joseph@codesourcery.com>
3 * math/libm-test.inc (struct test_fi_f_data): New type.
4 (RUN_TEST_LOOP_fi_f): New macro.
5 (ldexp_test_data): New variable.
6 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7 (scalbn_test_data): New variable.
8 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
10 * math/libm-test.inc (struct test_c_f_data): New type.
11 (RUN_TEST_LOOP_c_f): New macro.
12 (cabs_test_data): New variable.
13 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14 (carg_test_data): New variable.
15 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
16 (cimag_test_data): New variable.
17 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18 (creal_test_data): New variable.
19 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
21 * math/libm-test.inc (struct test_if_f_data): New type.
22 (RUN_TEST_LOOP_if_f): New macro.
23 (jn_test_data): New variable.
24 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25 (yn_test_data): New variable.
26 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
30 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
35 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
37 * benchtests/Makefile (CPPFLAGS-nonlib): Add
38 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
39 (bench-deps): Add bench-timing.h.
40 * benchtests-bench-skeleton.c: Include bench-timing.h.
41 (main): Use TIMING_* macros instead of clock_gettime.
42 * benchtests/bench-timing.h: New file.
45 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
46 Renamed from _LIB_VERSION.
47 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
49 2013-05-12 Joseph Myers <joseph@codesourcery.com>
51 * math/libm-test.inc (struct test_fff_f_data): New type.
52 (RUN_TEST_LOOP_fff_f): New macro.
53 (fma_test_data): New variable.
54 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
55 (fma_towardzero_test_data): New variable.
56 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
57 (fma_downward_test_data): New variable.
58 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
59 (fma_upward_test_data): New variable.
60 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
62 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
63 (struct test_c_c_data): New type.
64 (RUN_TEST_LOOP_c_c): New macro.
65 (cacos_test_data): New variable.
66 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67 (cacosh_test_data): New variable.
68 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
69 (casin_test_data): New variable.
70 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
71 (casinh_test_data): New variable.
72 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
73 (catan_test_data): New variable.
74 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
75 (catanh_test_data): New variable.
76 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
77 (ccos_test_data): New variable.
78 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
79 (ccosh_test_data): New variable.
80 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
81 (cexp_test_data): New variable.
82 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
83 (clog_test_data): New variable.
84 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
85 (clog10_test_data): New variable.
86 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
87 (conj_test_data): New variable.
88 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
89 (cproj_test_data): New variable.
90 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
91 (csin_test_data): New variable.
92 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
93 (csinh_test_data): New variable.
94 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
95 (csqrt_test_data): New variable.
96 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
97 (ctan_test_data): New variable.
98 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
99 (ctan_tonearest_test_data): New variable.
100 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
101 (ctan_towardzero_test_data): New variable.
102 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
103 (ctan_downward_test_data): New variable.
104 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
105 (ctan_upward_test_data): New variable.
106 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
107 (ctanh_test_data): New variable.
108 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
109 (ctanh_tonearest_test_data): New variable.
110 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
111 (ctanh_towardzero_test_data): New variable.
112 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
113 (ctanh_downward_test_data): New variable.
114 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
115 (ctanh_upward_test_data): New variable.
116 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
117 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
120 * math/libm-test.inc (struct test_ff_f_data): New type.
121 (struct test_ff_f_data_nexttoward): Likewise.
122 (RUN_TEST_LOOP_2_f): New macro.
123 (RUN_TEST_LOOP_ff_f): Likewise.
124 (atan2_test_data): New variable.
125 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
126 (copysign_test_data): New variable.
127 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
128 (fdim_test_data): New variable.
129 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
130 (fmax_test_data): New variable.
131 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
132 (fmin_test_data): New variable.
133 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
134 (fmod_test_data): New variable.
135 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
136 (hypot_test_data): New variable.
137 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
138 (nextafter_test_data): New variable.
139 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
140 (nexttoward_test_data): New variable.
141 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
142 (pow_test_data): New variable.
143 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
144 (pow_tonearest_test_data): New variable.
145 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
146 (pow_towardzero_test_data): New variable.
147 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
148 (pow_downward_test_data): New variable.
149 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
150 (pow_upward_test_data): New variable.
151 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
152 (remainder_test_data): New variable.
153 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
154 (scalb_test_data): New variable.
155 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
156 * sysdeps/i386/fpu/libm-test-ulps: Update.
158 2013-05-11 Joseph Myers <joseph@codesourcery.com>
160 * math/libm-test.inc (fma_test): Use max_value instead of local
162 (nextafter_test): Likewise.
164 * math/libm-test.inc (acos_towardzero_test_data): New variable.
165 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
166 (acos_downward_test_data): New variable.
167 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
168 (acos_upward_test_data): New variable.
169 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
170 (acosh_test_data): New variable.
171 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
172 (asin_test_data): New variable.
173 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
174 (asin_tonearest_test_data): New variable.
175 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
176 (asin_towardzero_test_data): New variable.
177 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
178 (asin_downward_test_data): New variable.
179 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
180 (asin_upward_test_data): New variable.
181 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
182 (asinh_test_data): New variable.
183 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
184 (atan_test_data): New variable.
185 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
186 (atanh_test_data): New variable.
187 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
188 (cbrt_test_data): New variable.
189 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
190 (ceil_test_data): New variable.
191 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
192 (cos_test_data): New variable.
193 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
194 (cos_tonearest_test_data): New variable.
195 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
196 (cos_towardzero_test_data): New variable.
197 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
198 (cos_downward_test_data): New variable.
199 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
200 (cos_upward_test_data): New variable.
201 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
202 (cosh_test_data): New variable.
203 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
204 (cosh_tonearest_test_data): New variable.
205 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
206 (cosh_towardzero_test_data): New variable.
207 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
208 (cosh_downward_test_data): New variable.
209 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
210 (cosh_upward_test_data): New variable.
211 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
212 (erf_test_data): New variable.
213 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
214 (erfc_test_data): New variable.
215 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
216 (exp_test_data): New variable.
217 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
218 (exp_tonearest_test_data): New variable.
219 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
220 (exp_towardzero_test_data): New variable.
221 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
222 (exp_downward_test_data): New variable.
223 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
224 (exp_upward_test_data): New variable.
225 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
226 (exp10_test_data): New variable.
227 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
228 (exp2_test_data): New variable.
229 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
230 (expm1_test_data): New variable.
231 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
232 (fabs_test_data): New variable.
233 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
234 (floor_test_data): New variable.
235 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
236 (j0_test_data): New variable.
237 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
238 (j1_test_data): New variable.
239 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
240 (log_test_data): New variable.
241 (log_test): Run tests with RUN_TEST_LOOP_f_f.
242 (log10_test_data): New variable.
243 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
244 (log1p_test_data): New variable.
245 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
246 (log2_test_data): New variable.
247 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
248 (logb_test_data): New variable.
249 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
250 (logb_downward_test_data): New variable.
251 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
252 (nearbyint_test_data): New variable.
253 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
254 (rint_test_data): New variable.
255 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
256 (rint_tonearest_test_data): New variable.
257 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
258 (rint_towardzero_test_data): New variable.
259 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
260 (rint_downward_test_data): New variable.
261 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
262 (rint_upward_test_data): New variable.
263 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
264 (round_test_data): New variable.
265 (round_test): Run tests with RUN_TEST_LOOP_f_f.
266 (sin_test_data): New variable.
267 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
268 (sin_tonearest_test_data): New variable.
269 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
270 (sin_towardzero_test_data): New variable.
271 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
272 (sin_downward_test_data): New variable.
273 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
274 (sin_upward_test_data): New variable.
275 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
276 (sinh_test_data): New variable.
277 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
278 (sinh_tonearest_test_data): New variable.
279 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
280 (sinh_towardzero_test_data): New variable.
281 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
282 (sinh_downward_test_data): New variable.
283 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
284 (sinh_upward_test_data): New variable.
285 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
286 (sqrt_test_data): New variable.
287 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
288 (tan_test_data): New variable.
289 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
290 (tan_tonearest_test_data): New variable.
291 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
292 (tan_towardzero_test_data): New variable.
293 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
294 (tan_downward_test_data): New variable.
295 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
296 (tan_upward_test_data): New variable.
297 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
298 (tanh_test_data): New variable.
299 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
300 (tgamma_test_data): New variable.
301 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
302 (trunc_test_data): New variable.
303 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
304 (y0_test_data): New variable.
305 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
306 (y1_test_data): New variable.
307 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
308 (significand_test_data): New variable.
309 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
311 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
314 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
316 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
318 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
320 2013-05-10 Andreas Jaeger <aj@suse.de>
323 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
324 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
326 2013-05-10 Joseph Myers <joseph@codesourcery.com>
328 * math/gen-libm-test.pl (adjust_arg): New function.
329 (special_functions): Handle generating output in both functions
331 (parse_args): Likewise.
332 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
333 $in_func argument to parse_args.
334 * math/libm-test.inc (struct test_f_f_data): New type.
335 (IF_ROUND_INIT_): New macro.
336 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
337 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
338 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
339 (IF_ROUND_INIT_FE_UPWARD): Likewise.
340 (ROUND_RESTORE_): Likewise.
341 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
342 (ROUND_RESTORE_FE_TONEAREST): Likewise.
343 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
344 (ROUND_RESTORE_FE_UPWARD): Likewise.
345 (RUN_TEST_LOOP_f_f): New macro.
346 (acos_test_data): New variable.
347 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
348 (acos_tonearest_test_data): New variable.
349 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
351 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
353 * benchtests/bench-skeleton.c (startup): Fix coding style.
355 2013-05-10 Joseph Myers <joseph@codesourcery.com>
358 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
359 negative infinity argument.
360 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
361 negative infinity argument.
362 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
363 negative infinity argument.
364 * math/libm-test.inc (tgamma_test): Expect errno to be set for
367 2013-05-10 Florian Weimer <fweimer@redhat.com>
369 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
370 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
371 * iconv/iconv_prog.c (main): Likewise.
372 * locale/programs/charmap-dir.c (charmap_readdir)
373 (fopen_uncompressed): Likewise.
374 * locale/programs/locfile.c (siblings_uncached)
375 (write_locale_data): Use lstat64 instead of lstat.
376 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
379 2013-05-10 Andreas Jaeger <aj@suse.de>
382 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
386 2013-05-09 Carlos O'Donell <carlos@redhat.com>
388 * elf/dl-close.c (_dl_close_worker): Add comments.
390 2013-05-09 Joseph Myers <joseph@codesourcery.com>
393 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
395 (__ieee754_rem_pio2l): Update comments.
398 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
400 (__ieee754_rem_pio2l): Update comments.
402 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
403 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
405 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
408 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
409 (M_PI_34_LOG10El): Likewise.
410 (M_PI2_LOG10El): Likewise.
411 (M_PI4_LOG10El): Likewise.
412 (M_PI_LOG10El): Likewise.
414 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
418 2013-05-08 Joseph Myers <joseph@codesourcery.com>
420 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
421 (MINUS_ZERO_INIT): Likewise.
422 (PLUS_INFTY_INIT): Likewise.
423 (MINUS_INFTY_INIT): Likewise.
424 (QNAN_VALUE_INIT): Likewise.
425 (MAX_VALUE_INIT): Likewise.
426 (MIN_VALUE_INIT): Likewise.
427 (MIN_SUBNORM_VALUE_INIT): Likewise.
428 (plus_zero): Initialize with PLUS_ZERO_INIT.
429 (minus_zero): Initialize with MINUS_ZERO_INIT.
430 (plus_infty): Initialize with PLUS_INFTY_INIT.
431 (minus_infty): Initialize with MINUS_INFTY_INIT.
432 (qnan_value): Initialize with QNAN_VALUE_INIT.
433 (max_value): Initialize with MAX_VALUE_INIT.
434 (min_value): Initialize with MIN_VALUE_INIT.
435 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
437 * math/libm-test.inc (RUN_TEST_if_f): New macro.
438 (jn_test): Use TEST_if_f instead of TEST_ff_f.
439 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
440 (yn_test): Use TEST_if_f instead of TEST_ff_f.
442 * math/libm-test.inc (RUN_TEST_f_f): New macro.
443 (RUN_TEST_2_f): Likewise.
444 (RUN_TEST_ff_f): Likewise.
445 (RUN_TEST_fi_f): Likewise.
446 (RUN_TEST_fl_f): Likewise.
447 (RUN_TEST_fff_f): Likewise.
448 (RUN_TEST_c_f): Likewise.
449 (RUN_TEST_f_f1): Likewise.
450 (RUN_TEST_fF_f1): Likewise.
451 (RUN_TEST_fI_f1): Likewise.
452 (RUN_TEST_ffI_f1): Likewise.
453 (RUN_TEST_c_c): Likewise.
454 (RUN_TEST_cc_c): Likewise.
455 (RUN_TEST_f_i): Likewise.
456 (RUN_TEST_f_i_tg): Likewise.
457 (RUN_TEST_ff_i_tg): Likewise.
458 (RUN_TEST_f_b): Likewise.
459 (RUN_TEST_f_b_tg): Likewise.
460 (RUN_TEST_f_l): Likewise.
461 (RUN_TEST_f_L): Likewise.
462 (RUN_TEST_sincos): Likewise.
463 * math/gen-libm-test.pl (new_test): Take new argument to indicate
464 whether to show exceptions. Do not include ");\n" in return
466 (special_functions): Output call to RUN_TEST_sincos instead of
467 check_float calls. Update calls to new_test.
468 (parse_args): Output call to single RUN_TEST_* macro instead of
469 check_* calls and other assignments. Update calls to new_test.
475 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
476 input to result for tgamma overflow.
477 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
478 (gamma_coeff): New variable.
480 (gamma_positive): New function.
481 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
482 underflow here. Use gamma_positive instead of exp (lgamma) for
484 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
485 (gamma_coeff): New variable.
487 (gammaf_positive): New function.
488 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
489 underflow here. Use gamma_positive instead of exp (lgamma) for
491 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
492 (gamma_coeff): New variable.
494 (gammal_positive): New function.
495 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
496 underflow here. Use gamma_positive instead of exp (lgamma) for
498 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
499 (gamma_coeff): New variable.
501 (gammal_positive): New function.
502 (__ieee754_gammal_r): Handle positive infinity, overflow and
503 underflow here. Handle NaN the same as positive infinity. Remove
504 check x < 0xffffffff for negative integers. Use gamma_positive
505 instead of exp (lgamma) for other arguments.
506 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
507 (gamma_coeff): New variable.
509 (gammal_positive): New function.
510 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
511 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
512 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
513 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
514 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
515 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
516 * sysdeps/generic/math_private.h (__gamma_productf): New
518 (__gamma_product): Likewise.
519 (__gamma_productl): Likewise.
520 * math/Makefile (libm-calls): Add gamma_product.
521 * math/libm-test.inc (tgamma_test): Add more tests.
522 * sysdeps/i386/fpu/libm-test-ulps: Update.
523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
525 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
527 * benchtests/bench-skeleton.c (main): Preheat CPU.
529 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
531 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
533 2013-05-07 Roland McGrath <roland@hack.frob.com>
535 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
536 and _dl_skip_args_internal.
538 2013-05-07 Carlos O'Donell <carlos@redhat.com>
540 * manual/message.texi (Message Translation): Talk about users.
541 Message to key mapping impacts design.
543 2013-05-06 Roland McGrath <roland@hack.frob.com>
545 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
547 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
549 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
550 * sysdeps/wordsize-64/glob64.c: ... here.
552 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
553 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
556 * debug/getlogin_r_chk.c: Moved to ...
557 * login/getlogin_r_chk.c: ... here.
558 * debug/Makefile (routines): Move getlogin_r_chk to ...
559 * login/Makefile (routines): ... here.
560 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
561 * login/Versions (libc: GLIBC_2.4): ... here.
563 * io/poll.c (__poll): Renamed from poll.
565 (poll): Define as weak alias.
567 * debug/ptsname_r_chk.c: Moved to ...
568 * login/ptsname_r_chk.c: ... here.
569 * debug/Makefile (routines): Move ptsname_r_chk to ...
570 * login/Makefile (routines): ... here.
571 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
572 * login/Versions (libc: GLIBC_2.4): ... here.
574 * posix/getlogin.c: Moved to ...
575 * login/getlogin.c: ... here.
576 * posix/getlogin_r.c: Moved to ...
577 * login/getlogin_r.c: ... here.
578 * posix/getlogin_r.c: Moved to ...
579 * login/getlogin_r.c: ... here.
580 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
581 * login/Makefile (routines): ... here.
582 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
583 * login/Versions (libc: GLIBC_2.0): ... here.
585 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
586 (setrlimit): Define as weak alias.
588 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
589 Call __ names for open, ftruncate, and close.
590 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
591 (truncate): Define as weak alias.
593 2013-05-06 Joseph Myers <joseph@codesourcery.com>
595 * math/gen-libm-test.pl (parse_args): Initialize x before each
596 test of frexp, modf and remquo.
598 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
601 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
605 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
607 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
609 2013-05-06 Roland McGrath <roland@hack.frob.com>
611 * elf/dl-writev.h: New file.
612 * elf/dl-misc.c: Include it.
613 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
614 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
616 2013-05-04 Joseph Myers <joseph@codesourcery.com>
618 * math/libm-test.inc (noXFails): Remove variable.
619 (noXPasses): Likewise.
620 (BUILD_COMPLEX_INT): Remove macro.
621 (print_screen): Remove xfail argument.
622 (print_screen_max_error): Likewise.
623 (update_stats): Likewise.
624 (print_max_error): Likewise. Update calls to other affected
626 (print_complex_max_error): Likewise.
627 (test_single_exception): Update calls to print_screen.
628 (test_single_errno): Likewise.
629 (check_float_internal): Remove xfail argument. Update calls to
630 other affected functions.
631 (check_float): Likewise.
632 (check_complex): Likewise.
633 (check_int): Likewise.
634 (check_long): Likewise.
635 (check_bool): Likewise.
636 (check_longlong): Likewise.
637 (main): Don't print noXFails and noXPasses.
638 * math/gen-libm-test.pl (top level): Don't mention expected
639 failure handling in comment.
640 (new_test): Don't handle expected failures.
641 (parse_args): Don't mention expected failure handling in comment.
642 (generate_testfile): Don't handle expected failures.
643 (parse_ulps): Likewise.
644 (print_ulps_file): Likewise.
645 (get_failure): Remove function.
646 (output_test): Don't handle expected failures.
647 * make/README.libm-test: Don't mention expected failure handling.
649 * math/libm-test.inc (plus_zero): Make const. Add initializer.
650 (minus_zero): Likewise.
651 (plus_infty): Likewise.
652 (minus_infty): Likewise.
653 (qnan_value): Likewise.
654 (max_value): Likewise.
655 (min_value): Likewise.
656 (min_subnorm_value): Likewise.
657 (initialize): Do not initialize those variables dynamically.
659 2013-05-03 Roland McGrath <roland@hack.frob.com>
661 * io/open.c (__open_2): Moved to ...
662 * io/open_2.c: ... this new file.
663 * io/open64.c (__open64_2): Moved to ...
664 * io/open64_2.c: ... this new file.
665 * io/openat.c (__openat_2): Moved to ...
666 * io/openat_2.c: ... this new file.
667 * io/openat64.c (__openat64_2): Moved to ...
668 * io/openat64_2.c: ... this new file.
669 * io/Makefile (routines): Add them.
670 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
671 * sysdeps/unix/sysv/linux/open_2.c: File removed.
672 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
673 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
674 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
675 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
676 (__openat64): Add hidden_ver.
677 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
678 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
680 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
681 Separately conditionalize setting of GLRO(dl_sysinfo) so
682 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
683 as well, but the actual setting is only under [NEED_DL_SYSINFO].
685 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
687 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
688 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
690 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
691 * sysdeps/unix/sysv/linux/powerpc/init-first.c
692 (_libc_vdso_platform_setup): Add __vdso_time initialization.
693 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
694 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
696 2013-05-03 Joseph Myers <joseph@codesourcery.com>
698 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
701 * math/libm-test.inc (hypot_test): Do not use
702 IGNORE_ZERO_INF_SIGN.
704 2013-05-03 Andreas Jaeger <aj@suse.de>
706 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
708 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
709 (PF_MAX): Adjust for VSOCK change.
711 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
715 2013-05-02 Carlos O'Donell <carlos@redhat.com>
718 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
719 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
720 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
722 2013-05-02 David S. Miller <davem@davemloft.net>
724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
726 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
728 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
730 2013-05-01 Roland McGrath <roland@hack.frob.com>
732 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
734 2013-05-01 Richard Smith <richard@metafoo.co.uk>
737 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
738 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
739 Use __attribute__ ((__gnu_inline__)).
740 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
741 Don't use __attribute__ ((__gnu_inline__)).
743 2013-05-01 Joseph Myers <joseph@codesourcery.com>
746 * math/s_catan.c (__catan): Handle small real or imaginary part of
747 input specially to avoid spurious underflow.
748 * math/s_catanf.c (__catanf): Likewise.
749 * math/s_catanh.c (__catanh): Likewise.
750 * math/s_catanhf.c (__catanhf): Likewise.
751 * math/s_catanhl.c (__catanhl): Likewise.
752 * math/s_catanl.c (__catanl): Likewise.
753 * math/libm-test.inc (catan_test): Add more tests.
754 (catanh_test): Likewise.
755 * sysdeps/i386/fpu/libm-test-ulps: Update.
756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
758 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
762 2013-04-30 Joseph Myers <joseph@codesourcery.com>
765 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
766 accurately for denominator in atan2.
767 * math/s_catanf.c (__catanf): Likewise.
768 * math/s_catanh.c (__catanh): Likewise.
769 * math/s_catanhf.c (__catanhf): Likewise.
770 * math/s_catanhl.c (__catanhl): Likewise.
771 * math/s_catanl.c (__catanl): Likewise.
772 * math/libm-test.inc (catan_test): Add more tests.
773 (catanh_test): Likewise.
774 * sysdeps/i386/fpu/libm-test-ulps: Update.
775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
777 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
779 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
781 * benchtests/Makefile (bench): Remove slow benchmarks.
782 * benchtests/atan-inputs: Add slow benchmark inputs.
783 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
784 (BENCH_FUNC): Accept variant offset.
786 * benchtests/bench-skeleton.c (main): Run benchmark for each
788 * benchtests/cos-inputs: Add slow benchmark inputs.
789 * benchtests/exp-inputs: Likewise.
790 * benchtests/pow-inputs: Likewise.
791 * benchtests/sin-inputs: Likewise.
792 * benchtests/slowatan-inputs: Remove.
793 * benchtests/slowatan.c: Remove.
794 * benchtests/slowcos-inputs: Remove.
795 * benchtests/slowcos.c: Remove.
796 * benchtests/slowexp-inputs: Remove.
797 * benchtests/slowexp.c: Remove.
798 * benchtests/slowpow-inputs: Remove.
799 * benchtests/slowpow.c: Remove.
800 * benchtests/slowsin-inputs: Remove.
801 * benchtests/slowsin.c: Remove.
802 * benchtests/slowtan-inputs: Remove.
803 * benchtests/slowtan.c: Remove.
804 * benchtests/tan-inputs: Add slow benchmark inputs.
805 * scripts/bench.pl: Parse comments and directives.
807 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
809 ($(objpfx)bench-%.c): Remove *-ITER.
810 * benchtests/bench-modf.c: Remove definition of ITER.
811 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
812 (main): Loop for DURATION seconds instead of fixed number of
814 * scripts/bench.pl: Don't expect iterations in parameters.
816 2013-04-29 Roland McGrath <roland@hack.frob.com>
818 * io/fchdir.c (__fchdir): Renamed from fchdir.
819 (fchdir): Define as weak alias.
821 2013-04-29 Joseph Myers <joseph@codesourcery.com>
823 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
824 (ERRNO_EDOM): Likewise.
825 (ERRNO_ERANGE): Likewise.
826 (noErrnoTests): New variable.
827 (init_max_error): Set errno to 0.
828 (test_single_errno): New function.
829 (test_errno): Likewise.
830 (check_float_internal): Call test_errno. Set errno to 0.
831 (check_complex): Refer to errno tests in comment.
832 (check_int): Call test_errno. Set errno to 0.
833 (check_long): Likewise.
834 (check_bool): Likewise.
835 (check_longlong): Likewise.
836 (cos_test): Use ERRNO_* flags for errno tests instead of
838 (expm1_test): Likewise.
839 (fmod_test): Likewise.
840 (ilogb_test): Likewise.
841 (lgamma_test): Likewise.
842 (pow_test): Likewise.
843 (remainder_test): Likewise.
844 (sin_test): Likewise.
845 (tan_test): Likewise.
847 (initialize): Set errno to 0.
848 (main): Print number of errno tests.
849 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
851 2013-04-29 Andreas Jaeger <aj@suse.de>
854 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
858 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
859 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
863 * stdlib/random.c (__initstate): Return NULL if
867 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
868 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
871 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
875 2013-04-29 Joseph Myers <joseph@codesourcery.com>
877 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
879 (casin_test): Likewise.
880 (casinh_test): Likewise.
882 2013-04-27 Joseph Myers <joseph@codesourcery.com>
885 * math/s_catan.c (__catan): Handle arguments with large real or
886 imaginary part separately without squaring.
887 * math/s_catanf.c (__catanf): Likewise.
888 * math/s_catanh.c (__catanh): Likewise.
889 * math/s_catanhf.c (__catanhf): Likewise.
890 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
892 (__catanhl): Handle arguments with large real or imaginary part
893 separately without squaring.
894 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
896 (__catanl): Handle arguments with large real or imaginary part
897 separately without squaring.
898 * math/libm-test.inc (catan_test): Add more tests.
899 (catanh_test): Likewise.
900 * sysdeps/i386/fpu/libm-test-ulps: Update.
901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
903 2013-04-27 Andreas Jaeger <aj@suse.de>
906 * stdlib/stdlib.h: Update guards for qecvt.
907 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
910 2013-04-27 Allan McRae <allan@archlinux.org>
912 * sysdeps/i386/fpu/libm-test-ulps: Update.
914 2013-04-26 Joseph Myers <joseph@codesourcery.com>
917 * math/s_catan.c: Include <float.h>.
918 (__catan): Ensure underflow exception occurs for underflowed
920 * math/s_catanf.c: Include <float.h>.
921 (__catanf): Ensure underflow exception occurs for underflowed
923 * math/s_catanh.c: Include <float.h>.
924 (__catanh): Ensure underflow exception occurs for underflowed
926 * math/s_catanhf.c: Include <float.h>.
927 (__catanhf): Ensure underflow exception occurs for underflowed
929 * math/s_catanhl.c: Include <float.h>.
930 (__catanhl): Ensure underflow exception occurs for underflowed
932 * math/s_catanl.c: Include <float.h>.
933 (__catanl): Ensure underflow exception occurs for underflowed
935 * math/libm-test.inc (catan_test): Add more tests.
936 (catanh_test): Likewise.
939 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
941 * math/s_ccoshf.c (__ccoshf): Likewise.
942 * math/s_ccoshl.c (__ccoshl): Likewise.
943 * math/s_csin.c (__csin): Likewise.
944 * math/s_csinf.c (__csinf): Likewise.
945 * math/s_csinh.c (__csinh): Likewise.
946 * math/s_csinhf.c (__csinhf): Likewise.
947 * math/s_csinhl.c (__csinhl): Likewise.
948 * math/s_csinl.c (__csinl): Likewise.
949 * math/libm-test.inc (ccos_test): Add more tests.
950 (ccosh_test): Likewise.
951 (csin_test): Likewise.
952 (csinh_test): Likewise.
954 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
956 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
957 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
958 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
959 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
960 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
961 powerpc/power5+/fpu folders.
962 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
965 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
969 2013-04-25 Joseph Myers <joseph@codesourcery.com>
971 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
972 additions to variable.
973 [$(config-machine) = x86_64] (modules-names): Likewise.
974 ($(objpfx)tst-audit3): Remove dependency.
975 ($(objpfx)tst-audit3.out): Likewise.
976 ($(objpfx)tst-audit4): Likewise.
977 ($(objpfx)tst-audit4.out): Likewise.
978 ($(objpfx)tst-audit5): Likewise.
979 ($(objpfx)tst-audit5.out): Likewise.
980 ($(objpfx)tst-audit6): Likewise.
981 ($(objpfx)tst-audit6.out): Likewise.
982 ($(objpfx)tst-audit7): Likewise.
983 ($(objpfx)tst-audit7.out): Likewise.
984 (tst-audit3-ENV): Remove variable.
985 (tst-audit4-ENV): Likewise.
986 (tst-audit5-ENV): Likewise.
987 (tst-audit6-ENV): Likewise.
988 (tst-audit7-ENV): Likewise.
989 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
990 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
991 addition to variable.
992 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
993 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
994 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
995 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
996 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
997 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
998 tst-audit3, tst-audit4 and tst-audit5.
999 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1000 tst-audit6 and tst-audit7.
1001 [$(subdir) = elf] (modules-names): Add audit modules for those
1003 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1004 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1005 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1006 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1007 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1008 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1009 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1010 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1011 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1012 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1013 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1014 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1015 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1016 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1017 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1018 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1020 [$(subdir) = elf && $(config-cflags-avx) = yes]
1021 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1022 [$(subdir) = elf && $(config-cflags-avx) = yes]
1023 (CFLAGS-tst-auditmod4a.c): Likewise.
1024 [$(subdir) = elf && $(config-cflags-avx) = yes]
1025 (CFLAGS-tst-auditmod4b.c): Likewise.
1026 [$(subdir) = elf && $(config-cflags-avx) = yes]
1027 (CFLAGS-tst-auditmod6b.c): Likewise.
1028 [$(subdir) = elf && $(config-cflags-avx) = yes]
1029 (CFLAGS-tst-auditmod6c.c): Likewise.
1030 [$(subdir) = elf && $(config-cflags-avx) = yes]
1031 (CFLAGS-tst-auditmod7b.c): Likewise.
1032 * elf/tst-audit3.c: Move to ...
1033 * sysdeps/x86_64/tst-audit3.c: ... here.
1034 * elf/tst-audit4.c: Move to ...
1035 * sysdeps/x86_64/tst-audit4.c: ... here.
1036 * elf/tst-audit5.c: Move to ...
1037 * sysdeps/x86_64/tst-audit5.c: ... here.
1038 * elf/tst-audit6.c: Move to ...
1039 * sysdeps/x86_64/tst-audit6.c: ... here.
1040 * elf/tst-audit7.c: Move to ...
1041 * sysdeps/x86_64/tst-audit7.c: ... here.
1042 * elf/tst-auditmod3a.c: Move to ...
1043 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1044 * elf/tst-auditmod3b.c: Move to ...
1045 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1046 * elf/tst-auditmod4a.c: Move to ...
1047 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1048 * elf/tst-auditmod4b.c: Move to ...
1049 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1050 * elf/tst-auditmod5a.c: Move to ...
1051 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1052 * elf/tst-auditmod5b.c: Move to ...
1053 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1054 * elf/tst-auditmod6a.c: Move to ...
1055 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1056 * elf/tst-auditmod6b.c: Move to ...
1057 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1058 * elf/tst-auditmod6c.c: Move to ...
1059 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1060 * elf/tst-auditmod7a.c: Move to ...
1061 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1062 * elf/tst-auditmod7b.c: Move to ...
1063 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1065 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1068 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1069 define unconditionally.
1070 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1071 define unconditionally.
1072 (INT8_C, INT16_C, etc.): Likewise.
1074 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1076 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1077 __ehdr_start with hidden visibility.
1079 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1081 2013-04-24 Carlos O'Donell <carlos@redhat.com>
1083 * math/libm-test.inc (cos_test): Use accurate hex constants.
1084 (sincost_test): Likewise.
1086 2013-04-24 Joseph Myers <joseph@codesourcery.com>
1088 * math/libm-test.inc (catan_test): Add more tests.
1089 (catanh_test): Likewise.
1091 * math/s_catanf.c (__catanf): Use suffixed floating-point
1093 * math/s_catanhf.c (__catanhf): Likewise.
1094 * math/s_catanhl.c (__catanhl): Likewise.
1095 * math/s_catanl.c (__catanl): Likewise.
1098 * math/s_catan.c (__catan): Calculate imaginary part of result
1099 with log1p not log unless computing log of number close to 0.
1100 * math/s_catanf.c (__catanf): Likewise.
1101 * math/s_catanl.c (__catanl): Likewise.
1102 * math/s_catanh.c (__catanh): Calculate real part of result with
1103 log1p not log unless computing log of number close to 0.
1104 * math/s_catanhf.c (__catanhf): Likewise.
1105 * math/s_catanhl.c (__catanhl): Likewise.
1106 * math/libm-test.inc (catan_test): Add more tests.
1107 (catanh_test): Likewise.
1108 * sysdeps/i386/fpu/libm-test-ulps: Update.
1109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1111 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1113 * benchtests/Makefile: Mention files in which fast and slow
1114 paths of math functions are implemented.
1116 2013-04-23 Roland McGrath <roland@hack.frob.com>
1118 * sysdeps/posix/timespec_get.c: New file.
1120 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1122 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1124 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1126 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1127 powerpc/power5/fpu folders.
1128 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1129 * benchtests/Makefile: Add modf testcase.
1130 * benchtests/bench-modf.c: New file: Benchmark test for mo
1132 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1135 * time/Makefile (tests): Add tst-strptime-whitespace.
1136 * time/strptime_l.c (get_number): Use ISSPACE.
1137 (__strptime_internal): Likewise.
1138 * time/tst-strptime-whitespace.c: New test case.
1140 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
1142 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1144 (_nss_files_init): Set it here.
1146 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
1148 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1149 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1152 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
1154 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1156 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1158 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1161 2013-04-21 David S. Miller <davem@davemloft.net>
1163 * po/ru.po: Update Russion translation from translation project.
1165 2013-04-17 Adam Conrad <adconrad@0c3.net>
1167 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1170 2013-04-17 Carlos O'Donell <carlos@redhat.com>
1172 * configure.in: Remove i386 configure warning. Remove i386 case.
1173 * configure: Regenerate.
1174 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
1175 Add example to error message.
1176 * sysdeps/i386/configure: Regenerate.
1178 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1180 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1182 * benchtests/cos-inputs: New file.
1183 * benchtests/slowcos-inputs: New file.
1184 * benchtests/slowcos.c: New file.
1185 * benchtests/slowtan-inputs: New file.
1186 * benchtests/slowtan.c: New file.
1187 * benchtests/tan-inputs: New file.
1189 2013-04-16 Roland McGrath <roland@hack.frob.com>
1191 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1194 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1196 * benchtests/Makefile: Include cppflags-iterator.mk to add
1197 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1199 * Makefile.in (bench-clean): New target.
1200 * benchtests/Makefile (bench-clean): Likewise.
1202 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1204 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1206 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1208 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1210 2013-04-15 Andreas Schwab <schwab@suse.de>
1212 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1213 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1214 * nscd/pwdcache.c (cache_addpw): Likewise.
1215 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1218 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1220 * benchtests/Makefile (bench): Write all output to
1221 bench-out.tmp together.
1223 2013-04-15 Andreas Schwab <schwab@suse.de>
1225 * nscd/nscd.c (main): Don't fork again after closing files.
1227 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1229 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1231 * benchtests/Rules (bench-deps): Collect dependencies into a
1232 single variable. Add Makefile to dependencies.
1233 ($(objpfx)bench-%.c): Depend on bench-deps.
1235 2013-04-12 Roland McGrath <roland@hack.frob.com>
1236 Xavier Roche <roche+kml2@exalead.com>
1239 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1240 just that it's a file descriptor.
1241 * manual/llio.texi (Synchronizing AIO Operations): Update description
1242 for EBADF error from aio_fsync.
1244 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1246 * Rules (bench): Move target definition...
1247 * benchtests/Makefile: ... here.
1249 2013-04-11 Carlos O'Donell <carlos@redhat.com>
1251 * math/libm-test.inc (cos_test): Fix PI/2 test.
1252 (sincos_test): Likewise.
1253 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1254 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1256 2013-04-11 Andreas Schwab <schwab@suse.de>
1259 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1260 accept exponent character only when digits were seen.
1261 * stdio-common/Makefile (tests): Add bug26.
1262 * stdio-common/bug26.c: New file.
1265 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1268 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1270 * Makeconfig (rtld-prefix): Define built linker prefix.
1271 * Rules (run-bench): Use it.
1272 * math/Makefile (run-regen-ulps): Likewise.
1274 * Rules (bench): Remove eval.
1276 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1277 Roland McGrath <roland@hack.frob.com>
1278 Ondrej Bilka <neleai@seznam.cz>
1281 * time/getdate.c: Include ctype.h and alloca.h.
1282 (__getdate_r): Trim leading and trailing spaces of input.
1283 * time/tst-getdate.c (tests): Add tests with leading and
1286 2013-04-08 Roland McGrath <roland@hack.frob.com>
1289 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1290 when computing value.
1292 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1294 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1295 Use testrun.sh to run libm tests.
1298 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1300 2013-04-06 Marko Myllynen <myllynen@redhat.com>
1303 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1305 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1307 * Makefile.in (regen-ulps): New target.
1308 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1309 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1310 [ifneq (no,$(PERL)] (regen-ulps): New target.
1311 [ifeq (no,$(PERL)] (regen-ulps): New target.
1312 * math/libm-test.inc (ulps_file_name): Define.
1313 (output_dir): New variable.
1314 (options): Add "output-dir" option.
1315 (parse_opt): Handle 'o' case.
1316 (main): If output_dir is non-NULL use it as a prefix
1318 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1320 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1323 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1324 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1325 fail configure if __sync_val_compare_and_swap is not inlined.
1326 * sysdeps/i386/configure: Regenerate.
1327 * configure.in: Build for i686 when configured for i386.
1328 * configure: Regenerate.
1329 * README: Remove i386 reference.
1331 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1333 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1334 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1336 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1338 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1339 (lmsnanval): New variables.
1340 (F): Add conversion tests.
1341 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1342 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1344 * stdio-common/tstdiomisc.c (F): Properly collect individual
1348 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1349 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1350 Instead, use input NaN values or generate a qNaN by arithmetic
1351 operation. Also fix bugs to comply with the standard.
1352 * math/libm-test.inc (remainder_test): Add more tests.
1355 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1356 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1357 input NaN values or generate a qNaN by arithmetic operation.
1359 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1362 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1365 2013-04-03 Joseph Myers <joseph@codesourcery.com>
1368 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1370 * math/s_cexpf.c (__cexpf): Likewise.
1371 * math/s_cexpl.c (__cexpl): Likewise.
1372 * math/libm-test.inc (cexp_test): Add more tests.
1374 2013-04-03 Andreas Schwab <schwab@suse.de>
1377 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1378 order arrays from heap if bigger than alloca cutoff.
1380 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1382 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1383 (SNAN_TESTS_double): Refer to GCC PR56831.
1384 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1387 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1389 * Rules (bench): Move bench.out after the run is complete.
1391 * Rules (bench): Echo currently running benchmark.
1393 * benchtests/Makefile (bench): Add atan and slowatan.
1394 * benchtests/atan-inputs: New file.
1395 * benchtests/slowatan-inputs: New file.
1396 * benchtests/slowatan.c: New file.
1398 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1399 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1403 * sysdeps/unix/sysv/linux/kernel-features.h
1404 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1405 __ASSUME_XFS_RESTRICTED_CHOWN.
1406 * sysdeps/unix/sysv/linux/pathconf.c
1407 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1408 Save and restore errno.
1410 2013-04-02 Joseph Myers <joseph@codesourcery.com>
1413 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1414 arguments using __kernel_casinh.
1415 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1416 arguments using __kernel_casinhf.
1417 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1418 arguments using __kernel_casinhl.
1419 * math/libm-test.inc (cacosh_test): Add more tests.
1420 * sysdeps/i386/fpu/libm-test-ulps: Update.
1421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1423 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1425 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1426 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1428 * bench/Makefile (bench): Add sin and slowsin.
1429 * benchtests/sin-inputs: New file.
1430 * benchtests/slowsin-inputs: New file.
1431 * benchtests/slowsin.c: New file.
1433 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1434 (bench): Add slowexp and slowpow.
1435 (exp-ITER): Increase iterations.
1436 (pow-ITER): Likewise.
1437 * benchtests/exp-inputs: Change input.
1438 * benchtests/pow-inputs: Likewise.
1439 * benchtests/slowexp-inputs: New file.
1440 * benchtests/slowexp.c: New file.
1441 * benchtests/slowpow-inputs: New file.
1442 * benchtests/slowpow.c: New file.
1444 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1446 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1448 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1449 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1450 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1451 * benchtests/Makefile: Add rint benchtest.
1452 * benchtests/rint-inputs: Input for rint benchtest.
1454 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1456 * Versions.def (libm): Add GLIBC_2.18.
1457 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1458 hidden libm prototypes.
1459 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1460 * math/Makefile (libm-calls): Add s_issignaling.
1461 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1462 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1463 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1465 * math/math.h [__USE_GNU] (issignaling): New macro.
1466 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1467 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1468 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1469 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1470 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1471 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1472 * manual/arith.texi (issignaling): New section.
1473 * manual/libm-err-tab.pl (@all_functions): Update comment.
1474 * math/gen-libm-test.pl (parse_args): Apply special handling for
1476 * math/libm-test.inc (print_float, issignaling_test): New
1478 (check_float_internal): Add issignaling checks.
1479 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1481 * sysdeps/powerpc/math-tests.h: New file.
1482 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1484 * math/test-snan.c (TEST_FUNC): Likewise.
1486 2013-03-30 David S. Miller <davem@davemloft.net>
1488 * po/de.po: Update from translation team.
1490 2013-03-30 Joseph Myers <joseph@codesourcery.com>
1493 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1494 imaginary part less than 1.0 and real part less than 0.5
1496 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1497 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1498 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1499 (cacos_test): Add more tests.
1500 (casin_test): Likewise.
1501 (casinh_test): Likewise.
1502 * sysdeps/i386/fpu/libm-test-ulps: Update.
1503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1505 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1507 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1510 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1511 (__pow_mp): Replace ONE and MONE with their values.
1512 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1513 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1514 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1515 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1516 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1517 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1519 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1521 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1522 (__pow_mp): Replace ZERO and MZERO with their values.
1523 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1524 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1525 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1526 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1527 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1528 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1531 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1533 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1535 2013-03-28 Roland McGrath <roland@hack.frob.com>
1537 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1538 Declare with __attribute__ ((weak)).
1539 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1540 Call __call_tls_dtors only if it's not NULL.
1542 2013-03-28 Roland McGrath <roland@hack.frob.com>
1544 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1545 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1546 magic __ehdr_start linker symbol if it's defined.
1547 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1548 them up here if it was already done.
1550 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1551 (_dl_aux_init): Use const in cast when setting it.
1552 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1553 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1554 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1556 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1558 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1559 * csu/libc-tls.c: Nor here.
1560 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1562 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1563 (__libc_message): Never call vsyslog.
1565 2013-03-28 Alan Modra <amodra@gmail.com>
1567 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1569 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1572 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1575 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1579 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1582 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1583 Don't add gid passed as argument.
1585 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1587 2013-03-27 Joseph Myers <joseph@codesourcery.com>
1590 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1591 imaginary part between 1.0 and 1.5 and real part less than 0.5
1593 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1594 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1595 * math/libm-test.inc (cacos_test): Add more tests.
1596 (casin_test): Likewise.
1597 (casinh_test): Likewise.
1598 * sysdeps/i386/fpu/libm-test-ulps: Update.
1599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1601 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1603 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1607 (__dbl_mp): Likewise.
1608 (add_magnitudes): Likewise.
1609 (sub_magnitudes): Likewise.
1617 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1619 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1620 (__dubcos): Likewise.
1621 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1622 (__ieee754_acos): Likewise.
1623 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1624 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1626 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1627 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1629 (my_log2): Likewise.
1630 (checkint): Likewise.
1631 * sysdeps/ieee754/dbl-64/e_remainder.c
1632 (__ieee754_remainder): Likewise.
1633 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1634 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1636 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1638 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1639 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1640 MANTISSA_STORE_T to store computations on mantissa. Use
1641 macros for rounding and division.
1643 (__dbl_mp): Likewise.
1644 (add_magnitudes): Likewise.
1645 (sub_magnitudes): Likewise.
1648 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1649 powers of two in terms of TWOPOW macro.
1650 (mp_no): Make type of mantissa as MANTISSA_T.
1651 [!RADIXI]: Define RADIXI.
1652 [!TWO52]: Define TWO52.
1653 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1655 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1657 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1658 llroundl symbol when building for PPC32.
1660 2013-03-24 Mark H Weaver <mhw@netris.org>
1662 * manual/arith.texi (Normalization Functions): Fix prototypes for
1663 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1665 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1668 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1669 high value to check if expl overflow.
1670 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1671 to check for underflow and overflow.
1672 * math/libm-test.inc: Add exp test.
1674 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1677 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1680 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1682 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1685 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1687 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1688 wrap blocks consisting of several statements.
1690 * sysdeps/generic/math-tests.h: New file.
1691 * sysdeps/i386/fpu/math-tests.h: Likewise.
1692 * math/test-snan.c: Include it.
1693 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1695 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1698 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1699 (__ieee754_j0l): Do not improve calculations using cos of twice
1700 input for inputs above LDBL_MAX / 2.0L.
1701 (__ieee754_y0l): Likewise.
1702 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1703 (__ieee754_j1l): Do not improve calculations using cos of twice
1704 input for inputs above LDBL_MAX / 2.0L.
1705 (__ieee754_y1l): Likewise.
1706 * math/libm-test.inc (j0_test): Add another test.
1707 (j1_test): Likewise.
1708 (y0_test): Likewise.
1709 (y1_test): Likewise.
1710 * sysdeps/i386/fpu/libm-test-ulps: Update.
1712 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1714 * Rules ($(objpfx)bench-%.c): Include code from a C source
1717 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1720 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1721 imaginary part 1.0 and real part less than 0.5 specially.
1722 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1723 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1724 * math/libm-test.inc (cacos_test): Add more tests.
1725 (casin_test): Likewise.
1726 (casinh_test): Likewise.
1727 * sysdeps/i386/fpu/libm-test-ulps: Update.
1728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1730 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1732 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1733 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1735 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1737 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1738 * config.make.in (config-cflags-sse4): Remove variable.
1739 (config-cflags-avx): Likewise.
1740 (config-cflags-sse2avx): Likewise.
1741 (config-cflags-novzeroupper): Likewise.
1742 (config-asflags-i686): Likewise.
1743 (have-mfma4): Likewise.
1744 (have-as-vis3): Likewise.
1746 * configure.in (MIG): Do not AC_SUBST.
1747 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1748 (libc_cv_cc_sse4): Do not AC_SUBST.
1749 (libc_cv_cc_avx): Likewise.
1750 (libc_cv_cc_sse2avx): Likewise.
1751 (libc_cv_cc_novzeroupper): Likewise.
1752 (libc_cv_cc_fma4): Likewise.
1753 (libc_cv_as_i686): Likewise.
1754 (libc_cv_sparc_as_vis3): Likewise.
1755 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1757 (config-asflags-i686): Likewise.
1758 (config-cflags-avx): Likewise.
1759 (config-cflags-sse2avx): Likewise.
1760 (have-mfma4): Likewise.
1761 (config-cflags-novzeroupper): Likewise.
1762 * sysdeps/mach/configure.in (MIG): Likewise.
1763 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1764 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1766 (config-cflags-avx): Likewise.
1767 (config-cflags-sse2avx): Likewise.
1768 (have-mfma4): Likewise.
1769 (config-cflags-novzeroupper): Likewise.
1770 * configure: Regenerated.
1771 * sysdeps/i386/configure: Likewise.
1772 * sysdeps/mach/configure: Likewise.
1773 * sysdeps/sparc/configure: Likewise.
1774 * sysdeps/x86_64/configure: Likewise.
1776 2013-03-20 Roland McGrath <roland@hack.frob.com>
1779 * locale/programs/localedef.c (options): Put N_ translation marker
1780 on argument names, not just descriptions.
1782 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1784 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1786 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1789 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1791 2013-03-19 Roland McGrath <roland@hack.frob.com>
1793 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1794 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1795 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1796 [!BEFORE_ABORT] (before_abort): New function.
1797 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1798 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1799 (writev_for_fatal): New function.
1800 (WRITEV_FOR_FATAL): New macro; call that.
1801 (backtrace_and_maps): New function.
1802 (BEFORE_ABORT): New macro; call that.
1803 (struct str_list): Type removed.
1804 (__libc_message, __libc_fatal): Functions removed.
1805 Include <sysdeps/posix/libc_fatal.c> instead.
1807 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1809 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1811 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1814 2013-03-19 Andreas Schwab <schwab@suse.de>
1816 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1817 * sysdeps/gnu/configure: Regenerate.
1819 * configure.in: Substitute libc_cv_rtlddir.
1820 * configure: Regenerate.
1821 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1822 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1823 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1824 * elf/Makefile (install-others, CFLAGS-interp.c)
1825 (ldso_install, common-ldd-rewrite): Likewise.
1826 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1827 $(inst_slibdir)/$(rtld-installed-name).
1828 * scripts/rellns-sh: Add -p option.
1829 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1832 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1834 * manual/nptl.texi: Renamed to ...
1835 * manual/threads.texi: ... this.
1836 * manual/Makefile (chapters): Update.
1838 2013-03-18 Roland McGrath <roland@hack.frob.com>
1841 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1842 on argument names, not just descriptions.
1843 * malloc/memusagestat.c (options): Likewise.
1844 * nss/getent.c (options): Likewise.
1846 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1849 * iconv/iconv_prog.c (options): Put N_ translation marker
1850 on argument names, not just descriptions.
1851 * iconv/iconvconfig.c (options): Likewise.
1853 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1855 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1856 implementation which is faster on all x86_64 architectures.
1857 Tested on AMD, Intel Nehalem, SNB, IVB.
1858 * sysdeps/x86_64/strnlen.S: Likewise.
1860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1861 Remove all multiarch strlen and strnlen versions.
1862 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1863 Remove strlen and strnlen related parts.
1865 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1867 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1869 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1870 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1871 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1872 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1873 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1874 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1876 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1878 * manual/memory.texi (Malloc Tunable Parameters):
1879 Sort parameters alphabetically. Add comments for missing entries.
1881 2013-03-17 David S. Miller <davem@davemloft.net>
1883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1885 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1888 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1889 for arguments at most half maximum finite value.
1890 * math/libm-test.inc (j0_test): Add more tests.
1891 (j1_test): Likewise.
1892 (y0_test): Likewise.
1893 (y1_test): Likewise.
1894 * sysdeps/i386/fpu/libm-test-ulps: Update.
1895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1898 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1899 1 / x and functions P and Q for arguments above 0x1p256L.
1900 (__ieee754_y0l): Likewise.
1901 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1902 (__ieee754_y1l): Likewise.
1903 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1904 (j1_test): Likewise.
1905 (y0_test): Likewise.
1906 (y1_test): Likewise.
1908 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1910 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1913 2013-03-15 Roland McGrath <roland@hack.frob.com>
1915 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1916 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1917 zero since it's initialized to EXEC_PAGESIZE.
1919 * sysdeps/unix/sysv/linux/ldsodefs.h
1920 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1921 * sysdeps/generic/ldsodefs.h: ... here.
1923 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1925 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1927 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1929 * math/test-snan.c: Renamed from
1930 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1931 * math/Makefile (tests): Add test-snan.
1932 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1935 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1936 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1938 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1939 __builtin_nan family of functions.
1940 * math/libm-test.inc (initialize): Initialize qnan_value with
1941 __builtin_nan family of functions.
1942 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1944 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1946 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1947 storage class. Initialize qNaN_var and sNaN_var with
1948 __builtin_nan and __builtin_nans families of functions,
1951 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1952 (sqrt_test): Remove duplicate test with qNaN input.
1953 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1954 (round_test, signbit_test, significand_test): Note missing +/-Inf
1955 as well as qNaN tests.
1957 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1958 qNaN_var. Fix a few strings, too.
1959 * math/libm-test.inc (nan_value): Rename to qnan_value.
1960 * math/gen-libm-test.pl (%beautify): Adjust to that.
1961 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1962 * math/test-misc.c (main): Likewise.
1963 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1964 to __qnan_bytes, and __qnan_union, respectively.
1965 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1967 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1968 and lqnanval, respectively.
1969 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1970 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1971 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1972 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1974 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1975 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1978 * math/test-misc.c (main): Fix copy'n'pastos.
1979 * misc/tst-efgcvt.c (special): Likewise.
1981 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1982 Remove declarations.
1984 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1986 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1987 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1988 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1989 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1991 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1993 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1994 macro to return vdso values correctly in IFUNC implementations.
1995 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1996 Optimization by using IFUNC.
1998 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1999 Richard Henderson <rth@redhat.com>
2000 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2002 * Makefile.in (bench): New target.
2003 * NEWS: Mention the benchmark framework.
2004 * Rules (bench): Likewise.
2005 (binaries-bench): Generate binaries for functions to
2007 * benchtests/Makefile: New makefile for benchmark tests.
2008 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2010 * benchtests/exp-inputs: New input file for EXP function.
2011 * benchtests/pow-inputs: New input file for POW function.
2012 * scripts/bench.pl: New script to generate source files for
2015 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2017 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2018 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2019 computations on mantissa. Use macros for rounding and
2022 (__dbl_mp): Likewise.
2023 (add_magnitudes): Likewise.
2024 (sub_magnitudes): Likewise.
2027 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2028 powers of two in terms of TWOPOW macro.
2029 (mp_no): Make type of mantissa as MANTISSA_T.
2030 [!RADIXI]: Define RADIXI.
2031 [!TWO52]: Define TWO52.
2032 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2034 * manual/nptl.texi (cindex): Modify threads to pthreads.
2036 2013-03-15 Joseph Myers <joseph@codesourcery.com>
2038 * sysdeps/x86_64/preconfigure: Regenerated.
2040 2013-03-14 Joseph Myers <joseph@codesourcery.com>
2043 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2045 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2046 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2048 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2049 * math/libm-test.inc (j0_test): Do not allow one spurious
2050 underflow exception.
2051 (y1_test): Likewise.
2053 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2055 * manual/Makefile (chapters): Add nptl.
2056 * manual/debug.texi (Debugging Support): Add link to Threads
2058 * manual/nptl.texi: New file.
2060 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2062 2013-03-14 Petr Baudis <pasky@ucw.cz>
2064 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2065 for non-NULL pointer before the memory validity test. Pointed
2066 out by Holger Brunck <holger.brunck@keymile.com>.
2068 2013-03-13 Andreas Schwab <schwab@suse.de>
2070 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2073 2013-03-13 Joseph Myers <joseph@codesourcery.com>
2075 * timezone/zic.c: Update from tzcode 2013b.
2077 2013-03-12 Carlos O'Donell <carlos@redhat.com>
2079 * manual/install.texi (Configuring and compiling):
2080 Mention i686 and i586.
2081 * INSTALL: Regenerate.
2083 2013-03-12 Roland McGrath <roland@hack.frob.com>
2085 * sysdeps/init_array/elf-init.c: New file.
2087 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2088 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2090 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2091 __gmon_start__ as global, but as static with a .preinit_array pointer.
2092 * sysdeps/init_array/gmon-start.c: New file. Use that.
2093 * sysdeps/init_array/crti.S: New file, empty except for comments.
2094 * sysdeps/init_array/crtn.S: Likewise.
2096 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
2098 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2100 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2101 Remove Prefer_SSE_for_memop.
2102 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2103 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2104 HAS_PREFER_SSE_FOR_MEMOP.
2105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2107 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2108 Remove bzero, memset ifunc support.
2109 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2110 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2111 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2112 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2114 2013-03-11 Andreas Schwab <schwab@suse.de>
2117 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2119 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2120 (GLIBC_2.16): Remove pthread_atfork.
2122 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2124 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2125 (ptestcases.h): Likewise.
2127 2013-03-08 Roland McGrath <roland@hack.frob.com>
2129 * Makeconfig ($(common-objpfx)config.status): Depend on
2130 sysdeps/*/preconfigure{,.in} too.
2132 2013-03-08 Joseph Myers <joseph@codesourcery.com>
2134 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2135 (__free_hook): Use void * instead of __malloc_ptr_t.
2136 (__malloc_hook): Likewise.
2137 (__realloc_hook): Likewise.
2138 (__memalign_hook): Likewise.
2139 (__after_morecore_hook): Likewise.
2140 * malloc/arena.c (save_malloc_hook): Likewise.
2141 (save_free_hook): Likewise.
2142 * malloc/hooks.c (malloc_hook_ini): Likewise.
2143 (realloc_hook_ini): Likewise.
2144 (memalign_hook_ini): Likewise.
2145 * malloc/malloc.c (malloc_hook_ini): Likewise.
2146 (realloc_hook_ini): Likewise.
2147 (memalign_hook_ini): Likewise.
2148 (__free_hook): Likewise.
2149 (__malloc_hook): Likewise.
2150 (__realloc_hook): Likewise.
2151 (__memalign_hook): Likewise.
2152 (__libc_malloc): Likewise.
2153 (__libc_free): Likewise.
2154 (__libc_realloc): Likewise.
2155 (__libc_memalign): Likewise.
2156 (__libc_valloc): Likewise.
2157 (__libc_pvalloc): Likewise.
2158 (__libc_calloc): Likewise.
2159 (__posix_memalign): Likewise.
2160 * malloc/morecore.c (__sbrk): Likewise.
2161 (__default_morecore): Likewise.
2163 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2165 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2166 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2169 * malloc/malloc.h (__malloc_size_t): Remove macro.
2170 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2172 (old_memalign_hook): Likewise.
2173 (old_realloc_hook): Likewise.
2174 (struct hdr): Likewise.
2176 (mallochook): Likewise.
2177 (memalignhook): Likewise.
2178 (reallochook): Likewise.
2179 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2180 (tr_old_realloc_hook): Likewise.
2181 (tr_old_memalign_hook): Likewise.
2182 (tr_mallochook): Likewise.
2183 (tr_reallochook): Likewise.
2184 (tr_memalignhook): Likewise.
2186 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2188 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2189 default_ldbl_pack and using as default implementation.
2190 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2192 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2193 redundant definition.
2194 (ldbl_insert_mantissa): Likewise.
2195 (ldbl_canonicalize): Likewise.
2196 (ldbl_nearbyint): Likewise.
2197 (ldbl_pack): Rename to ldbl_pack_ppc.
2198 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2199 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2200 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2202 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2204 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2205 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2206 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2207 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2208 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2209 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2210 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2211 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2213 2013-03-07 Andreas Jaeger <aj@suse.de>
2215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2218 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2220 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2221 Include mpa.h and declare __MPEXP.
2222 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2223 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2224 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2225 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2226 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2227 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2228 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2230 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2231 (__slowpow): Use long double EXPL and LOGL functions to
2233 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2234 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2235 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2236 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2237 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2238 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2241 intermediate variable to calculate exponent.
2243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2247 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2248 [!NO__SQR]: Define __sqr.
2249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2250 and NO__SQR. Remove all code except __mul and __sqr. Include
2251 sysdeps/ieee754/dbl-64/mpa.c.
2252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2255 * posix/Makefile (tests): Add tst-pathconf.
2256 * posix/tst-pathconf.c: New test case.
2257 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2259 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2261 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
2263 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2265 2013-03-06 Andreas Jaeger <aj@suse.de>
2267 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2268 definition via __MAP_ANONYMOUS.
2270 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2271 it's not part of Linux headers.
2273 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2274 (MAP_HUGE_MASK): Define.
2276 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2278 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2279 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2281 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2282 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2284 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2285 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2287 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2289 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2290 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2291 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2292 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2293 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2294 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2296 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2299 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2300 Handle f2fs and efivarfs.
2302 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2305 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2306 (EFIVARFS_MAGIC): Add.
2307 (F2FS_LINK_MAX): Add.
2309 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2311 * stdio-common/vfprintf.c: Replace __builtin_expect with
2314 2013-03-06 Joseph Myers <joseph@codesourcery.com>
2317 * sysdeps/generic/bp-sym.h: Remove file.
2318 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2319 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2320 <bp-sym.h> and <bp-asm.h>.
2321 (__longjmp): Don't use BP_SYM.
2322 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2324 (memcpy): Don't use BP_SYM.
2325 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2326 <bp-sym.h> and <bp-asm.h>.
2327 (memcpy): Don't use BP_SYM.
2328 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2330 (memcpy): Don't use BP_SYM.
2331 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2333 (memset): Don't use BP_SYM.
2334 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2335 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2336 (__bzero): Don't use BP_SYM.
2337 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2338 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2339 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2340 <bp-sym.h> and <bp-asm.h>.
2341 (memcmp): Don't use BP_SYM. Remove comment about bounded
2343 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2344 <bp-sym.h> and <bp-asm.h>.
2345 (memcpy): Don't use BP_SYM.
2346 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2347 <bp-sym.h> and <bp-asm.h>.
2348 (memset): Don't use BP_SYM.
2349 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2350 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2351 (__bzero): Don't use BP_SYM.
2352 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2353 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2354 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2355 <bp-sym.h> and <bp-asm.h>.
2356 (strncmp): Don't use BP_SYM. Remove comment about bounded
2358 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2359 <bp-sym.h> and <bp-asm.h>.
2360 (memcpy): Don't use BP_SYM.
2361 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2362 <bp-sym.h> and <bp-asm.h>.
2363 (memset): Don't use BP_SYM.
2364 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2365 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2366 (__bzero): Don't use BP_SYM.
2367 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2368 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2369 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2370 <bp-sym.h> and <bp-asm.h>.
2371 (__memchr): Don't use BP_SYM.
2372 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2373 <bp-sym.h> and <bp-asm.h>.
2374 (memcmp): Don't use BP_SYM. Remove comment about bounded
2376 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2377 <bp-sym.h> and <bp-asm.h>.
2378 (memcpy): Don't use BP_SYM.
2379 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2380 <bp-sym.h> and <bp-asm.h>.
2381 (__mempcpy): Don't use BP_SYM.
2382 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2383 <bp-sym.h> and <bp-asm.h>.
2384 (__memrchr): Don't use BP_SYM.
2385 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2386 <bp-sym.h> and <bp-asm.h>.
2387 (memset): Don't use BP_SYM.
2388 (__bzero): Likewise.
2389 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2390 <bp-sym.h> and <bp-asm.h>.
2391 (__rawmemchr): Don't use BP_SYM.
2392 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2393 <bp-sym.h> and <bp-asm.h>.
2394 (__STRCMP): Don't use BP_SYM.
2395 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2396 <bp-sym.h> and <bp-asm.h>.
2397 (strchr): Don't use BP_SYM.
2398 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2399 <bp-sym.h> and <bp-asm.h>.
2400 (__strchrnul): Don't use BP_SYM.
2401 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2402 <bp-sym.h> and <bp-asm.h>.
2403 (strlen): Don't use BP_SYM.
2404 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2405 <bp-sym.h> and <bp-asm.h>.
2406 (strncmp): Don't use BP_SYM. Remove comment about bounded
2408 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2409 <bp-sym.h> and <bp-asm.h>.
2410 (__strnlen): Don't use BP_SYM.
2411 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2412 <bp-sym.h> and <bp-asm.h>.
2413 (__GI__setjmp): Don't use BP_SYM.
2414 (_setjmp): Likewise.
2415 (__sigsetjmp): Likewise.
2416 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2417 (L(start_addresses)): Don't use BP_SYM.
2419 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2421 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2422 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2423 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2424 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2425 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2427 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2428 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2429 about bounded pointers.
2430 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2431 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2432 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2434 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2435 about bounded pointers. Remove GKM FIXME comments.
2436 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2437 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2439 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2440 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2441 Remove GKM FIXME comments.
2442 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2443 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2444 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2446 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2447 about bounded pointers. Remove GKM FIXME comment.
2448 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2450 (strncmp): Don't use BP_SYM. Remove comment about bounded
2452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2453 <bp-sym.h> and <bp-asm.h>.
2454 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2456 <bp-sym.h> and <bp-asm.h>.
2457 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2460 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2462 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2465 2013-03-05 David S. Miller <davem@davemloft.net>
2467 * po/es.po: Update from translation team.
2469 2013-03-05 Andreas Jaeger <aj@suse.de>
2471 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2472 <bits/mman-linux.h>.
2473 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2475 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2476 <bits/mman-linux.h> to end of file.
2477 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2479 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2480 <bits/mman-linux.h> to end of file.
2481 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2483 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2484 <bits/mman-linux.h> to end of file.
2486 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2487 (MCL_CURRENT, MCL_FUTURE): Define here.
2489 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2492 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2494 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2496 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2498 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2499 fourth parameter needed for rt_sigprocmask syscall.
2500 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2501 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2502 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2503 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2504 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2505 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2507 2013-03-04 Joseph Myers <joseph@codesourcery.com>
2510 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2511 comment about bounded pointers.
2512 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2513 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2515 2013-03-04 Andreas Jaeger <aj@suse.de>
2517 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2520 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2521 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2522 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2523 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2524 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2525 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2527 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2530 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2531 __ieee754_sqrl instead of __sqrl.
2533 2013-03-01 Joseph Myers <joseph@codesourcery.com>
2535 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2536 * sysdeps/powerpc/fpu_control.h: ... here.
2537 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2538 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2539 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2540 * sysdeps/powerpc/bits/mathinline.h: ... here.
2542 2013-03-01 Roland McGrath <roland@hack.frob.com>
2544 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2545 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2546 to just [NEED_DL_SYSINFO_DSO].
2547 * elf/dl-support.c: Likewise.
2548 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2549 * elf/rtld.c (dl_main): Likewise.
2550 * elf/setup-vdso.h (setup_vdso): Likewise.
2551 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2552 * sysdeps/unix/sysv/linux/dl-sysdep.c
2553 (_dl_discover_osversion): Likewise.
2555 2013-03-01 Carlos O'Donell <carlos@redhat.com>
2557 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2558 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2560 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2562 * NEWS: Mention libm performance improvements and non-x86 PI
2565 * csu/libc-start.c (__pthread_initialize_minimal): Change
2567 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2569 2013-02-28 Joseph Myers <joseph@codesourcery.com>
2572 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2573 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2574 <bp-sym.h> and <bp-asm.h>.
2575 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2576 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2578 (memcpy): Don't use BP_SYM.
2579 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2581 (__mpn_add_n): Don't use BP_SYM.
2582 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2583 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2585 (__mpn_addmul_1): Don't use BP_SYM.
2586 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2587 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2589 (_setjmp): Don't use BP_SYM.
2590 (__novmx_setjmp): Likewise.
2591 (__GI__setjmp): Likewise.
2592 (__vmx_setjmp): Likewise.
2593 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2595 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2596 (__bzero): Don't use BP_SYM.
2597 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2598 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2599 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2600 <bp-sym.h> and <bp-asm.h>.
2601 (memcpy): Don't use BP_SYM.
2602 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2603 <bp-sym.h> and <bp-asm.h>.
2604 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2605 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2606 <bp-sym.h> and <bp-asm.h>.
2607 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2608 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2610 (__mpn_lshift): Don't use BP_SYM.
2611 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2612 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2614 (memset): Don't use BP_SYM.
2615 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2616 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2617 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2619 (__mpn_mul_1): Don't use BP_SYM.
2620 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2621 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2622 <bp-sym.h> and <bp-asm.h>.
2623 (memcmp): Don't use BP_SYM.
2624 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2625 <bp-sym.h> and <bp-asm.h>.
2626 (memcpy): Don't use BP_SYM.
2627 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2628 <bp-sym.h> and <bp-asm.h>.
2629 (memset): Don't use BP_SYM.
2630 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2631 <bp-sym.h> and <bp-asm.h>.
2632 (strncmp): Don't use BP_SYM.
2633 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2634 <bp-sym.h> and <bp-asm.h>.
2635 (memcpy): Don't use BP_SYM.
2636 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2637 <bp-sym.h> and <bp-asm.h>.
2638 (memset): Don't use BP_SYM.
2639 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2640 <bp-sym.h> and <bp-asm.h>.
2641 (__memchr): Don't use BP_SYM.
2642 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2643 <bp-sym.h> and <bp-asm.h>.
2644 (memcmp): Don't use BP_SYM.
2645 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2646 <bp-sym.h> and <bp-asm.h>.
2647 (memcpy): Don't use BP_SYM.
2648 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2649 <bp-sym.h> and <bp-asm.h>.
2650 (__mempcpy): Don't use BP_SYM.
2651 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2652 <bp-sym.h> and <bp-asm.h>.
2653 (__memrchr): Don't use BP_SYM.
2654 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2655 <bp-sym.h> and <bp-asm.h>.
2656 (memset): Don't use BP_SYM.
2657 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2658 <bp-sym.h> and <bp-asm.h>.
2659 (__rawmemchr): Don't use BP_SYM.
2660 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2661 <bp-sym.h> and <bp-asm.h>.
2662 (__STRCMP): Don't use BP_SYM.
2663 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2664 <bp-sym.h> and <bp-asm.h>.
2665 (strchr): Don't use BP_SYM.
2666 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2667 <bp-sym.h> and <bp-asm.h>.
2668 (__strchrnul): Don't use BP_SYM.
2669 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2670 <bp-sym.h> and <bp-asm.h>.
2671 (strlen): Don't use BP_SYM.
2672 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2673 <bp-sym.h> and <bp-asm.h>.
2674 (strncmp): Don't use BP_SYM.
2675 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2676 <bp-sym.h> and <bp-asm.h>.
2677 (__strnlen): Don't use BP_SYM.
2678 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2680 (__mpn_rshift): Don't use BP_SYM.
2681 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2682 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2683 <bp-sym.h> and <bp-asm.h>.
2684 (__sigsetjmp): Don't use BP_SYM.
2685 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2686 (L(start_addresses)): Don't use BP_SYM.
2688 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2690 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2691 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2692 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2693 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2695 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2696 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2697 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2698 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2700 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2702 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2703 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2705 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2707 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2708 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2709 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2711 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2713 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2715 (strncmp): Don't use BP_SYM,
2716 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2718 (__mpn_sub_n): Don't use BP_SYM.
2719 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2720 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2722 (__mpn_submul_1): Don't use BP_SYM.
2723 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2725 <bp-sym.h> and <bp-asm.h>.
2726 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2728 <bp-sym.h> and <bp-asm.h>.
2729 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2732 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2735 Use ZK to minimize writes to Z.
2736 (sub_magnitudes): Simplify code a bit.
2737 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2738 Use ZK to minimize writes to Z.
2739 (sub_magnitudes): Simplify code a bit.
2741 2013-02-27 Roland McGrath <roland@hack.frob.com>
2743 * csu/gmon-start.c: Add special exception to license text.
2745 2013-02-27 Richard Henderson <rth@redhat.com>
2747 * scripts/config.guess: Update from config.git.
2748 * scripts/config.sub: Likewise.
2750 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2752 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2754 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2756 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2758 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2760 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2762 2013-02-26 Roland McGrath <roland@hack.frob.com>
2764 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2765 [$(build-shared = yes].
2767 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2769 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2770 (__mul): Reduce iterations for calculating mantissa.
2772 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2774 (__mpranred): Likewise.
2777 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2778 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2780 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2782 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2783 Define __attribute__.
2785 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2787 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2789 * posix/regex_internal.h (__attribute): Remove.
2790 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2791 (re_string_context_at): Likewise.
2792 (bitset_not): Use __attribute__ and mark function as possibly
2794 (bitset_merge): Likewise.
2795 (bitset_mask): Likewise.
2796 (re_string_char_size_at): Likewise.
2797 (re_string_wchar_at): Likewise.
2798 (re_string_elem_size_at): Likewise.
2800 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2802 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2806 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2811 (__dbl_mp): Likewise.
2812 (add_magnitudes): Likewise.
2813 (sub_magnitudes): Likewise.
2817 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2820 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2823 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2827 up changes with default code.
2828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2831 2013-02-24 Allan McRae <allan@archlinux.org>
2833 * manual/socket.texi (The Internet Namespace): Order menu items
2834 to match that in the file.
2836 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2837 node listing of the info page menu.
2839 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2842 * sysdeps/i386/bp-asm.h: Remove file.
2843 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2844 (PARMS): Do not use macros from bp-asm.h.
2848 (__mpn_add_n): Do not use BP_SYM
2849 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2851 (PARMS): Do not use macros from bp-asm.h.
2854 (__mpn_addmul_1): Do not use BP_SYM
2855 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2857 (PARMS): Do not use macros from bp-asm.h.
2859 (_setjmp): Likewise. Do not use BP_SYM.
2860 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2862 (PARMS): Do not use macros from bp-asm.h.
2864 (setjmp): Likewise. Do not use BP_SYM.
2865 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2867 (PARMS): Do not use macros from bp-asm.h.
2868 (__frexp): Do not use BP_SYM.
2870 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2872 (PARMS): Do not use macros from bp-asm.h.
2873 (__frexpf): Do not use BP_SYM.
2875 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2877 (PARMS): Do not use macros from bp-asm.h.
2878 (__frexpl): Do not use BP_SYM.
2880 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2882 (PARMS): Do not use macros from bp-asm.h.
2883 (__remquo): Do not use BP_SYM.
2885 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2887 (PARMS): Do not use macros from bp-asm.h.
2888 (__remquof): Do not use BP_SYM.
2889 (remquof): Likewise.
2890 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2892 (PARMS): Do not use macros from bp-asm.h.
2893 (__remquol): Do not use BP_SYM.
2894 (remquol): Likewise.
2895 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2897 (PARMS): Do not use macros from bp-asm.h.
2900 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2901 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2903 (PARMS): Do not use macros from bp-asm.h.
2904 (strlen): Do not use BP_SYM.
2905 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2907 (PARMS): Do not use macros from bp-asm.h.
2911 (__mpn_add_n): Do not use BP_SYM.
2912 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2914 (PARMS): Do not use macros from bp-asm.h.
2917 (__mpn_addmul_1): Do not use BP_SYM.
2918 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2921 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2923 (PARMS): Do not use macros from bp-asm.h.
2926 (__mpn_lshift): Do not use BP_SYM.
2927 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2929 (PARMS): Do not use macros from bp-asm.h.
2933 (memcpy): Likewise. Do not use BP_SYM.
2934 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2935 libc_hidden_def and weak_alias.
2936 (mempcpy): Do not use BP_SYM in weak_alias.
2937 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2939 (PARMS): Do not use macros from bp-asm.h.
2942 [!BZERO_P] (CHR): Likewise.
2943 (memset): Likewise. Do not use BP_SYM.
2944 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2946 (PARMS): Do not use macros from bp-asm.h.
2949 (__mpn_mul_1): Do not use BP_SYM.
2950 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2952 (PARMS): Do not use macros from bp-asm.h.
2955 (__mpn_rshift): Do not use BP_SYM.
2956 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2958 (PARMS): Do not use macros from bp-asm.h.
2961 (strchr): Likewise. Do not use BP_SYM.
2962 (index): Do not use BP_SYM in weak_alias.
2963 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2965 (PARMS): Do not use macros from bp-asm.h.
2968 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2969 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2971 (PARMS): Do not use macros from bp-asm.h.
2972 (strlen): Do not use BP_SYM.
2973 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2975 (PARMS): Do not use macros from bp-asm.h.
2979 (__mpn_sub_n): Do not use BP_SYM.
2980 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2982 (PARMS): Do not use macros from bp-asm.h.
2985 (__mpn_submul_1): Do not use BP_SYM.
2986 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2988 (PARMS): Do not use macros from bp-asm.h.
2992 (__mpn_add_n): Do not use BP_SYM.
2993 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2996 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2998 (PARMS): Do not use macros from bp-asm.h.
3001 (memcmp): Do not use BP_SYM.
3002 (bcmp): Do not use BP_SYM in weak_alias.
3003 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3005 (PARMS): Do not use macros from bp-asm.h.
3009 (memcpy): Likewise. Do not use BP_SYM.
3010 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3012 (PARMS): Do not use macros from bp-asm.h.
3016 (memmove): Likewise. Do not use BP_SYM.
3017 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3019 (PARMS): Do not use macros from bp-asm.h.
3023 (__mempcpy): Likewise. Do not use BP_SYM.
3024 (mempcpy): Do not use BP_SYM in weak_alias.
3025 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3027 (PARMS): Do not use macros from bp-asm.h.
3030 [!BZERO_P] (CHR): Likewise.
3031 (memset): Likewise. Do not use BP_SYM.
3032 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3034 (PARMS): Do not use macros from bp-asm.h.
3036 (strcmp): Do not use BP_SYM.
3037 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3039 (PARMS): Do not use macros from bp-asm.h.
3042 [USE_AS_STRTOK_R] (SAVE): Likewise.
3043 (FUNCTION): Likewise. Do not use BP_SYM.
3044 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3046 (strtok_r): Likewise.
3047 (__GI___strtok_r): Likewise.
3048 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3049 (PARMS): Do not use macros from bp-asm.h.
3052 (__mpn_lshift): Do not use BP_SYM.
3053 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3054 (PARMS): Do not use macros from bp-asm.h.
3057 (__memchr): Do not use BP_SYM.
3058 (memchr): Do not use BP_SYM in weak_alias.
3059 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3060 (PARMS): Do not use macros from bp-asm.h.
3063 (memcmp): Do not use BP_SYM.
3064 (bcmp): Do not use BP_SYM in weak_alias.
3065 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3066 (PARMS): Do not use macros from bp-asm.h.
3069 (__mpn_mul_1): Do not use BP_SYM.
3070 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3072 (PARMS): Do not use macros from bp-asm.h.
3075 (__rawmemchr): Do not use BP_SYM.
3076 (rawmemchr): Do not use BP_SYM in weak_alias.
3077 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3078 (PARMS): Do not use macros from bp-asm.h.
3081 (__mpn_rshift): Do not use BP_SYM.
3082 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3083 (PARMS): Do not use macros from bp-asm.h.
3085 (__sigsetjmp): Likewise. Do not use BP_SYM.
3086 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3087 (_start): Do not use BP_SYM.
3088 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3089 (PARMS): Do not use macros from bp-asm.h.
3092 (__stpcpy): Likewise. Do not use BP_SYM.
3093 (stpcpy): Do not use BP_SYM in weak_alias.
3094 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3096 (PARMS): Do not use macros from bp-asm.h.
3100 (__stpncpy): Likewise. Do not use BP_SYM.
3101 (stpncpy): Do not use BP_SYM in weak_alias.
3102 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3103 (PARMS): Do not use macros from bp-asm.h.
3106 (strchr): Likewise. Do not use BP_SYM.
3107 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3109 (PARMS): Do not use macros from bp-asm.h.
3112 (__strchrnul): Likewise. Do not use BP_SYM.
3113 (strchrnul): Do not use BP_SYM in weak_alias.
3114 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3116 (PARMS): Do not use macros from bp-asm.h.
3118 (strcspn): Do not use BP_SYM.
3119 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3121 (PARMS): Do not use macros from bp-asm.h.
3124 (strpbrk): Likewise. Do not use BP_SYM.
3125 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3127 (PARMS): Do not use macros from bp-asm.h.
3130 (strrchr): Likewise. Do not use BP_SYM.
3131 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3132 (PARMS): Do not use macros from bp-asm.h.
3134 (strspn): Do not use BP_SYM.
3135 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3136 (PARMS): Do not use macros from bp-asm.h.
3140 (FUNCTION): Likewise. Do not use BP_SYM.
3141 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3143 (strtok_r): Likewise.
3144 (__GI___strtok_r): Likewise.
3145 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3146 (PARMS): Do not use macros from bp-asm.h.
3150 (__mpn_sub_n): Do not use BP_SYM.
3151 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3153 (PARMS): Do not use macros from bp-asm.h.
3156 (__mpn_submul_1): Do not use BP_SYM.
3157 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3159 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3161 (PARMS): Do not use macros from bp-asm.h.
3166 (__clone): Do not use BP_SYM.
3167 (clone): Do not use BP_SYM in weak_alias.
3168 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3170 (PARMS): Do not use macros from bp-asm.h.
3172 (__mmap64): Do not use BP_SYM.
3173 (mmap64): Do not use BP_SYM in weak_alias.
3174 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3175 <bp-sym.h> and <bp-asm.h>.
3176 (PARMS): Do not use macros from bp-asm.h.
3177 (__posix_fadvise64_l64): Do not use BP_SYM.
3178 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3179 (PARMS): Do not use macros from bp-asm.h.
3181 (semtimedop): Do not use BP_SYM.
3182 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3185 2013-02-21 Allan McRae <allan@archlinux.org>
3187 * manual/message.texi (Charset conversion in gettext):
3188 Move @end statement to beginning of line.
3190 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3197 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3199 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3200 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3202 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3204 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3205 tail-call to the resolved function if pltexit isn't needed.
3207 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3209 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3210 or Y being zero as being unlikely.
3211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3214 2013-02-20 Carlos O'Donell <carlos@redhat.com>
3216 * manual/nss.texi (System Databases and Name Service Switch):
3217 Remove frobnicate @pxref.
3219 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3221 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3222 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3224 2013-02-20 Petr Machata <pmachata@redhat.com>
3226 * elf/elf.h (R_ARM_TARGET1): New macro.
3227 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3228 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3229 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3230 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3231 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3232 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3233 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3234 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3235 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3236 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3237 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3238 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3239 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3240 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3241 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3242 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3243 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3244 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3245 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3246 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3247 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3248 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3249 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3250 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3251 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3252 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3253 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3254 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3255 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3256 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3257 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3258 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3259 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3260 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3261 (R_ARM_THM_GOT_BREL12): Likewise.
3262 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3263 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3264 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3265 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3266 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3267 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3268 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3269 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3270 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3272 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3274 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3275 __attribute_used__ to __attribute__ ((unused)).
3277 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3279 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3281 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3285 2013-02-19 Joseph Myers <joseph@codesourcery.com>
3288 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3290 (ENTER): Remove both macro definitions.
3292 (CHECK_BOUNDS_LOW): Likewise.
3293 (CHECK_BOUNDS_HIGH): Likewise.
3294 (CHECK_BOUNDS_BOTH): Likewise.
3295 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3296 (RETURN_BOUNDED_POINTER): Likewise.
3297 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3298 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3299 (POP_ERRNO_LOCATION_RETURN): Likewise.
3300 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3301 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3302 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3304 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3305 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3306 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3307 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3308 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3309 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3310 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3311 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3312 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3313 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3314 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3315 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3316 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3317 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3319 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3320 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3322 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3323 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3324 * sysdeps/i386/i586/memset.S (memset): Likewise.
3325 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3326 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3327 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3329 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3330 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3331 Change uses of L(2) to L(out).
3332 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3333 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3334 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3335 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3336 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3338 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3339 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3341 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3342 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3343 (RETURN): Do not use macro LEAVE.
3344 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3345 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3346 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3347 * sysdeps/i386/i686/memset.S (memset): Likewise.
3348 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3349 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3350 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3351 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3353 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3354 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3355 L(1_2) and L(1_3) into L(1).
3356 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3357 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3358 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3359 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3360 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3361 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3362 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3363 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3364 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3366 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3367 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3368 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3369 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3370 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3371 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3372 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3373 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3374 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3375 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3376 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3377 * sysdeps/i386/strspn.S (strspn): Likewise.
3378 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3380 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3381 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3382 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3383 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3385 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3386 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3387 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3389 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3391 2013-02-19 Jakub Jelinek <jakub@redhat.com>
3393 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3396 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3398 * math/atest-exp.c (exp_mpn): Remove ROUND.
3399 * math/atest-exp2.c (exp_mpn): Likewise.
3400 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3402 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3403 * stdlib/tst-tls-atexit-lib.c: Likewise.
3404 * stdlib/tst-tls-atexit.c: Likewise.
3406 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3408 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3409 and __attribute_alloc_size__.
3411 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3413 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3414 __attribute_alloc_size__.
3415 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3416 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3418 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3420 * include/programs/xmalloc.h: New file.
3421 * catgets/gencat.c: Include it.
3422 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3423 * elf/pldd.c: Likewise.
3424 * iconv/iconv_charmap.c: Likewise.
3425 * iconv/iconvconfig.c: Likewise.
3426 * iconv/strtab.c: Likewise.
3427 * locale/programs/locale.c: Likewise.
3428 * locale/programs/localedef.h: Likewise.
3429 * locale/programs/simple-hash.c: Likewise.
3430 * nscd/nscd.h: Likewise.
3431 * nss/makedb.c: Likewise.
3432 * sysdeps/generic/ldconfig.h: Likewise.
3434 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3436 * Versions.def: Add GLIBC_2.18.
3437 * include/link.h (struct link_map): New member l_tls_dtor_count.
3438 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3439 (__call_tls_dtors): Likewise.
3440 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3441 __cxa_thread_atexit_impl.
3442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3450 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3458 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3459 (tests): Add test case tst-tls-atexit.
3460 (modules-names): Add shared library for tst-tls-atexit.
3461 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3462 (GLIBC_PRIVATE): Add __call_tls_dtors.
3463 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3465 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3466 * stdlib/tst-tls-atexit.c: New test case.
3467 * stdlib/tst-tls-atexit-lib.c: New test case.
3469 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
3471 * elf/Versions (ld): Add _dl_find_dso_for_object.
3472 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3473 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3474 (dl_open_worker): Use _dl_find_dso_for_object.
3475 * elf/dl-sym.c (do_sym): Likewise.
3476 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3478 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3480 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3481 Syntactic changes only.
3482 (_dl_runtime_profile): Do a tail-call to the resolved function.
3484 2013-02-17 Joseph Myers <joseph@codesourcery.com>
3487 * sysdeps/x86_64/bp-asm.h: Remove file.
3488 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3489 <bp-sym.h> and <bp-asm.h>.
3490 (__clone): Do not use BP_SYM.
3491 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3492 <bp-sym.h> and <bp-asm.h>.
3493 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3494 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3496 (_setjmp): Do not use BP_SYM.
3497 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3499 (setjmp): Do not use BP_SYM.
3500 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3502 (mempcpy): Do not use BP_SYM in weak_alias.
3503 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3505 (strchr): Do not use BP_SYM.
3506 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3508 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3509 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3510 (_start): Do not use BP_SYM.
3511 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3513 (strcat): Do not use BP_SYM.
3514 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3516 (STRCMP): Do not use BP_SYM.
3517 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3519 (STRCPY): Do not use BP_SYM.
3520 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3522 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3524 (FUNCTION): Do not use BP_SYM.
3525 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3527 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3529 2013-02-17 Andreas Jaeger <aj@suse.de>
3531 * time/Versions: Sort entries.
3532 * string/Versions: Likewise.
3533 * resolv/Versions: Likewise.
3534 * posix/Versions: Likewise.
3535 * iconv/Versions: Likewise.
3536 * elf/Versions: Likewise.
3537 * wcsmbs/Versions: Likewise.
3539 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3541 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3542 loop termination condition.
3544 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3545 variable to calculate EZ.
3548 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3549 the lower precision input.
3551 2013-02-15 Joseph Myers <joseph@codesourcery.com>
3554 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3555 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3556 (run-via-rtld-prefix): Do not handle %-bp tests.
3557 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3558 (all-object-suffixes): Remove .ob.
3559 (bppfx): Remove variable.
3560 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3561 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3562 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3563 [$(build-bounded) = yes] (libtype.ob): Likewise.
3564 * Makerules (elide-routines.ob): Remove variable.
3565 (do-tests-clean): Do not handle *-bp.out.
3566 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3567 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3568 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3569 (tests): Do not include $(tests-bp.out).
3570 (xtests): Do not include $(xtests-bp.out).
3571 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3572 [$(build-bounded) = yes] ($(addprefix
3573 $(objpfx),$(binaries-bounded))): Remove rule.
3574 ($(objpfx)%-bp.out): Remove rule.
3575 * config.make.in (build-bounded): Remove variable.
3576 * crypt/Makefile [$(build-bounded) = yes]
3577 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3578 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3580 [$(build-bounded) = yes] (install-lib): Likewise.
3581 [$(build-bounded) = yes] (generated): Likewise.
3582 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3584 * intl/Makefile [$(build-bounded) = yes]
3585 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3586 * math/Makefile [$(build-bounded) = yes]
3587 ($(tests:%=$(objpfx)%-bp): Likewise.
3588 * misc/Makefile [$(build-bounded) = yes]
3589 ($(objpfx)tst-tsearch-bp): Likewise.
3590 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3591 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3593 * string/Makefile (o-objects.ob): Remove variable.
3594 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3595 (CFLAGS-.ob): Remove variable.
3596 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3597 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3598 both definitions of variable.
3599 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3600 (ASFLAGS-.ob): Remove variable.
3602 2013-02-14 Joseph Myers <joseph@codesourcery.com>
3605 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3606 Remove __BOUNDED_POINTERS__ from condition.
3607 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3608 * string/bits/string2.h [!__NO_STRING_INLINES &&
3609 !__BOUNDED_POINTERS__]: Likewise.
3610 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3612 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3613 Remove conditional code.
3614 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3615 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3616 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3620 * csu/libc-start.c: Do not include <bp-sym.h>.
3621 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3622 * elf/dl-open.c: Do not include <bp-sym.h>.
3623 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3624 * math/fegetenv.c: Do not include <bp-sym.h>.
3625 (fegetenv): Do not use BP_SYM in versioned symbols.
3626 * nptl/sysdeps/pthread/bits/libc-lockP.h
3627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3630 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3632 (__pthread_mutex_destroy): Likewise.
3633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3634 (__pthread_mutex_lock): Likewise.
3635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3636 (__pthread_mutex_trylock): Likewise.
3637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3638 (__pthread_mutex_unlock): Likewise.
3639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3640 (__pthread_mutexattr_init): Likewise.
3641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3642 (__pthread_mutexattr_destroy): Likewise.
3643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3644 (__pthread_mutexattr_settype): Likewise.
3645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3646 (__pthread_rwlock_init): Likewise.
3647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3648 (__pthread_rwlock_destroy): Likewise.
3649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3650 (__pthread_rwlock_rdlock): Likewise.
3651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3652 (__pthread_rwlock_tryrdlock): Likewise.
3653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3654 (__pthread_rwlock_wrlock): Likewise.
3655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3656 (__pthread_rwlock_trywrlock): Likewise.
3657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3658 (__pthread_rwlock_unlock): Likewise.
3659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3660 (__pthread_key_create): Likewise.
3661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3662 (__pthread_setspecific): Likewise.
3663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3664 (__pthread_getspecific): Likewise.
3665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3668 (_pthread_cleanup_push_defer): Likewise.
3669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3670 (_pthread_cleanup_pop_restore): Likewise.
3671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3672 (pthread_setcancelstate): Likewise.
3673 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3675 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3676 (memchr): Do not use BP_SYM in weak_alias.
3677 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3678 (fegetenv): Do not use BP_SYM in versioned symbols.
3679 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3680 (fesetenv): Do not use BP_SYM in versioned symbols.
3681 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3682 (feupdateenv): Do not use BP_SYM in versioned symbols.
3683 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3684 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3685 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3686 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3687 (open64): Do not use BP_SYM in weak_alias.
3688 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3689 (fegetenv): Do not use BP_SYM in versioned symbols.
3690 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3691 (fesetenv): Do not use BP_SYM in versioned symbols.
3692 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3693 (feupdateenv): Do not use BP_SYM in versioned symbols.
3694 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3695 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3696 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3697 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3698 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3699 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3700 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3702 (__libc_start_main): Do not use BP_SYM.
3704 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3706 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3707 redundant return line.
3711 (sub_magnitudes): Likewise.
3717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3721 (sub_magnitudes): Likewise.
3728 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3730 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3731 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3734 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3735 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3736 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3737 of __mul for squares.
3738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3742 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3743 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3745 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3748 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3750 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3751 prototype or function definition. Rename ubp_* variables and
3752 parameters. Remove argv definitions conditional on
3753 [__BOUNDED_POINTERS__].
3754 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3755 * elf/dl-runtime.c (_dl_fixup): Likewise.
3756 * include/set-hooks.h (RUN_HOOK): Likewise.
3757 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3759 * string/strcpy.c (strcpy): Do not use __unbounded.
3760 * sysdeps/generic/frame.h (struct layout): Likewise.
3761 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3762 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3763 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3764 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3765 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3766 (__backtrace): Likewise.
3767 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3769 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3770 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3771 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3773 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3774 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3775 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3776 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3777 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3778 Do not use __unbounded.
3779 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3780 Rename __unboundedrlimits parameter to rlimits in prototype.
3781 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3782 Do not use __unbounded.
3783 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3785 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3786 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3787 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3788 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3789 __ptrvalue or __unbounded.
3790 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3791 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3793 (__new_msgctl): Do not use __ptrvalue.
3794 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3796 (__libc_msgrcv): Do not use __ptrvalue.
3797 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3798 startup_info): Do not use __unbounded.
3799 (__libc_start_main): Likewise. Rename ubp_* variables and
3800 parameters. Remove argv definitions conditional on
3801 [__BOUNDED_POINTERS__].
3802 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3804 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3806 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3808 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3810 (__new_shmctl): Do not use __ptrvalue.
3811 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3812 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3814 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3815 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3816 (__libc_sigaction): Likewise.
3817 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3818 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3820 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3822 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3824 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3826 * string/mempcpy.c: Implement by calling memcpy.
3828 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3832 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3835 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3836 values in the mantissa.
3838 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3839 minimize writes to Z.
3840 (sub_magnitudes): Simplify code a bit.
3842 2013-02-12 Roland McGrath <roland@hack.frob.com>
3844 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3845 from the message. The linker prefixes all warnings with that already.
3847 2013-02-12 Andreas Schwab <schwab@suse.de>
3850 * posix/regexec.c (extend_buffers): Add parameter min_len.
3851 (check_matching): Pass minimum needed length.
3852 (clean_state_log_if_needed): Likewise.
3853 (get_subexp): Likewise.
3854 * posix/Makefile (tests): Add bug-regex34.
3855 (bug-regex34-ENV): Define.
3856 * posix/bug-regex34.c: New file.
3859 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3860 elements compare against the byte sequence of it, not its name.
3861 * posix/Makefile (tests): Add bug-regex35.
3862 (bug-regex35-ENV): Define.
3863 * posix/bug-regex35.c: New file.
3865 2013-02-11 Tom de Vries <tom@codesourcery.com>
3867 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3869 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3870 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3871 (CHECK_EOL): Add undef.
3873 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3875 * bits/stdlib-bsearch.h: New file.
3876 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3877 * stdlib/stdlib.h: Likewise.
3879 2013-02-11 Roland McGrath <roland@hack.frob.com>
3881 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3882 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3884 * manual/search.texi (Array Search Function): Add missing const in
3886 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3887 declaration to use rlim_t.
3888 (Basic Scheduling Functions): Remove erroneous const from
3889 sched_getparam prototype. Remove erroneous * from
3890 sched_get_priority_max and sched_get_priority_min prototypes.
3891 (Resource Usage): Fix summary @comment on vtimes to refer to
3892 sys/vtimes.h rather than vtimes.h.
3893 Add missing *s in vtimes prototype.
3894 (Limits on Resources): Fix ulimit prototype to return long int.
3895 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3896 prototypes to use long int rather than double.
3897 (BSD Random): Fix initstate and setstate to use char *, not void *.
3898 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3899 prototype to make second argument 'struct aiocb64 *const[]'.
3900 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3901 (Status of AIO Operations): Remove erroneous const in aio_return and
3902 aio_return64 prototypes.
3903 (Synchronizing I/O): Fix sync prototype to return void.
3904 * manual/startup.texi (Suboptions): Remove an erroneous const in
3905 getsubopt prototype.
3906 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3907 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3908 use size_t rather than int.
3909 (Scanning All Users): Likewise for getpwent_r.
3910 (Setting Groups): Add missing const to setgroups prototype.
3911 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3912 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3913 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3914 'const void *' rather than 'const char *'.
3915 (Host Address Functions): Likewise for inet_ntop.
3916 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3917 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3918 ssize_t for return value.
3919 (Sending Data): Likewise for send, sendto, sendmsg.
3920 (Socket Option Functions): Add a missing const in setsockopt prototype.
3921 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3922 use wchar_t for the argument.
3923 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3924 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3926 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3927 double/float/long double for second argument.
3928 Fix return types of significand, significandf, significandl.
3929 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3930 argument in fchmod prototype.
3931 (File Owner): Use uid_t and gid_t in fchown prototype.
3932 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3933 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3934 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3935 use 'const struct dirent **' as argument types to CMP function pointer
3937 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3938 (File Times): Fix summary magic @comment for struct utimbuf and utime
3939 to refer to utime.h, not time.h.
3940 * manual/string.texi (Argz Functions): Add missing const in
3941 argz_extract and argz_next prototypes.
3942 (Finding Tokens in a String): Likewise for basename.
3943 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3944 (Copying and Concatenation): Fix typo in wmemmove prototype.
3945 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3946 (Signal Stack): Remove erroneous const in sigstack prototype.
3947 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3949 (Simple Calendar Time): Likewise for stime.
3950 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3952 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3953 say sys/sysctl.h instead.
3954 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3955 and vsyslog prototypes.
3957 2013-02-11 Tom de Vries <tom@codesourcery.com>
3959 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3962 2013-02-11 Roland McGrath <roland@hack.frob.com>
3964 * misc/sys/mman.h: Fix typo in mremap comment.
3966 2013-02-08 Roland McGrath <roland@hack.frob.com>
3968 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3969 the '\0' terminator.
3971 2013-02-08 Joseph Myers <joseph@codesourcery.com>
3974 * debug/segfault.c: Don't include <bp-checks.h>.
3975 * sysdeps/generic/bp-checks.h: Remove file.
3976 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3977 (__GETDENTS): Don't use CHECK_N.
3978 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3979 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3980 (__getgroups): Don't use CHECK_N.
3981 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3982 (setgroups): Don't use CHECK_N.
3983 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3984 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3985 (__libc_msgrcv): Don't use CHECK_N.
3986 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3987 (__libc_msgsnd): Don't use CHECK_N.
3988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3990 (__libc_pread): Don't use CHECK_N.
3991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3992 include <bp-checks.h>.
3993 (__libc_pread64): Don't use CHECK_N.
3994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3995 include <bp-checks.h>.
3996 (__libc_pwrite): Don't use CHECK_N.
3997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3998 include <bp-checks.h>.
3999 (__libc_pwrite64): Don't use CHECK_N.
4000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4002 (__libc_pread): Don't use CHECK_N.
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4004 include <bp-checks.h>.
4005 (__libc_pread64): Don't use CHECK_N.
4006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4007 include <bp-checks.h>.
4008 (__libc_pwrite): Don't use CHECK_N.
4009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4010 include <bp-checks.h>.
4011 (__libc_pwrite64): Don't use CHECK_N.
4012 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4013 (do_pread): Don't use CHECK_N.
4014 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4015 (do_pread64): Don't use CHECK_N.
4016 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4017 (do_pwrite): Don't use CHECK_N.
4018 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4019 (do_pwrite64): Don't use CHECK_N.
4020 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4021 (__libc_readv): Don't use CHECK_N.
4022 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4023 (semop): Don't use CHECK_N.
4024 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4026 (semtimedop): Don't use CHECK_N.
4027 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4028 (__libc_pread): Don't use CHECK_N.
4029 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4031 (__libc_pread64): Don't use CHECK_N.
4032 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4034 (__libc_pwrite): Don't use CHECK_N.
4035 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4037 (__libc_pwrite64): Don't use CHECK_N.
4038 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4040 (__libc_msgrcv): Don't use CHECK_N.
4041 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4042 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4043 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4044 (__libc_writev): Don't use CHECK_N.
4046 2013-02-08 Roland McGrath <roland@hack.frob.com>
4048 * string/strcpy.c: Removed unused variable.
4050 * Makeconfig (+sysdep-includes): Define with := rather than =.
4051 Use an existing include/ subdir of each sysdeps dir before it.
4053 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4055 * nscd/connection.c (register_traced_file): Comment function.
4056 [HAVE_INOTIFY] (union __inev): Define.
4057 [HAVE_INOTIFY] (inotify_check_files): New function.
4058 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4059 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4061 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4063 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4065 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4066 loaded if not already and that a failure is permanent.
4068 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4071 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4072 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4074 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4077 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4078 (CHECK_1_NULL_OK): Likewise.
4079 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4080 (__fxstat): Do not use CHECK_1.
4081 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4083 (___fxstat64): Do not use CHECK_1.
4084 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4086 (__fxstatat): Do not use CHECK_1.
4087 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4089 (__fxstatat64): Do not use CHECK_1.
4090 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4092 (__fxstat): Do not use CHECK_1.
4093 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4095 (__fxstatat): Do not use CHECK_1.
4096 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4098 (__getresgid): Do not use CHECK_1.
4099 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4101 (__getresuid): Do not use CHECK_1.
4102 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4104 (__lxstat): Do not use CHECK_1.
4105 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4107 (__old_msgctl): Do not use CHECK_1.
4108 (__new_msgctl): Likewise.
4109 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4111 (__new_setrlimit): Do not use CHECK_1.
4112 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4114 (__old_shmctl): Do not use CHECK_1.
4115 (__new_shmctl): Likewise.
4116 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4118 (__xstat): Do not use CHECK_1.
4119 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4120 (__lxstat): Do not use CHECK_1.
4121 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4123 (___lxstat64): Do not use CHECK_1.
4124 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4125 (__old_msgctl): Do not use CHECK_1.
4126 (__new_msgctl): Likewise.
4127 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4129 (__gettimeofday): Do not use CHECK_1.
4130 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4131 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4132 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4134 (__gettimeofday): Do not use CHECK_1.
4135 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4136 (__old_shmctl): Do not use CHECK_1_NULL_OK.
4137 (__new_shmctl): Do not use CHECK_1.
4138 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4140 (do_sigtimedwait): Do not use CHECK_1.
4141 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4143 (do_sigwaitinfo): Do not use CHECK_1.
4144 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4146 (msgctl): Do not use CHECK_1.
4147 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4149 (shmctl): Do not use CHECK_1.
4150 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4151 (ustat): Do not use CHECK_1.
4152 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4154 (__fxstat): Do not use CHECK_1.
4155 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4157 (__fxstatat): Do not use CHECK_1.
4158 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4160 (__lxstat): Do not use CHECK_1.
4161 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4163 (__xstat): Do not use CHECK_1.
4164 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4165 (__xstat): Do not use CHECK_1.
4166 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4167 (___xstat64): Do not use CHECK_1.
4170 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4172 (CHECK_BOUNDS_HIGH): Likewise.
4173 * string/strcpy.c: Do not include <bp-checks.h>.
4174 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4176 2013-02-07 Roland McGrath <roland@hack.frob.com>
4178 * nscd/nscd-client.h (__nscd_drop_map_ref):
4179 Add __attribute__ ((unused)).
4180 * nis/nss-nisplus.h (niserr2nss): Likewise.
4182 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4183 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4185 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4186 Remove inline keyword.
4187 * include/rounding-mode.h (round_away): Likewise.
4188 * libio/wfileops.c (adjust_wide_data): Likewise.
4189 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4190 (__m128i_strloadu_tolower): Likewise.
4191 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4192 (__m128i_strloadu_tolower): Likewise.
4193 * time/mktime.c (ydhms_diff): Likewise.
4194 * locale/elem-hash.h (elem_hash): Likewise.
4195 * locale/setlocale.c (setdata): Likewise.
4196 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4197 (re_string_wchar_at): Likewise.
4198 (bitset_not, bitset_merge, bitset_mask): Likewise.
4199 [!(__GNUC__ > 3)] (inline): Remove macro.
4200 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4201 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4202 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4203 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4204 * string/memcmp.c (memcmp_bytes): Likewise.
4205 * locale/programs/locarchive.c (compute_hashval): Likewise.
4206 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4207 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4208 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4209 * nss/getent.c (print_rpc, print_protocols): Likewise.
4210 (print_passwd, print_group, print_aliases): Likewise.
4211 * nis/nss-nisplus.h (niserr2nss): Likewise.
4212 * nscd/connections.c (restart_p): Likewise.
4213 Change return type to bool.
4215 2013-02-05 Roland McGrath <roland@hack.frob.com>
4217 * Makeconfig (all-Depend-files): Add existing
4218 $(sorted-subdirs:=/Depend) files.
4219 (all-subdirs): Remove nss.
4220 * sysdeps/unix/inet/Subdirs: Add it here instead.
4221 * hesiod/Depend: New file.
4223 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4224 instead of calling alloca.
4226 * io/lseek.c (__lseek): Rename to __libc_lseek.
4227 Define __lseek as an alias.
4229 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4231 2013-02-04 Carlos O'Donell <carlos@redhat.com>
4233 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4234 else clause and remove check for non-standard endianness.
4236 2013-02-04 David S. Miller <davem@davemloft.net>
4238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4240 2013-02-04 Joseph Myers <joseph@codesourcery.com>
4243 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4244 (__ubp_memchr): Remove prototype.
4245 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4246 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4247 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4248 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4249 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4251 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4252 (__ubp_memchr): Likewise.
4253 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4254 (__ubp_memchr): Likewise.
4255 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4256 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4257 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4258 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4260 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4261 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4262 (__getcwd): Do not use CHECK_STRING.
4263 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4265 (__real_chown): Do not use CHECK_STRING.
4266 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4268 (fchownat): Do not use CHECK_STRING.
4269 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4271 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4273 (__lchown): Do not use CHECK_STRING.
4274 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4275 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4276 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4277 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4279 include <bp-checks.h>.
4280 (truncate64): Do not use CHECK_STRING.
4281 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4283 (__real_chown): Do not use CHECK_STRING.
4284 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4286 (__lchown): Do not use CHECK_STRING.
4287 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4289 (__chown): Do not use CHECK_STRING.
4290 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4292 (truncate64): Do not use CHECK_STRING.
4293 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4295 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4296 (__xmknod): Do not use CHECK_STRING.
4297 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4299 (__xmknodat): Do not use CHECK_STRING.
4300 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4301 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4303 2013-02-04 Andreas Schwab <schwab@suse.de>
4306 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4307 * include/netdb.h: Likewise for h_errno.
4308 * elf/tst-stackguard1.c: Include <tls.h>.
4310 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4312 * elf/link.h (struct link_map): Extend the l_addr comment.
4313 * include/link.h (struct link_map): Likewise.
4315 2013-02-01 Joseph Myers <joseph@codesourcery.com>
4318 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4319 (BOUNDED_1): Remove macro.
4320 * debug/backtrace.c: Don't include <bp-checks.h>.
4321 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4322 (__backtrace): Likewise.
4323 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4325 (__backtrace): Don't use BOUNDED_1.
4326 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4328 (__backtrace): Don't use BOUNDED_1.
4329 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4330 (__backtrace): Don't use BOUNDED_1.
4331 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4332 (shmat): Don't use BOUNDED_N.
4334 2013-01-31 Joseph Myers <joseph@codesourcery.com>
4337 * sysdeps/generic/bp-start.h: Remove file.
4338 * csu/libc-start.c: Don't include <bp-start.h>.
4339 (LIBC_START_MAIN): Set up __environ directly instead of using
4340 INIT_ARGV_and_ENVIRON.
4341 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4345 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4347 (CHECK_FCNTL): Likewise.
4348 (CHECK_N_PAGES): Likewise.
4351 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4353 (CHECK_SIGSET_NULL_OK): Likewise.
4354 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4356 (sigpending): Don't use CHECK_SIGSET.
4357 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4359 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4360 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4362 (do_sigsuspend): Don't use CHECK_SIGSET.
4363 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4365 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4366 (do_sigwait): Don't use CHECK_SIGSET.
4367 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4369 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4370 include <bp-checks.h>.
4371 (sigpending): Don't use CHECK_SIGSET.
4372 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4373 include <bp-checks.h>.
4374 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4375 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4377 (sigpending): Don't use CHECK_SIGSET.
4378 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4380 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4383 * sysdeps/generic/bp-semctl.h: Remove file.
4384 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4385 <bp-checks.h> and <bp-semctl.h>.
4386 (__old_semctl): Don't use CHECK_SEMCTL.
4387 (__new_semctl): Likewise.
4388 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4390 (__old_semctl): Don't use CHECK_SEMCTL.
4391 (__new_semctl): Likewise.
4392 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4393 <bp-checks.h> and <bp-semctl.h>.
4394 (__old_semctl): Don't use CHECK_SEMCTL.
4395 (__new_semctl): Likewise.
4396 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4397 <bp-checks.h> and <bp-semctl.h>.
4398 (semctl): Don't use CHECK_SEMCTL.
4401 * Makerules (elide-bp-thunks): Remove variable.
4402 (elide-routines.oS): Don't use $(elide-bp-thunks).
4403 (elide-routines.os): Likewise.
4404 (elide-routines.o): Likewise.
4405 (elide-routines.op): Likewise.
4406 (elide-routines.og): Likewise.
4407 (objects): Don't use $(bp-thunks).
4408 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4410 (common-generated): Do not add s-proto-bp.d.
4411 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4414 Do not generate makefile rules for bounded-pointer thunks.
4415 * sysdeps/generic/bp-thunks.h: Remove file.
4416 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4417 * sysdeps/unix/s-proto-bp.S: Likewise.
4420 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4421 parts of result separately when argument is not close to line from
4422 -i to i and one part of argument is small.
4423 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4424 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4425 * math/libm-test.inc (cacos_test): Add more tests.
4426 (casin_test): Likewise.
4427 (casinh_test): Likewise.
4428 * sysdeps/i386/fpu/libm-test-ulps: Update.
4429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4431 2013-01-31 David S. Miller <davem@davemloft.net>
4433 * po/de.po: Update from translation team.
4435 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4437 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4439 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4441 * configure.in (_AC_PROG_CC_C89): New definition.
4442 * configure: Regenerate.
4444 * configure.in (AC_PROG_CPP): New definition.
4445 * configure: Regenerate.
4447 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4449 * debug/tst-backtrace.h: New file.
4450 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4451 (ret): Remove variable.
4453 (FAIL): Remove macro.
4454 (NO_INLINE): Likewise.
4455 (fn1): Use match function instead of strstr.
4456 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4457 (ret): Remove variable.
4459 (FAIL): Remove macro.
4460 (NO_INLINE): Likewise.
4461 (fn): Use match function instead of strstr.
4462 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4463 (ret): Remove variable.
4465 (FAIL): Remove macro.
4466 (NO_INLINE): Likewise.
4467 (handle_signal): Use match function instead of strstr.
4468 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4469 (ret): Remove variable.
4471 (FAIL): Remove macro.
4472 (NO_INLINE): Likewise.
4473 (handle_signal): Use match function instead of strstr.
4475 2013-01-23 Roland McGrath <roland@hack.frob.com>
4477 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4479 2013-01-23 David S. Miller <davem@davemloft.net>
4481 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4482 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4483 argument of CAS if possible.
4484 * sysdeps/sparc/sparc64/bits/atomic.h
4485 (__arch_compare_and_exchange_val_32_acq): Likewise.
4486 (__arch_compare_and_exchange_val_64_acq): Likewise.
4488 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4490 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4491 * sysdeps/posix/ulimit.c: ... this.
4493 * sysdeps/unix/bsd/ulimit.c: Remove file.
4495 2013-01-23 Adam Conrad <adconrad@0c3.net>
4497 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4498 (LDFLAGS-tst-array5): Likewise.
4500 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4503 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4504 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4505 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4506 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4508 2013-01-21 David S. Miller <davem@davemloft.net>
4510 * sysdeps/sparc/backtrace.c: New file.
4511 * sysdeps/sparc/sparc32/backtrace.h: New file.
4512 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4513 * sysdeps/sparc/sparc64/backtrace.h: New file.
4514 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4515 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4518 2013-01-21 Andreas Schwab <schwab@suse.de>
4521 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4524 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4530 2013-01-18 Joseph Myers <joseph@codesourcery.com>
4531 Mark Mitchell <mark@codesourcery.com>
4532 Tom de Vries <tom@codesourcery.com>
4533 Paul Pluzhnikov <ppluzhnikov@google.com>
4535 * debug/tst-backtrace2.c: New file.
4536 * debug/tst-backtrace3.c: Likewise.
4537 * debug/tst-backtrace4.c: Likewise.
4538 * debug/tst-backtrace5.c: Likewise.
4539 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4540 (CFLAGS-tst-backtrace3.c): Likewise.
4541 (CFLAGS-tst-backtrace4.c): Likewise.
4542 (CFLAGS-tst-backtrace5.c): Likewise.
4543 (LDFLAGS-tst-backtrace2): Likewise.
4544 (LDFLAGS-tst-backtrace3): Likewise.
4545 (LDFLAGS-tst-backtrace4): Likewise.
4546 (LDFLAGS-tst-backtrace5): Likewise.
4547 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4548 tst-backtrace4 and tst-backtrace5.
4550 2013-01-18 Anton Blanchard <anton@samba.org>
4551 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4553 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4554 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4555 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4556 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4558 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4559 "+r" and remove output regs list as redundant. Add explicit inline
4560 asm to specify register of return val to work around compiler codegen
4561 bug. Remove (int) cast on return value. Add return type parameter to
4562 use in macro so that this macro does not truncate return value for
4564 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4565 pass to INTERNAL_VSYSCALL_NCS.
4566 (INLINE_VSYSCALL): Add 'long int' as return type to
4567 INTERNAL_VSYSCALL_NCS macro invocation.
4568 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4569 INTERNAL_VSYSCALL_NCS macro invocation.
4570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4572 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4575 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4576 Fix application of SIMD FP exception mask.
4578 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4579 mp_no from a power of two.
4580 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4581 __mpexp_twomm1. Use __pow_mp.
4583 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4586 2013-01-17 David S. Miller <davem@davemloft.net>
4588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4590 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4593 * include/complex.h: Condition contents on [!_COMPLEX_H].
4594 (__kernel_casinhf): New prototype.
4595 (__kernel_casinh): Likewise.
4596 (__kernel_casinhl): Likewise.
4597 * math/Makefile (libm_calls): Add k_casinh.
4598 * math/k_casinh.c: New file.
4599 * math/k_casinhf.c: Likewise.
4600 * math/k_casinhl.c: Likewise.
4601 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4602 finite nonzero arguments.
4603 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4604 finite nonzero arguments.
4605 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4606 finite nonzero arguments.
4607 * math/s_casinh.c: Do not include <float.h>.
4608 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4609 * math/s_casinhf.c: Do not include <float.h>.
4610 (__casinhf): Move code for finite nonzero arguments to
4612 * math/s_casinhl.c: Do not include <float.h>.
4613 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4615 (__casinhl): Move code for finite nonzero arguments to
4617 * math/libm-test.inc (cacos_test): Add more tests.
4618 * sysdeps/i386/fpu/libm-test-ulps: Update.
4619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4621 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4623 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4624 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4625 [!HAVE_MREMAP]: Remove [defined linux] case.
4626 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4628 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4630 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4632 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
4634 * elf/elf.h (R_386_SIZE32): New relocation.
4635 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4637 (elf_machine_rela): Likewise.
4638 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4639 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4641 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4643 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4644 (FP_FAST_FMA): Do not define.
4645 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4646 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4647 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4648 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4649 !_SOFT_FLOAT]: Likewise.
4650 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4651 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4653 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4654 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4655 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4656 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4657 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4658 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4661 2013-01-16 Andreas Schwab <schwab@suse.de>
4664 * include/stdlib.h (__mktemp): Add declaration.
4665 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4666 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4668 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4670 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4672 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4673 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4674 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4676 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4677 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4679 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4681 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4682 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4683 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4685 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4686 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4688 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4690 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4692 2013-01-15 David S. Miller <davem@davemloft.net>
4694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4695 trunc{,f} to libm-sysdep_routes.
4696 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4706 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4707 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4708 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4709 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4710 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4711 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4714 nearbyint{,f} to libm-sysdep_routes.
4715 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4726 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4728 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4729 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4731 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4732 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4733 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4735 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4736 libc_feholdexcept and libc_fesetenv.
4738 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4740 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4742 2013-01-14 David S. Miller <davem@davemloft.net>
4744 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4745 (SPARC_ASM_VIS2_IFUNC): Likewise.
4746 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4748 use of 'siam' instruction.
4749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4755 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4767 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4770 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4777 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4778 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4780 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4782 routines to libm-sysdep_routines.
4783 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4786 fdim/fdimf to libm-sysdep_routines.
4787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4795 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4796 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4797 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4798 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4800 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4802 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4805 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4809 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4810 local variable MPTWO.
4811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4814 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4816 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4819 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4821 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4823 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4825 * manual/pattern.texi (glob_t): Document gl_flags.
4826 (glob64_t): Likewise.
4828 2013-01-11 David S. Miller <davem@davemloft.net>
4830 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4831 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4832 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4833 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4834 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4835 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4836 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4837 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4838 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4839 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4840 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4841 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4842 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4844 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4845 sparc V9 rather than using V8 code.
4846 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4847 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4849 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4851 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4854 2013-01-11 Roland McGrath <roland@hack.frob.com>
4856 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4857 not in the main loop.
4858 * configure: Regenerated.
4860 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4862 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4863 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4865 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4866 [!__GLIBC_HAVE_LONG_LONG] case.
4867 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4868 condition to just #else.
4869 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4870 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4871 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4872 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4874 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4875 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4876 #elif condition to just #else.
4877 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4878 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4879 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4880 #elif condition to just #else.
4882 2013-01-11 Steve Ellcey <sellcey@mips.com>
4884 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4885 (EF_MIPS_ARCH_64): Fix value.
4886 (EF_MIPS_ARCH_32R2): New.
4887 (EF_MIPS_ARCH_64R2): New.
4889 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4891 * Makeconfig (+link-pie-before-libc): New.
4892 (+link-pie-after-libc): Likewise.
4893 (+link-pie-tests): Likewise.
4894 (+link-pie): Rewritten.
4895 (link-before-libc): Remove $(config-LDFLAGS).
4896 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4897 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4898 (config-LDFLAGS): Renamed to ...
4899 (rtld-LDFLAGS): This.
4900 (rtld-tests-LDFLAGS): New macro.
4901 (link-libc-rpath-link): Likewise.
4902 (link-libc-tests-rpath-link): Likewise.
4903 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4904 (link-libc): Prepand $(link-libc-rpath-link).
4905 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4906 (test-program-prefix): New macro.
4907 (test-via-rtld-prefix): Likewise.
4908 (test-program-cmd): Likewise.
4909 (host-test-program-cmd): Likewise.
4910 * Makefile ($(common-objpfx)testrun.sh): Replace
4911 $(run-program-prefix) with $(test-program-prefix).
4912 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4914 ($(common-objpfx)shlib.lds): Likewise.
4915 (build-module-helper): Likewise.
4916 ($(common-objpfx)format.lds): Likewise.
4917 * Rules (binaries-pie-tests): New.
4918 (binaries-pie-notests): Likewise.
4919 (binaries-pie): Rewritten.
4920 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4921 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4922 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4923 (make-test-out): Replace $(host-built-program-cmd) with
4924 $(host-test-program-cmd).
4925 * config.make.in (build-hardcoded-path-in-tests): New variable.
4926 * configure.in (--enable-hardcoded-path-in-tests): New configure
4928 (hardcoded_path_in_tests): New AC_SUBST.
4929 * configure: Regenerated.
4930 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4931 $(built-program-cmd) with $(test-program-cmd).
4932 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4933 (test_program_cmd): This.
4934 * elf/Makefile ($(objpfx)order.out): Run test with
4935 $(test-program-prefix).
4936 ($(objpfx)order2.out): Likewise.
4937 ($(objpfx)tst-initorder.out): Likewise.
4938 ($(objpfx)tst-initorder2.out): Likewise.
4939 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4940 $(test-program-cmd).
4941 ($(objpfx)tst-array1-static.out): Likewise.
4942 ($(objpfx)tst-array2.out): Likewise.
4943 ($(objpfx)tst-array3.out): Likewise.
4944 ($(objpfx)tst-array4.out): Likewise.
4945 ($(objpfx)tst-array5.out): Likewise.
4946 ($(objpfx)tst-array5-static.out): Likewise.
4947 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4948 $(test-program-cmd).
4949 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4950 $(run-program-prefix) with $(test-program-prefix).
4951 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4952 (test_program_prefix): This.
4953 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4954 $(run-program-prefix) with $(test-program-prefix).
4955 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4956 (test_program_prefix): This.
4957 * iconvdata/tst-tables.sh: Likewise.
4958 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4959 $(run-program-prefix) with $(test-program-prefix).
4960 ($(objpfx)tst-translit.out): Likewise.
4961 ($(objpfx)tst-gettext2.out): Likewise.
4962 ($(objpfx)tst-gettext4.out): Likewise.
4963 ($(objpfx)tst-gettext6.out): Likewise.
4964 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4965 (test_program_prefix): This.
4966 * intl/tst-gettext2.sh: Likewise.
4967 * intl/tst-gettext4.sh Likewise.
4968 * intl/tst-gettext6.sh: Likewise.
4969 * intl/tst-translit.sh: Likewise.
4970 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4971 with $(test-program-cmd).
4972 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4973 $(run-program-prefix) with $(test-program-prefix).
4974 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4975 (test_program_prefix): This.
4976 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4977 $(run-program-prefix) with $(test-program-prefix).
4978 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4979 (test_program_prefix): This.
4980 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4981 * posix/Makefile ($(objpfx)globtest.out): Replace
4982 $(run-via-rtld-prefix) and $(test-wrapper) with
4983 $(test-program-prefix) and $(test-via-rtld-prefix).
4984 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4985 $(test-program-prefix).
4986 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4987 $(host-test-program-cmd).
4988 (tst-spawn-ARGS): Likewise.
4989 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4990 $(test-program-prefix).
4991 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4992 (test_via_rtld_prefix): This.
4993 (test_wrapper): Renamed to ...
4994 (test_program_prefix): This.
4995 (run_program_prefix): Replaced by test_program_prefix.
4996 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4997 (test_program_prefix): This.
4998 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4999 with $(host-test-program-cmd).
5000 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5001 $(run-program-prefix) with $(test-program-prefix).
5002 ($(objpfx)tst-printf.out): Likewise.
5003 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5004 $(test-program-cmd).
5005 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5006 (test_program_prefix): This.
5007 * stdio-common/tst-unbputc.sh: Likewise.
5008 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5009 $(run-program-prefix) with $(test-program-prefix).
5010 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5011 (test_program_prefix): This.
5012 * string/Makefile ($(objpfx)tst-svc.out): Replace
5013 $(built-program-cmd) with $(test-program-cmd).
5015 2013-01-11 Andreas Jaeger <aj@suse.de>
5018 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5019 value. Sync with Linux 3.7.
5021 2013-01-10 David S. Miller <davem@davemloft.net>
5023 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5024 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5025 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5027 2013-01-10 Roland McGrath <roland@hack.frob.com>
5029 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5031 * configure: Regenerated.
5033 2013-01-10 David S. Miller <davem@davemloft.net>
5035 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5036 sparc V9 rather than using V8 code.
5037 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5038 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5040 2013-01-10 Roland McGrath <roland@hack.frob.com>
5042 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5043 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5044 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5045 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5046 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5047 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5048 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5049 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5050 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5051 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5052 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5053 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5054 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5055 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5056 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5057 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5058 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5059 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5060 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5061 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5062 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5063 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5064 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5065 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5066 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5067 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5068 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5070 2013-01-10 David S. Miller <davem@davemloft.net>
5072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5074 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5076 * posix/Makefile (tests-static): New variable.
5077 (tests): Add $(tests-static).
5078 (tst-exec-static-ARGS): New variable.
5079 (tst-spawn-static-ARGS): Likewise.
5080 * posix/tst-exec-static.c: New file.
5081 * posix/tst-spawn-static.c: Likewise.
5082 * posix/tst-exec.c: Support run directly.
5083 * posix/tst-spawn.c: Likewise.
5085 2013-01-10 Joseph Myers <joseph@codesourcery.com>
5087 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5089 * math/bits/mathcalls.h (llrint): Likewise.
5090 (llround): Likewise.
5091 * stdlib/stdlib.h (struct drand48_data): Likewise.
5092 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5093 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5094 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5096 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5098 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5099 (elf_greg_t): Likewise.
5100 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5101 (__jmp_buf): Likewise.
5102 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5104 (llrint): Likewise, for all definitions.
5105 (llrintl): Likewise.
5107 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5108 Remove [__GNUC__] condition.
5109 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5110 condition to just [__USE_ISOC99].
5111 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5113 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5116 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5117 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5119 (_POSIX_V6_ILP32_OFF32): Likewise.
5120 (_XBS5_ILP32_OFF32): Likewise.
5121 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5122 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5124 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5126 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5128 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5129 doubles __mpexp_twomm1. Adjust usage.
5130 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5133 2013-01-10 Andreas Schwab <schwab@suse.de>
5136 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5137 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5139 2013-01-09 David S. Miller <davem@davemloft.net>
5142 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5143 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5144 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5145 TCP_FASTOPEN): Define.
5146 (tcp_repair_opt): New structure.
5147 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5149 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5150 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5151 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5152 (tcp_cookie_transactions): New structure.
5154 2013-01-09 Anton Blanchard <anton@samba.org>
5156 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5157 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5158 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5159 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5161 2013-01-09 Joseph Myers <joseph@codesourcery.com>
5163 * include/features.h (__USE_ANSI): Remove.
5165 2013-01-09 Roland McGrath <roland@hack.frob.com>
5167 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5169 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5171 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5173 * sysdeps/s390/fpu/libm-test-ulps: Update.
5175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5177 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5182 (__mp_dbl): Likewise.
5183 (__dbl_mp): Likewise.
5184 (add_magnitudes): Likewise.
5185 (sub_magnitudes): Likewise.
5191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5196 (__mp_dbl): Likewise.
5197 (__dbl_mp): Likewise.
5198 (add_magnitudes): Likewise.
5199 (sub_magnitudes): Likewise.
5205 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5210 (__mp_dbl): Likewise.
5211 (__dbl_mp): Likewise.
5212 (add_magnitudes): Likewise.
5213 (sub_magnitudes): Likewise.
5220 2013-01-08 Joseph Myers <joseph@codesourcery.com>
5222 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5223 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5224 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5225 2 && __USE_EXTERN_INLINES]: Likewise.
5227 2013-01-08 Andreas Jaeger <aj@suse.de>
5230 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5232 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5233 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5235 2013-01-07 Anton Blanchard <anton@samba.org>
5237 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5238 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5239 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5240 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5241 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5242 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5243 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5244 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5246 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5247 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5248 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5249 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5250 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5251 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5252 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5253 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5254 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5255 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5256 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5257 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5258 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5259 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5260 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5261 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5262 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5263 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5264 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5265 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5266 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5267 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5269 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5270 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5271 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5272 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5273 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5274 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5275 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5276 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5277 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5278 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5279 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5281 2013-01-07 Joseph Myers <joseph@codesourcery.com>
5283 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5284 (__MALLOC_PMT): Likewise.
5285 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5286 [__GNUC__], only on [_LIBC].
5287 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5288 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5289 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5290 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5291 forward declaration.
5292 (realloc_hook_ini): Likewise.
5293 (memalign_hook_ini): Likewise.
5294 (__libc_memalign): Do not use __MALLOC_PMT in variable
5296 (__libc_valloc): Likewise.
5297 (__libc_pvalloc): Likewise.
5298 (__libc_calloc): Likewise.
5299 (__posix_memalign): Likewise.
5302 * math/s_casinh.c: Include <float.h>.
5303 (__casinh): Do not do computation with squaring and square root
5304 for large arguments.
5305 * math/s_casinhf.c: Include <float.h>.
5306 (__casinhf): Do not do computation with squaring and square root
5307 for large arguments.
5308 * math/s_casinhl.c: Include <float.h>.
5309 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5310 (__casinhl): Do not do computation with squaring and square root
5311 for large arguments.
5312 * math/libm-test.inc (casin_test): Add more tests.
5313 (casinh_test): Likewise.
5314 * sysdeps/i386/fpu/libm-test-ulps: Update.
5315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5317 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5319 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5320 (__x86_64_raw_data_cache_size): Likewise.
5321 (__x86_64_data_cache_size_half): Likewise.
5322 (__x86_64_raw_data_cache_size_half): Likewise.
5323 (__x86_64_shared_cache_size): Likewise.
5324 (__x86_64_raw_shared_cache_size): Likewise.
5325 (__x86_64_shared_cache_size_half): Likewise.
5326 (__x86_64_raw_shared_cache_size_half): Likewise.
5327 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5329 (__x86_data_cache_size): This.
5330 (__x86_64_raw_data_cache_size): Renamed to ...
5331 (__x86_raw_data_cache_size): This.
5332 (__x86_64_data_cache_size_half): Renamed to ...
5333 (__x86_data_cache_size_half): This.
5334 (__x86_64_raw_data_cache_size_half): Renamed to ...
5335 (__x86_raw_data_cache_size_half): This.
5336 (__x86_64_shared_cache_size): Renamed to ...
5337 (__x86_shared_cache_size): This.
5338 (__x86_64_raw_shared_cache_size): Renamed to ...
5339 (__x86_raw_shared_cache_size): This.
5340 (__x86_64_shared_cache_size_half): Renamed to ...
5341 (__x86_shared_cache_size_half): This.
5342 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5343 (__x86_raw_shared_cache_size_half): This.
5344 * sysdeps/x86_64/memcpy.S: Updated.
5345 * sysdeps/x86_64/memset.S: Likewise.
5346 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5347 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5348 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5350 2013-01-04 David S. Miller <davem@davemloft.net>
5352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5354 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5356 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5357 1 to avoid redefinition warning.
5358 (__USE_GNU): Don't define.
5359 (init_signaling_nan): Protoize.
5361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5363 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5365 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5366 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5367 (__cpymn): Likewise.
5368 (norm): Remove commented code.
5370 (__mp_dbl): Likewise.
5372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5373 (__cpymn): Likewise.
5374 (norm): Remove commented code.
5376 (__mp_dbl): Likewise.
5379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5380 mp_no value for 1.0 and 2.0.
5381 (norm): Use RADIXI instead of radixi.d.
5383 (__mul): Use 0.0 instead of zero.d.
5384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5385 mp_no value for 1.0 and 2.0.
5386 (norm): Use RADIXI instead of radixi.d.
5388 (__mul): Use 0.0 instead of zero.d.
5390 2013-01-04 Joseph Myers <joseph@codesourcery.com>
5393 * math/s_casinh.c (__casinh): Reduce finite argument to first
5394 quadrant then set signs of results at the end.
5395 * math/s_casinhf.c (__casinhf): Likewise.
5396 * math/s_casinhl.c (__casinhl): Likewise.
5397 * math/libm-test.inc (casin_test): Add more tests.
5398 (casinh_test): Likewise.
5399 * sysdeps/i386/fpu/libm-test-ulps: Update.
5400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5402 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5404 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5406 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5408 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5411 (__mp_dbl): Likewise.
5414 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5415 and adjust the header comment.
5417 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5418 variable name from declaration.
5420 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5423 Initialize COMMON_CPUID_INDEX_7 element.
5424 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5425 (CPUID_RTM): Likewise.
5426 (HAS_RTM): Likewise.
5427 (COMMON_CPUID_INDEX_7): New enum.
5429 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5432 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5433 size is zero, record memory as freed.
5435 2013-01-03 Andreas Jaeger <aj@suse.de>
5437 * po/ia.po: Add new Interlingua translation.
5439 2012-01-03 Allan McRae <allan@archlinux.org>
5441 * locale/programs/localedef.c: Fix description of '--posix' flag.
5443 2013-01-02 Joseph Myers <joseph@codesourcery.com>
5445 * NEWS: Update dates in second copyright notice.
5446 * README: Update copyright dates in example.
5447 * manual/libc.texinfo: Update copyright dates.
5448 * scripts/test-installation.pl: Update copyright date in --version
5451 * hurd/ctty-input.c: Fix copyright notice formatting.
5452 * hurd/ctty-output.c: Likewise.
5453 * hurd/dtable.c: Likewise.
5454 * hurd/hurd-raise.c: Likewise.
5455 * hurd/hurdprio.c: Likewise.
5456 * hurd/msgportdemux.c: Likewise.
5457 * misc/sys/file.h: Likewise.
5458 * misc/sys/ioctl.h: Likewise.
5459 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5460 * sysdeps/mach/hurd/chdir.c: Likewise.
5461 * sysdeps/mach/hurd/fchdir.c: Likewise.
5462 * sysdeps/mach/hurd/rename.c: Likewise.
5463 * sysdeps/mach/hurd/rmdir.c: Likewise.
5464 * sysdeps/mach/hurd/seekdir.c: Likewise.
5465 * sysdeps/mach/hurd/setsid.c: Likewise.
5466 * sysdeps/posix/wait3.c: Likewise.
5468 * All files with FSF copyright notices: Update copyright dates
5469 using scripts/update-copyrights.
5470 * intl/plural.c: Regenerated.
5471 * locale/programs/charmap-kw.h: Likewise.
5472 * locale/programs/locfile-kw.h: Likewise.
5474 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5476 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5479 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5480 calculation loop and add branch prediction.
5482 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5483 check access beyond bounds of m1np.
5485 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5487 (__inv): Remove local variable MPTWO to use the global
5489 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5490 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5492 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5493 MP3HALFS static const.
5495 2013-01-01 David S. Miller <davem@davemloft.net>
5497 * po/ca.po: Update from translation team.
5499 2013-01-01 Joseph Myers <joseph@codesourcery.com>
5501 * scripts/update-copyrights: New file.
5502 * Makeconfig: Reformat copyright notice.
5503 * ctype/ctype.h: Likewise.
5504 * debug/swprintf_chk.c: Likewise.
5505 * elf/dl-cache.c: Likewise.
5506 * elf/dl-debug.c: Likewise.
5507 * elf/dl-object.c: Likewise.
5508 * grp/initgroups.c: Likewise.
5509 * hurd/Makefile: Likewise.
5510 * hurd/hurd/signal.h: Likewise.
5511 * hurd/hurdfault.c: Likewise.
5512 * hurd/hurdioctl.c: Likewise.
5513 * hurd/hurdlookup.c: Likewise.
5514 * hurd/intr-msg.c: Likewise.
5515 * iconv/gconv_open.c: Likewise.
5516 * libio/swprintf.c: Likewise.
5517 * locale/lc-ctype.c: Likewise.
5518 * locale/nl_langinfo.c: Likewise.
5519 * mach/Machrules: Likewise.
5520 * mach/Makefile: Likewise.
5521 * malloc/obstack.h: Likewise.
5522 * manual/Makefile: Likewise.
5523 * manual/tsort.awk: Likewise.
5524 * misc/bits/stab.def: Likewise.
5525 * nis/nis_print_group_entry.c: Likewise.
5526 * nis/nis_table.c: Likewise.
5527 * nis/nss_compat/compat-pwd.c: Likewise.
5528 * nis/nss_compat/compat-spwd.c: Likewise.
5529 * po/Makefile: Likewise.
5530 * posix/fnmatch.c: Likewise.
5531 * posix/regex.h: Likewise.
5532 * resolv/Makefile: Likewise.
5533 * resolv/nss_dns/dns-network.c: Likewise.
5534 * resolv/res_hconf.c: Likewise.
5535 * scripts/gen-sorted.awk: Likewise.
5536 * soft-fp/soft-fp.h: Likewise.
5537 * stdio-common/printf.h: Likewise.
5538 * stdlib/monetary.h: Likewise.
5539 * stdlib/random.c: Likewise.
5540 * stdlib/random_r.c: Likewise.
5541 * sysdeps/generic/Makefile: Likewise.
5542 * sysdeps/gnu/Makefile: Likewise.
5543 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5544 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5545 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5546 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5547 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5548 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5549 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5550 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5551 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5552 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5553 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5554 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5555 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5556 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5557 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5558 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5559 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5560 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5561 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5562 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5563 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5564 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5565 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5566 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5567 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5568 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5569 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5570 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5571 * sysdeps/mach/hurd/errnos.awk: Likewise.
5572 * sysdeps/mach/hurd/fork.c: Likewise.
5573 * sysdeps/mach/hurd/getcwd.c: Likewise.
5574 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5575 * sysdeps/mach/hurd/mmap.c: Likewise.
5576 * sysdeps/mach/hurd/utimes.c: Likewise.
5577 * sysdeps/mach/hurd/xmknod.c: Likewise.
5578 * sysdeps/posix/profil.c: Likewise.
5579 * sysdeps/posix/readdir_r.c: Likewise.
5580 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5581 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5582 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5583 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5585 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5586 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5587 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5589 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5590 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5591 * sysdeps/pthread/lio_listio.c: Likewise.
5592 * sysdeps/sparc/dl-procinfo.h: Likewise.
5593 * sysdeps/unix/i386/sysdep.S: Likewise.
5594 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5595 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5596 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5597 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5599 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5600 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5601 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5602 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5603 * sysdeps/wordsize-32/divdi3.c: Likewise.
5604 * time/sys/time.h: Likewise.
5605 * wcsmbs/Makefile: Likewise.
5607 2013-01-01 David S. Miller <davem@davemloft.net>
5609 * po/fr.po: Update from translation team.
5611 * catgets/gencat.c: Update copyright year.
5612 * csu/version.c: Likewise.
5613 * debug/catchsegv.sh: Likewise.
5614 * debug/pcprofiledump.c: Likewise.
5615 * debug/xtrace.sh: Likewise.
5616 * elf/ldconfig.c: Likewise.
5617 * elf/ldd.bash.in: Likewise.
5618 * elf/pldd.c: Likewise.
5619 * elf/sotruss.ksh: Likewise.
5620 * elf/sprof.c: Likewise.
5621 * iconv/iconv_prog.c: Likewise.
5622 * iconv/iconvconfig.c: Likewise.
5623 * locale/programs/locale.c: Likewise.
5624 * locale/programs/localedef.c: Likewise.
5625 * login/programs/pt_chown.c: Likewise.
5626 * malloc/memusage.sh: Likewise.
5627 * malloc/memusagestat.c: Likewise.
5628 * malloc/mtrace.pl: Likewise.
5629 * nscd/nscd.c: Likewise.
5630 * nss/getent.c: Likewise.
5631 * nss/makedb.c: Likewise.
5632 * posix/getconf.c: Likewise.
5634 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5636 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5639 2012-12-30 Mike Frysinger <vapier@gentoo.org>
5641 * math/bits/mathcalls.h (modf): Use __nonnull.
5643 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5645 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5646 (split): Use macro CN instead of the bare value.
5647 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5649 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5650 instead of the bare value.
5653 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5655 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5657 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5659 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5661 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5662 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5663 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5664 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5666 2012-12-28 Andreas Jaeger <aj@suse.de>
5668 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5669 values are from Linux 3.7.
5671 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5672 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5674 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5676 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5679 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5681 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5682 variables with preprocessor constants.
5683 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5684 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5685 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5687 2012-12-27 Bruno Haible <bruno@clisp.org>
5690 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5693 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5695 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5696 and use variable directly.
5697 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5699 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5701 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5702 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5704 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5705 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5706 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5707 include directive. Remove local variable MPONE.
5708 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5709 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5710 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5712 2012-12-25 David S. Miller <davem@davemloft.net>
5714 * version.h (RELEASE): Set to "development".
5715 (VERSION): Set to "2.17.90".
5716 * NEWS: Add 2.18 section.
5718 2012-12-21 David S. Miller <davem@davemloft.net>
5720 * po/hr.po: Update from translation team.
5722 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5724 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5726 2012-12-19 Steve Ellcey <sellcey@mips.com>
5728 * NEWS: Mention new memcpy for MIPS.
5730 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5732 * manual/contrib.texi (Contributors): Spelling correction.
5734 2012-12-15 David S. Miller <davem@davemloft.net>
5736 * po/ru.po: Update from translation team.
5738 2012-12-13 David S. Miller <davem@davemloft.net>
5740 * NEWS: Mention IFUNC testsuite enhancements.
5742 * po/pl.po: Update from translation team.
5743 * po/bg.po: Likewise.
5745 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5746 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5748 2012-12-11 David S. Miller <davem@davemloft.net>
5750 * po/sv.po: Update from translation team.
5752 * po/vi.po: Update from translation team.
5754 * po/cs.po: Update from translation team.
5756 * po/de.po: Update from translation team.
5757 * po/eo.po: Likewise.
5758 * po/nl.po: Likewise.
5760 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5763 * manual/argp.texi (Argp Helper Functions): Move node to follow
5767 * manual/conf.texi (Limits on File System Capacity): Mention if
5768 terminating null is included in the max size.
5770 2012-12-10 Andreas Jaeger <aj@suse.de>
5772 * po/cs.po: Update from translation team.
5774 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5776 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5777 void pointer and cast to uintptr_t.
5778 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5780 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5781 * sysdeps/s390/s390-64/memset.S: Likewise.
5783 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5786 * menual/message.texi (Message Translation): Fix typos.
5787 (Helper programs for gettext): Likewise.
5789 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5792 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5795 2012-12-07 David S. Miller <davem@davemloft.net>
5797 * po/libc.pot: Update.
5799 2012-12-07 Richard Henderson <rth@redhat.com>
5802 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5803 normal/normal case to before the switch.
5804 (_FP_DIV): Likewise.
5806 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5807 Mike Frysinger <vapier@gentoo.org>
5809 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5810 check for __NR_fadvise64_64.
5812 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5814 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5815 0, not just to plain "0" as a statement.
5816 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5819 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5821 * NEWS: Use sourceware.org in Bugzilla URL.
5823 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5826 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5828 * stdio-common/tst-put-error.c (do_test): Add newline to the
5829 padded test to ensure flush.
5831 2012-12-05 Jeff Law <law@redhat.com>
5833 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5835 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5837 * README: Don't refer to ports add-on as distributed separately.
5838 Mention AArch64 in list of systems supported in the ports add-on.
5840 * LICENSES: Add more non-FSF copyright and license notices.
5842 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5845 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5847 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5848 10000 as width of padded output.
5850 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5852 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5854 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5855 variable LX with __attribute__ ((unused)).
5856 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5858 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5859 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5860 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5861 with __attribute__ ((unused)).
5863 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5865 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5867 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5869 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5870 (CFLAGS-nldbl-acos.c): New variable.
5871 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5872 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5873 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5874 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5875 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5876 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5877 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5878 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5879 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5880 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5881 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5882 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5883 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5884 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5885 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5886 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5887 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5888 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5889 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5890 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5891 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5892 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5893 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5894 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5895 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5896 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5897 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5898 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5899 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5900 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5901 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5902 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5903 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5904 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5905 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5906 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5907 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5908 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5909 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5910 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5911 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5912 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5913 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5914 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5915 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5916 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5917 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5918 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5919 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5920 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5921 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5922 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5923 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5924 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5925 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5926 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5927 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5928 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5929 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5930 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5931 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5932 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5933 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5934 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5935 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5936 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5937 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5938 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5939 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5940 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5941 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5942 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5943 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5944 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5945 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5946 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5947 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5948 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5949 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5950 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5951 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5952 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5953 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5954 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5955 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5956 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5957 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5958 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5959 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5960 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5961 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5962 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5963 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5964 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5965 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5966 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5967 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5970 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5973 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5974 whole low double instead of just low 47 bits when splitting values
5977 2012-12-03 Allan McRae <allan@archlinux.org>
5979 * manual/stdio.texi (Predefined Printf Handlers): Remove
5980 @hsep and @vsep usage.
5982 2012-12-03 Mike Frysinger <vapier@gentoo.org>
5984 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5985 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5987 2012-12-03 Jeff Law <law@redhat.com>
5989 * time/sys/time.h (settimeofday): Do not mark TV argument
5992 2012-12-01 Mike Frysinger <vapier@gentoo.org>
5994 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5995 when currently writing and seek to current position when not.
5996 * libio/Makefile (tests): Remove bug-fclose1.
5997 * libio/bug-fclose1.c: Delete.
5999 2012-12-01 Joseph Myers <joseph@codesourcery.com>
6001 * manual/arith.texi (feenableexcept): Fix typo.
6002 (fedisableexcept): Likewise.
6004 2012-11-30 Roland McGrath <roland@hack.frob.com>
6006 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6007 second, differently-typed declaration, rather than a cast.
6009 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6011 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6012 * include/rpc/svc.h: ... here.
6014 2012-11-30 Aurelien Jarno <aurel32@debian.org>
6017 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6018 depending n and resplen2 to catch cases where answer
6021 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6023 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6024 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6026 2012-11-29 Mike Frysinger <vapier@gentoo.org>
6028 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6030 2012-11-29 Roland McGrath <roland@hack.frob.com>
6032 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6034 2012-11-28 Jeff Law <law@redhat.com>
6037 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6038 dataset_temporary. Track alloca usage into alloca_used.
6039 If dataset is large allocate and release it via malloc/free.
6041 2012-06-04 Florian Weimer <fweimer@redhat.com>
6044 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6046 2012-11-28 David S. Miller <davem@davemloft.net>
6048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6050 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6053 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6054 of pi/2 rounded to nearest to 64 bits.
6055 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6057 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6060 2012-11-28 Jeff Law <law@redhat.com>
6061 Martin Osvald <mosvald@redhat.com>
6064 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6065 * sunrpc/svc.c: Include time.h.
6066 (__svc_accept_failed): New function.
6067 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6068 any reason other than EINTR, call __svc_accept_failed.
6069 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6070 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6072 2012-11-28 Andreas Schwab <schwab@suse.de>
6074 * scripts/abilist.awk: Also handle indirect functions in .opd
6077 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6080 * sysdeps/x86/fpu/powl_helper.c: New file.
6081 * sysdeps/x86/fpu/Makefile: Likewise.
6082 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6084 (__ieee754_powl): Use __powl_helper for finite arguments except
6085 integer exponents below 8.
6086 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6088 (__ieee754_powl): Use __powl_helper for finite arguments except
6089 integer exponents below 8.
6090 * math/libm-test.inc (pow_test): Add more tests and enable some
6091 previously disabled tests.
6092 * sysdeps/i386/fpu/libm-test-ulps: Update.
6093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6095 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6096 Carlos O'Donell <carlos_odonell@mentor.com>
6098 * nss/makedb.c (is_prime): Assert that input is odd and greater
6099 than 4. Note that fact in a comment too.
6100 (next_prime): Add 4 to input.
6102 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6105 * libio/Makefile (tests): Add test case tst-fwrite-error.
6106 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6107 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6108 * libio/tst-fwrite-error.c: New test case.
6110 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6112 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6113 before casting to void *.
6114 * include/libc-internal.h (__pointer_type): New macro.
6115 (__integer_if_pointer_type_sub): Likewise.
6116 (__integer_if_pointer_type): Likewise.
6117 (cast_to_integer): Likewise.
6118 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6119 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6120 before casting to atomic64_t.
6121 (atomic_exchange_acq): Likewise.
6122 (__arch_exchange_and_add_body): Likewise.
6123 (__arch_add_body): Likewise.
6124 (atomic_add_negative): Likewise.
6125 (atomic_add_zero): Likewise.
6127 2012-11-26 Joseph Myers <joseph@codesourcery.com>
6129 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6130 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6131 (add_fdes): Likewise.
6132 (linear_search_fdes): Likewise.
6133 (binary_search_unencoded_fdes): Likewise.
6135 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
6137 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6139 2012-11-24 Adam Conrad <adconrad@0c3.net>
6141 * configure.in: Autodetect C++ header directories.
6142 * configure: Regenerated.
6144 2012-11-23 Mike Frysinger <vapier@gentoo.org>
6146 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6148 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
6150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6152 2012-11-22 Joseph Myers <joseph@codesourcery.com>
6154 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6155 LDBL_MANT_DIG == 106]: Disable some tests.
6156 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6158 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6162 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6163 input for small inputs. Return +/- pi/2 for large inputs.
6164 * math/libm-test.inc (atan_test): Add more tests.
6166 * sysdeps/generic/unwind-dw2-fde-glibc.c
6167 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6168 __attribute__ ((unused)).
6171 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6172 x * y if x and y are nonzero and z is zero.
6175 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6176 nonzero exponents with absolute value below 0x1p-117 to +/-
6180 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6181 up arguments below 2**-450, not just those below 2**-500.
6182 * math/libm-test.inc (hypot_test): Add another test.
6185 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6186 Return a+b for ratio over 2**120, not 2**60.
6187 * math/libm-test.inc (hypot_test): Add another test.
6189 * math/libm-test.inc (clog_test): Use
6190 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6191 (clog10_test): Likewise.
6194 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6196 2012-11-22 Andreas Schwab <schwab@suse.de>
6198 * sysdeps/i386/fpu/libm-test-ulps: Update.
6200 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6202 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6203 printf output with newline.
6205 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6208 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6209 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6210 -z nodlopen, -z initfirst and -z execstack support.
6211 * configure: Regenerated.
6213 * elf/elf.h (DF_1_NODIRECT): New macro.
6214 (DF_1_IGNMULDEF): Likewise.
6215 (DF_1_NOKSYMS): Likewise.
6216 (DF_1_NOHDR): Likewise.
6217 (DF_1_EDITED): Likewise.
6218 (DF_1_NORELOC): Likewise.
6219 (DF_1_SYMINTPOSE): Likewise.
6220 (DF_1_GLOBAUDIT): Likewise.
6221 (DF_1_SINGLETON): Likewise.
6222 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6223 DT_1_SUPPORTED_MASK bits.
6224 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6226 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6228 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6230 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6232 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6235 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6236 (sendmmsg): Move declarations...
6237 * socket/sys/socket.h: ... here.
6238 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6239 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6241 * socket/recvmmsg.c: ... this new file.
6242 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6243 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6244 definition of __sendmmsg hidden.
6245 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6246 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6247 Move ENOSYS stub into and include it from...
6248 * socket/sendmmsg.c: ... this new file.
6249 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6250 (sysdep_routines): Move recvmmsg and sendmmsg...
6251 * socket/Makefile (routines): ... here.
6252 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6253 (GLIBC_PRIVATE): Add __sendmmsg.
6254 * include/sys/socket.h (__sendmmsg): Add declarations.
6255 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6258 2012-11-20 Joseph Myers <joseph@codesourcery.com>
6260 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6261 variable I1 with __attribute__ ((unused)).
6262 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6264 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6266 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6267 DUMMY variables with __attribute__ ((unused)).
6269 * bits/byteswap.h: Include <bits/types.h>.
6270 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6272 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6274 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6275 string_t. Do not manually set errno.
6276 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6277 length with __strnlen. Make sure to both set errno and return it on
6280 2012-11-19 David S. Miller <davem@davemloft.net>
6282 With help from Joseph Myers.
6283 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6284 very large arguments properly.
6285 * math/libm-test.inc (atan_test): New tests.
6286 (atan2_test): New tests.
6287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6288 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6290 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6293 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6296 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6297 [POSIX] (EADDRNOTAVAIL): Likewise.
6298 [POSIX] (EAFNOSUPPORT): Likewise.
6299 [POSIX] (EALREADY): Likewise.
6300 [POSIX] (ECONNABORTED): Likewise.
6301 [POSIX] (ECONNREFUSED): Likewise.
6302 [POSIX] (ECONNRESET): Likewise.
6303 [POSIX] (EDESTADDRREQ): Likewise.
6304 [POSIX] (EDQUOT): Likewise.
6305 [POSIX] (EHOSTUNREACH): Likewise.
6306 [POSIX] (EIDRM): Likewise.
6307 [POSIX] (EISCONN): Likewise.
6308 [POSIX] (ELOOP): Likewise.
6309 [POSIX] (EMULTIHOP): Likewise.
6310 [POSIX] (ENETDOWN): Likewise.
6311 [POSIX] (ENETUNREACH): Likewise.
6312 [POSIX] (ENOBUFS): Likewise.
6313 [POSIX] (ENODATA): Likewise.
6314 [POSIX] (ENOLINK): Likewise.
6315 [POSIX] (ENOMSG): Likewise.
6316 [POSIX] (ENOPROTOOPT): Likewise.
6317 [POSIX] (ENOSR): Likewise.
6318 [POSIX] (ENOSTR): Likewise.
6319 [POSIX] (ENOTCONN): Likewise.
6320 [POSIX] (ENOTSOCK): Likewise.
6321 [POSIX] (EOPNOTSUPP): Likewise.
6322 [POSIX] (EOVERFLOW): Likewise.
6323 [POSIX] (EPROTO): Likewise.
6324 [POSIX] (EPROTONOSUPPORT): Likewise.
6325 [POSIX] (EPROTOTYPE): Likewise.
6326 [POSIX] (ESTALE): Likewise.
6327 [POSIX] (ETIME): Likewise.
6328 [POSIX] (ETXTBSY): Likewise.
6329 [POSIX] (EWOULDBLOCK): Likewise.
6330 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6331 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6332 [POSIX] (SEEK_CUR): Likewise.
6333 [POSIX] (SEEK_END): Likewise.
6334 [POSIX || UNIX98] (mode_t): Do not require.
6335 [POSIX] (off_t): Likewise.
6336 [POSIX] (pid_t): Likewise.
6337 [POSIX] (sys/stat.h): Do not allow header.
6338 [POSIX] (unistd.h): Likewise.
6339 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6340 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6341 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6342 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6344 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6345 sigevent): Specify elements.
6346 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6348 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6349 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6351 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6352 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6353 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6354 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6355 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6356 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6357 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6358 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6359 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6360 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6361 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6362 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6363 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6364 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6366 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6368 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6370 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6372 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6373 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6374 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6375 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6376 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6377 Specify lower bound on value.
6378 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6379 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6380 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6381 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6382 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6383 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6384 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6385 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6387 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6389 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6390 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6391 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6392 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6393 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6394 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6395 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6396 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6397 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6398 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6399 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6400 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6401 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6402 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6403 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6404 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6406 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6408 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6409 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6410 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6411 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6412 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6413 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6415 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6416 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6417 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6418 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6419 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6420 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6421 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6423 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6424 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6425 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6426 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6427 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6428 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6429 specify as optional.
6430 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6431 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6432 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6433 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6434 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6435 [XPG3] (NL_LANGMAX): Likewise.
6436 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6437 [POSIX || XPG3] (NL_NMAX): Likewise.
6438 [POSIX || XPG3] (NL_SETMAX): Likewise.
6439 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6440 [XPG3] (NZERO): Likewise.
6441 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6442 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6443 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6444 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6445 (REG_ERANGE): Expect.
6446 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6448 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6449 Use (void) in prototype.
6450 [POSIX] (*_t): Allow.
6451 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6452 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6453 (WRDE_BADVAL): Expect.
6455 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6457 [XPG3 || XPG4] (O_RSYNC): Likewise.
6458 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6460 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6461 [XPG3 || XPG4] (sigqueue): Likewise.
6462 [XPG3 || XPG4] (sigtimedwait): Likewise.
6463 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6464 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6465 [XPG3 || XPG4] (vsnprintf): Likewise.
6466 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6468 [XPG3 || XPG4] (blksize_t): Likewise.
6469 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6471 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6472 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6473 [XPG3 || XPG4] (struct itimerspec): Likewise.
6474 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6475 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6476 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6477 [XPG3 || XPG4] (clockid_t): Likewise.
6478 [XPG3 || XPG4] (timer_t): Likewise.
6479 [XPG3 || XPG4] (clock_getres): Likewise.
6480 [XPG3 || XPG4] (clock_gettime): Likewise.
6481 [XPG3 || XPG4] (clock_settime): Likewise.
6482 [XPG3 || XPG4] (nanosleep): Likewise.
6483 [XPG3 || XPG4] (timer_create): Likewise.
6484 [XPG3 || XPG4] (timer_delete): Likewise.
6485 [XPG3 || XPG4] (timer_gettime): Likewise.
6486 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6487 [XPG3 || XPG4] (timer_settime): Likewise.
6488 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6489 [XPG3 || XPG4] (getlogin_r): Likewise.
6490 [XPG3 || XPG4] (pread): Likewise.
6491 [XPG3 || XPG4] (pthread_atfork): Likewise.
6492 [XPG3 || XPG4] (pwrite): Likewise.
6495 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6498 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6500 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6501 finalizing MALLSTREAM.
6503 * sysdeps/mach/hurd/syncfs.c: New file.
6505 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6508 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6509 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6510 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6511 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6512 (_nss_dns_gethostbyname4_r): Likewise.
6513 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6514 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6516 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6519 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6521 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6523 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6524 * elf/cache.c (print_entry): Print ",AArch64" for
6527 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6528 * elf/cache.c (print_entry): Print ",hard-float" for
6531 2012-11-18 David S. Miller <davem@davemloft.net>
6533 With help from Joseph Myers.
6534 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6536 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6538 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6539 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6541 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6542 * math/libm-test.inc (y0_test): New tests.
6543 (y1_test): New tests.
6544 * sysdeps/i386/fpu/libm-test-ulps: Update.
6545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6548 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6550 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6552 * configure: Regenerated.
6554 2012-11-17 David S. Miller <davem@davemloft.net>
6557 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6558 nonzero exponents with absolute value below 0x1p-128 to +/-
6561 2012-11-17 Joseph Myers <joseph@codesourcery.com>
6563 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6565 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6567 * posix/getconf-speclist.c: New file.
6568 * posix/posix-envs.def: Likewise.
6569 * posix/confstr.c (START_ENV_GROUP): New macro.
6570 (END_ENV_GROUP): Likewise.
6571 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6572 (KNOWN_PRESENT_ENV_STRING): Likewise.
6573 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6574 (UNKNOWN_ENVIRONMENT): Likewise.
6575 (confstr): Include posix-envs.def instead of handling
6576 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6577 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6578 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6579 (END_ENV_GROUP): Likewise.
6580 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6581 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6582 (UNKNOWN_ENVIRONMENT): Likewise.
6583 (__sysconf): Include posix-envs.def instead of handling associated
6584 cases directly here.
6585 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6586 preprocessing getconf-speclist.c rather than running getconf or
6587 generating empty file.
6589 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6591 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6593 2012-11-16 Andrej Lajovic <natrij@gmail.com>
6596 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6598 2012-11-16 David S. Miller <davem@davemloft.net>
6600 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6601 smaller than LDBL_EPSILON/2.0L, just return xm1.
6603 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6605 * elf/tst-array1.c (init): Set constructor priority to 1000.
6606 (fini): Set destructor priority to 1000.
6607 * elf/tst-array2dep.c: Likewise.
6609 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6612 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6613 (_IO_new_file_xsputn): Also return EOF if none of the input
6614 data was written when overflow failed.
6615 * libio/iopadn.c (_IO_padn): Likewise.
6616 * libio/iowpadn.c (_IO_wpadn): Likewise.
6617 * stdio-common/tst-put-error.c: Add copyright notice.
6618 (do_test): Add case for printing padded string.
6619 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6620 _IO_padn returned error.
6621 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6622 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6625 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6627 * libio/libioP.h: Add comment note that the references to C++
6628 bits are now obsolete.
6630 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6632 * math/libm-test.inc (check_complex): Use asprintf.
6634 2012-11-14 Joseph Myers <joseph@codesourcery.com>
6636 * debug/pcprofiledump.c (print_version): Update copyright year.
6637 * malloc/memusagestat.c (print_version): Likewise.
6639 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6642 * elf/Makefile (tests): Add tst-audit8.
6643 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6644 ($(objpfx)tst-audit8.out): New target.
6645 (tst-audit8-ENV): New variable.
6646 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6647 audit if l_reloc_result is NULL.
6648 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6649 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6650 * elf/tst-audit8.c: New file.
6652 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6654 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6655 * misc/Makefile (CFLAGS-select.c): Define.
6656 * posix/Makefile (CFLAGS-pause.c): Define.
6658 2012-11-13 David S. Miller <davem@davemloft.net>
6660 * crypt/Makefile: Move test targets after toplevel Rules
6661 inclusion. Grab any necessary sysdep routines when linking.
6662 * crypt/md5.c (md5_process_block): Remove define, we will always
6663 name it __md5_process_block.
6664 (md5_finish_ctx): Update md5_process_block call.
6665 (md5_stream): Likewise.
6666 (md5_process_bytes): Likewise.
6667 (md5_process_block): Rename to __md5_process_block and move to ...
6668 * crypt/md5-block.c: ... here.
6669 * crypt/sha256.c (sha256_process_block): Move to ...
6670 * crypt/sha256-block.c: ... here.
6671 * crypt/sha512.c (sha512_process_block): Move to ...
6672 * crypt/sha512-block.c: ... here.
6673 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6675 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6676 * sysdeps/sparc/sparc64/multiarch/Makefile
6677 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6679 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6680 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6682 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6683 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6684 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6685 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6686 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6687 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6688 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6689 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6690 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6692 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6693 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6695 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6697 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6699 * timezone/tzselect.ksh: Update from tzcode git revision
6700 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6701 * timezone/zdump.c: Likewise.
6702 * timezone/zic.c: Likewise.
6703 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6704 in TZVERSION setting, not $(PKGVERSION).
6705 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6706 REPORT_BUGS_TO settings.
6709 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6712 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6714 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6715 detection to immediately after _FP_ROUND().
6716 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6719 2012-11-11 David S. Miller <davem@davemloft.net>
6721 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6723 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6724 __close rather than their public counterparts.
6726 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6728 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6730 [UNIX98] (sem_timedwait): Do not expect.
6731 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6732 [XPG4 || UNIX98] (sockatmark): Do not expect.
6733 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6734 (clock_getcpuclockid): Do not expect.
6735 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6736 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6738 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6739 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6740 [UNIX98] (vwscanf): Likewise.
6741 [UNIX98] (vswscanf): Likewise.
6743 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6745 * timezone/version.h: Remove file.
6746 * timezone/README: Do not refer to version.h.
6747 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6749 ($(objpfx)zdump.o): Likewise.
6750 ($(objpfx)version.h): New target.
6752 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6754 * timezone/README: Don't mention modification to tzselect.ksh.
6755 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6756 work on unmodified tzselect.ksh. Substitute version numbers in
6759 * Makefile (format-me): Remove.
6760 (INSTALL): Adjust indentation. Use commands directly instead of
6763 * aclocal.m4 (ACX_PKGVERSION): New macro.
6764 (ACX_BUGURL): Likewise.
6765 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6766 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6767 (REPORT_BUGS_TO): Likewise.
6768 * configure: Regenerated.
6769 * config.h.in (PKGVERSION): New macro.
6770 (REPORT_BUGS_TO): Likewise.
6771 * config.make.in (PKGVERSION): New variable.
6772 (PKGVERSION_TEXI): Likewise.
6773 (REPORT_BUGS_TO): Likewise.
6774 (REPORT_BUGS_TEXI): Likewise.
6775 * Makefile (format-me): Use -I$(common-objpfx)manual.
6776 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6777 ($(common-objpfx)manual/%): New target.
6778 (manual/%): Remove target.
6779 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6780 (print_version): Use PKGVERSION.
6781 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6782 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6784 ($(objpfx)xtrace): Likewise.
6785 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6786 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6787 (print_version): Use PKGVERSION.
6788 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6789 (do_version): Use PKGVERSION.
6790 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6792 (common-ldd-rewrite): Likewise.
6793 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6794 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6795 (print_version): Use PKGVERSION.
6796 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6797 * elf/pldd.c (argp_program_bug_address): Remove variable.
6798 (more_help): New function.
6799 (argp): Use more_help.
6800 (print_version): Use PKGVERSION.
6801 * elf/sln.c (main): Use PKGVERSION.
6802 (usage): Use REPORT_BUGS_TO.
6803 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6804 (top level): Use PKGVERSION.
6805 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6806 (print_version): Use PKGVERSION.
6807 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6808 (print_version): Use PKGVERSION.
6809 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6810 (print_version): Use PKGVERSION.
6811 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6812 (print_version): Use PKGVERSION.
6813 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6814 (print_version): Use PKGVERSION.
6815 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6816 (print_version): Use PKGVERSION.
6817 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6819 ($(objpfx)memusage): Likewise.
6820 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6821 (do_version): Use PKGVERSION.
6822 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6823 (print_version): Use PKGVERSION.
6824 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6825 ($PKGVERSION): New variable.
6826 ($REPORT_BUGS_TO): Likewise.
6827 (usage): Use $REPORT_BUGS_TO.
6828 (top level): Use $PKGVERSION.
6829 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6830 ($(objpfx)pkgvers.texi): New rule.
6831 ($(objpfx)stamp-pkgvers): Likewise.
6832 * manual/install.texi: Include pkgvers.texi.
6833 (--with-pkgversion): Document new configure option.
6834 (--with-bugurl): Likewise.
6835 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6836 than necessarily for this particular distribution. Use
6837 REPORT_BUGS_TO for where to report bugs.
6838 * INSTALL: Regenerated.
6839 * manual/libc.texinfo: Include pkgvers.texi.
6840 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6841 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6842 (print_version): Use PKGVERSION.
6843 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6844 (print_version): Use PKGVERSION.
6845 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6846 (print_version): Use PKGVERSION.
6847 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6848 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6850 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6851 (print_version): Use PKGVERSION.
6852 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6853 (print_version): Use PKGVERSION.
6854 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6857 * timezone/checktab.awk: Update from tzcode 2012i.
6858 * timezone/ialloc.c: Likewise.
6859 * timezone/private.h: Likewise.
6860 * timezone/scheck.c: Likewise.
6861 * timezone/tzfile.h: Likewise.
6862 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6863 (TZVERSION): Hardcode tzcode version number.
6864 * timezone/zdump.c: Update from tzcode 2012i.
6865 * timezone/zic.c: Likewise.
6866 * timezone/version.h: New file.
6867 * timezone/README: Describe version.h. Update upstream location.
6870 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6871 (mktemp): Enable declaration.
6872 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6873 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6874 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6875 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6877 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6879 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6881 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6883 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6885 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6889 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6890 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6891 for copies of such integer values.
6892 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6893 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6895 2012-11-09 Andreas Jaeger <aj@suse.de>
6897 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6898 definitions and declarations that are provided by
6899 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6901 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6903 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6904 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6905 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6908 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6910 * elf/elf.h: Update comment before AArch64 relocations.
6912 2012-11-07 David S. Miller <davem@davemloft.net>
6914 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6915 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6916 (__start_context): Declare.
6917 (__makecontext_ret): Delete.
6918 (__makecontext): Hook up __start_context instead of
6920 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6921 (sysdep_routines): Add __start_context when in stdlib.
6923 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6925 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6926 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6927 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6929 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6930 (READELF): New variable. Use it instead of hardcoded "readelf".
6932 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6934 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6935 * sysdeps/x86/Makefile: Here.
6936 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6937 * sysdeps/x86/tst-xmmymm.sh: This.
6939 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6941 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6943 [UNIX98] (pthread_barrier_t): Do not expect.
6944 [UNIX98] (pthread_barrierattr_t): Likewise.
6945 [UNIX98] (pthread_spinlock_t): Likewise.
6946 [UNIX98] (pthread_barrier_destroy): Likewise.
6947 [UNIX98] (pthread_barrier_init): Likewise.
6948 [UNIX98] (pthread_barrier_wait): Likewise.
6949 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6950 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6951 [UNIX98] (pthread_barrierattr_init): Likewise.
6952 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6953 [UNIX98] (pthread_getcpuclockid): Likewise.
6954 [UNIX98] (pthread_mutex_timedlock): Likewise.
6955 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6956 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6957 [UNIX98] (pthread_sigmask): Likewise.
6958 [UNIX98] (pthread_spin_destroy): Likewise.
6959 [UNIX98] (pthread_spin_init): Likewise.
6960 [UNIX98] (pthread_spin_lock): Likewise.
6961 [UNIX98] (pthread_spin_trylock): Likewise.
6962 [UNIX98] (pthread_spin_unlock): Likewise.
6963 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6965 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6966 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6967 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6968 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6969 [XPG3 || XPG4] (pthread_key_t): Likewise.
6970 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6971 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6972 [XPG3 || XPG4] (pthread_once_t): Likewise.
6973 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6974 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6975 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6976 [XPG3 || XPG4] (pthread_t): Likewise.
6978 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6980 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6982 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6983 Change function return type to int.
6985 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6986 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6987 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6988 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6989 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6990 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6991 [!POSIX] (posix_madvise): Likewise.
6992 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6994 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6995 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6997 (posix_mem_offset): Likewise.
6998 (posix_typed_mem_get_info): Likewise.
6999 (posix_typed_mem_open): Likewise.
7001 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7002 Change condition to [XOPEN2K8].
7004 * conform/conformtest.pl: Preprocess allow-header data with -x c
7005 instead of from stdin.
7006 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7007 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7008 [C99-based standards] (cerfc): Likewise.
7009 [C99-based standards] (cexp2): Likewise.
7010 [C99-based standards] (cexpm1): Likewise.
7011 [C99-based standards] (clog10): Likewise.
7012 [C99-based standards] (clog1p): Likewise.
7013 [C99-based standards] (clog2): Likewise.
7014 [C99-based standards] (clgamma): Likewise.
7015 [C99-based standards] (ctgamma): Likewise.
7016 [C99-based standards] (cerff): Likewise.
7017 [C99-based standards] (cerfcf): Likewise.
7018 [C99-based standards] (cexp2f): Likewise.
7019 [C99-based standards] (cexpm1f): Likewise.
7020 [C99-based standards] (clog10f): Likewise.
7021 [C99-based standards] (clog1pf): Likewise.
7022 [C99-based standards] (clog2f): Likewise.
7023 [C99-based standards] (clgammaf): Likewise.
7024 [C99-based standards] (ctgammaf): Likewise.
7025 [C99-based standards] (cerfl): Likewise.
7026 [C99-based standards] (cerfcl): Likewise.
7027 [C99-based standards] (cexp2l): Likewise.
7028 [C99-based standards] (cexpm1l): Likewise.
7029 [C99-based standards] (clog10l): Likewise.
7030 [C99-based standards] (clog1pl): Likewise.
7031 [C99-based standards] (clog2l): Likewise.
7032 [C99-based standards] (clgammal): Likewise.
7033 [C99-based standards] (ctgammal): Likewise.
7034 * conform/data/inttypes.h-data [C99-based standards]: Include
7035 stdint.h-data. Remove all expectations for stdint.h contents.
7036 [C99-based standards] (PRI*): Do not allow.
7037 [C99-based standards] (SCN*): Likewise.
7038 [C99-based standards] (*_t): Likewise.
7039 [C99-based-standards] (PRId8): Expect macro.
7040 [C99-based-standards] (PRIi8): Likewise.
7041 [C99-based-standards] (PRIo8): Likewise.
7042 [C99-based-standards] (PRIu8): Likewise.
7043 [C99-based-standards] (PRIx8): Likewise.
7044 [C99-based-standards] (PRIX8): Likewise.
7045 [C99-based-standards] (SCNd8): Likewise.
7046 [C99-based-standards] (SCNi8): Likewise.
7047 [C99-based-standards] (SCNo8): Likewise.
7048 [C99-based-standards] (SCNu8): Likewise.
7049 [C99-based-standards] (SCNx8): Likewise.
7050 [C99-based-standards] (PRIdLEAST8): Likewise.
7051 [C99-based-standards] (PRIiLEAST8): Likewise.
7052 [C99-based-standards] (PRIoLEAST8): Likewise.
7053 [C99-based-standards] (PRIuLEAST8): Likewise.
7054 [C99-based-standards] (PRIxLEAST8): Likewise.
7055 [C99-based-standards] (PRIXLEAST8): Likewise.
7056 [C99-based-standards] (SCNdLEAST8): Likewise.
7057 [C99-based-standards] (SCNiLEAST8): Likewise.
7058 [C99-based-standards] (SCNoLEAST8): Likewise.
7059 [C99-based-standards] (SCNuLEAST8): Likewise.
7060 [C99-based-standards] (SCNxLEAST8): Likewise.
7061 [C99-based-standards] (PRIdFAST8): Likewise.
7062 [C99-based-standards] (PRIiFAST8): Likewise.
7063 [C99-based-standards] (PRIoFAST8): Likewise.
7064 [C99-based-standards] (PRIuFAST8): Likewise.
7065 [C99-based-standards] (PRIxFAST8): Likewise.
7066 [C99-based-standards] (PRIXFAST8): Likewise.
7067 [C99-based-standards] (SCNdFAST8): Likewise.
7068 [C99-based-standards] (SCNiFAST8): Likewise.
7069 [C99-based-standards] (SCNoFAST8): Likewise.
7070 [C99-based-standards] (SCNuFAST8): Likewise.
7071 [C99-based-standards] (SCNxFAST8): Likewise.
7072 [C99-based-standards] (PRId16): Likewise.
7073 [C99-based-standards] (PRIi16): Likewise.
7074 [C99-based-standards] (PRIo16): Likewise.
7075 [C99-based-standards] (PRIu16): Likewise.
7076 [C99-based-standards] (PRIx16): Likewise.
7077 [C99-based-standards] (PRIX16): Likewise.
7078 [C99-based-standards] (SCNd16): Likewise.
7079 [C99-based-standards] (SCNi16): Likewise.
7080 [C99-based-standards] (SCNo16): Likewise.
7081 [C99-based-standards] (SCNu16): Likewise.
7082 [C99-based-standards] (SCNx16): Likewise.
7083 [C99-based-standards] (PRIdLEAST16): Likewise.
7084 [C99-based-standards] (PRIiLEAST16): Likewise.
7085 [C99-based-standards] (PRIoLEAST16): Likewise.
7086 [C99-based-standards] (PRIuLEAST16): Likewise.
7087 [C99-based-standards] (PRIxLEAST16): Likewise.
7088 [C99-based-standards] (PRIXLEAST16): Likewise.
7089 [C99-based-standards] (SCNdLEAST16): Likewise.
7090 [C99-based-standards] (SCNiLEAST16): Likewise.
7091 [C99-based-standards] (SCNoLEAST16): Likewise.
7092 [C99-based-standards] (SCNuLEAST16): Likewise.
7093 [C99-based-standards] (SCNxLEAST16): Likewise.
7094 [C99-based-standards] (PRIdFAST16): Likewise.
7095 [C99-based-standards] (PRIiFAST16): Likewise.
7096 [C99-based-standards] (PRIoFAST16): Likewise.
7097 [C99-based-standards] (PRIuFAST16): Likewise.
7098 [C99-based-standards] (PRIxFAST16): Likewise.
7099 [C99-based-standards] (PRIXFAST16): Likewise.
7100 [C99-based-standards] (SCNdFAST16): Likewise.
7101 [C99-based-standards] (SCNiFAST16): Likewise.
7102 [C99-based-standards] (SCNoFAST16): Likewise.
7103 [C99-based-standards] (SCNuFAST16): Likewise.
7104 [C99-based-standards] (SCNxFAST16): Likewise.
7105 [C99-based-standards] (PRId32): Likewise.
7106 [C99-based-standards] (PRIi32): Likewise.
7107 [C99-based-standards] (PRIo32): Likewise.
7108 [C99-based-standards] (PRIu32): Likewise.
7109 [C99-based-standards] (PRIx32): Likewise.
7110 [C99-based-standards] (PRIX32): Likewise.
7111 [C99-based-standards] (SCNd32): Likewise.
7112 [C99-based-standards] (SCNi32): Likewise.
7113 [C99-based-standards] (SCNo32): Likewise.
7114 [C99-based-standards] (SCNu32): Likewise.
7115 [C99-based-standards] (SCNx32): Likewise.
7116 [C99-based-standards] (PRIdLEAST32): Likewise.
7117 [C99-based-standards] (PRIiLEAST32): Likewise.
7118 [C99-based-standards] (PRIoLEAST32): Likewise.
7119 [C99-based-standards] (PRIuLEAST32): Likewise.
7120 [C99-based-standards] (PRIxLEAST32): Likewise.
7121 [C99-based-standards] (PRIXLEAST32): Likewise.
7122 [C99-based-standards] (SCNdLEAST32): Likewise.
7123 [C99-based-standards] (SCNiLEAST32): Likewise.
7124 [C99-based-standards] (SCNoLEAST32): Likewise.
7125 [C99-based-standards] (SCNuLEAST32): Likewise.
7126 [C99-based-standards] (SCNxLEAST32): Likewise.
7127 [C99-based-standards] (PRIdFAST32): Likewise.
7128 [C99-based-standards] (PRIiFAST32): Likewise.
7129 [C99-based-standards] (PRIoFAST32): Likewise.
7130 [C99-based-standards] (PRIuFAST32): Likewise.
7131 [C99-based-standards] (PRIxFAST32): Likewise.
7132 [C99-based-standards] (PRIXFAST32): Likewise.
7133 [C99-based-standards] (SCNdFAST32): Likewise.
7134 [C99-based-standards] (SCNiFAST32): Likewise.
7135 [C99-based-standards] (SCNoFAST32): Likewise.
7136 [C99-based-standards] (SCNuFAST32): Likewise.
7137 [C99-based-standards] (SCNxFAST32): Likewise.
7138 [C99-based-standards] (PRId64): Likewise.
7139 [C99-based-standards] (PRIi64): Likewise.
7140 [C99-based-standards] (PRIo64): Likewise.
7141 [C99-based-standards] (PRIu64): Likewise.
7142 [C99-based-standards] (PRIx64): Likewise.
7143 [C99-based-standards] (PRIX64): Likewise.
7144 [C99-based-standards] (SCNd64): Likewise.
7145 [C99-based-standards] (SCNi64): Likewise.
7146 [C99-based-standards] (SCNo64): Likewise.
7147 [C99-based-standards] (SCNu64): Likewise.
7148 [C99-based-standards] (SCNx64): Likewise.
7149 [C99-based-standards] (PRIdLEAST64): Likewise.
7150 [C99-based-standards] (PRIiLEAST64): Likewise.
7151 [C99-based-standards] (PRIoLEAST64): Likewise.
7152 [C99-based-standards] (PRIuLEAST64): Likewise.
7153 [C99-based-standards] (PRIxLEAST64): Likewise.
7154 [C99-based-standards] (PRIXLEAST64): Likewise.
7155 [C99-based-standards] (SCNdLEAST64): Likewise.
7156 [C99-based-standards] (SCNiLEAST64): Likewise.
7157 [C99-based-standards] (SCNoLEAST64): Likewise.
7158 [C99-based-standards] (SCNuLEAST64): Likewise.
7159 [C99-based-standards] (SCNxLEAST64): Likewise.
7160 [C99-based-standards] (PRIdFAST64): Likewise.
7161 [C99-based-standards] (PRIiFAST64): Likewise.
7162 [C99-based-standards] (PRIoFAST64): Likewise.
7163 [C99-based-standards] (PRIuFAST64): Likewise.
7164 [C99-based-standards] (PRIxFAST64): Likewise.
7165 [C99-based-standards] (PRIXFAST64): Likewise.
7166 [C99-based-standards] (SCNdFAST64): Likewise.
7167 [C99-based-standards] (SCNiFAST64): Likewise.
7168 [C99-based-standards] (SCNoFAST64): Likewise.
7169 [C99-based-standards] (SCNuFAST64): Likewise.
7170 [C99-based-standards] (SCNxFAST64): Likewise.
7171 [C99-based-standards] (PRIdMAX): Likewise.
7172 [C99-based-standards] (PRIiMAX): Likewise.
7173 [C99-based-standards] (PRIoMAX): Likewise.
7174 [C99-based-standards] (PRIuMAX): Likewise.
7175 [C99-based-standards] (PRIxMAX): Likewise.
7176 [C99-based-standards] (PRIXMAX): Likewise.
7177 [C99-based-standards] (SCNdMAX): Likewise.
7178 [C99-based-standards] (SCNiMAX): Likewise.
7179 [C99-based-standards] (SCNoMAX): Likewise.
7180 [C99-based-standards] (SCNuMAX): Likewise.
7181 [C99-based-standards] (SCNxMAX): Likewise.
7182 [C99-based-standards] (PRIdPTR): Likewise.
7183 [C99-based-standards] (PRIiPTR): Likewise.
7184 [C99-based-standards] (PRIoPTR): Likewise.
7185 [C99-based-standards] (PRIuPTR): Likewise.
7186 [C99-based-standards] (PRIxPTR): Likewise.
7187 [C99-based-standards] (PRIXPTR): Likewise.
7188 [C99-based-standards] (SCNdPTR): Likewise.
7189 [C99-based-standards] (SCNiPTR): Likewise.
7190 [C99-based-standards] (SCNoPTR): Likewise.
7191 [C99-based-standards] (SCNuPTR): Likewise.
7192 [C99-based-standards] (SCNxPTR): Likewise.
7193 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7195 * conform/data/stdint.h-data: Update comments to clarify
7197 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7199 [C99-based standards] (INT8_MAX): Likewise.
7200 [C99-based standards] (INT16_MIN): Likewise.
7201 [C99-based standards] (INT16_MAX): Likewise.
7202 [C99-based standards] (INT32_MIN): Likewise.
7203 [C99-based standards] (INT32_MAX): Likewise.
7204 [C99-based standards] (INT64_MIN): Likewise.
7205 [C99-based standards] (INT64_MAX): Likewise.
7206 [C99-based standards] (UINT8_MAX): Likewise.
7207 [C99-based standards] (UINT16_MAX): Likewise.
7208 [C99-based standards] (UINT32_MAX): Likewise.
7209 [C99-based standards] (UINT64_MAX): Likewise.
7210 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7211 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7212 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7213 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7214 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7215 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7216 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7217 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7218 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7219 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7220 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7221 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7222 [C99-based standards] (INT_FAST8_MIN): Likewise.
7223 [C99-based standards] (INT_FAST8_MAX): Likewise.
7224 [C99-based standards] (INT_FAST16_MIN): Likewise.
7225 [C99-based standards] (INT_FAST16_MAX): Likewise.
7226 [C99-based standards] (INT_FAST32_MIN): Likewise.
7227 [C99-based standards] (INT_FAST32_MAX): Likewise.
7228 [C99-based standards] (INT_FAST64_MIN): Likewise.
7229 [C99-based standards] (INT_FAST64_MAX): Likewise.
7230 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7231 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7232 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7233 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7234 [C99-based standards] (INTPTR_MIN): Likewise.
7235 [C99-based standards] (INTPTR_MAX): Likewise.
7236 [C99-based standards] (UINTPTR_MAX): Likewise.
7237 [C99-based standards] (INTMAX_MIN): Likewise.
7238 [C99-based standards] (INTMAX_MAX): Likewise.
7239 [C99-based standards] (UINTMAX_MAX): Likewise.
7240 [C99-based standards] (PTRDIFF_MIN): Likewise.
7241 [C99-based standards] (PTRDIFF_MAX): Likewise.
7242 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7243 [C99-based standards] (SIZE_MAX): Likewise.
7244 [C99-based standards] (WCHAR_MAX): Likewise.
7245 [C99-based standards] (WINT_MAX): Likewise.
7246 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7247 constraint on value.
7248 [C99-based standards] (WCHAR_MIN): Likewise.
7249 [C99-based standards] (WINT_MIN): Likewise.
7250 [C99-based standards] (*_t): Allow.
7251 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7252 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7253 Include math.h-data and complex.h-data. Remove all expectations
7254 of math.h and complex.h contents.
7255 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7257 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7258 (struct tm): Expect tag.
7259 [C99-based-standards] (wcstof): Expect function.
7260 [C99-based-standards] (wcstold): Likewise.
7261 [C99-based-standards] (wcstoll): Likewise.
7262 [C99-based-standards] (wcstoull): Likewise.
7263 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7264 macro-int-constant. Specify type.
7265 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7266 constraint on value.
7267 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7269 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7271 [ISO C standards]: Do not allow headers.
7272 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7273 wcs[abcdefghijklmnopqrstuvwxyz]*.
7274 [ISO C standards] (*_t): Do not allow.
7275 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7277 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7278 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7280 [ISO C standards]: Do not allow headers.
7281 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7282 is[abcdefghijklmnopqrstuvwxyz]*.
7283 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7284 to[abcdefghijklmnopqrstuvwxyz]*.
7285 [ISO C standards] (*_t): Do not allow.
7286 * conform/data/stdalign.h-data: New file.
7287 * conform/data/stdbool.h-data: Likewise.
7288 * conform/data/stdnoreturn.h-data: Likewise.
7290 2012-11-07 Roland McGrath <roland@hack.frob.com>
7293 * manual/filesys.texi (Directory Entries): Typo fix.
7294 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7296 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7298 * elf/elf.h (EM_AARCH64): New macro.
7299 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7300 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7301 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7302 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7303 (R_AARCH64_TLSDESC): Likewise.
7304 (NT_ARM_TLS): Likewise.
7305 (NT_ARM_HW_BREAK): Likewise.
7306 (NT_ARM_HW_WATCH): Likewise.
7308 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7311 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7312 (__ieee754_powl): Saturate nonzero exponents with absolute value
7313 below 0x1p-79 to +/- 0x1p-79.
7314 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7315 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7316 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7317 nonzero exponents with absolute value below 0x1p-32 to +/-
7319 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7320 (__ieee754_powl): Saturate nonzero exponents with absolute value
7321 below 0x1p-79 to +/- 0x1p-79.
7322 * math/libm-test.inc (pow_test): Add more tests.
7324 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7326 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7327 _dl_s390_cap_flags with kernel. Increase string length.
7328 (_dl_s390_platforms): Add z196 and zEC12.
7330 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7332 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7333 Change XOPEN21K to XOPEN2K.
7335 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7337 * string/memmove.c: Use memcpy when possible.
7339 2012-11-06 Andreas Jaeger <aj@suse.de>
7341 * po/eo.po: Update from translation team.
7343 2012-11-06 Joseph Myers <joseph@codesourcery.com>
7346 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7347 exponent and small x and y exponents, scale x or y up. Increase
7348 by 2 the exponent used in scaling up.
7349 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7350 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7351 * math/libm-test.inc (fma_test): Add more tests.
7352 (fma_test_towardzero): Likewise.
7353 (fma_test_downward): Likewise.
7354 (fma_test_upward): Likewise.
7356 2012-11-05 Joseph Myers <joseph@codesourcery.com>
7359 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7363 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7364 namespace for names of struct fields.
7365 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7367 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7368 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7370 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7373 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7375 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7377 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7381 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7384 2012-11-04 Joseph Myers <joseph@codesourcery.com>
7387 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7388 definitely overflow as x * y not x * y + z.
7389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7390 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7391 * math/libm-test.inc (fma_test): Add more tests.
7392 (fma_test_towardzero): Likewise.
7393 (fma_test_downward): Likewise.
7394 (fma_test_upward): Likewise.
7396 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7400 * include/stub-tag.h: Remove file.
7401 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7403 * manual/maint.texi (Porting): Don't reference it.
7404 * Makerules ($(objpfx)stubs): Likewise.
7405 * dirent/closedir.c: Don't include <stub-tag.h>.
7406 * dirent/dirfd.c: Likewise.
7407 * dirent/fdopendir.c: Likewise.
7408 * dirent/getdents.c: Likewise.
7409 * dirent/getdents64.c: Likewise.
7410 * dirent/opendir.c: Likewise.
7411 * dirent/readdir.c: Likewise.
7412 * dirent/readdir64.c: Likewise.
7413 * dirent/readdir64_r.c: Likewise.
7414 * dirent/readdir_r.c: Likewise.
7415 * dirent/rewinddir.c: Likewise.
7416 * dirent/seekdir.c: Likewise.
7417 * dirent/telldir.c: Likewise.
7418 * gmon/profil.c: Likewise.
7419 * grp/setgroups.c: Likewise.
7420 * inet/if_index.c: Likewise.
7421 * io/access.c: Likewise.
7422 * io/chdir.c: Likewise.
7423 * io/chmod.c: Likewise.
7424 * io/chown.c: Likewise.
7425 * io/close.c: Likewise.
7426 * io/dup.c: Likewise.
7427 * io/dup2.c: Likewise.
7428 * io/dup3.c: Likewise.
7429 * io/euidaccess.c: Likewise.
7430 * io/faccessat.c: Likewise.
7431 * io/fchdir.c: Likewise.
7432 * io/fchmod.c: Likewise.
7433 * io/fchmodat.c: Likewise.
7434 * io/fchown.c: Likewise.
7435 * io/fchownat.c: Likewise.
7436 * io/fcntl.c: Likewise.
7437 * io/flock.c: Likewise.
7438 * io/fstatfs.c: Likewise.
7439 * io/fstatfs64.c: Likewise.
7440 * io/fstatvfs.c: Likewise.
7441 * io/fstatvfs64.c: Likewise.
7442 * io/futimens.c: Likewise.
7443 * io/fxstat.c: Likewise.
7444 * io/fxstat64.c: Likewise.
7445 * io/fxstatat.c: Likewise.
7446 * io/fxstatat64.c: Likewise.
7447 * io/getcwd.c: Likewise.
7448 * io/isatty.c: Likewise.
7449 * io/lchmod.c: Likewise.
7450 * io/lchown.c: Likewise.
7451 * io/link.c: Likewise.
7452 * io/linkat.c: Likewise.
7453 * io/lseek.c: Likewise.
7454 * io/lseek64.c: Likewise.
7455 * io/lxstat64.c: Likewise.
7456 * io/mkdir.c: Likewise.
7457 * io/mkdirat.c: Likewise.
7458 * io/mkfifo.c: Likewise.
7459 * io/mkfifoat.c: Likewise.
7460 * io/open.c: Likewise.
7461 * io/open64.c: Likewise.
7462 * io/openat.c: Likewise.
7463 * io/openat64.c: Likewise.
7464 * io/pipe.c: Likewise.
7465 * io/pipe2.c: Likewise.
7466 * io/poll.c: Likewise.
7467 * io/posix_fadvise.c: Likewise.
7468 * io/posix_fadvise64.c: Likewise.
7469 * io/posix_fallocate.c: Likewise.
7470 * io/posix_fallocate64.c: Likewise.
7471 * io/read.c: Likewise.
7472 * io/readlink.c: Likewise.
7473 * io/readlinkat.c: Likewise.
7474 * io/rmdir.c: Likewise.
7475 * io/sendfile.c: Likewise.
7476 * io/sendfile64.c: Likewise.
7477 * io/statfs.c: Likewise.
7478 * io/statfs64.c: Likewise.
7479 * io/statvfs.c: Likewise.
7480 * io/statvfs64.c: Likewise.
7481 * io/symlink.c: Likewise.
7482 * io/symlinkat.c: Likewise.
7483 * io/ttyname.c: Likewise.
7484 * io/ttyname_r.c: Likewise.
7485 * io/umask.c: Likewise.
7486 * io/unlink.c: Likewise.
7487 * io/unlinkat.c: Likewise.
7488 * io/utime.c: Likewise.
7489 * io/utimensat.c: Likewise.
7490 * io/write.c: Likewise.
7491 * io/xmknod.c: Likewise.
7492 * io/xmknodat.c: Likewise.
7493 * io/xstat.c: Likewise.
7494 * io/xstat64.c: Likewise.
7495 * login/getpt.c: Likewise.
7496 * login/grantpt.c: Likewise.
7497 * login/unlockpt.c: Likewise.
7498 * math/e_acoshl.c: Likewise.
7499 * math/e_acosl.c: Likewise.
7500 * math/e_asinl.c: Likewise.
7501 * math/e_atan2l.c: Likewise.
7502 * math/e_atanhl.c: Likewise.
7503 * math/e_coshl.c: Likewise.
7504 * math/e_expl.c: Likewise.
7505 * math/e_fmodl.c: Likewise.
7506 * math/e_gammal_r.c: Likewise.
7507 * math/e_hypotl.c: Likewise.
7508 * math/e_j0l.c: Likewise.
7509 * math/e_j1l.c: Likewise.
7510 * math/e_jnl.c: Likewise.
7511 * math/e_lgammal_r.c: Likewise.
7512 * math/e_log10l.c: Likewise.
7513 * math/e_log2l.c: Likewise.
7514 * math/e_logl.c: Likewise.
7515 * math/e_powl.c: Likewise.
7516 * math/e_rem_pio2l.c: Likewise.
7517 * math/e_sinhl.c: Likewise.
7518 * math/e_sqrtl.c: Likewise.
7519 * math/fclrexcpt.c: Likewise.
7520 * math/fedisblxcpt.c: Likewise.
7521 * math/feenablxcpt.c: Likewise.
7522 * math/fegetenv.c: Likewise.
7523 * math/fegetexcept.c: Likewise.
7524 * math/fegetround.c: Likewise.
7525 * math/feholdexcpt.c: Likewise.
7526 * math/fesetenv.c: Likewise.
7527 * math/fesetround.c: Likewise.
7528 * math/feupdateenv.c: Likewise.
7529 * math/fgetexcptflg.c: Likewise.
7530 * math/fraiseexcpt.c: Likewise.
7531 * math/fsetexcptflg.c: Likewise.
7532 * math/ftestexcept.c: Likewise.
7533 * math/k_cosl.c: Likewise.
7534 * math/k_rem_pio2l.c: Likewise.
7535 * math/k_sinl.c: Likewise.
7536 * math/k_tanl.c: Likewise.
7537 * math/s_asinhl.c: Likewise.
7538 * math/s_atanl.c: Likewise.
7539 * math/s_cbrtl.c: Likewise.
7540 * math/s_erfl.c: Likewise.
7541 * math/s_expm1l.c: Likewise.
7542 * math/s_log1pl.c: Likewise.
7543 * math/s_tanhl.c: Likewise.
7544 * misc/acct.c: Likewise.
7545 * misc/brk.c: Likewise.
7546 * misc/chflags.c: Likewise.
7547 * misc/chroot.c: Likewise.
7548 * misc/fchflags.c: Likewise.
7549 * misc/fgetxattr.c: Likewise.
7550 * misc/flistxattr.c: Likewise.
7551 * misc/fremovexattr.c: Likewise.
7552 * misc/fsetxattr.c: Likewise.
7553 * misc/fsync.c: Likewise.
7554 * misc/ftruncate.c: Likewise.
7555 * misc/futimes.c: Likewise.
7556 * misc/futimesat.c: Likewise.
7557 * misc/getdomain.c: Likewise.
7558 * misc/getdtsz.c: Likewise.
7559 * misc/gethostid.c: Likewise.
7560 * misc/gethostname.c: Likewise.
7561 * misc/getloadavg.c: Likewise.
7562 * misc/getpagesize.c: Likewise.
7563 * misc/getsysstats.c: Likewise.
7564 * misc/getxattr.c: Likewise.
7565 * misc/gtty.c: Likewise.
7566 * misc/ioctl.c: Likewise.
7567 * misc/lgetxattr.c: Likewise.
7568 * misc/listxattr.c: Likewise.
7569 * misc/llistxattr.c: Likewise.
7570 * misc/lremovexattr.c: Likewise.
7571 * misc/lsetxattr.c: Likewise.
7572 * misc/lutimes.c: Likewise.
7573 * misc/madvise.c: Likewise.
7574 * misc/mincore.c: Likewise.
7575 * misc/mlock.c: Likewise.
7576 * misc/mlockall.c: Likewise.
7577 * misc/mmap.c: Likewise.
7578 * misc/mprotect.c: Likewise.
7579 * misc/msync.c: Likewise.
7580 * misc/munlock.c: Likewise.
7581 * misc/munlockall.c: Likewise.
7582 * misc/munmap.c: Likewise.
7583 * misc/preadv.c: Likewise.
7584 * misc/preadv64.c: Likewise.
7585 * misc/ptrace.c: Likewise.
7586 * misc/pwritev.c: Likewise.
7587 * misc/pwritev64.c: Likewise.
7588 * misc/readv.c: Likewise.
7589 * misc/reboot.c: Likewise.
7590 * misc/remap_file_pages.c: Likewise.
7591 * misc/removexattr.c: Likewise.
7592 * misc/revoke.c: Likewise.
7593 * misc/select.c: Likewise.
7594 * misc/setdomain.c: Likewise.
7595 * misc/setegid.c: Likewise.
7596 * misc/seteuid.c: Likewise.
7597 * misc/sethostid.c: Likewise.
7598 * misc/sethostname.c: Likewise.
7599 * misc/setregid.c: Likewise.
7600 * misc/setreuid.c: Likewise.
7601 * misc/setxattr.c: Likewise.
7602 * misc/sstk.c: Likewise.
7603 * misc/stty.c: Likewise.
7604 * misc/swapoff.c: Likewise.
7605 * misc/swapon.c: Likewise.
7606 * misc/sync.c: Likewise.
7607 * misc/syncfs.c: Likewise.
7608 * misc/syscall.c: Likewise.
7609 * misc/truncate.c: Likewise.
7610 * misc/ualarm.c: Likewise.
7611 * misc/usleep.c: Likewise.
7612 * misc/ustat.c: Likewise.
7613 * misc/utimes.c: Likewise.
7614 * misc/vhangup.c: Likewise.
7615 * misc/writev.c: Likewise.
7616 * posix/_exit.c: Likewise.
7617 * posix/alarm.c: Likewise.
7618 * posix/execve.c: Likewise.
7619 * posix/fexecve.c: Likewise.
7620 * posix/fork.c: Likewise.
7621 * posix/fpathconf.c: Likewise.
7622 * posix/getaddrinfo.c: Likewise.
7623 * posix/getegid.c: Likewise.
7624 * posix/geteuid.c: Likewise.
7625 * posix/getgid.c: Likewise.
7626 * posix/getgroups.c: Likewise.
7627 * posix/getlogin.c: Likewise.
7628 * posix/getlogin_r.c: Likewise.
7629 * posix/getpgid.c: Likewise.
7630 * posix/getpid.c: Likewise.
7631 * posix/getppid.c: Likewise.
7632 * posix/getresgid.c: Likewise.
7633 * posix/getresuid.c: Likewise.
7634 * posix/getsid.c: Likewise.
7635 * posix/getuid.c: Likewise.
7636 * posix/glob64.c: Likewise.
7637 * posix/nanosleep.c: Likewise.
7638 * posix/pathconf.c: Likewise.
7639 * posix/pause.c: Likewise.
7640 * posix/posix_madvise.c: Likewise.
7641 * posix/pread.c: Likewise.
7642 * posix/pread64.c: Likewise.
7643 * posix/pwrite.c: Likewise.
7644 * posix/pwrite64.c: Likewise.
7645 * posix/sched_getaffinity.c: Likewise.
7646 * posix/sched_getp.c: Likewise.
7647 * posix/sched_gets.c: Likewise.
7648 * posix/sched_primax.c: Likewise.
7649 * posix/sched_primin.c: Likewise.
7650 * posix/sched_rr_gi.c: Likewise.
7651 * posix/sched_setaffinity.c: Likewise.
7652 * posix/sched_setp.c: Likewise.
7653 * posix/sched_sets.c: Likewise.
7654 * posix/sched_yield.c: Likewise.
7655 * posix/setgid.c: Likewise.
7656 * posix/setlogin.c: Likewise.
7657 * posix/setpgid.c: Likewise.
7658 * posix/setresgid.c: Likewise.
7659 * posix/setresuid.c: Likewise.
7660 * posix/setsid.c: Likewise.
7661 * posix/setuid.c: Likewise.
7662 * posix/sleep.c: Likewise.
7663 * posix/spawni.c: Likewise.
7664 * posix/sysconf.c: Likewise.
7665 * posix/times.c: Likewise.
7666 * posix/wait.c: Likewise.
7667 * posix/wait3.c: Likewise.
7668 * posix/wait4.c: Likewise.
7669 * posix/waitpid.c: Likewise.
7670 * resolv/gai_sigqueue.c: Likewise.
7671 * resource/getpriority.c: Likewise.
7672 * resource/getrlimit.c: Likewise.
7673 * resource/getrusage.c: Likewise.
7674 * resource/nice.c: Likewise.
7675 * resource/setpriority.c: Likewise.
7676 * resource/setrlimit.c: Likewise.
7677 * resource/ulimit.c: Likewise.
7678 * rt/aio_cancel.c: Likewise.
7679 * rt/aio_fsync.c: Likewise.
7680 * rt/aio_read.c: Likewise.
7681 * rt/aio_sigqueue.c: Likewise.
7682 * rt/aio_suspend.c: Likewise.
7683 * rt/aio_write.c: Likewise.
7684 * rt/clock_getres.c: Likewise.
7685 * rt/clock_gettime.c: Likewise.
7686 * rt/clock_nanosleep.c: Likewise.
7687 * rt/clock_settime.c: Likewise.
7688 * rt/lio_listio.c: Likewise.
7689 * rt/mq_close.c: Likewise.
7690 * rt/mq_getattr.c: Likewise.
7691 * rt/mq_notify.c: Likewise.
7692 * rt/mq_open.c: Likewise.
7693 * rt/mq_receive.c: Likewise.
7694 * rt/mq_send.c: Likewise.
7695 * rt/mq_setattr.c: Likewise.
7696 * rt/mq_timedreceive.c: Likewise.
7697 * rt/mq_timedsend.c: Likewise.
7698 * rt/mq_unlink.c: Likewise.
7699 * rt/shm_open.c: Likewise.
7700 * rt/shm_unlink.c: Likewise.
7701 * rt/timer_create.c: Likewise.
7702 * rt/timer_delete.c: Likewise.
7703 * rt/timer_getoverr.c: Likewise.
7704 * rt/timer_gettime.c: Likewise.
7705 * rt/timer_settime.c: Likewise.
7706 * setjmp/__longjmp.c: Likewise.
7707 * setjmp/setjmp.c: Likewise.
7708 * signal/kill.c: Likewise.
7709 * signal/killpg.c: Likewise.
7710 * signal/raise.c: Likewise.
7711 * signal/sigaction.c: Likewise.
7712 * signal/sigaltstack.c: Likewise.
7713 * signal/sigblock.c: Likewise.
7714 * signal/sigignore.c: Likewise.
7715 * signal/sigintr.c: Likewise.
7716 * signal/signal.c: Likewise.
7717 * signal/sigpause.c: Likewise.
7718 * signal/sigpending.c: Likewise.
7719 * signal/sigqueue.c: Likewise.
7720 * signal/sigreturn.c: Likewise.
7721 * signal/sigset.c: Likewise.
7722 * signal/sigsetmask.c: Likewise.
7723 * signal/sigstack.c: Likewise.
7724 * signal/sigsuspend.c: Likewise.
7725 * signal/sigtimedwait.c: Likewise.
7726 * signal/sigvec.c: Likewise.
7727 * signal/sigwait.c: Likewise.
7728 * signal/sigwaitinfo.c: Likewise.
7729 * signal/sysv_signal.c: Likewise.
7730 * socket/accept.c: Likewise.
7731 * socket/accept4.c: Likewise.
7732 * socket/bind.c: Likewise.
7733 * socket/connect.c: Likewise.
7734 * socket/getpeername.c: Likewise.
7735 * socket/getsockname.c: Likewise.
7736 * socket/getsockopt.c: Likewise.
7737 * socket/isfdtype.c: Likewise.
7738 * socket/listen.c: Likewise.
7739 * socket/recv.c: Likewise.
7740 * socket/recvfrom.c: Likewise.
7741 * socket/recvmsg.c: Likewise.
7742 * socket/send.c: Likewise.
7743 * socket/sendmsg.c: Likewise.
7744 * socket/sendto.c: Likewise.
7745 * socket/setsockopt.c: Likewise.
7746 * socket/shutdown.c: Likewise.
7747 * socket/sockatmark.c: Likewise.
7748 * socket/socket.c: Likewise.
7749 * socket/socketpair.c: Likewise.
7750 * stdio-common/ctermid.c: Likewise.
7751 * stdio-common/cuserid.c: Likewise.
7752 * stdio-common/remove.c: Likewise.
7753 * stdio-common/rename.c: Likewise.
7754 * stdio-common/renameat.c: Likewise.
7755 * stdio-common/tempname.c: Likewise.
7756 * stdlib/getcontext.c: Likewise.
7757 * stdlib/makecontext.c: Likewise.
7758 * stdlib/setcontext.c: Likewise.
7759 * stdlib/swapcontext.c: Likewise.
7760 * stdlib/system.c: Likewise.
7761 * streams/fattach.c: Likewise.
7762 * streams/fdetach.c: Likewise.
7763 * streams/getmsg.c: Likewise.
7764 * streams/getpmsg.c: Likewise.
7765 * streams/putmsg.c: Likewise.
7766 * streams/putpmsg.c: Likewise.
7767 * sysdeps/unix/bsd/getpt.c: Likewise.
7768 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7769 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7770 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7773 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7774 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7775 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7776 * sysvipc/msgctl.c: Likewise.
7777 * sysvipc/msgget.c: Likewise.
7778 * sysvipc/msgrcv.c: Likewise.
7779 * sysvipc/msgsnd.c: Likewise.
7780 * sysvipc/semctl.c: Likewise.
7781 * sysvipc/semget.c: Likewise.
7782 * sysvipc/semop.c: Likewise.
7783 * sysvipc/semtimedop.c: Likewise.
7784 * sysvipc/shmat.c: Likewise.
7785 * sysvipc/shmctl.c: Likewise.
7786 * sysvipc/shmdt.c: Likewise.
7787 * sysvipc/shmget.c: Likewise.
7788 * termios/tcdrain.c: Likewise.
7789 * termios/tcflow.c: Likewise.
7790 * termios/tcflush.c: Likewise.
7791 * termios/tcgetattr.c: Likewise.
7792 * termios/tcgetpgrp.c: Likewise.
7793 * termios/tcsendbrk.c: Likewise.
7794 * termios/tcsetattr.c: Likewise.
7795 * termios/tcsetpgrp.c: Likewise.
7796 * time/adjtime.c: Likewise.
7797 * time/clock.c: Likewise.
7798 * time/getitimer.c: Likewise.
7799 * time/gettimeofday.c: Likewise.
7800 * time/setitimer.c: Likewise.
7801 * time/settimeofday.c: Likewise.
7802 * time/stime.c: Likewise.
7803 * time/time.c: Likewise.
7805 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7807 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7810 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7812 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7814 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7818 FE_TONEAREST before applying Dekker multiplication and Knuth
7819 addition. Clear inexact exceptions and check for exact zero
7821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7822 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7823 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7824 * math/libm-test.inc (fma_test): Add more tests.
7825 (fma_test_towardzero): Likewise.
7826 (fma_test_downward): Likewise.
7827 (fma_test_upward): Likewise.
7828 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7830 (libc_fesetround): New macro.
7831 (libc_fesetroundf): Likewise.
7832 (libc_fesetroundl): Likewise.
7833 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7835 (libc_fesetround_387): Likewise.
7836 (libc_fesetroundf): New macro.
7837 (libc_fesetround): Likewise.
7838 (libc_fesetroundl): Likewise.
7839 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7841 (libc_fesetroundf): New macro.
7842 (libc_fesetround): Likewise.
7843 (libc_fesetroundl): Likewise.
7844 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7845 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7846 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7848 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7849 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7851 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7852 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7854 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7858 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7859 integer constant usable in #if and use that to give value to enum
7861 (FE_DIVBYZERO): Likewise.
7862 (FE_UNDERFLOW): Likewise.
7863 (FE_OVERFLOW): Likewise.
7864 (FE_INVALID): Likewise.
7865 (FE_INVALID_SNAN): Likewise.
7866 (FE_INVALID_ISI): Likewise.
7867 (FE_INVALID_IDI): Likewise.
7868 (FE_INVALID_ZDZ): Likewise.
7869 (FE_INVALID_IMZ): Likewise.
7870 (FE_INVALID_COMPARE): Likewise.
7871 (FE_INVALID_SOFTWARE): Likewise.
7872 (FE_INVALID_SQRT): Likewise.
7873 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7874 (FE_TONEAREST): Likewise.
7875 (FE_TOWARDZERO): Likewise.
7876 (FE_UPWARD): Likewise.
7877 (FE_DOWNWARD): Likewise.
7878 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7879 (FE_DIVBYZERO): Likewise.
7880 (FE_OVERFLOW): Likewise.
7881 (FE_UNDERFLOW): Likewise.
7882 (FE_INEXACT): Likewise.
7883 (FE_TONEAREST): Likewise.
7884 (FE_DOWNWARD): Likewise.
7885 (FE_UPWARD): Likewise.
7886 (FE_TOWARDZERO): Likewise.
7887 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7888 (FE_UNDERFLOW): Likewise.
7889 (FE_OVERFLOW): Likewise.
7890 (FE_DIVBYZERO): Likewise.
7891 (FE_INVALID): Likewise.
7892 (FE_TONEAREST): Likewise.
7893 (FE_TOWARDZERO): Likewise.
7894 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7895 (FE_OVERFLOW): Likewise.
7896 (FE_UNDERFLOW): Likewise.
7897 (FE_DIVBYZERO): Likewise.
7898 (FE_INEXACT): Likewise.
7899 (FE_TONEAREST): Likewise.
7900 (FE_TOWARDZERO): Likewise.
7901 (FE_UPWARD): Likewise.
7902 (FE_DOWNWARD): Likewise.
7903 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7904 (FE_DIVBYZERO): Likewise.
7905 (FE_OVERFLOW): Likewise.
7906 (FE_UNDERFLOW): Likewise.
7907 (FE_INEXACT): Likewise.
7908 (FE_TONEAREST): Likewise.
7909 (FE_DOWNWARD): Likewise.
7910 (FE_UPWARD): Likewise.
7911 (FE_TOWARDZERO): Likewise.
7913 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7915 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7917 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7919 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7920 commands. Quote $PWD.
7921 (blacklist_exports): Don't use remove_newlines. Replace "declare
7923 (remove_newlines): Remove.
7925 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7927 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7928 * stdlib/stdlib.h (atof): Moved to ...
7929 * include/bits/stdlib-float.h: Here. New file.
7930 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7931 * stdlib/bits/stdlib-float.h: New file.
7932 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7934 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7937 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7939 * conform/conformtest.pl (@headers): Add fenv.h.
7940 * conform/data/fenv.h-data: New file.
7941 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7942 include of <math/fenv.h>.
7944 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7945 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7946 && !UNIX98]. Enables tests for XOPEN2K8.
7947 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7948 POSIX2008]: Likewise.
7950 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7951 (struct rusage): Do not expect type or its members.
7954 * math/math.h (FP_NAN): Define macro to integer constant usable in
7955 #if and use that to give value to enum constant.
7956 (FP_INFINITE): Likewise.
7957 (FP_ZERO): Likewise.
7958 (FP_SUBNORMAL): Likewise.
7959 (FP_NORMAL): Likewise.
7961 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7963 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7964 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7967 2012-11-02 Roland McGrath <roland@hack.frob.com>
7969 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7970 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7971 autoconf-time if not.
7972 * configure.in: Remove AC_PREREQ.
7974 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7976 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7977 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7978 of the internal implementation.
7980 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7982 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7983 except include of <misc/sys/syslog.h>.
7985 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7988 function returns with a NULL context exit with zero.
7990 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7992 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7994 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7996 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7997 (run_program_cmd): This.
7998 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7999 (tst_langinfo): New variable. Use it.
8001 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8003 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8004 floating point opcodes.
8006 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8008 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8011 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8013 * sysdeps/mach/hurd/powerpc: Remove directory.
8014 * sysdeps/mach/powerpc: Likewise.
8016 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8018 * scripts/check-local-headers.sh: Ignore c++ headers.
8020 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8022 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8023 __libc_cleanup_region_start argument.
8025 2012-11-01 Joseph Myers <joseph@codesourcery.com>
8029 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8030 x * y using scaling, not as x * y + z.
8031 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8032 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8033 * math/libm-test.inc (fma_test): Add more tests.
8034 (fma_test_towardzero): Likewise.
8035 (fma_test_downward): Likewise.
8036 (fma_test_upward): Likewise.
8038 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8040 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8042 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8044 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8047 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8049 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8051 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8058 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8061 Fix the order of the list for glibc 2.17.
8062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8065 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8069 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8072 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8073 for low part of x being zero before using __atanl (y).
8074 * math/libm-test.inc (atan2_test): Add another test.
8076 * manual/install.texi (Configuring and compiling): Document
8077 general use of test-wrapper and test-wrapper-env.
8078 * INSTALL: Regenerated.
8080 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8081 (__fma): Do not extract and scale down low bits on after-rounding
8082 systems when result rounded to normal precision would have normal
8084 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8085 (__fmal): Do not extract and scale down low bits on after-rounding
8086 systems when result rounded to normal precision would have normal
8088 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8089 (__fmal): Do not extract and scale down low bits on after-rounding
8090 systems when result rounded to normal precision would have normal
8092 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8094 (fma_test): Add more tests.
8095 (fma_test_towardzero): Likewise.
8096 (fma_test_downward): Likewise.
8097 (fma_test_upward): Likewise.
8099 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8101 * sysdeps/i386/tininess.h: Renamed to ...
8102 * sysdeps/x86/tininess.h: This.
8103 * sysdeps/x86_64/tininess.h: Removed.
8105 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8107 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8108 input. Use $(build-program-cmd).
8109 ($(objpfx)tst-array1-static.out): Likewise.
8110 ($(objpfx)tst-array2.out): Likewise.
8111 ($(objpfx)tst-array3.out): Likewise.
8112 ($(objpfx)tst-array4.out): Likewise.
8113 ($(objpfx)tst-array5.out): Likewise.
8114 ($(objpfx)tst-array5-static.out): Likewise.
8116 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8118 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8121 * nss/nsswitch.h (nss_interface_function): Provide new
8122 macro for use with NSS functions.
8123 * grp/initgroups.c: Use new macro.
8124 * nss/getXXbyYY.c: Likewise.
8125 * nss/getXXbyYY_r.c: Likewise.
8126 * nss/getXXent.c: Likewise.
8127 * nss/getXXent_r.c: Likewise.
8128 * sysdeps/posix/getaddrinfo.c: Likewise.
8130 2012-10-30 Andreas Jaeger <aj@suse.de>
8132 * po/ru.po: Update Russion translation from translation project.
8134 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8139 result and shift together with sticky bit instead of replicating
8140 round-to-nearest rounding.
8141 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8142 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8143 * math/libm-test.inc (fma_test): Add more tests. Do not permit
8144 missing underflow exceptions.
8145 (fma_test_towardzero): Add more tests.
8146 (fma_test_downward): Likewise.
8147 (fma_test_upward): Likewise.
8150 * sysdeps/generic/tininess.h: New file.
8151 * sysdeps/i386/tininess.h: Likewise.
8152 * sysdeps/sh/tininess.h: Likewise.
8153 * sysdeps/x86_64/tininess.h: Likewise.
8154 * stdlib/tst-strtod-underflow.c: Likewise.
8155 * stdlib/tst-tininess.c: Likewise.
8156 * stdlib/strtod_l.c: Include <tininess.h>.
8157 (round_and_return): Do not set errno for exact underflow cases.
8158 Force an underflow exception when setting errno for underflow.
8159 Determine underflow based on rounding to normal precision if
8160 TININESS_AFTER_ROUNDING.
8161 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8162 ERANGE for exact underflow cases.
8163 * stdlib/Makefile (tests): Add tst-tininess and
8164 tst-strtod-underflow.
8165 ($(objpfx)tst-tininess): Use $(link-libm).
8166 ($(objpfx)tst-strtod-underflow): Likewise.
8168 2012-10-30 Andreas Jaeger <aj@suse.de>
8171 * elf/Makefile (tests): Remove conditional for have-initfini-array
8172 since this is now always required and the variable does not exist
8174 (tests-static): Likewise.
8175 (modules-names): Likewise.
8177 * po/eo.po: Add Esperanto translation from translation project.
8179 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8180 merged with constructor/destructor.
8181 (init_array): Likewise.
8182 * elf/tst-array2dep.c (fini_array): Likewise.
8183 (init_array): Likewise.
8185 2012-10-29 Mike Frysinger <vapier@gentoo.org>
8187 * manual/message.texi: Delete @cartouche tags.
8189 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8191 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8193 * sysdeps/mach/hurd/fsync.c: Likewise.
8195 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8196 [_POSIX_REALTIME_SIGNALS]: Change condition to
8197 [_POSIX_REALTIME_SIGNALS > 0].
8199 2012-10-27 Andreas Jaeger <aj@suse.de>
8201 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8202 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8203 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8204 [__WORDSIZE != 64]: Likewise.
8206 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8208 * iconvdata/tst-table.sh: Remove ${SHELL}.
8209 * iconvdata/tst-tables.sh: Likewise.
8211 2012-10-25 David S. Miller <davem@davemloft.net>
8213 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8214 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8217 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8219 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8220 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8221 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8224 2012-10-25 Roland McGrath <roland@hack.frob.com>
8226 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8227 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8230 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8231 Jim Blandy <jimb@codesourcery.com>
8233 * scripts/cross-test-ssh.sh: New file.
8234 * manual/install.texi (Configuring and compiling): Document use of
8236 * INSTALL: Regenerated.
8238 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8240 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8243 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8245 * Makeconfig (run-program-prefix): Fix comment.
8247 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8248 Jim Blandy <jimb@codesourcery.com>
8250 * Makeconfig (test-wrapper): New variable,
8251 (test-wrapper-env): Likewise.
8252 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8253 (run-built-tests): Define to yes.
8254 (run-program-prefix): Use $(test-wrapper).
8255 (built-program-cmd): Likewise.
8256 * Rules (make-test-out): Use $(test-wrapper-env) and
8257 $(host-built-program-cmd).
8258 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8259 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8261 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8262 $(test-wrapper-env) to tst-rtld-load-self.sh.
8263 ($(objpfx)order2.out): Use $(test-wrapper).
8264 ($(objpfx)tst-initorder.out): Likewise.
8265 ($(objpfx)tst-initorder2.out): Likewise.
8266 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8267 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8268 (test_wrapper_env): New variable. Use it to run ld.so.
8269 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8270 Use it to run ld.so.
8271 (test_wrapper_env): Likewise.
8272 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8273 $(test-wrapper) to run-iconv-test.sh.
8274 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8275 (ICONV): Use $test_wrapper.
8276 * posix/Makefile ($(objpfx)globtest.out): Pass
8277 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8278 globtest.sh, not $(run-program-prefix).
8279 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8280 (test_wrapper): Likewise.
8281 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8282 set together with run_via_rtld_prefix.
8283 (run_program_prefix): Define in terms of test_wrapper and
8284 run_via_rtld_prefix.
8286 2012-10-24 Roland McGrath <roland@hack.frob.com>
8288 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8289 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8293 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8294 Declare __clock_getres, __clock_gettime, __clock_settime,
8295 __clock_nanosleep, and __clock_getcpuclockid.
8296 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8297 Remove librt_hidden_def (clock_gettime).
8298 * sysdeps/unix/clock_gettime.c: Likewise.
8299 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8300 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8301 * rt/clock_getres.c: Define __clock_getres as an alias.
8302 * sysdeps/posix/clock_getres.c: Likewise.
8303 * rt/clock_settime.c: Define __clock_settime as an alias.
8304 * sysdeps/unix/clock_settime.c: Likewise.
8305 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8306 * sysdeps/unix/clock_nanosleep.c: Likewise.
8307 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8308 * rt/clock-compat.c: New file.
8309 * rt/Makefile (librt-routines): Add clock-compat and move
8310 $(clock-routines) to ...
8311 (routines): ... here, new variable.
8312 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8313 Don't add get_clockfreq here.
8314 * rt/Versions (libc: GLIBC_2.17): New version set.
8315 Add clock_* symbols here.
8316 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8317 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8318 (GLIBC_2.17): Add clock_* symbols.
8319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8321 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8330 * NEWS: Mention the move.
8332 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8333 Use __open, __read, __close rather than their public counterparts.
8334 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8335 (__get_clockfreq_via_cpuinfo): Likewise.
8336 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8337 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8339 * config.h.in (HAVE_IFUNC): New #undef.
8340 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8342 * configure: Regenerated.
8344 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8346 * configure.in: Move READELF check to start of file.
8347 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8348 libc_cv_asm_gnu_indirect_function in the process.
8349 * configure: Regenerated.
8351 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8353 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8354 send the output to /dev/null.
8355 (libc_cv_cc_with_libunwind): Likewise.
8356 (libc_cv_as_noexecstack): Likewise.
8357 * configure: Regenerate.
8359 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8361 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8363 * posix/globtest.sh (TMPDIR): Do not set.
8364 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8365 (testout): Likewise.
8367 2012-10-24 Andreas Jaeger <aj@suse.de>
8369 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8370 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8371 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8372 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8373 posix_fadvise64, posix_fallocate64.
8375 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8376 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8377 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8379 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8381 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8383 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8384 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8385 <bits/fcntl-linux.h>.
8386 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8388 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8389 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8390 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8391 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8392 [__WORDSIZE != 64]: Likewise.
8394 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8396 * Makeconfig (run-built-tests): New variable.
8397 * Rules [$(cross-compiling) = yes]: Change condition to
8398 [$(run-built-tests) = no].
8399 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8400 to [$(run-built-tests) = yes].
8401 * elf/Makefile [$(cross-compiling) = no]: Likewise
8402 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8403 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8404 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8405 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8406 * io/Makefile [$(cross-compiling) = no]: Likewise.
8407 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8408 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8409 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8410 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8411 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8412 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8413 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8414 * string/Makefile [$(cross-compiling) = no]: Likewise.
8416 * posix/Makefile ($(objpfx)globtest.out): Pass
8417 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8418 $(rtld-installed-name).
8419 * posix/globtest.sh (elf_objpfx): Remove variable.
8420 (rtld_installed_name): Likewise.
8421 (library_path): Likewise.
8422 (run_program_prefix): New variable. Use for running globtest
8425 2012-10-23 Jim Blandy <jimb@codesourcery.com>
8426 Joseph Myers <joseph@codesourcery.com>
8428 * Makeconfig (host-built-program-cmd): New variable.
8429 * elf/Makefile (tst-stackguard1-ARGS): Use
8430 $(host-built-program-cmd).
8431 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8432 (tst-spawn-ARGS): Likewise.
8433 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8435 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8436 Jim Blandy <jimb@codesourcery.com>
8438 * Makeconfig (run-via-rtld-prefix): New variable.
8439 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8440 (built-program-cmd): Likewise.
8442 2012-10-22 Andreas Jaeger <aj@suse.de>
8444 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8445 __O_RSYNC if it exists, otherwise to O_SYNC.
8447 2012-10-22 Jim Blandy <jimb@codesourcery.com>
8448 Joseph Myers <joseph@codesourcery.com>
8450 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8452 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8454 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8457 2012-10-22 Andreas Jaeger <aj@suse.de>
8459 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8461 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8463 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8466 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8467 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8469 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8471 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8474 2012-10-21 Jim Blandy <jimb@codesourcery.com>
8475 Joseph Myers <joseph@codesourcery.com>
8477 * config.make.in (NM): New variable.
8479 2012-10-21 Andreas Jaeger <aj@suse.de>
8481 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8482 definitions and declarations that are provided by
8483 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8485 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8488 * elf/Makefile (tests-static): Add tst-leaks1-static.
8489 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8490 ($(objpfx)tst-leaks1-static): New rule.
8491 ($(objpfx)tst-leaks1-static-mem): Likewise.
8492 (tst-leaks1-static-ENV): New macro.
8493 * elf/dl-open.c (dl_open_worker): Check the main application
8494 only if SHARED is defined.
8495 * elf/tst-leaks1-static.c: New file.
8497 2012-10-20 Andreas Jaeger <aj@suse.de>
8499 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8500 generic values for Linux.
8501 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8502 and declarations that are provided by <bits/fcntl-linux.h> and
8503 include <bits/fcntl-linux.h>.
8504 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8505 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8507 2012-10-20 Roland McGrath <roland@hack.frob.com>
8509 * io/fcntl.h: Move include of <bits/types.h> to the top and
8510 include it unconditionally.
8512 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8514 * wcsmbs/Makefile (tests-ifunc): New variable.
8515 (tests): Add $(tests-ifunc).
8516 * wcsmbs/test-wcschr-ifunc.c: New file.
8517 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8518 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8519 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8520 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8521 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8523 * string/Makefile (tests-ifunc): New variable.
8524 (tests): Add $(tests-ifunc).
8525 * string/test-memccpy.c (TEST_NAME): New macro.
8526 * string/test-memchr.c (TEST_NAME): Likewise.
8527 * string/test-memcmp.c (TEST_NAME): Likewise.
8528 * string/test-memcpy.c (TEST_NAME): Likewise.
8529 * string/test-memmem.c (TEST_NAME): Likewise.
8530 * string/test-memmove.c (TEST_NAME): Likewise.
8531 * string/test-memset.c (TEST_NAME): Likewise.
8532 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8533 * string/test-stpcpy.c (TEST_NAME): Likewise.
8534 * string/test-stpncpy.c (TEST_NAME): Likewise.
8535 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8536 * string/test-strcasestr.c (TEST_NAME): Likewise.
8537 * string/test-strcat.c (TEST_NAME): Likewise.
8538 * string/test-strchr.c (TEST_NAME): Likewise.
8539 * string/test-strcmp.c(TEST_NAME): Likewise.
8540 * string/test-strcpy.c (TEST_NAME): Likewise.
8541 * string/test-strcspn.c (TEST_NAME): Likewise.
8542 * string/test-strlen.c (TEST_NAME): Likewise.
8543 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8544 * string/test-strncmp.c (TEST_NAME): Likewise.
8545 * string/test-strncpy.c (TEST_NAME): Likewise.
8546 * string/test-strnlen.c (TEST_NAME): Likewise.
8547 * string/test-strpbrk.c (TEST_NAME): Likewise.
8548 * string/test-strrchr.c (TEST_NAME): Likewise.
8549 * string/test-strspn.c (TEST_NAME): Likewise.
8550 * string/test-strstr.c (TEST_NAME): Likewise.
8551 * string/test-bcopy-ifunc.c: New file.
8552 * string/test-bzero-ifunc.c: Likewise.
8553 * string/test-memccpy-ifunc.c: Likewise.
8554 * string/test-memchr-ifunc.c: Likewise.
8555 * string/test-memcmp-ifunc.c: Likewise.
8556 * string/test-memcpy-ifunc.c: Likewise.
8557 * string/test-memmem-ifunc.c: Likewise.
8558 * string/test-memmove-ifunc.c: Likewise.
8559 * string/test-mempcpy-ifunc.c: Likewise.
8560 * string/test-memset-ifunc.c: Likewise.
8561 * string/test-rawmemchr-ifunc.c: Likewise.
8562 * string/test-stpcpy-ifunc.c: Likewise.
8563 * string/test-stpncpy-ifunc.c: Likewise.
8564 * string/test-strcasecmp-ifunc.c: Likewise.
8565 * string/test-strcasestr-ifunc.c: Likewise.
8566 * string/test-strcat-ifunc.c: Likewise.
8567 * string/test-strchr-ifunc.c: Likewise.
8568 * string/test-strchrnul-ifunc.c: Likewise.
8569 * string/test-strcmp-ifunc.c: Likewise.
8570 * string/test-strcpy-ifunc.c: Likewise.
8571 * string/test-strcspn-ifunc.c: Likewise.
8572 * string/test-strlen-ifunc.c: Likewise.
8573 * string/test-strncasecmp-ifunc.c: Likewise.
8574 * string/test-strncat-ifunc.c: Likewise.
8575 * string/test-strncmp-ifunc.c: Likewise.
8576 * string/test-strncpy-ifunc.c: Likewise.
8577 * string/test-strnlen-ifunc.c: Likewise.
8578 * string/test-strpbrk-ifunc.c: Likewise.
8579 * string/test-strrchr-ifunc.c: Likewise.
8580 * string/test-strspn-ifunc.c: Likewise.
8581 * string/test-strstr-ifunc.c: Likewise.
8583 * debug/Makefile (tests-ifunc): New variable.
8584 (tests): Add $(tests-ifunc).
8585 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8586 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8587 * debug/test-stpcpy_chk-ifunc.c: New file.
8588 * debug/test-strcpy_chk-ifunc.c: Likewise.
8590 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8593 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8594 header is not read in.
8596 2012-10-19 Joseph Myers <joseph@codesourcery.com>
8598 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8599 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8600 directly. Pass built executable to script as
8601 $(built-program-cmd).
8602 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8603 $testprogram without using LD_LIBRARY_PATH and $ldso.
8605 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8606 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8607 $(rtld-installed-name).
8608 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8609 (rtld_installed_name): Likewise.
8610 (library_path): Likewise.
8611 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8612 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8613 $(run-program-prefix) to tst-tables.sh.
8614 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8615 it to run tst-table-from and tst-table-to.
8616 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8617 Pass it to tst-table.sh.
8618 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8619 $(run-program-prefix) to tst-gettext.sh.
8620 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8622 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8624 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8626 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8627 to run tst-gettext2.
8628 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8629 to run tst-translit.
8630 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8631 $(run-program-prefix) to tst-mtrace.sh.
8632 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8634 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8635 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8636 $(rtld-installed-name).
8637 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8638 (rtld_installed_name): Likewise.
8639 (run_program_prefix): New variable. Use it to run wordexp-test.
8641 * Makeconfig (ARCH): Remove all definitions.
8642 (machine): Likewise.
8643 [ARCH]: Remove conditional code.
8644 [!objdir]: Give error.
8645 [!objdir] (objpfx): Remove.
8646 [!objdir] (common-objpfx): Likewise.
8647 [!objdir] (common-objdir): Likewise.
8648 * configure.in (config_makefile): Remove. Hardcode Makefile in
8649 AC_CONFIG_FILES call.
8650 * configure: Regenerated.
8653 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8655 (testout): Likewise.
8657 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8658 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8659 $(rtld-installed-name).
8660 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8661 (rtld_installed_name): Likwise.
8662 (runit): Remove function.
8663 (run_getconf): New variable, Use it for running getconf binary.
8665 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8668 * string/test-memmem.c (check_result): New function.
8669 (do_one_test): Use it.
8670 (check1): New function.
8671 (test_main): Use it.
8673 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8675 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8677 2012-10-18 Joseph Myers <joseph@codesourcery.com>
8679 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8680 (_G_LSEEK64): Likewise.
8681 (_G_MMAP64): Likewise.
8682 (_G_FSTAT64): Likewise.
8683 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8684 (_G_LSEEK64): Likewise.
8685 (_G_MMAP64): Likewise.
8686 (_G_FSTAT64): Likewise.
8687 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8688 unconditional. Call __mmap64 directly.
8689 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8690 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8692 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8693 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8695 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8696 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8698 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8699 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8701 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8702 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8704 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8705 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8706 __fxstat64 directly.
8707 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8708 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8710 (freopen64) [!_G_OPEN64]: Remove conditional code.
8711 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8713 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8714 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8716 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8717 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8719 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8720 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8722 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8723 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8725 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8726 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8728 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8729 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8731 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8733 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8736 * manual/memory.texi (Malloc Tunable Parameters): Add note
8737 about free list pointers overwriting some perturb bytes.
8738 Wording suggested by Roland McGrath.
8740 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8742 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8743 (lgamma_test): Likewise.
8744 (tgamma_test): Likewise.
8746 2012-10-16 Florian Weimer <fweimer@redhat.com>
8749 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8750 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8752 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8754 * NEWS: Mention BZ #14716.
8755 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8756 when removing AVAILABLE1_USES_J macro.
8758 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8760 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8761 (__bswap_64): __uint64_t for unsigned 64-bit int.
8763 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8765 * include/string.h (memmem): Declare libc hidden alias.
8766 * string/memmem.c (memmem): Define libc hidden alias.
8767 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8768 __read, __close instead of open, read, close.
8770 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8772 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8773 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8775 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8776 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8777 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8779 (__rawmemchr_sse2): Likewise.
8780 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8781 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8782 (__strchr_sse2): Likewise.
8783 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8784 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8785 (__strcasecmp_sse2): Likewise.
8786 (__strncasecmp_sse2): Likewise.
8787 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8788 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8789 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8790 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8791 (__strrchr_sse2): Likewise.
8792 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8794 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8795 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8796 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8797 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8798 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8799 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8800 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8801 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8802 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8803 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8804 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8805 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8806 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8807 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8808 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8809 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8810 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8811 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8812 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8813 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8814 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8815 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8816 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8817 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8818 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8819 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8820 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8821 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8822 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8823 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8825 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8827 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8828 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8829 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8830 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8832 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8834 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8835 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8836 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8837 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8839 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8840 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8841 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8842 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8843 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8844 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8845 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8846 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8847 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8848 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8849 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8850 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8851 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8852 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8853 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8854 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8855 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8856 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8857 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8858 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8859 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8860 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8861 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8862 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8863 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8864 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8865 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8866 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8867 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8868 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8869 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8870 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8871 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8872 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8873 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8874 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8875 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8876 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8877 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8878 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8879 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8881 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8882 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8883 * include/ifunc-impl-list.h: New file.
8884 * misc/ifunc-impl-list.c: Likewise.
8885 * misc/Makefile (routines): Add ifunc-impl-list.
8886 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8887 * string/test-string.h: Include <ifunc-impl-list.h>.
8888 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8889 impl_array): New variables.
8890 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8892 (test_init): Call __libc_ifunc_impl_list to initialize
8893 func_list if TEST_IFUNC and TEST_NAME are defined.
8895 * string/Makefile (strop-tests): Add bcopy and bzero.
8896 * string/test-bcopy.c: New file.
8897 * string/test-bzero.c: Likewise.
8898 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8900 * string/test-memset.c: Support bzero test if TEST_BZERO is
8902 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8904 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8906 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8909 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8911 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8912 * configure: Regenerated.
8914 * Makeconfig (+link-static-before-libc): Don't include
8915 $(link-static-libc).
8917 * libio/libio.h (_IO_pos_t): Remove.
8919 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8921 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8924 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8926 * crypt/crypt-entry.c: Include fips-private.h.
8927 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8928 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8929 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8930 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8932 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8934 * crypt/crypt-private.h: Include stdbool.h.
8935 (_ufc_setup_salt_r): Return bool.
8936 * crypt/crypt-entry.c: Include errno.h.
8937 (__crypt_r): Return NULL with EINVAL for bad salt.
8938 * crypt/crypt_util.c (bad_for_salt): New.
8939 (_ufc_setup_salt_r): Check that salt is long enough and within
8940 the specified alphabet.
8941 * crypt/badsalttest.c: New file.
8942 * crypt/Makefile (tests): Add it.
8943 ($(objpfx)badsalttest): New.
8945 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8947 * NEWS: Add entry for BZ #14602.
8949 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8951 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8953 * math/libm-test.inc: Update comment listing what functions and
8955 (isgreater_test): New function.
8956 (isgreaterequal_test): Likewise.
8957 (isless_test): Likewise.
8958 (islessequal_test): Likewise.
8959 (islessgreater_test): Likewise.
8960 (isunordered_test): Likewise.
8961 (main): Call the new functions.
8963 2012-10-09 Roland McGrath <roland@hack.frob.com>
8965 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8966 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8967 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8968 * sysdeps/i386/configure: Regenerated.
8969 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8970 * sysdeps/mach/configure: Regenerated.
8971 * sysdeps/mach/hurd/configure: Regenerated.
8972 * sysdeps/powerpc/configure: Regenerated.
8973 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8974 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8975 * sysdeps/s390/s390-32/configure: Regenerated.
8976 * sysdeps/s390/s390-64/configure: Regenerated.
8977 * sysdeps/sh/configure: Regenerated.
8978 * sysdeps/sparc/configure: Regenerated.
8979 * sysdeps/unix/sysv/linux/configure: Regenerated.
8980 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8981 * sysdeps/x86_64/configure: Regenerated.
8983 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8984 defined. Don't check if MAP is NULL.
8986 2012-10-09 Joseph Myers <joseph@codesourcery.com>
8988 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8989 (_G_stat64): Likewise.
8990 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8991 (_G_stat64): Likewise.
8992 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8993 instead of struct _G_stat64.
8994 * libio/fileops.c (mmap_remap_check): Likewise.
8995 (decide_maybe_mmap): Likewise.
8996 (_IO_new_file_seekoff): Likewise.
8997 (_IO_file_stat): Likewise.
8998 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9000 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9001 instead of struct _G_stat64.
9002 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9004 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9007 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9009 (CHECK_EOL): New macro.
9010 (two_way_short_needle): Check beginning of haystack for EOL. Use
9012 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9013 Replace with CHECK_EOL.
9014 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9015 Replace with CHECK_EOL.
9017 2012-10-08 Joseph Myers <joseph@codesourcery.com>
9019 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9021 * math/libm-test.inc: Update comment listing what functions and
9023 (finite_test): New function.
9024 (isinf_test): Likewise.
9025 (isnan_test): Likewise.
9026 (fpclassify_test): Test subnormal input.
9027 (isfinite_test): Likewise.
9028 (isnormal_test): Likewise.
9029 (main): Call the new functions.
9031 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9034 * Makerules (%.dynsym): Force C locale when running
9035 $(OBJDUMP) --dynamic-syms.
9037 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9039 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9042 2012-10-06 David S. Miller <davem@davemloft.net>
9044 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9045 upper 32-bits of the length value in %o2 since we use branch-on-register
9046 tests which consider the entire 64-bit register.
9048 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9050 * string/test-strstr.c (check2): Add a test for page boundary.
9052 2012-10-05 David S. Miller <davem@davemloft.net>
9054 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9055 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9057 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9059 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9060 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9061 and bzero when HWCAP_SPARC_CRYPTO is present.
9063 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9066 * string/test-strstr.c (check2): New function.
9067 (test_main): Call check2.
9069 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9071 * string/bug-strcasestr1.c (do_test): Moved to ...
9072 * string/test-strcasestr.c (check1): Here. New function.
9073 (do_one_test): Break out result checking code into ...
9074 (check_result): This. New function.
9075 (do_one_test): Call check_result.
9076 (test_main): Call check1.
9077 * string/bug-strchr1.c (do_test): Moved to ...
9078 * string/test-strchr.c (check1): Here. New function.
9079 (do_one_test): Break out result checking code into ...
9080 (check_result): This. New function.
9081 (do_one_test): Call check_result.
9082 (test_main): Call check1.
9083 * string/bug-strstr1.c (main): Moved to ...
9084 * string/test-strstr.c (check1): Here. New function.
9085 (do_one_test): Break out result checking code into ...
9086 (check_result): This. New function.
9087 (do_one_test): Call check_result.
9088 (test_main): Call check1.
9089 * string/bug-strcasestr1.c: Removed.
9090 * string/bug-strchr1.c: Likewise.
9091 * string/bug-strstr1.c: Likewise.
9093 * elf/Makefile (dl-routines): Add hwcaps.
9094 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9095 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9096 (_dl_important_hwcaps): Moved to ...
9097 * elf/dl-hwcaps.c: Here. New file.
9098 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9101 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9102 if IS_IN_rtld isn't defined.
9104 * elf/dl-support.c (_dl_sysinfo_map): New.
9105 Include "get-dynamic-info.h" and "setup-vdso.h".
9106 (_dl_non_dynamic_init): Call setup_vdso.
9107 * elf/dynamic-link.h: Don't include <assert.h>.
9108 (elf_get_dynamic_info): Moved to ...
9109 * elf/get-dynamic-info.h: Here. New file.
9110 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9111 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9112 * elf/setup-vdso.h: Here. New file.
9113 * elf/rtld.c: Include "setup-vdso.h".
9114 (dl_main): Call setup_vdso.
9116 2012-10-05 Joseph Myers <joseph@codesourcery.com>
9118 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9119 creal in comment listing functions tested. List finite, isinf,
9120 isnan, isless, islessequal, isgreater, isgreaterequal,
9121 islessgreater, isunordered, lgamma_r and pow10 as functions and
9122 macros not tested. Mention which functions not tested are aliases
9123 for other functions. Fix typo. Note that signs of NaNs are not
9126 * scripts/config.guess: Update from config.git.
9127 * scripts/config.sub: Likewise.
9129 2012-10-04 Roland McGrath <roland@hack.frob.com>
9131 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9132 * misc/madvise.c (madvise): Renamed to __madvise.
9133 Make madvise a weak alias.
9134 * include/sys/mman.h: Declare __madvise.
9135 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9136 * sysdeps/unix/syscalls.list
9137 (madvise): Make __madvise the strong name, and madvise a weak alias.
9138 * sysdeps/unix/sysv/linux/syscalls.list
9139 (madvise, mmap): Remove redundant entries.
9140 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9141 * malloc/malloc.c (mtrim): Likewise.
9142 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9144 2012-10-03 Roland McGrath <roland@hack.frob.com>
9146 * sysdeps/mach/hurd/dl-cache.c: File removed.
9147 * config.h.in (USE_LDCONFIG): New #undef.
9148 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9149 * configure: Regenerated.
9150 * elf/Makefile (dl-routines): Add dl-cache only under
9151 [$(use-ldconfig) = yes].
9152 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9153 cache on [USE_LDCONFIG].
9154 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9156 * elf/rtld.c (dl_main): Likewise.
9158 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9160 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9161 _SC_LEVEL4_CACHE_LINESIZE.
9163 2012-10-03 Roland McGrath <roland@hack.frob.com>
9165 * sysdeps/unix/bsd/confstr.h: File removed.
9167 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
9169 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9172 2012-10-02 Roland McGrath <roland@hack.frob.com>
9174 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9175 Make 'mapoff' field ElfW(Off) rather than off_t.
9177 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9179 * nscd/Makefile: Remove nscd-cflags and all its users.
9180 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9181 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9184 * malloc.c (malloc_printerr): Clarify error message.
9186 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9189 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9190 Set bit_FMA_Usable if FMA is supported.
9191 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9193 (bit_FMA4_Usable): Updated.
9194 (index_FMA_Usable): New macro.
9195 (CPUID_FMA): Likewise
9196 (HAS_FMA): Defined with bit_FMA_Usable.
9198 2012-10-01 Roland McGrath <roland@hack.frob.com>
9200 * bits/types.h (__swblk_t): Type removed.
9201 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9202 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9203 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9204 (__SWBLK_T_TYPE): Likewise.
9205 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9206 (__SWBLK_T_TYPE): Likewise.
9207 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9208 (__SWBLK_T_TYPE): Likewise.
9209 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9210 (__SWBLK_T_TYPE): Likewise.
9212 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
9213 Honza Horak <hhorak@redhat.com>
9215 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9216 (xdr_mapname): Use YPMAXMAP as maxsize.
9217 (xdr_peername): Use YPMAXPEER as maxsize.
9218 (xdr_keydat): Use YPAXRECORD as maxsize.
9219 (xdr_valdat): Use YPMAXRECORD as maxsize.
9221 2012-10-01 Roland McGrath <roland@hack.frob.com>
9223 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9225 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9226 * csu/init-first.c: ... here.
9227 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9228 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9229 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9230 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9231 * sysdeps/i386/init-first.c: File removed.
9232 * sysdeps/sh/init-first.c: File removed.
9234 2012-10-01 Joseph Myers <joseph@codesourcery.com>
9237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9238 if x * y might underflow to zero and z is zero.
9239 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9240 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9241 * math/libm-test.inc (min_subnorm_value): New variable.
9242 (fma_test): Add more tests.
9243 (fma_test_towardzero): Likewise.
9244 (fma_test_downward): Likewise
9245 (fma_test_upward): Likewise.
9246 (initialize): Set min_subnorm_value.
9248 2012-09-29 Joseph Myers <joseph@codesourcery.com>
9251 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9253 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9254 mode for addition resulting in exact zero.
9255 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9256 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9258 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9259 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9260 * math/libm-test.inc (fma_test): Add more tests.
9261 (fma_test_towardzero): New function.
9262 (fma_test_downward): Likewise.
9263 (fma_test_upward): Likewise.
9264 (main): Call the new functions.
9266 2012-09-28 David S. Miller <davem@davemloft.net>
9268 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9270 2012-09-28 Roland McGrath <roland@hack.frob.com>
9272 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9275 * sysdeps/gnu/_G_config.h: Moved to ...
9276 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9277 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9278 * sysdeps/generic/_G_config.h: ... here.
9280 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9282 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9284 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9285 Conditionalize target on [libnss_test1.so-version].
9287 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9289 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9290 (elfobjdir): Move out of conditionals.
9292 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9293 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9294 (__nss_lookup_function): Conditionalize label remove_from_tree on
9295 [!DO_STATIC_NSS || SHARED], matching its only use.
9297 2012-09-28 David S. Miller <davem@davemloft.net>
9299 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9300 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9302 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9304 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9305 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9306 when HWCAP_SPARC_CRYPTO is present.
9308 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9310 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9312 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9315 * stdio-common/vfprintf.c (process_string_arg): Revert
9318 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9320 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9322 * stdio-common/tst-sprintf.c: Include <locale.h>
9323 (main): Test sprintf's handling of incomplete multibyte
9326 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9328 * elf/dl-runtime.c (VERSYMIDX): Removed.
9329 * elf/dl-version.c (VERSYMIDX): Likewise.
9330 * elf/do-rel.h (VERSYMIDX): Likewise.
9332 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9333 * elf/rtld.c (VALIDX): Likewise.
9334 (ADDRIDX): Likewise.
9335 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9336 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9337 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9338 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9340 (ADDRIDX): Likewise.
9342 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9344 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9346 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9349 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9351 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9352 addresses are in the same scope as 192.0.2/24.
9353 * posix/gai.conf: Document new scope table defaults.
9355 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9358 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9359 for ftell. Compute offsets from write pointers instead.
9360 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9362 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9365 * libio/Makefile (tests): New test case tst-fseek.
9366 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9367 combination works in wide mode.
9368 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9369 state when the external buffer state changes.
9371 2012-09-27 David S. Miller <davem@davemloft.net>
9374 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9375 pass reloc->r_addend in as the 'high' argument to
9376 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9380 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9382 * rt/tst-aio2.c: Include <pthread.h>.
9383 * rt/tst-aio3.c: Likewise.
9385 2012-09-27 Steve Ellcey <sellcey@mips.com>
9387 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9389 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9391 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9392 contents on [SHARED].
9394 2012-09-26 Marek Polacek <polacek@redhat.com>
9398 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9399 for C++ and GCC <4.3 as well as for non GCC compilers.
9401 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9405 2012-09-25 Roland McGrath <roland@hack.frob.com>
9407 * Makefile.in (all, install): Declare with .PHONY.
9408 Reported by Michael Hope <michael.hope@linaro.org>.
9410 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9412 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9413 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9415 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9417 (sydep_routines): Add the new and the internal functions.
9418 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9419 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9421 (GLIBC_2.17): Add the new function.
9422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9423 (GLIBC_2.17): Likewise.
9424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9425 (GLIBC_2.17): Likewise.
9426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9427 (GLIBC_2.17): Likewise.
9428 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9430 2012-09-25 Alan Modra <amodra@gmail.com>
9432 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9433 Add release barrier before setting once_control to say
9434 initialisation is done. Add hints on lwarx. Use macro in
9436 (clear_once_control): Add release barrier.
9438 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9441 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9443 * math/s_clog10.c (__clog10): Likewise.
9444 * math/s_clog10f.c (__clog10f): Likewise.
9445 * math/s_clog10l.c (__clog10l): Likewise.
9446 * math/s_clogf.c (__clogf): Likewise.
9447 * math/s_clogl.c (__clogl): Likewise.
9448 * math/Makefile (libm-calls): Add x2y2m1.
9449 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9450 (__x2y2m1): Likewise.
9451 (__x2y2m1l): Likewise.
9452 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9453 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9454 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9455 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9456 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9457 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9458 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9459 * sysdeps/i386/fpu/libm-test-ulps: Update.
9460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9463 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9464 int as type of variable DEPTH.
9465 (glob): Use size_t instead of int as type of variables NEWCOUNT
9468 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9470 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9472 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9473 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9474 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9475 macros for using routine as __sincosf_ia32.
9476 Use macro for function declaration and weak_alias.
9477 * sysdeps/i386/fpu/libm-test-ulps: Update.
9479 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9480 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9482 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
9484 * math/s_cexpf.c (__cexpf): Likewise.
9485 * math/s_csinf.c (__csinf): Likewise.
9486 * math/s_csinhf.c (__csinhf): Likewise.
9487 * math/s_ctanf.c (__ctanf): Likewise.
9488 * math/s_ctanhf.c (__ctanhf): Likewise.
9489 * math/s_ccosh.c (__ccoshf): Likewise.
9490 * math/s_cexp.c (__cexpl): Likewise.
9491 * math/s_csin.c (__csin): Likewise.
9492 * math/s_csinh.c (__csinh): Likewise.
9493 * math/s_ctan.c (__ctan): Likewise.
9494 * math/s_ctanh.c (ctanh): Likewise.
9495 * math/s_ccoshl.c (__ccoshl): Likewise.
9496 * math/s_cexpl.c (__cexpl): Likewise.
9497 * math/s_csinl.c (__csinl): Likewise.
9498 * math/s_csinhl.c (__csinhl): Likewise.
9499 * math/s_ctanl.c (__ctanl): Likewise.
9500 * math/s_ctanhl.c (__ctanhl): Likewise.
9502 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9504 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9505 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9506 (_IO_off_t): Define to __off_t, not _G_off_t.
9507 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9508 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9509 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9510 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9511 type of __dummy and __dummy2 fields.
9512 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9513 (_G_ssize_t): Likewise.
9514 (_G_off_t): Likewise.
9515 (_G_pid_t): Likewise.
9516 (_G_uid_t): Likewise.
9517 (_G_wchar_t): Likewise.
9518 (_G_wint_t): Likewise.
9519 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9520 (_G_ssize_t): Likewise.
9521 (_G_off_t): Likewise.
9522 (_G_pid_t): Likewise.
9523 (_G_uid_t): Likewise.
9524 (_G_wchar_t): Likewise.
9525 (_G_wint_t): Likewise.
9526 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9527 (_G_ssize_t): Likewise.
9528 (_G_off_t): Likewise.
9529 (_G_pid_t): Likewise.
9530 (_G_uid_t): Likewise.
9531 (_G_wchar_t): Likewise.
9532 (_G_wint_t): Likewise.
9534 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9536 * malloc/arena.c: Include malloc-sysdep.h.
9537 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9538 is sufficient to shrink the heap or an unmap is needed.
9539 * sysdeps/generic/malloc-sysdep.h: New file. Define
9540 new function check_may_shrink_heap.
9541 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9542 new function check_may_shrink_heap.
9544 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9546 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9549 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9551 * catgets/test-gencat.sh: Add "set -e".
9552 * elf/tst-pathopt.sh: Likewise.
9553 * grp/tst_fgetgrent.sh: Likewise.
9554 * iconvdata/run-iconv-test.sh: Likewise.
9555 * intl/tst-gettext.sh: Likewise.
9556 * intl/tst-gettext2.sh: Likewise.
9557 * intl/tst-gettext4.sh: Likewise.
9558 * intl/tst-gettext6.sh: Likewise.
9559 * intl/tst-translit.sh: Likewise.
9560 * io/ftwtest-sh: Likewise.
9561 * libio/test-freopen.sh: Likewise.
9562 * malloc/tst-mtrace.sh: Likewise.
9563 * posix/globtest.sh: Likewise.
9564 * posix/tst-getconf.sh: Likewise.
9565 * posix/wordexp-tst.sh: Likewise.
9566 * stdio-common/tst-printf.sh: Likewise.
9567 * stdio-common/tst-unbputc.sh: Likewise.
9568 * stdlib/tst-fmtmsg.sh: Likewise.
9569 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9570 * catgets/Makefile: Do not specify -e option when running
9571 testsuite shell scripts.
9572 * elf/Makefile: Likewise.
9573 * grp/Makefile: Likewise.
9574 * iconvdata/Makefile: Likewise.
9575 * intl/Makefile: Likewise.
9576 * io/Makefile: Likewise.
9577 * libio/Makefile: Likewise.
9578 * malloc/Makefile: Likewise.
9579 * posix/Makefile: Likewise.
9580 * stdio-common/Makefile: Likewise.
9581 * stdlib/Makefile: Likewise.
9582 * sysdeps/x86_64/Makefile: Likewise.
9584 * io/ftwtest-sh: Add copyright header.
9585 * posix/globtest.sh: Likewise.
9586 * posix/tst-getconf.sh: Likewise.
9587 * posix/wordexp-tst.sh: Likewise.
9588 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9590 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9593 * Makeconfig (+link): Defined as $(+link-static) if
9594 $(build-shared) isn't yes.
9595 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9597 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9599 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9602 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9603 new chunk size with MALLOC_ALIGN_MASK.
9605 2012-09-24 Joseph Myers <joseph@codesourcery.com>
9608 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9610 (__printf_fphex): Determine rounding using get_rounding_mode and
9612 * stdio-common/tst-printf-round.c (struct hex_test): New
9614 (hex_tests): New variable.
9615 (test_hex_in_one_mode): New function.
9616 (do_test): Also run tests for hex float output.
9618 2012-09-21 Joseph Myers <joseph@codesourcery.com>
9620 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9621 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9622 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9623 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9624 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9625 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9626 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9627 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9629 2012-09-20 Joseph Myers <joseph@codesourcery.com>
9631 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9632 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9633 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9634 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9636 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9639 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9641 * elf/tst-rtld-load-self.sh: New test.
9642 * elf/Makefile: Run it.
9644 2012-09-18 Joseph Myers <joseph@codesourcery.com>
9646 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9647 (tst-writev-ENV): Remove.
9648 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9650 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9652 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9654 2012-09-17 Joseph Myers <joseph@codesourcery.com>
9656 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9658 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9660 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9661 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9662 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9665 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9668 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9669 * config.make.in (have-cpp-asm-debuginfo): Removed.
9670 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9671 * configure: Regenerated.
9673 2012-09-14 Joseph Myers <joseph@codesourcery.com>
9676 * stdio-common/printf_fp.c: Include <stdbool.h> and
9678 (___printf_fp): Determine rounding using get_rounding_mode and
9680 * stdio-common/tst-printf-round.c: New file.
9681 * stdio-common/Makefile (tests): Add tst-printf-round.
9682 (link-libm): New variable.
9683 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9685 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9688 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9689 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9691 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9694 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9696 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9697 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9698 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9699 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9701 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9704 * include/rounding-mode.h: New file.
9705 * sysdeps/generic/get-rounding-mode.h: Likewise.
9706 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9707 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9708 (MAX_VALUE): New macro.
9709 (MIN_VALUE): Likewise.
9710 (overflow_value): New function.
9711 (underflow_value): Likewise.
9712 (round_and_return): Use overflow_value and underflow_value to
9713 determine return values in overflow and underflow cases. Use
9714 round_away to determine rounding depending on rounding mode.
9715 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9716 determine return values in overflow and underflow cases.
9717 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9718 (struct test_results): New structure.
9719 (struct test): Use struct test_results to store expected results
9720 for all rounding modes.
9721 (TEST): Include expected results for all rounding modes.
9722 (test_in_one_mode): New function.
9723 (do_test): Use test_in_one_mode to compute and check results.
9724 Check results for all rounding modes.
9725 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9728 2012-12-09 Allan McRae <allan@archlinux.org>
9730 * sysdeps/i386/fpu/libm-test-ulps: Update
9732 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9734 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9735 (_G_int32_t): Likewise.
9736 (_G_uint16_t): Likewise.
9737 (_G_uint32_t): Likewise.
9738 (_G_HAVE_BOOL): Likewise.
9739 (_G_HAVE_ATEXIT): Likewise.
9740 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9741 (_G_HAVE_IO_FILE_OPEN): Likewise.
9742 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9743 (_G_int32_t): Likewise.
9744 (_G_uint16_t): Likewise.
9745 (_G_uint32_t): Likewise.
9746 (_G_HAVE_BOOL): Likewise.
9747 (_G_HAVE_ATEXIT): Likewise.
9748 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9749 (_G_HAVE_IO_FILE_OPEN): Likewise.
9750 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9751 (_G_int32_t): Likewise.
9752 (_G_uint16_t): Likewise.
9753 (_G_uint32_t): Likewise.
9754 (_G_HAVE_BOOL): Likewise.
9755 (_G_HAVE_ATEXIT): Likewise.
9756 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9757 (_G_HAVE_IO_FILE_OPEN): Likewise.
9759 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9761 * csu/libc-tls.c: Update copyright years.
9763 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9765 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9766 [!_G_USING_THUNKS]: Remove conditional code.
9767 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9768 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9770 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9771 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9772 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9773 (_G_VTABLE_LABEL_PREFIX): Likewise.
9774 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9775 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9776 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9777 (_G_VTABLE_LABEL_PREFIX): Likewise.
9778 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9779 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9780 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9781 (_G_VTABLE_LABEL_PREFIX): Likewise.
9782 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9784 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9786 * libio/Makefile: Include ../Makeconfig before tests.
9787 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9788 only if $(build-shared) is yes.
9790 * iconv/gconv_db.c: Update copyright years.
9792 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9794 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9795 unwind info if defined PIC. Fix special cases description.
9796 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9798 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9800 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9802 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9804 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9806 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9809 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9810 (LDLIBS-tst-chk4): This.
9811 (LDFLAGS-tst-chk5): Renamed to ...
9812 (LDLIBS-tst-chk5): This.
9813 (LDFLAGS-tst-chk6): Renamed to ...
9814 (LDLIBS-tst-chk6): This.
9815 (LDFLAGS-tst-lfschk4): Renamed to ...
9816 (LDLIBS-tst-lfschk4): This.
9817 (LDFLAGS-tst-lfschk5): Renamed to ...
9818 (LDLIBS-tst-lfschk5): This.
9819 (LDFLAGS-tst-lfschk6): Renamed to ...
9820 (LDLIBS-tst-lfschk6): This.
9822 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9823 on $(common-objpfx)soversions.mk.
9825 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9828 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9831 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9833 * malloc/arena.c (arena_get_retry): New function that gets
9834 another arena for the caller to try its request on.
9835 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9836 current arena cannot fulfill the request.
9837 (__libc_memalign): Likewise.
9838 (__libc_memalign): Likewise.
9839 (__libc_pvalloc): Likewise.
9840 (__libc_calloc): Likewise.
9842 2012-09-05 John Tobey <john.tobey@gmail.com>
9845 * manual/arith.texi (Operations on Complex): Fix description
9848 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9851 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9855 * manual/memory.texi (Memory): Make order of menu items match
9858 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9860 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9861 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9862 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9864 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9866 * csu/libc-tls.c (static_dtv): Renamed to ...
9867 (_dl_static_dtv): This. Make it global.
9868 (_dl_initial_dtv): Removed.
9869 (__libc_setup_tls): Updated.
9870 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9871 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9874 2012-09-06 Petr Machata <pmachata@redhat.com>
9876 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9877 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9878 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9879 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9881 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9884 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9885 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9888 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9891 * Makeconfig (link-static-before-libc): Replace $(+prector)
9893 (link-static-after-libc): Replace $(+postctor) with
9895 (link-bounded): Replace $(+prector)/$(+postctor) with
9896 $(+prectorT)/$(+postctorT).
9897 (+prectorT): New macro.
9898 (+postctorT): Likewise.
9900 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9902 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9903 (round_str): Handle values above the maximum for IBM long double
9905 * stdlib/tst-strtod-round.c (tests): Regenerated.
9907 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9909 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9911 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9912 zarch_nohighgprs around the zarch optimized routines.
9913 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9914 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9915 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9918 2012-09-05 David S. Miller <davem@davemloft.net>
9920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9922 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9923 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9924 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9925 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9928 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9930 * malloc/arena.c: Fold copyright years.
9931 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9933 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9935 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9937 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9939 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9941 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9943 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9944 change internal state upon failure.
9946 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9948 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9949 * malloc/memusage.c (mmap): Likewise.
9950 (mmap64, mremap): Likewise. Adjust name in comment.
9952 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9954 * libio/fileops.c: Fix typos in comments.
9955 * libio/oldfileops.c: Likewise.
9956 * libio/wfileops.c: Likewise.
9958 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9961 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9962 (tst-malloc-usable-ENV): Set environment for test case.
9963 * malloc/hooks.c (malloc_check_get_size): New function to get
9965 * malloc/malloc.c (musable): Use malloc_check_get_size.
9966 * malloc/tst-malloc-usable.c: New test case.
9968 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9970 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9972 2012-09-05 Allan McRae <allan@archlinux.org>
9975 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9976 determine header location.
9977 * configure: Regenerated.
9979 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9981 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9983 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
9984 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9988 2012-09-04 David S. Miller <davem@davemloft.net>
9990 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9991 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9992 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9994 2012-09-04 Florian Weimer <fweimer@redhat.com>
9996 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9999 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10001 2012-09-04 Joseph Myers <joseph@codesourcery.com>
10004 * libio/iogetdelim.c: Include <limits.h>.
10005 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10006 + len + 1 would overflow.
10008 2012-09-03 Andreas Jaeger <aj@suse.de>
10010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10011 * sysdeps/i386/fpu/libm-test-ulps: Update.
10013 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10015 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10016 Add s_sinf-sse2, s_conf-sse2.
10018 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10019 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10020 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10021 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10023 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10024 for using routine as __sinf_ia32.
10025 Use macro for function declaration and weak_alias.
10026 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10027 for using routine as __cosf_ia32.
10028 Use macro for function declaration and weak_alias.
10030 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10031 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10033 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10034 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10037 * math/libm-test.inc (cos_test): Add more test cases.
10038 (sin_test): Likewise.
10039 (sincos_test): Likewise.
10041 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10043 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10044 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10046 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10048 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10051 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10052 first element of the GOT.
10053 (elf_machine_load_address): Return the difference between
10054 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10056 2012-09-01 Allan McRae <allan@archlinux.org>
10059 * configure.in (AWK): Require gawk version 3.0 or later.
10060 * configure: Regenerated.
10062 2012-09-01 Joseph Myers <joseph@codesourcery.com>
10064 * sysdeps/unix/sysv/linux/kernel-features.h
10065 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10066 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10067 [__NR_clock_getres]: Make code unconditional.
10068 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10069 (clock_getcpuclockid): Remove code left unreachable by removal of
10071 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10072 code unconditional.
10073 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10074 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10075 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10076 Make code unconditional.
10077 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10078 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10079 * sysdeps/unix/sysv/linux/clock_settime.c
10080 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10082 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10083 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10085 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10088 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10089 scripts/test-installation.pl.
10091 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10092 and $ld_so_version if it is set.
10094 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10097 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10098 failure if reading from procfs failed.
10099 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10101 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10103 * sysdeps/unix/sysv/linux/kernel-features.h
10104 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10105 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10106 Remove conditional code.
10107 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10108 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10109 Remove conditional code.
10110 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10111 * sysdeps/unix/sysv/linux/i386/fxstat.c
10112 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10113 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10114 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10115 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10116 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10117 * sysdeps/unix/sysv/linux/i386/lxstat.c
10118 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10119 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10120 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10121 Remove conditional code.
10122 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10123 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10124 Remove conditional code.
10125 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10126 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10127 <kernel-features.h>.
10128 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10130 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10131 Remove conditional code.
10132 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10133 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10134 Remove conditional.
10136 2012-08-27 Mike Frysinger <vapier@gentoo.org>
10139 * NEWS: Add fixed bug number.
10141 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10144 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10145 underflowing exponent in case of negative sign.
10146 * stdlib/tst-strtod-round-data: Add more tests.
10147 * stdlib/tst-strtod-round.c (tests): Regenerated.
10150 * stdlib/strtod_l.c (NDIG): Remove.
10151 (HEXNDIG): Likewise.
10152 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10153 smallest representable value.
10154 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10155 lie within an exact representation of 1/2 ulp of the result.
10156 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10158 (TENS_P9_IDX): Define unconditionally.
10159 (TENS_P9_SIZE): Likewise.
10160 (TENS_P10_IDX): Likewise.
10161 (TENS_P10_SIZE): Likewise.
10162 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10163 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10164 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10165 entries for 10^2^13 and 10^2^14.
10166 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10167 (TENS_P13_IDX): Define.
10168 (TENS_P13_SIZE): Likewise.
10169 (TENS_P14_IDX): Likewise.
10170 (TENS_P14_SIZE): Likewise.
10171 (_fpioconst_pow10): Change array size to
10172 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10174 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10175 1024]: Add entries for 10^2^13 and 10^2^14.
10176 [LAST_POW10 > _LAST_POW10]: Remove #error.
10177 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10178 (_fpioconst_pow10): Change array size to
10179 FPIOCONST_POW10_ARRAY_SIZE.
10180 * stdlib/gen-fpioconst.c: New file.
10181 * stdlib/gen-tst-strtod-round.c: Likewise.
10182 * stdlib/tst-strtod-round-data: Likewise.
10183 * stdlib/tst-strtod-round.c: Likewise.
10184 * stdlib/Makefile (tests): Add tst-strtod-round.
10187 * stdlib/strtod_l.c: Include <stdint.h>.
10188 (NDEBUG): Do not define.
10189 (round_and_return): Change EXPONENT parameter to type intmax_t.
10190 Rearrange calculations to avoid internal overflow possibilities.
10191 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10192 Rearrange calculations to avoid internal overflow possibilities.
10193 Assert that number fits inside MPNSIZE limbs.
10194 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10195 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10196 calculations and add assertions to avoid internal overflow
10197 possibilities. Add casts to avoid signed/unsigned operations.
10198 * stdlib/tst-strtod-overflow.c: New file.
10199 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10201 2012-08-25 Marek Polacek <polacek@redhat.com>
10203 * time/time.h: Fix some typos in comments.
10205 2012-08-23 Roland McGrath <roland@hack.frob.com>
10207 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10208 * posix/tst-rfc3484-2.c: Likewise.
10209 * posix/tst-rfc3484-3.c: Likewise.
10211 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10213 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10214 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10216 2012-08-23 Joseph Myers <joseph@codesourcery.com>
10218 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10219 #include of fxstatat64.c.
10221 2012-08-22 Roland McGrath <roland@hack.frob.com>
10223 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10224 * shadow/getspent_r.c: Likewise.
10225 * shadow/getspnam.c: Likewise.
10226 * shadow/getspnam_r.c: Likewise.
10227 * gshadow/getsgent.c: Likewise.
10228 * gshadow/getsgent_r.c: Likewise.
10229 * gshadow/getsgnam.c: Likewise.
10230 * gshadow/getsgnam_r.c: Likewise.
10231 * inet/getnetbyad.c: Likewise.
10232 * inet/getnetbyad_r.c: Likewise.
10233 * inet/getnetbynm.c: Likewise.
10234 * inet/getnetbynm_r.c: Likewise.
10235 * inet/getnetent.c: Likewise.
10236 * inet/getnetent_r.c: Likewise.
10237 * inet/getproto.c: Likewise.
10238 * inet/getproto_r.c: Likewise.
10239 * inet/getprtent.c: Likewise.
10240 * inet/getprtent_r.c: Likewise.
10241 * inet/getprtname.c: Likewise.
10242 * inet/getprtname_r.c: Likewise.
10243 * inet/getrpcbyname.c: Likewise.
10244 * inet/getrpcbyname_r.c: Likewise.
10245 * inet/getrpcbynumber.c: Likewise.
10246 * inet/getrpcbynumber_r.c: Likewise.
10247 * inet/getrpcent.c: Likewise.
10248 * inet/getrpcent_r.c: Likewise.
10249 * inet/getaliasent.c: Likewise.
10250 * inet/getaliasent_r.c: Likewise.
10251 * inet/getaliasname.c: Likewise.
10252 * inet/getaliasname_r.c: Likewise.
10253 * nscd/getgrgid_r.c: Likewise.
10254 * nscd/getgrnam_r.c: Likewise.
10255 * nscd/gethstbyad_r.c: Likewise.
10256 * nscd/gethstbynm3_r.c: Likewise.
10257 * nscd/getpwnam_r.c: Likewise.
10258 * nscd/getpwuid_r.c: Likewise.
10259 * nscd/getsrvbynm_r.c: Likewise.
10260 * nscd/getsrvbypt_r.c: Likewise.
10261 * nscd/gai.c: Likewise.
10263 * configure.in (build_nscd): New substituted variable, set
10264 by --disable-build-nscd and defaults to $use_nscd.
10265 * configure: Regenerated.
10266 * config.make.in (build-nscd): New substituted variable.
10267 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10268 Change conditional to require [$(build-nscd) = yes] as well.
10269 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10272 * configure.in (use_nscd): New substituted variable, set by
10273 --disable-nscd. If enabled, define USE_NSCD.
10274 * configure: Regenerated.
10275 * config.h.in: Add USE_NSCD.
10276 * config.make.in (use-nscd): New substituted variable.
10277 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10278 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10279 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10280 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10281 (CFLAGS-getgrnam_r.c): Likewise.
10282 (CFLAGS-initgroups.c): Likewise.
10283 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10284 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10286 * inet/getnetgrent_r.c
10287 (nscd_setnetgrent): New function, broken out of ...
10288 (setnetgrent): ... here. Call it.
10289 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10290 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10291 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10292 * nscd/Makefile (routines, aux): Move definitions after include of
10293 Makeconfig. Conditionalize on [$(use-nscd) != no].
10294 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10295 Conditionalize on [USE_NSCD].
10296 (is_nscd, nscd_init_cb): Likewise.
10297 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10298 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10299 * nss/nss_db/db-init.c: Likewise.
10300 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10302 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10303 (make_request): Use it.
10304 (cache_valid_p): New function.
10305 (__check_pf): Use it.
10306 * NEWS: Add item for --disable-nscd.
10308 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10310 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10311 to support sed >= 4.2.1-20-ga9bf076.
10312 * configure: Regenerated.
10314 2012-08-22 Roland McGrath <roland@hack.frob.com>
10316 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10317 Conditionalize whole body on [IREL].
10319 2012-08-22 Jeff Law <law@redhat.com>
10322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10323 if the family is PF_UNSPEC.
10325 2012-08-22 Mike Frysinger <vapier@gentoo.org>
10327 * Makerules (lib-version): Rename from V.
10328 (install-lib-nosubdir): Change V to lib-version.
10330 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10333 * powerpc32/power6/wcschr.c: New file.
10334 * powerpc32/power6/wcscpy.c: New file.
10335 * powerpc32/power6/wcsrchr.c: New file.
10336 * powerpc64/power6/wcschr.c: New file.
10337 * powerpc64/power6/wcscpy.c: New file.
10338 * powerpc64/power6/wcsrchr.c: New file.
10340 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10342 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10343 (two_way_short_needle): Use it.
10344 * string/strstr.c (AVAILABLE1_USES_J): Define.
10345 * string/strcasestr.c: Likewise.
10347 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10349 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10352 * NEWS: Add an entry.
10353 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10354 define their defaults.
10355 (two_way_short_needle): Detect end-of-string on-the-fly.
10356 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10357 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10358 * string/bug-strcasestr1.c: New test.
10359 * string/Makefile: Run it.
10361 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10364 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10365 the first character.
10367 2012-08-21 Roland McGrath <roland@hack.frob.com>
10369 * csu/elf-init.c (__libc_csu_irel): Function removed.
10370 * csu/libc-start.c (apply_irel): New function.
10371 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10373 2012-08-21 Joseph Myers <joseph@codesourcery.com>
10375 * sysdeps/unix/sysv/linux/kernel-features.h
10376 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10377 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10378 <kernel-features.h>.
10379 [__NR_fadvise64_64]: Make code unconditional.
10380 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10381 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10382 !__NR_fadvise64_64)]: Likewise.
10383 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10384 !__NR_fadvise64_64))]: Likewise.
10385 [__NR_fadvise64]: Make code unconditional.
10386 [!__NR_fadvise64]: Remove conditional code.
10387 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10388 <kernel-features.h>.
10389 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10391 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10394 not include <kernel-features.h>.
10395 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10397 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10399 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10400 include <kernel-features.h>.
10401 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10403 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10406 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10408 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10409 slight instruction rearrangements per scrollpipe analysis.
10410 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10412 2012-08-20 Roland McGrath <roland@hack.frob.com>
10414 * manual/syslog.texi (syslog; vsyslog, closelog):
10415 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10416 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10418 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10419 DSOCAPS to match condition on defining it.
10421 2012-08-20 Joseph Myers <joseph@codesourcery.com>
10423 * sysdeps/unix/sysv/linux/kernel-features.h
10424 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10426 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10427 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10429 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10430 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10432 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10433 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10435 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10436 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10438 * sysdeps/unix/sysv/linux/kernel-features.h
10439 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10440 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10442 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10443 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10444 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10445 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10446 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10447 Make code unconditional.
10448 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10449 (__mmap64) [!__NR_mmap2]: Likewise.
10450 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10451 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10452 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10453 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10454 [__NR_mmap2]: Make code unconditional.
10455 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10456 (__mmap64) [!__NR_mmap2]: Likewise.
10458 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10460 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10462 2012-08-18 Andreas Jaeger <aj@suse.de>
10464 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10466 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10468 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10469 * include/unistd.h (__have_sock_cloexec): Likewise.
10470 (__have_pipe2): Likewise.
10471 (__have_dup3): Likewise.
10473 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10476 * include/unistd.h (__have_pipe2): Change define into an extern int.
10477 (__have_dup3): Likewise.
10478 * socket/have_sock_cloexec.c: Include fcntl.h.
10479 (__have_pipe2): New variable.
10480 (__have_dup3): Likewise.
10482 2012-08-17 Mike Frysinger <vapier@gentoo.org>
10484 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10486 2012-08-17 Marek Polacek <polacek@redhat.com>
10488 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10489 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10491 2012-08-17 Roland McGrath <roland@hack.frob.com>
10493 * configure.in: Add AC_SUBST for sysheaders.
10494 * configure: Regenerated.
10495 * config.make.in (sysheaders): New substituted variable.
10497 * sysdeps/unix/mkfifo.c: Moved ...
10498 * sysdeps/posix/mkfifo.c: ... here.
10499 * sysdeps/unix/mkfifoat.c: Moved ...
10500 * sysdeps/posix/mkfifoat.c: ... here.
10502 * sysdeps/unix/utime.c: Moved ...
10503 * sysdeps/posix/utime.c: ... here.
10505 * sysdeps/unix/time.c: Moved ...
10506 * sysdeps/posix/time.c: ... here.
10507 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10508 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
10510 * sysdeps/unix/nice.c: Moved ...
10511 * sysdeps/posix/nice.c: ... here.
10513 * sysdeps/unix/alarm.c: Moved ...
10514 * sysdeps/posix/alarm.c: ... here.
10516 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10518 2012-08-17 Jeff Law <law@redhat.com>
10520 * intl/Makefile (codeset_mo): New variable.
10521 ($(codeset_mo)): New target.
10522 (tst-codeset.out): Depend on that. Remove explicit rule.
10523 (tst-gettext3.out, tst-gettext5.out): Likewise.
10524 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10525 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10526 * intl/tst-codeset.sh: Remove.
10527 * intl/tst-gettext3.sh: Likewise.
10528 * intl/tst-gettext5.sh: Likewise.
10530 2012-08-17 Roland McGrath <roland@hack.frob.com>
10532 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10533 * sysdeps/unix/syscalls.list: ... here.
10535 * sysdeps/posix/getaddrinfo.c
10536 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10537 (gaiconf_init, gaiconf_reload): Use them.
10538 [!_STATBUF_ST_NSEC]
10539 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10540 Define using time_t rather than struct timespec.
10542 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10543 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10545 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10547 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10548 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10551 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10552 __libc_cleanup_push argument.
10554 * bits/param.h: New file.
10555 * misc/sys/param.h: New file.
10556 * include/sys/param.h: New file.
10557 * misc/Makefile (headers): Add bits/param.h.
10558 * sysdeps/generic/sys/param.h: File removed.
10559 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10560 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10561 * sysdeps/mach/hurd/bits/param.h: New file.
10562 * sysdeps/mach/hurd/sys/param.h: File removed.
10564 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10567 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10569 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10570 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10573 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10574 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10575 rather than -D_IO_MTSAFE_IO conditionally.
10576 * stdio-common/Makefile (CPPFLAGS): Likewise.
10577 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10578 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10579 Use $(libio-mtsafe).
10580 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10581 of -D_IO_MTSAFE_IO.
10582 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10583 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10584 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10585 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10586 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10587 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10588 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10589 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10590 (CFLAGS-fread_u_chk.c): Likewise.
10591 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10592 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10593 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10594 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10595 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10596 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10597 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10598 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10599 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10601 * libio/Makefile: Test [$(libc-reentrant) = yes]
10602 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10605 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10606 * sysdeps/pthread/configure: File removed.
10607 * sysdeps/pthread/Makeconfig: New file.
10608 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10609 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10611 2012-08-16 Gary Benson <gbenson@redhat.com>
10613 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10614 unmapping the first object in a namespace.
10616 2012-08-16 Roland McGrath <roland@hack.frob.com>
10618 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10619 (__internal_setnetgrent): ... this. Add internal_function to
10620 definition. Add libc_hidden_def.
10621 (setnetgrent): Update caller.
10622 (internal_endnetgrent): Renamed to ...
10623 (__internal_endnetgrent): ... this. Add internal_function to
10624 definition. Add libc_hidden_def.
10625 (endnetgrent): Update caller.
10626 (internal_getnetgrent_r): Renamed to ...
10627 (__internal_getnetgrent_r): ... this. Add internal_function to
10628 definition. Add libc_hidden_def.
10629 (__getnetgrent_r): Update caller.
10630 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10632 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10634 * stdlib/longlong.h: Update from GCC.
10636 2012-08-16 Roland McGrath <roland@hack.frob.com>
10638 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10639 on _QL, which is set by umul_ppmm but never used.
10640 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10641 variables, which are set by GMP macros but never used.
10642 * stdio-common/_itowa.c (_itowa): Likewise.
10643 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10644 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10646 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10648 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10649 struct La_sh_regs is not constant.
10650 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10651 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10652 and struct La_sparc64_regs are not constant.
10654 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10656 * sysdeps/unix/sysv/linux/kernel-features.h
10657 (__ASSUME_POSIX_TIMERS): Remove.
10658 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10659 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10660 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10661 Make code unconditional.
10662 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10663 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10664 Make code unconditional.
10665 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10666 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10667 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10668 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10669 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10670 Make code unconditional.
10671 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10672 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10673 (__libc_missing_posix_timers): Remove.
10675 2012-08-15 Roland McGrath <roland@hack.frob.com>
10677 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10678 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10680 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10682 * elf/dl-sym.c: Include <stdlib.h>.
10684 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10685 constants, which avoids warnings in 32-bit builds.
10687 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10688 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10690 * misc/lseek.c: File moved to ...
10691 * io/lseek.c: ... here.
10693 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10695 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10696 shifting LEN more than 31 bits at once.
10698 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10701 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10702 segmentation fault for a case of two empty input strings.
10703 * string/test-strncasecmp.c (check1): Renamed to...
10704 (bz12205): ...this.
10705 (bz14195): Add new testcase for two empty input strings and N > 0.
10706 (test_main): Call new testcase, adapt for renamed function.
10708 2012-08-15 Andreas Jaeger <aj@suse.de>
10711 * crypt/md5test2.c: New test, based on test supplied by Serge
10712 Belyshev <belyshev@depni.sinp.msu.ru>.
10713 * crypt/Makefile (xtests): Add md5test-giant..
10714 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10716 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10719 * crypt/md5.c (md5_process_block): Don't assume the buffer
10720 length is less than 2**32.
10721 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10722 length is less than 2**64.
10724 2012-08-15 Roland McGrath <roland@hack.frob.com>
10726 * string/str-two-way.h: Include <sys/param.h>.
10727 (MAX): Macro removed.
10729 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10730 Move #define and #undef of memmove to just before and after
10731 including <string.h>.
10733 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10734 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10735 and after including <string.h>. Move declarations of
10736 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10737 to before #include "string/memmove.c".
10739 * include/dirent.h: Declare __getdirentries.
10741 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10742 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10744 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10746 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10747 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10748 * sysdeps/i386/configure: Regenerated.
10749 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10750 STABS_CURRENT_FILE, and STABS_FUN.
10751 (END): Remove call to STABS_FUN_END.
10752 (STABS_CURRENT_FILE1): Delete.
10753 (STABS_CURRENT_FILE): Likewise.
10754 (STABS_FUN): Likewise.
10755 (STABS_FUN_END): Likewise.
10756 (STABS_FUN2): Likewise.
10757 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10758 * sysdeps/x86_64/configure: Regenerated.
10760 2012-08-14 Roland McGrath <roland@hack.frob.com>
10762 * elf/dl-open.c: Include <atomic.h>.
10763 * elf/dl-lookup.c: Likewise.
10765 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10767 * sysdeps/unix/sysv/linux/kernel-features.h
10768 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10769 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10771 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10773 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10774 condition on __ASSUME_CLONE_THREAD_FLAGS.
10776 2012-08-14 Andreas Jaeger <aj@suse.de>
10778 * sysdeps/i386/fpu/libm-test-ulps: Update.
10780 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10782 * include/atomic.h (atomic_exchange_and_add): Split into ...
10783 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10786 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10790 2012-08-13 Jeff Law <law@redhat.com>
10792 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10793 null byte in the output string.
10795 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10797 * sysdeps/unix/sysv/linux/kernel-features.h
10798 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10799 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10800 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10801 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10802 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10803 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10804 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10806 2012-08-09 Jeff Law <law@redhat.com>
10809 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10810 When avoid_arena is set, don't retry in the that arena. Pick the
10811 next one, whatever it might be.
10812 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10813 (arena_lock): Pass in new parameter to arena_get2.
10814 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10816 (__libc_malloc): Unify retrying after main arena failure with
10817 __libc_memalign version.
10818 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10820 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10823 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10824 to __redirect_strstr.
10825 (__strstr_sse42): Use typeof __redirect_strstr.
10826 (__strstr_ia32): Likewise.
10827 (__libc_strstr): New prototype.
10828 (strstr): Renamed to ...
10829 (__libc_strstr): This.
10830 (strstr): New strong alias of __libc_strstr.
10831 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10832 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10835 (__libc_time): New prototype.
10836 (time_ifunc): Replace time with __libc_time.
10837 (time): New strong alias and hidden definition of __libc_time.
10838 (__GI_time): Remove strong alias.
10839 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10840 Include <stddef.h>.
10841 (memmove): Redefined to __redirect_memmove.
10842 (__memmove_sse2): Use typeof __redirect_memmove.
10843 (__memmove_ssse3): Likewise.
10844 (__memmove_ssse3_back): Likewise.
10845 (__libc_memmove): New prototype.
10846 (memmove): Renamed to ...
10847 (__libc_memmove): This.
10848 (memmove): New strong alias of __libc_memmove.
10850 2012-08-08 Mark Salter <msalter@redhat.com>
10853 (R_MN10300_TLS_GD): Define.
10854 (R_MN10300_TLS_LD): Likewise.
10855 (R_MN10300_TLS_LDO): Likewise.
10856 (R_MN10300_TLS_GOTIE): Likewise.
10857 (R_MN10300_TLS_IE): Likewise.
10858 (R_MN10300_TLS_LE): Likewise.
10859 (R_MN10300_TLS_DTPMOD): Likewise.
10860 (R_MN10300_TLS_DTPOFF): Likewise.
10861 (R_MN10300_TLS_TPOFF): Likewise.
10862 (R_MN10300_SYM_DIFF): Likewise.
10863 (R_MN10300_ALIGN): Likewise.
10864 (R_MN10300_NUM): Update.
10866 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10868 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10871 2012-08-08 Roland McGrath <roland@hack.frob.com>
10873 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10875 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10876 sysdeps/unix -> sysdeps/posix move.
10877 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10879 2012-08-07 Allan McRae <allan@archlinux.org>
10882 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10883 (SUNOS_CPP): Likewise.
10884 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10886 (open_input): Call CPP using execvp.
10888 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10890 * sysdeps/unix/sysv/linux/kernel-features.h
10891 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10892 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10893 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10894 (__ASSUME_WAITID_SYSCALL): Likewise.
10895 * sysdeps/unix/sysv/linux/dl-execstack.c
10896 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10897 code unconditional.
10898 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10900 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10901 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10902 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10904 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10906 [__ASSUME_WAITID_SYSCALL]: Likewise.
10907 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10909 2012-08-07 Roland McGrath <roland@hack.frob.com>
10911 * sysdeps/unix/closedir.c: Renamed to ...
10912 * sysdeps/posix/closedir.c: ... here.
10913 * sysdeps/unix/dirfd.c: Renamed to ...
10914 * sysdeps/posix/dirfd.c: ... here.
10915 * sysdeps/unix/dirstream.h: Renamed to ...
10916 * sysdeps/posix/dirstream.h: ... here.
10917 * sysdeps/unix/fdopendir.c: Renamed to ...
10918 * sysdeps/posix/fdopendir.c: ... here.
10919 * sysdeps/unix/opendir.c: Renamed to ...
10920 * sysdeps/posix/opendir.c: ... here.
10921 * sysdeps/unix/readdir.c: Renamed to ...
10922 * sysdeps/posix/readdir.c: ... here.
10923 * sysdeps/unix/readdir_r.c: Renamed to ...
10924 * sysdeps/posix/readdir_r.c: ... here.
10925 * sysdeps/unix/rewinddir.c: Renamed to ...
10926 * sysdeps/posix/rewinddir.c: ... here.
10927 * sysdeps/unix/seekdir.c: Renamed to ...
10928 * sysdeps/posix/seekdir.c: ... here.
10929 * sysdeps/unix/telldir.c: Renamed to ...
10930 * sysdeps/posix/telldir.c: ... here.
10931 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10932 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10933 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10934 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10936 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10937 * bits/fcntl.h: ... here.
10939 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10941 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10942 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10943 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10944 (struct flock): Move l_start, l_len to the beginning.
10945 Use __pid_t for l_pid.
10946 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10947 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10948 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10949 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10950 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10951 [__USE_LARGEFILE64] (struct flock64): New type.
10952 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10954 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10955 * bits/dirent.h: ... here.
10957 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10958 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10960 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10962 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10963 Change from 2.6.0 to 2.6.16.
10964 * sysdeps/unix/sysv/linux/configure: Regenerated.
10965 * sysdeps/unix/sysv/linux/kernel-features.h
10966 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10967 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10969 (__ASSUME_UTIMES): Likewise.
10970 (__ASSUME_CLONE_STOPPED): Remove.
10971 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10972 architectures, not kernel version.
10973 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10974 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10975 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10976 (__ASSUME_WAITID_SYSCALL): Likewise.
10977 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10978 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10979 * README: State 2.6.16 as minimum Linux kernel version. Do not
10980 refer to older versions.
10982 2012-08-06 Roland McGrath <roland@hack.frob.com>
10984 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10985 Define alphasort64 as an alias.
10986 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10987 Define versionsort64 as an alias.
10988 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10989 Define scandir64 as an alias.
10990 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10991 Define scandirat64 as an alias.
10992 * dirent/alphasort64.c (alphasort64):
10993 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10994 * dirent/versionsort64.c: Likewise.
10995 * dirent/scandir64.c: Likewise.
10996 * dirent/scandirat64.c: Likewise.
10997 * sysdeps/wordsize-64/alphasort.c: File removed.
10998 * sysdeps/wordsize-64/alphasort64.c: File removed.
10999 * sysdeps/wordsize-64/scandir.c: File removed.
11000 * sysdeps/wordsize-64/scandir64.c: File removed.
11001 * sysdeps/wordsize-64/scandirat.c: File removed.
11002 * sysdeps/wordsize-64/scandirat64.c: File removed.
11003 * sysdeps/wordsize-64/versionsort.c: File removed.
11004 * sysdeps/wordsize-64/versionsort64.c: File removed.
11005 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11006 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11007 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11008 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11009 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11010 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11011 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11012 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11014 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11015 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11016 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11017 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11018 [defined __arch64__ || defined __sparcv9]
11019 (__INO_T_MATCHES_INO64_T): New macro.
11020 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11021 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11022 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11023 * sysdeps/unix/sysv/linux/bits/dirent.h
11024 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11025 (_DIRENT_MATCHES_DIRENT64): New macro.
11027 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11028 Define lockf64 as an alias.
11029 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11030 Define fseeko64 as an alias.
11031 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11032 Define ftello64 as an alias.
11033 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11034 Define _IO_fgetpos64 and fgetpos64 as aliases.
11035 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11036 Define _IO_fsetpos64 and fsetpos64 as aliases.
11037 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11038 Conditionalize body on this.
11039 * libio/fseeko64.c: Likewise.
11040 * libio/ftello64.c: Likewise.
11041 * libio/iofgetpos64.c: Likewise.
11042 * libio/iofsetpos64.c: Likewise.
11043 * sysdeps/wordsize-64/lockf.c: File removed.
11044 * sysdeps/wordsize-64/lockf64.c: File removed.
11045 * sysdeps/wordsize-64/fseeko.c: File removed.
11046 * sysdeps/wordsize-64/fseeko64.c: File removed.
11047 * sysdeps/wordsize-64/ftello.c: File removed.
11048 * sysdeps/wordsize-64/ftello64.c: File removed.
11049 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11050 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11051 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11052 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11053 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11054 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11055 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11056 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11057 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11058 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11059 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11060 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11061 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11062 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11064 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11065 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11066 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11067 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11068 [defined __arch64__ || defined __sparcv9]
11069 (__OFF_T_MATCHES_OFF64_T): New macro.
11070 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11071 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11072 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11073 (__OFF_T_MATCHES_OFF64_T): New macro.
11075 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11077 * stdlib/secure-getenv.c (__secure_getenv): Replace
11078 GLIBC_2_16 with GLIBC_2_17.
11080 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11082 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11083 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11085 2012-08-03 David S. Miller <davem@davemloft.net>
11087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11089 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11091 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11093 (__ASSUME_CORRECT_SI_PID): Likewise.
11094 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11095 (__ASSUME_TMPFS_NAME): Likewise.
11096 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11097 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11098 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11099 (HAVE_AUX_SECURE): Make definition unconditional.
11100 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11101 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11103 2012-08-03 Roland McGrath <roland@hack.frob.com>
11105 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11106 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11107 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11108 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11109 __eloop_threshold instead of SYMLOOP_MAX.
11111 * sysdeps/generic/eloop-threshold.h: New file.
11112 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11114 * elf/chroot_canon.c (chroot_canon): Likewise.
11116 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11119 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11120 Change to 2.6.0 everywhere.
11121 * sysdeps/unix/sysv/linux/configure: Regenerated.
11122 * sysdeps/unix/sysv/linux/kernel-features.h
11123 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11124 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11126 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11127 (__ASSUME_FUTEX_REQUEUE): Remove.
11128 (__ASSUME_STATFS64): Define unconditionally.
11129 (__ASSUME_AT_SECURE): Likewise.
11130 (__ASSUME_CORRECT_SI_PID): Likewise.
11131 (__ASSUME_TGKILL): Define without depending on kernel version for
11133 (__ASSUME_UTIMES): Likewise.
11134 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11136 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11137 (__ASSUME_TMPFS_NAME): Likewise.
11138 * README: Update reference to Linux kernel versions.
11140 2012-08-02 Marek Polacek <polacek@redhat.com>
11143 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
11144 libc_cv_asm_type_prefix with %.
11145 * configure: Regenerated.
11146 * include/libc-symbols.h: Remove comment about
11147 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11148 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11149 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11150 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11151 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11152 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11153 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11154 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11155 * elf/tst-unique2mod1.c: Likewise.
11156 * elf/tst-unique1mod2.c: Likewise.
11157 * elf/tst-unique1mod1.c: Likewise.
11158 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11159 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11160 Replace ASM_TYPE_DIRECTIVE with .type.
11161 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11162 * sysdeps/i386/sysdep.h: Likewise.
11163 * sysdeps/x86_64/sysdep.h: Likewise.
11164 * sysdeps/sh/sysdep.h: Likewise.
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11166 Do not define ASM_TYPE_DIRECTIVE.
11167 * sysdeps/powerpc/sysdep.h: Likewise.
11168 * sysdeps/powerpc/powerpc32/sysdep.h:
11169 Replace ASM_TYPE_DIRECTIVE with .type.
11170 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11171 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11172 * sysdeps/i386/fpu/e_powf.S: Likewise.
11173 * sysdeps/i386/fpu/e_expl.S: Likewise.
11174 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11175 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11176 * sysdeps/i386/fpu/e_pow.S: Likewise.
11177 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11178 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11179 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11180 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11181 * sysdeps/i386/fpu/e_log2.S: Likewise.
11182 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11183 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11184 * sysdeps/i386/fpu/e_powl.S: Likewise.
11185 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11186 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11187 * sysdeps/i386/fpu/e_logl.S: Likewise.
11188 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11189 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11190 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11191 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11192 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11193 * sysdeps/i386/fpu/e_log.S: Likewise.
11194 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11195 * sysdeps/i386/fpu/e_logf.S: Likewise.
11196 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11197 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11198 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11199 * sysdeps/i386/fpu/e_log10.S: Likewise.
11200 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11201 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11202 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11203 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11204 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11205 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11206 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11207 * sysdeps/i386/i686/strtok.S: Likewise.
11208 * sysdeps/i386/i386-mcount.S: Likewise.
11209 * sysdeps/i386/strtok.S: Likewise.
11210 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11211 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11212 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11213 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11214 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11215 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11216 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11217 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11218 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11219 * sysdeps/x86_64/_mcount.S: Likewise.
11220 * sysdeps/x86_64/strtok.S: Likewise.
11221 * sysdeps/sh/_mcount.S: Likewise.
11223 2012-08-01 Roland McGrath <roland@hack.frob.com>
11225 * libio/iofopen.c: Include <fcntl.h>.
11226 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11227 (_IO_fopen64, fopen64): Define as aliases.
11228 * libio/iofopen64.c: Include <fcntl.h>.
11229 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11230 Conditionalize body on this.
11231 * sysdeps/wordsize-64/iofopen.c: File removed.
11232 * sysdeps/wordsize-64/iofopen64.c: File removed.
11234 2012-08-01 Marek Polacek <polacek@redhat.com>
11236 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11237 Use dlfcn directly instead of a variable.
11238 (binfmt-subdir): Do not define.
11241 2012-08-01 Joseph Myers <joseph@codesourcery.com>
11243 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11244 Remove all definitions.
11245 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11246 <kernel-features.h>.
11247 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11248 (miss_F_GETOWN_EX): Remove all definitions.
11249 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11251 [!__ASSUME_FCNTL64]: Remove conditional code.
11252 [__ASSUME_FCNTL64]: Make code unconditional.
11253 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11254 <kernel-features.h>.
11255 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11256 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11257 (lockf64) [__NR_fcntl64]: Make code unconditional.
11258 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11260 * sysdeps/unix/sysv/linux/kernel-features.h
11261 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11262 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11263 Make code unconditional.
11264 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11265 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11267 [__NR_vfork]: Make code unconditional.
11268 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11269 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11271 [__NR_vfork]: Make code unconditional.
11272 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11273 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11275 2012-08-01 Roland McGrath <roland@hack.frob.com>
11277 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11278 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11280 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11281 Define mkstemp64 as an alias.
11282 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11283 Define mkstemps64 as an alias.
11284 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11285 Define mkostemp64 as an alias.
11286 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11287 Define mkostemps64 as an alias.
11288 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11289 Conditionalize body on this.
11290 * misc/mkostemp64.c: Likewise.
11291 * misc/mkostemps64.c: Likewise.
11292 * misc/mkstemps64.c: Likewise.
11293 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11294 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11295 * sysdeps/wordsize-64/mkostemp.c: File removed.
11296 * sysdeps/wordsize-64/mkstemp.c: File removed.
11297 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11298 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11299 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11300 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11303 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11304 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11305 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11306 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11308 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11309 compat_symbol macros from <shlib-compat.h> rather than the underlying
11310 default_symbol_version and symbol_version macros, so that DEFAULT
11311 lines in shlib-versions are respected.
11312 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11314 2012-08-01 Florian Weimer <fweimer@redhat.com>
11316 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11317 Declare with warn_unused_result.
11318 (setgid, setregid, setegid, setresgid): Likewise.
11319 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11321 * WUR-REPORT: Remove set*id functions.
11323 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11325 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11327 2012-07-31 Roland McGrath <roland@hack.frob.com>
11330 * include/sys/socket.h (__libc_accept, __libc_accept4):
11331 Add attribute_hidden.
11332 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11334 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11336 * inet/getnetgrent_r.c (setup): Likewise.
11338 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11340 2012-07-31 David S. Miller <davem@davemloft.net>
11342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11344 2012-07-31 Joseph Myers <joseph@codesourcery.com>
11347 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11348 value between 1.0 and 2.0 and smaller part has absolute value less
11350 * math/s_clog10.c (__clog10): Likewise.
11351 * math/s_clog10f.c (__clog10f): Likewise.
11352 * math/s_clog10l.c (__clog10l): Likewise.
11353 * math/s_clogf.c (__clogf): Likewise.
11354 * math/s_clogl.c (__clogl): Likewise.
11355 * math/libm-test.inc (clog_test): Add more tests.
11356 (clog10_test): Likewise.
11357 * sysdeps/i386/fpu/libm-test-ulps: Update.
11358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11360 2012-07-31 Florian Weimer <fweimer@redhat.com>
11362 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11363 Exit with zero in case no suitable GID is found, and write a
11364 message to standard error.
11366 2012-07-30 Roland McGrath <roland@hack.frob.com>
11368 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11370 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11371 (MAXPATHLEN): Removed.
11372 (NOGROUP, NODEV): New macros.
11373 (setbit, clrbit, isset, isclr): New macros.
11374 (howmany, roundup, powerof2): New macros.
11375 (DEV_BSIZE): New macro.
11377 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11378 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11380 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11381 definition on [!__NO_LONG_DOUBLE_MATH].
11383 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11384 PTR_MANGLE and PTR_DEMANGLE.
11386 * socket/accept4.c (accept4): Rename to __libc_accept4.
11387 Define accept4 as a weak alias.
11389 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11390 on [_DIRENT_HAVE_D_TYPE].
11391 * io/ftw.c (ftw_dir): Likewise.
11393 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11395 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11397 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11398 Use the BSD numbers rather than the arbitrary ones we had.
11399 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11400 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11401 (SIGXCPU, SIGXFSZ): New macros.
11404 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11405 initializer on [_LIBC_REENTRANT].
11407 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11408 definitions inside [_POSIX_MAPPED_FILES].
11410 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11412 * dirent/opendir.c: Include <fcntl.h>.
11414 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11415 (__libc_getspecific): Likewise.
11416 (__libc_key_create): Likewise.
11418 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11419 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11420 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11421 (tmpfile64): Define as alias.
11422 * sysdeps/wordsize-64/tmpfile.c: File removed.
11423 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11424 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11425 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11427 * stdio-common/vfscanf.c: Include <stdbool.h>.
11428 * nss/makedb.c: Likewise.
11429 * stdio-common/_i18n_number.h: Likewise.
11430 * argp/argp-help.c: Likewise.
11431 * posix/wordexp.c: Likewise.
11432 * sysdeps/posix/spawni.c: Likewise.
11433 * nss/nss_files/files-initgroups.c: Likewise.
11434 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11435 * nss/nss_files/files-initgroups.c: Likewise.
11436 * nss/nss_db/db-netgrp.c: Likewise.
11437 * nss/nss_db/db-initgroups.c: Likewise.
11438 * io/fchmodat.c: Include <sys/stat.h>.
11440 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11441 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11443 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11446 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11447 Add multiple inclusion protection.
11449 2012-07-27 David S. Miller <davem@davemloft.net>
11451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11453 2012-07-27 Gary Benson <gbenson@redhat.com>
11456 * elf/rtld.c: Include <stap-probe.h>.
11457 (dl_main): Added static probes "init_start" and "init_complete".
11458 * elf/dl-load.c: Include <stap-probe.h>.
11459 (lose): Take new parameter "nsid".
11460 Added static probe "map_failed".
11461 (_dl_map_object_from_fd): Pass namespace id to lose.
11462 Added static probe "map_start".
11463 (open_verify): Pass namespace id to lose.
11464 * elf/dl-open.c: Include <stap-probe.h>.
11465 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11466 and "reloc_complete".
11467 * elf/dl-close.c: Include <stap-probe.h>.
11468 (_dl_close_worker): Added static probes "unmap_start" and
11470 * elf/rtld-debugger-interface.txt: New file documenting the above.
11472 2012-07-26 Roland McGrath <roland@hack.frob.com>
11474 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11475 rather than a string variable.
11476 * sunrpc/rpc_main.c (h_output): Likewise.
11477 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11479 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11481 * inet/check_native.c: New file.
11483 2012-07-26 Joseph Myers <joseph@codesourcery.com>
11486 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11487 if larger part has absolute value 1.0.
11488 * math/s_clog10.c (__clog10): Likewise.
11489 * math/s_clog10f.c (__clog10f): Likewise.
11490 * math/s_clog10l.c (__clog10l): Likewise.
11491 * math/s_clogf.c (__clogf): Likewise.
11492 * math/s_clogl.c (__clogl): Likewise.
11493 * math/libm-test.inc (clog_test): Add more tests.
11494 (clog10_test): Likewise.
11495 * sysdeps/i386/fpu/libm-test-ulps: Update.
11496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11498 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11499 (pltexit): Likewise.
11500 (La_regs): Likewise.
11501 (La_retval): Likewise.
11502 (int_retval): Likewise.
11503 Update #error for removed macros to refer only to definitions in
11505 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11507 (pltexit): Likewise.
11508 (La_regs): Likewise.
11509 (La_retval): Likewise.
11510 (int_retval): Likewise.
11511 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11513 (pltexit): Likewise.
11514 (La_regs): Likewise.
11515 (La_retval): Likewise.
11516 (int_retval): Likewise.
11517 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11519 (pltexit): Likewise.
11520 (La_regs): Likewise.
11521 (La_retval): Likewise.
11522 (int_retval): Likewise.
11523 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11525 (pltexit): Likewise.
11526 (La_regs): Likewise.
11527 (La_retval): Likewise.
11528 (int_retval): Likewise.
11529 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11531 (pltexit): Likewise.
11532 (La_regs): Likewise.
11533 (La_retval): Likewise.
11534 (int_retval): Likewise.
11535 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11537 (pltexit): Likewise.
11538 (La_regs): Likewise.
11539 (La_retval): Likewise.
11540 (int_retval): Likewise.
11541 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11542 macro definitions in tst-audit.h.
11543 * sysdeps/i386/tst-audit.h: New file.
11544 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11545 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11546 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11547 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11548 * sysdeps/sh/tst-audit.h: Likewise.
11549 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11550 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11551 * sysdeps/x86_64/tst-audit.h: Likewise.
11553 2012-07-26 Andreas Jaeger <aj@suse.de>
11555 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11558 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11559 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11560 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11562 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11563 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11564 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11566 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11569 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11571 (si_call_addr, si_syscall, si_arch): Define new macro.
11572 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11574 (si_call_addr, si_syscall, si_arch): Define new marcro.
11575 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11577 (si_call_addr, si_syscall, si_arch): Define new macro.
11578 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11580 (si_call_addr, si_syscall, si_arch): Define new macro.
11582 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11585 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11586 Change to 2.4.21 where previously 2.4.1.
11587 * sysdeps/unix/sysv/linux/configure: Regenerated.
11588 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11589 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11590 Linux kernel version.
11591 (__ASSUME_STD_AUXV): Remove.
11592 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11594 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11595 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11596 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11597 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11598 (__ASSUME_NETLINK_SUPPORT): Likewise.
11599 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11600 (__no_netlink_support): Remove conditional definition.
11601 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11603 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11604 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11605 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11606 (if_nameindex_ioctl): Remove.
11607 (if_nameindex_netlink): Do not handle __no_netlink_support.
11608 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11610 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11611 Remove conditional code.
11612 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11614 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11616 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11617 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11618 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11620 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11621 [!__ASSUME_STD_AUXV]: Remove conditional code.
11622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11623 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11624 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11626 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11627 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11629 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11631 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11632 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11634 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11636 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11639 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11642 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11643 code unconditional.
11644 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11646 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11648 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11651 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11653 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11656 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11657 code unconditional.
11658 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11660 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11662 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11665 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11666 code unconditional.
11667 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11669 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11671 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11674 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11676 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11677 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11678 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11679 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11680 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11681 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11682 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11683 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11684 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11685 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11686 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11687 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11688 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11689 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11690 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11691 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11692 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11693 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11694 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11695 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11696 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11697 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11698 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11700 2012-07-25 Florian Weimer <fweimer@redhat.com>
11702 * Versions.def: Add GLIBC_2.17.
11703 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11704 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11705 Introduce __libc_secure_getenv.
11706 * stdlib/Versions (2.17): Add secure_getenv
11707 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11708 * stdlib/secure-getenv.c: Rename __secure_getenv to
11709 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11710 symbol __secure_getenv for GLIBC_2.0.
11711 * stdlib/tst-secure-getenv.c: New.
11712 * stdlib/Makefile (tests): Add testcase.
11713 * manual/startup.texi (Environment Access): Document
11715 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11716 __libc_secure_getenv.
11717 * inet/ruserpass.c (ruserpass): Likewise.
11718 * malloc/mtrace.c (mtrace): Likewise.
11719 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11720 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11721 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11722 * sysdeps/posix/tempname.c: Likewise. Evaluate
11723 HAVE_SECURE_GETENV.
11724 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11725 __secure_getenv to __libc_secure_getenv.
11726 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11733 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11739 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11741 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11742 (struct La_i86_retval): Likewise.
11743 (struct La_x86_64_regs): Likewise.
11744 (struct La_x86_64_retval): Likewise.
11745 (struct La_x32_regs): Likewise.
11746 (struct La_x32_retval): Likewise.
11747 (struct La_ppc32_regs): Likewise.
11748 (struct La_ppc32_retval): Likewise.
11749 (struct La_ppc64_regs): Likewise.
11750 (struct La_ppc64_retval): Likewise.
11751 (struct La_sh_regs): Likewise.
11752 (struct La_sh_retval): Likewise.
11753 (struct La_s390_32_regs): Likewise.
11754 (struct La_s390_32_retval): Likewise.
11755 (struct La_s390_64_regs): Likewise.
11756 (struct La_s390_64_retval): Likewise.
11757 (struct La_sparc32_regs): Likewise.
11758 (struct La_sparc32_retval): Likewise.
11759 (struct La_sparc64_regs): Likewise.
11760 (struct La_sparc64_retval): Likewise.
11761 (struct audit_ifaces): Remove architecture-specific pltenter and
11763 * sysdeps/i386/ldsodefs.h: New file.
11764 * sysdeps/powerpc/ldsodefs.h: Likewise.
11765 * sysdeps/s390/ldsodefs.h: Likewise.
11766 * sysdeps/sh/ldsodefs.h: Likewise.
11767 * sysdeps/sparc/ldsodefs.h: Likewise.
11768 * sysdeps/x86_64/ldsodefs.h: Likewise.
11770 2012-07-25 Marek Polacek <polacek@redhat.com>
11773 * math/libm-test.inc (yn_test): Add another test.
11774 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11775 to ERANGE when the result is +-Inf.
11776 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11777 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11778 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11779 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11781 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11783 * conform/data/time.h-data (NULL): Use macro-constant. Require
11785 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11787 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11789 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11791 * configure.in <sysdeps resolving>: Correct printing
11793 * configure: Regenerate.
11795 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11797 * math/w_ilogb.c: Include <limits.h>.
11798 * math/w_ilogbl.c: Likewise.
11800 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11802 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11803 va_copy. Document allowing for unavailable va_copy only as
11804 pre-C99 compatibility.
11805 * manual/string.texi (Copying and Concatenation): Use va_copy
11806 instead of __va_copy in concat example.
11808 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11810 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11811 (__sendto): Use create_address_port. Initialize APORT and deallocate
11814 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11815 with O_NOLINK passed to __file_name_lookup.
11817 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11818 with O_NOLINK passed to __file_name_lookup.
11820 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11821 negative N or less than NGIDS.
11823 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11824 type to string_t. Set ERANGE as errno and return it if NAME is not big
11825 enough. Use memcpy instead of strncpy.
11827 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11829 * elf/Makefile (check-data): Remove.
11830 (localplt.data): New vpath directive.
11831 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11832 instead of $(check-data).
11833 * scripts/data/localplt-generic.data: Move to ...
11834 * sysdeps/generic/localplt.data: ... here.
11835 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11836 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11837 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11840 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11843 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11846 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11849 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11852 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11856 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11858 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11859 PPC32 and PPC64 files.
11860 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11861 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11863 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11865 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11866 __makecontext_ret to ...
11867 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11868 ... here and call exit if uc_link is NULL. New file.
11869 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11870 __makecontext_ret.S.
11871 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11872 __makecontext_ret to ...
11873 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11874 ... here and call exit if uc_link is NULL. New file.
11875 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11876 __makecontext_ret.S.
11878 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11880 * elf/elf.h (R_390_IRELATIVE): New definition.
11881 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11882 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11883 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11884 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11885 (elf_machine_lazy_rel): Likewise.
11886 * sysdeps/s390/dl-irel.h: New file.
11887 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11888 * sysdeps/s390/s390-64/memset.S: New asm code.
11889 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11890 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11891 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11892 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11893 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11894 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11895 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11896 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11897 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11898 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11899 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11900 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11901 * sysdeps/s390/s390-32/memset.S: New asm code.
11902 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11904 2012-07-17 Marek Polacek <polacek@redhat.com>
11907 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11908 * sysdeps/s390/s390-64/configure.in: Likewise.
11909 * sysdeps/sparc/configure.in: Likewise.
11910 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11911 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11912 * sysdeps/i386/configure.in: Likewise.
11913 * sysdeps/x86_64/configure.in: Likewise.
11914 * sysdeps/sh/configure.in: Likewise.
11915 * sysdeps/s390/s390-32/configure: Regenerated.
11916 * sysdeps/s390/s390-64/configure: Likewise.
11917 * sysdeps/x86_64/configure: Likewise.
11918 * sysdeps/sh/configure: Likewise.
11919 * sysdeps/powerpc/powerpc64/configure: Likewise.
11920 * sysdeps/powerpc/powerpc32/configure: Likewise.
11921 * sysdeps/sparc/configure: Likwise.
11922 * sysdeps/i386/configure: Likewise.
11924 * elf/dl-open.c: Comment fixes.
11926 2012-07-17 Joseph Myers <joseph@codesourcery.com>
11928 * Makefile [CXX] (check-data): Remove.
11929 [CXX] (c++-types.data): New vpath directive.
11930 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11931 vpath. Do not allow for C++ type data being missing.
11932 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11933 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11934 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11935 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11936 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11937 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11938 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11941 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11944 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11947 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11950 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11953 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11956 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11959 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11962 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11963 definitions to architecture-specific files.
11964 (TLS_IE): Likewise.
11965 (TLS_LD): Likewise.
11966 (TLS_GD): Likewise.
11967 * sysdeps/i386/tls-macros.h: New file.
11968 * sysdeps/powerpc/tls-macros.h: Likewise.
11969 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11970 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11971 * sysdeps/sh/tls-macros.h: Likewise.
11972 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11973 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11974 * sysdeps/x86_64/tls-macros.h: Likewise.
11976 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11978 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11979 zero value for regular exit case.
11981 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11982 (__start_context): Preserve zero value for regular exit case.
11984 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11985 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11987 * manual/setjmp.texi (setcontext): Clarify normal process
11988 termination when uc_link is the null pointer.
11989 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11992 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11994 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11995 preprocessor. Test for each exception mask separately.
11997 2012-07-16 Andreas Jaeger <aj@suse.de>
11999 * po/ru.po: Update from translation team.
12001 2012-07-15 Joseph Myers <joseph@codesourcery.com>
12003 * conform/data/string.h-data (NULL): Use macro-constant. Require
12005 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12006 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12007 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12008 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12009 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12011 2012-07-13 Andreas Jaeger <aj@suse.de>
12013 * po/fr.po: Update from translation team.
12015 2012-07-12 Marek Polacek <polacek@redhat.com>
12018 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12019 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12022 2012-07-12 Joseph Myers <joseph@codesourcery.com>
12025 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12026 Change to 2.4.1 where previously 2.4.0.
12027 * sysdeps/unix/sysv/linux/configure: Regenerated.
12028 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12029 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12031 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12032 (__ASSUME_AT_CLKTCK): Remove.
12033 (__ASSUME_AT_PAGESIZE): Likewise.
12034 (__ASSUME_AT_XID): Likewise.
12035 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12036 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12037 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12039 (HAVE_AUX_PAGESIZE): Likewise.
12040 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12041 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12042 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12044 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12047 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12048 the temporary buffer used to invoke __gethostbyname2_r,
12049 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12050 host_data / struct gaih_addrtuple.
12051 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12052 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12053 header file nss/nsswitch.h.
12054 * nss/nsswitch.h (global scope): Add definition of implementation
12055 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12056 resolv/nss_dns/dns-host.c).
12058 2012-07-11 Andreas Jaeger <aj@suse.de>
12060 * po/fr.po: Update from translation team.
12062 * po/sv.po: Update from translation team
12063 * po/fr.po: Another update from translation team.
12065 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12067 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12068 for subnormals or multiply small sinh result by itself.
12069 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12072 2012-07-11 David S. Miller <davem@davemloft.net>
12074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12076 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12079 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12080 (INTERNAL_MARK): Shift it here.
12082 2012-07-10 Marek Polacek <polacek@redhat.com>
12085 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12086 libc_cv_asm_global_directive with .globl.
12087 * configure: Regenerated.
12088 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12090 * sysdeps/i386/configure: Regenerated.
12091 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12093 * sysdeps/x86_64/configure: Regenerated.
12094 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12095 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12096 * elf/tst-unique2mod2.c: Likewise.
12097 * elf/tst-unique2mod1.c: Likewise.
12098 * elf/tst-unique1mod2.c: Likewise.
12099 * elf/tst-unique1mod1.c: Likewise.
12100 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12101 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12102 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12103 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12104 * sysdeps/mach/sysdep.h: Likewise.
12105 * sysdeps/i386/sysdep.h: Likewise.
12106 * sysdeps/i386/i386-mcount.S: Likewise.
12107 * sysdeps/x86_64/_mcount.S: Likewise.
12108 * sysdeps/x86_64/sysdep.h: Likewise.
12109 * sysdeps/sh/_mcount.S: Likewise.
12110 * sysdeps/sh/sysdep.h: Likewise.
12111 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12112 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12113 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12114 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12115 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12116 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12117 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12118 * locale/localeinfo.h: Likewise.
12119 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12120 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12122 2012-07-09 Roland McGrath <roland@hack.frob.com>
12125 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12127 * manual/message.texi (The Uniforum approach): Likewise.
12128 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12129 (glibc iconv Implementation): Likewise.
12131 2012-07-09 Joseph Myers <joseph@codesourcery.com>
12134 * math/s_clog.c (__clog): Avoid scaling a value down where that
12135 could result in underflow.
12136 * math/s_clog10.c (__clog10): Likewise.
12137 * math/s_clog10f.c (__clog10f): Likewise.
12138 * math/s_clog10l.c (__clog10l): Likewise.
12139 * math/s_clogf.c (__clogf): Likewise.
12140 * math/s_clogl.c (__clogl): Likewise.
12141 * math/libm-test.inc (clog_test): Add more tests.
12142 (clog10_test): Likewise.
12143 * sysdeps/i386/fpu/libm-test-ulps: Update.
12144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12146 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12149 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12150 by 7 not 8 to examine high bit of fractional part.
12153 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12154 for call to __mcount_internal.
12155 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12156 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12157 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12159 2012-07-06 Joseph Myers <joseph@codesourcery.com>
12162 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12163 approximation for values within 0x1p-13f of an odd multiple of
12165 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12166 exception. Add more tests.
12167 * sysdeps/i386/fpu/libm-test-ulps: Update.
12170 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12171 inputs and return -1 for them. Do not check for +Inf in case not
12172 reachable for +Inf.
12173 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12174 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12175 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12176 and return -1 for them. Do not check for +Inf in case not
12177 reachable for +Inf.
12178 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12180 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12181 and return -1 for them. Do not check for +Inf in case not
12182 reachable for +Inf.
12183 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12184 spurious underflow.
12185 * sysdeps/i386/fpu/libm-test-ulps: Update.
12186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12188 2012-07-06 Mike Frysinger <vapier@gentoo.org>
12190 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12192 2012-07-05 Joseph Myers <joseph@codesourcery.com>
12196 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12197 could result in spurious underflow. Scale down values above
12198 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12199 * math/s_csqrtf.c (__csqrtf): Likewise.
12200 * math/s_csqrtl.c (__csqrtl): Likewise.
12201 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12202 spurious underflow.
12203 * sysdeps/i386/fpu/libm-test-ulps: Update.
12204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12206 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12208 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12210 * catgets/xopen-msg.awk: New file.
12211 * catgets/xopen-msg.sed: Removed.
12213 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12215 * intl/po2test.awk: New file.
12216 * intl/po2test.sed: Removed.
12218 2012-07-04 Joseph Myers <joseph@codesourcery.com>
12221 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12222 or multiply small sinh result by itself.
12223 * math/s_ctanf.c (__ctanf): Likewise.
12224 * math/s_ctanh.c (__ctanh): Likewise.
12225 * math/s_ctanhf.c (__ctanhf): Likewise.
12226 * math/s_ctanhl.c (__ctanhl): Likewise.
12227 * math/s_ctanl.c (__ctanl): Likewise.
12228 * math/libm-test.inc (ctan_test_tonearest): New function.
12229 (ctan_test_towardzero): Likewise.
12230 (ctan_test_downward): Likewise.
12231 (ctan_test_upward): Likewise.
12232 (ctanh_test_tonearest): Likewise.
12233 (ctanh_test_towardzero): Likewise.
12234 (ctanh_test_downward): Likewise.
12235 (ctanh_test_upward): Likewise.
12236 (main): Call these new functions.
12237 * sysdeps/i386/fpu/libm-test-ulps: Update.
12238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12240 2012-07-03 Mike Frysinger <vapier@gentoo.org>
12242 * .gitignore: Delete /ports entry.
12244 2012-07-03 Andreas Jaeger <aj@suse.de>
12246 * po/bg.po: Update from translation team.
12247 * po/cs.po: Likewise.
12248 * po/de.po: Likewise.
12249 * po/hr.po: Likewise.
12250 * po/nl.pl: Likewise.
12251 * po/pl.po: Likewise.
12252 * po/vi.po: Likewise.
12254 2012-07-03 Joseph Myers <joseph@codesourcery.com>
12256 * Makeconfig [!+link] (+link-before-libc): New variable.
12257 [!+link] (+link-after-libc): Likewise.
12258 [!+link] (+link-tests): Likewise.
12259 [!+link] (+link): Define in terms of $(+link-before-libc) and
12260 $(+link-after-libc).
12261 [!+link-static] (+link-static-before-libc): New variable.
12262 [!+link-static] (+link-static-after-libc): Likewise.
12263 [!+link-static] (+link-static-tests): Likewise.
12264 [!+link-static] (+link-static): Define in terms of
12265 $(+link-static-before-libc) and $(+link-static-after-libc).
12266 [build-shared] (link-libc-before-gnulib): New variable.
12267 [build-shared] (link-libc-tests): Likewise.
12268 [build-shared] (link-libc): Define in terms of
12269 $(link-libc-before-gnulib).
12270 [!build-shared] (link-libc-tests): New variable.
12271 (link-libc-static-tests): New variable.
12272 [!gnulib] (gnulib-arch): New variable.
12273 [!gnulib] (gnulib-tests): Likewise.
12274 [!gnulib] (static-gnulib-arch): Likewise.
12275 [!gnulib] (static-gnulib-tests): Likewise.
12276 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12277 Define with "=" instead of ":=".
12278 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12279 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12280 * Rules (binaries-all-notests): New variable.
12281 (binaries-all-tests): Likewise.
12282 (binaries-static-notests): Likewise.
12283 (binaries-static-tests): Likewise.
12284 (binaries-all): Define using $(binaries-all-notests) and
12285 $(binaries-all-tests).
12286 (binaries-static): Define using $(binaries-static-notests) and
12287 $(binaries-static-tests).
12288 (binaries-shared-tests): New variable.
12289 (binaries-shared-notests): Likewise.
12290 (binaries-shared): Remove variable.
12291 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12292 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12293 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12294 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12295 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12296 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12297 * elf/Makefile (sln-modules): New variable.
12298 (extra-objs): Add $(sln-modules:=.o).
12299 (ldconfig-modules): Add static-stubs.
12300 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12301 * elf/static-stubs.c: New file.
12304 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12305 by 7 not 8 to examine high bit of fractional part. Use volatile
12306 variables when splitting into final array of floats if
12307 __FLT_EVAL_METHOD__ != 0.
12308 * math/libm-test.inc (cos_test): Add another test.
12309 (sin_test): Likewise.
12310 * sysdeps/i386/fpu/libm-test-ulps: Update.
12313 * math/libm-test.inc (cosh_test): Add more tests.
12315 * version.h (RELEASE): Set to "development".
12316 (VERSION): Set to "2.16.90".
12318 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12320 * NEWS: Update copyright. Remove last-updated date.
12321 Mention math library bug fixes and timezone data changes.
12322 * README: Mention GNU/Hurd, x32, and HPPA support status.
12324 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12326 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12328 2012-06-27 Andreas Jaeger <aj@suse.de>
12330 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12332 2012-06-25 Andreas Jaeger <aj@suse.de>
12334 * sysdeps/s390/fpu/libm-test-ulps: Update.
12336 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12337 Thomas Schwinge <thomas@codesourcery.com>
12339 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12340 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12341 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12344 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12346 * sysdeps/mach/start.c: Remove file.
12347 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12348 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12349 * sysdeps/sh/init-first.c: Likewise.
12351 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12352 registers for frame unwinding purposes, add CFI directives.
12353 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12354 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12355 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12358 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12359 __fortify_fail returning.
12360 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12362 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12363 sysdeps/sh/____longjmp_chk.S.
12364 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12365 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12366 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12367 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12369 * sysdeps/sh/abort-instr.h: New file.
12370 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12371 process in case exit returns.
12373 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12374 initialize the GOT register before use.
12376 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12377 calculation of ARGC > 4.
12379 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12380 meaningful names to some local labels.
12382 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12383 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12385 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12386 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12387 (__arch_compare_and_exchange_val_16_acq): Likewise.
12388 (__arch_compare_and_exchange_val_32_acq): Likewise.
12389 (atomic_exchange_and_add): Fix gUSA sequence.
12390 (atomic_add): Likewise.
12391 (atomic_add_negative): Likewise.
12392 (atomic_add_zero): Likewise.
12393 (atomic_bit_test_set): Likewise.
12395 2012-06-22 Andreas Schwab <schwab@redhat.com>
12398 * include/link.h (struct link_map): Add l_free_initfini.
12399 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12401 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12402 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12403 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12406 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12408 * configure.in: Use AC_LANG_SOURCE.
12409 * configure: Regenerate.
12411 2012-06-22 Roland McGrath <roland@hack.frob.com>
12413 * configure.in (libc_cv_localstatedir): New substituted variable.
12414 * configure: Regenerated.
12415 * config.make.in (localstatedir): New variable, substituted from
12416 libc_cv_localstatedir.
12417 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12418 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12419 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12420 * sysdeps/gnu/configure: Regenerated.
12422 2012-06-21 Jeff Law <law@redhat.com>
12425 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12426 free. Simplify list management for _LIBC case.
12428 2012-06-21 Joseph Myers <joseph@codesourcery.com>
12431 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12432 Clear sign bit of 64-bit integer value before comparing against
12435 * sysdeps/mach/configure: Regenerated.
12437 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12440 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12442 2012-06-21 Jeff Law <law@redhat.com>
12445 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12446 uint16_t for elements in the "seen" array to avoid char overflows.
12447 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12448 * elf/dl-open.c (dl_open_worker): Likewise.
12450 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12452 * scripts/list-sources.sh: Scan PORTS for translations.
12453 * po/libc.pot: Regenerated.
12455 2012-06-21 Andreas Jaeger <aj@suse.de>
12458 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12460 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12461 * bits/byteswap-16.h (__bswap_16): Likewise.
12462 * bits/byteswap.h (__bswap_constant_16): Likewise.
12464 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12467 * sysdeps/i386/fpu_control.h: Removed.
12468 * sysdeps/x86_64/fpu_control.h: Moved to ...
12469 * sysdeps/x86/fpu_control.h: Here.
12471 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12472 (_FPU_SETCW): Likewise.
12474 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12477 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12478 * sysdeps/x86/fpu/bits/mathinline.h: This.
12479 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12483 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12484 functions if __x86_64__ is defined.
12486 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12488 * string/endian.h: Add !__ASSEMBLER__ condition for including
12489 conversion interfaces.
12491 2012-06-15 Joseph Myers <joseph@codesourcery.com>
12494 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12495 of ABS(x) in calculating zero to negative powers other than odd
12497 * math/libm-test.inc (pow_test): Add more tests.
12499 2012-06-15 Andreas Jaeger <aj@suse.de>
12501 * manual/contrib.texi (Contributors): Update entry of Liubov
12502 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12505 2012-06-15 Cyril Hrubis <metan@ucw.cz>
12507 * string/string.h: Add __wur to GNU version of strerror_r.
12509 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12512 * string/Makefile (tests): Add tst-strtok_r.
12513 * string/tst-strtok_r.c: New file.
12514 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12515 RAX_LP/RDX_LP on SAVE_PTR.
12517 2012-06-14 Roland McGrath <roland@hack.frob.com>
12519 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12521 2012-06-14 Joseph Myers <joseph@codesourcery.com>
12523 * libm_test.inc (csqrt_test): Allow more spurious underflow
12525 (j0_test): Likewise.
12526 (j1_test): Likewise.
12527 (y0_test): Likewise.
12528 (y1_test): Likewise.
12530 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12532 * po/Makefile (libc.pot): Use UTF-8 charset.
12534 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12537 Suppress sign-conversion warning from FD_SET.
12538 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12539 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12540 not unsigned long int.
12541 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12543 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12547 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12548 __extern_always_inline instead of __extern_inline.
12549 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12550 (__signbit): Likewise.
12551 (__signbitl): Support C++ namespace.
12552 (lrintf): New inline function.
12554 (llrintf): Likewise.
12555 (llrint): Likewise.
12565 (floorf): Likewise.
12566 (nearbyint): Likewise.
12567 (nearbyintf): Likewise.
12569 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12571 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12572 non-default versions.
12574 2012-06-11 Roland McGrath <roland@hack.frob.com>
12577 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12579 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12581 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12582 (FE_UPWARD, FE_DOWNWARD): Don't define.
12583 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12584 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12586 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12588 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12589 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12591 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12593 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12594 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12595 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12596 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12598 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12601 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12602 * sysdeps/i386/fpu/Implies: New file.
12603 * sysdeps/x86_64/fpu/Implies: Likewise.
12604 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12605 * sysdeps/x86/fpu/bits/fenv.h: This.
12607 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12610 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12613 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12614 character 0xffff that matches the last element of the
12617 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12619 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12622 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12624 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12625 values higher than 25.6283.
12627 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12629 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12630 subnormal exponent extraction and add some __builtin_expect.
12631 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12632 Fix for subnormal mantissa calculation.
12634 2012-06-04 Mike Frysinger <vapier@gentoo.org>
12636 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12637 cpu2 is -1 and errno is not ENOSYS.
12639 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12642 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12643 * sysdeps/x86/bits/string.h: This.
12644 * sysdeps/x86_64/bits/string.h: Removed.
12646 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12647 if not compiling for x86-64, but compiling for >= i486.
12649 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12650 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12652 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12653 New macro from Linux kernel 3.4.0.
12654 (FP_XSTATE_MAGIC2): Likewise.
12655 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12656 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12657 (struct _fpx_sw_bytes): New struct.
12658 (struct _xsave_hdr): Likewise.
12659 (struct _ymmh_state): Likewise.
12660 (struct _xstate): Likewise.
12662 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12663 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12664 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12665 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12666 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12667 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12669 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12670 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12671 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12672 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12673 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12674 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12676 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12679 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12680 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12681 (sysdep_headers): Include sys/platform/ppc.h.
12682 * sysdeps/powerpc/test-gettimebase.c: Test for
12683 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12684 * manual/Makefile (appendices): Include platform.texi.
12685 * manual/contrib.texi (Contributors): Update @node pointers.
12686 * manual/maint.texi (Maintenance): Likewise.
12687 (Platform): New node.
12688 * manual/platform.texi: New file. Document the new features.
12690 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12691 Jakub Jelinek <jakub@redhat.com>
12694 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12695 where __builtin_expect is unavailable.
12697 2012-06-03 David S. Miller <davem@davemloft.net>
12699 * stdlib/longlong.h: Updated from GCC.
12701 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12704 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12705 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12708 (GLIBC_2.16): Likewise.
12710 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12712 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12714 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12717 (default-abi): New variable.
12718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12719 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12721 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12723 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12725 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12728 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12729 definition. Document in comment.
12731 2012-06-01 David S. Miller <davem@davemloft.net>
12733 * stdlib/longlong.h: Updated from GCC.
12735 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12738 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12739 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12740 sys/debugreg.h sys/io.h here.
12741 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12742 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12744 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12745 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12746 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12747 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12748 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12749 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12751 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12752 Define only if __x86_64__ is defined.
12754 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12757 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12758 Use int64_t for variable i.
12759 * math/libm-test.inc (fmod_test): Add more tests.
12761 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12762 z computation is not scheduled after fetestexcept.
12763 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12764 Use math_force_eval instead of asm to ensure calculation scheduled
12765 before exception test.
12766 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12767 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12769 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12771 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12772 computation is not scheduled after fetestexcept.
12774 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12777 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12778 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12780 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12782 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12783 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12785 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12788 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12790 (__WCHAR_MIN): Support __WORDSIZE == 64.
12791 (__WCHAR_MAX): Likewise.
12793 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12794 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12797 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12798 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12801 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12802 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12804 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12805 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12807 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12808 Defined to 1 if __x86_64__ isn't defined.
12809 (_STAT_VER_LINUX_OLD): New.
12810 (st_atime): Remove duplicate.
12811 (st_mtime): Likewise.
12812 (st_ctime): Likewise.
12814 2012-05-31 David S. Miller <davem@davemloft.net>
12816 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12819 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12821 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12825 * elf/dl-reloc.c: Include <_itoa.h>.
12826 (_dl_reloc_bad_type): Remove use of INTUSE.
12827 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12828 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12829 * stdio-common/psiginfo.c (psiginfo): Likewise.
12830 * stdio-common/psignal.c (psignal): Likewise.
12831 * string/strsignal.c (strsignal): Likewise.
12832 * include/signal.h (_sys_siglist): Declare hidden proto.
12833 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12834 INTVARDEF with libc_hidden_data_def.
12835 * stdio-common/itoa-udigits.c: Likewise.
12836 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12837 (_itoa_lower_digits_internal): Remove declaration.
12838 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12839 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12840 (_sys_sigabbrev_internal): Remove aliases.
12841 (_sys_siglist): Define hidden alias.
12843 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12848 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12851 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12852 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12854 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12855 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12856 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12857 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12858 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12859 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12861 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12862 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12863 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12865 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12873 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12874 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12875 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12877 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12878 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12879 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12880 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12881 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12882 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12884 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12885 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12887 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12888 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12890 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12891 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12892 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12894 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12895 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12897 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12899 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12900 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12901 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12903 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12905 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12907 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12909 * math/math.h (M_El): Use two more decimal places.
12910 (M_LOG2El): Likewise.
12911 (M_LOG10El): Likewise.
12912 (M_LN2l): Likewise.
12913 (M_LN10l): Likewise.
12915 (M_PI_2l): Likewise.
12916 (M_PI_4l): Likewise.
12917 (M_1_PIl): Likewise.
12918 (M_2_PIl): Likewise.
12919 (M_2_SQRTPIl): Likewise.
12920 (M_SQRT2l): Likewise.
12921 (M_SQRT1_2l): Likewise.
12923 2012-05-31 David S. Miller <davem@davemloft.net>
12925 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12926 values between float registers.
12927 * sysdeps/sparc/sparc64/memset.S: Likewise.
12928 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12930 2012-05-31 Mike Frysinger <vapier@gentoo.org>
12932 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12933 -D_FORTIFY_SOURCE=1.
12934 (CPPFLAGS-tst-longjmp_chk.c): Define.
12935 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12936 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12937 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12938 CFLAGS-tst-wchar-h.c.
12940 2012-05-31 Marek Polacek <polacek@redhat.com>
12943 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12944 __endmntent_internal): Remove declaration.
12945 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12946 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12947 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12949 2012-05-30 David S. Miller <davem@davemloft.net>
12951 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12952 (___Q_simulate_exceptions): Use real FP ops rather than writing
12954 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12957 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12960 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12961 * sysdeps/x86/bits/xtitypes.h: This.
12963 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12964 * sysdeps/x86/bits/wordsize.h: This.
12966 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12967 * sysdeps/x86/bits/huge_vall.h: This.
12969 * sysdeps/i386/bits/select.h: Removed.
12970 * sysdeps/x86_64/bits/select.h: Renamed to ...
12971 * sysdeps/x86/bits/select.h: This.
12973 * sysdeps/i386/bits/setjmp.h: Removed.
12974 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12975 * sysdeps/x86/bits/setjmp.h: This.
12977 * sysdeps/i386/bits/mathdef.h: Removed.
12978 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12979 * sysdeps/x86/bits/mathdef.h: This.
12981 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12984 * include/sys/socket.h (__connect_internal)
12985 (__libc_sa_len_internal): Remove declaration.
12986 (__connect, __libc_sa_len): Declare hidden_proto.
12987 (SA_LEN): Remove use of INTUSE.
12988 * socket/connect.c: Add libc_hidden_def.
12989 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12990 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12991 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12993 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12994 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12995 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12996 of adding _internal alias.
12998 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13001 * sysdeps/i386/bits/link.h: Removed.
13002 * sysdeps/i386/bits/linkmap.h: Likewise.
13003 * sysdeps/x86_64/bits/link.h: Renamed to ...
13004 * sysdeps/x86/bits/link.h: This.
13005 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13006 * sysdeps/x86/bits/linkmap.h: This.
13008 * sysdeps/i386/bits/endian.h: Removed.
13009 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13010 * sysdeps/x86/bits/endian.h: This.
13012 * sysdeps/i386/bits/byteswap.h: Removed.
13013 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13014 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13015 * sysdeps/x86/bits/byteswap.h: This.
13016 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13017 * sysdeps/x86/bits/byteswap-16.h: This.
13018 * sysdeps/i386/Implies: Add x86.
13019 * sysdeps/x86_64/Implies: Likewise.
13021 2012-05-30 David S. Miller <davem@davemloft.net>
13023 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13024 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13025 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13026 (FP_TRAPPING_EXCEPTIONS): Define.
13027 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13028 (FP_TRAPPING_EXCEPTIONS): Define.
13029 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13030 subnormals only when inexact has been signalled or underflow
13031 exceptions are enabled.
13032 (_FP_PACK_CANONICAL): Likewise.
13034 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13037 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13038 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13040 2012-05-30 Richard Henderson <rth@twiddle.net>
13042 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13043 with #ifndef NOT_IN_libc.
13045 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13046 marked to avoid plt entry.
13048 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13051 * Makeconfig (default-abi): New macro.
13052 (abi-includes): Likewise.
13053 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13054 $(abi-$(default-abi)-lib-soname) for soname if defined.
13055 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13057 * Makefile (installed-stubs): Likewise.
13058 * include/stubs-biarch.h: Removed.
13059 * scripts/lib-names.awk: Only handle one library at a time.
13060 * scripts/soversions.awk: Remove WORDSIZE support.
13061 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13063 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13065 (syscall-list-default-condition): Likewise.
13066 (syscall-list-default-condition): Likewise.
13067 (syscall-list-includes): Likewise.
13068 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13069 syscall-list-* with abi-*. Handle undefined abi-variants.
13070 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13071 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13072 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13073 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13074 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13075 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13077 (syscall-list-32-options): Likewise.
13078 (syscall-list-32-condition): Likewise.
13079 (syscall-list-64-options): Likewise.
13080 (syscall-list-64-condition): Likewise.
13081 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13083 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13086 (abi-64-ld-soname): New macro.
13087 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13088 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13091 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13092 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13094 2012-05-30 Joseph Myers <joseph@codesourcery.com>
13096 * sysdeps/unix/sysv/linux/kernel-features.h
13097 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13098 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13099 include <kernel-features.h>.
13100 [!__NR_ftruncate64]: Remove conditional code.
13101 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13102 [__NR_ftruncate64]: Make code unconditional.
13103 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13104 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13105 include <kernel-features.h>.
13106 [!__NR_ftruncate64]: Remove conditional code.
13107 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13108 [__NR_ftruncate64]: Make code unconditional.
13109 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13111 include <kernel-features.h>.
13112 [!__NR_ftruncate64]: Remove conditional code.
13113 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13114 [__NR_ftruncate64]: Make code unconditional.
13115 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13117 include <kernel-features.h>.
13118 [!__NR_ftruncate64]: Remove conditional code.
13119 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13120 [__NR_ftruncate64]: Make code unconditional.
13121 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13123 * configure.in (libc_cv_fpie): Weaken to a compile test using
13124 LIBC_TRY_CC_OPTION.
13125 * configure: Regenerated.
13127 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13132 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13142 2012-05-27 David S. Miller <davem@davemloft.net>
13144 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13146 (__Q_simulate_exceptions): Return void. Change to simulate
13147 exceptions by writing into the %fsr.
13148 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13149 (__Qp_handle_exceptions): Likewise.
13151 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13152 __Qp_handle_exceptions.
13153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13154 __Qp_handle_exceptions.
13155 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13156 as unused and give dummy FP_RND_NEAREST initializer.
13157 (FP_INHIBIT_RESULTS): Define.
13158 (___Q_simulate_exceptions): Update declaration.
13159 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13161 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13162 as unused and give dummy FP_RND_NEAREST initializer.
13163 (__Qp_handle_exceptions): Update declaration.
13164 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13167 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13169 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13170 the temporary FPU control word.
13171 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13172 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13173 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13174 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13175 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13176 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13177 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13178 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13179 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13180 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13181 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13183 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13185 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13188 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13190 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13191 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13192 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13193 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13195 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13196 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13199 2012-05-27 Ulrich Drepper <drepper@gmail.com>
13201 * po/h.po: Update from translation team.
13203 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13205 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13207 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13208 handling of denormals.
13209 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13210 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13211 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13212 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13213 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13214 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13215 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13218 2012-05-26 Marek Polacek <polacek@redhat.com>
13221 * math/libm-test.inc (fma_test): Don't always expect underflow
13224 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13227 * elf/tst-execstack.c: Include stackinfo.h.
13228 (do_test): Adjust test case to ensure that pthread_getattr_np
13229 behaviour remains the same after marking stack executable.
13231 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13233 * sysdeps/unix/sysv/linux/kernel-features.h
13234 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13235 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13237 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13238 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13239 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13241 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13242 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13244 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13246 * configure.in: Define the default includes to being none.
13247 * configure: Regenerated.
13249 2012-05-25 Roland McGrath <roland@hack.frob.com>
13251 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13252 * sysdeps/x86_64/setjmp.S: Likewise.
13253 * sysdeps/i386/bsd-setjmp.S: Likewise.
13254 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13255 * sysdeps/i386/setjmp.S: Likewise.
13256 * sysdeps/i386/__longjmp.S: Likewise.
13257 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13258 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13260 * include/stap-probe.h: New file.
13261 * configure.in: Handle --enable-systemtap.
13262 * configure: Regenerated.
13263 * config.h.in (USE_STAP_PROBE): New #undef.
13264 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13265 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13266 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13268 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13271 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13272 to 2.4.0 where earlier.
13273 * sysdeps/unix/sysv/linux/configure: Regenerated.
13274 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13275 <kernel-features.h>.
13276 [__ASSUME_32BITUIDS]: Make code unconditional.
13277 [!__ASSUME_32BITUIDS]: Remove conditional code.
13278 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
13279 <kernel-features.h>.
13280 [__ASSUME_32BITUIDS]: Make code unconditional.
13281 [!__ASSUME_32BITUIDS]: Remove conditional code.
13282 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
13283 [__ASSUME_32BITUIDS]: Make code unconditional.
13284 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13285 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13286 <kernel-features.h>.
13287 [__ASSUME_32BITUIDS]: Make code unconditional.
13288 [!__ASSUME_32BITUIDS]: Remove conditional code.
13289 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13290 <kernel-features.h>.
13291 [__ASSUME_32BITUIDS]: Make code unconditional.
13292 [!__ASSUME_32BITUIDS]: Remove conditional code.
13293 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13294 <kernel-features.h>.
13295 [__ASSUME_32BITUIDS]: Make code unconditional.
13296 [!__ASSUME_32BITUIDS]: Remove conditional code.
13297 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13298 <kernel-features.h>.
13299 [__ASSUME_32BITUIDS]: Make code unconditional.
13300 [!__ASSUME_32BITUIDS]: Remove conditional code.
13301 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13302 <kernel-features.h>.
13303 [__ASSUME_32BITUIDS]: Make code unconditional.
13304 [!__ASSUME_32BITUIDS]: Remove conditional code.
13305 * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
13326 <kernel-features.h>.
13327 [__NR_setresgid] (__setresgid): Do not declare.
13328 [__ASSUME_32BITUIDS]: Make code unconditional.
13329 [!__ASSUME_32BITUIDS]: Remove conditional code.
13330 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13331 <kernel-features.h>.
13332 [__NR_setresuid] (__setresuid): Do not declare.
13333 [__ASSUME_32BITUIDS]: Make code unconditional.
13334 [!__ASSUME_32BITUIDS]: Remove conditional code.
13335 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13336 <kernel-features.h>.
13337 [__ASSUME_32BITUIDS]: Make code unconditional.
13338 [!__ASSUME_32BITUIDS]: Remove conditional code.
13339 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13340 <kernel-features.h>.
13341 [__ASSUME_32BITUIDS]: Make code unconditional.
13342 [!__ASSUME_32BITUIDS]: Remove conditional code.
13343 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13344 <kernel-features.h>.
13345 [__ASSUME_32BITUIDS]: Make code unconditional.
13346 [!__ASSUME_32BITUIDS]: Remove conditional code.
13347 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13348 <kernel-features.h>.
13349 [__ASSUME_32BITUIDS]: Make code unconditional.
13350 [!__ASSUME_32BITUIDS]: Remove conditional code.
13351 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13352 <kernel-features.h>.
13353 [__ASSUME_32BITUIDS]: Make code unconditional.
13354 [!__ASSUME_32BITUIDS]: Remove conditional code.
13355 * sysdeps/unix/sysv/linux/i386/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
13376 (__ASSUME_SETRESUID_SYSCALL): Remove.
13377 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13378 (__ASSUME_32BITUIDS): Likewise.
13379 (__ASSUME_LDT_WORKS): Likewise.
13380 (__ASSUME_O_DIRECTORY): Likewise.
13381 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13382 architecture but not kernel version.
13383 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13384 (__ASSUME_MMAP2_SYSCALL): Likewise.
13385 (__ASSUME_STAT64_SYSCALL): Likewise.
13386 (__ASSUME_IPC64): Likewise.
13387 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13388 <kernel-features.h>.
13389 [__ASSUME_32BITUIDS]: Make code unconditional.
13390 [!__ASSUME_32BITUIDS]: Remove conditional code.
13391 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13392 <kernel-features.h>.
13393 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13394 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13395 132096]: Remove conditional code.
13396 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13397 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13398 <kernel-features.h>.
13399 [__ASSUME_32BITUIDS]: Make code unconditional.
13400 [!__ASSUME_32BITUIDS]: Remove conditional code.
13401 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13402 <kernel-features.h>.
13403 [__ASSUME_32BITUIDS]: Make code unconditional.
13404 [!__ASSUME_32BITUIDS]: Remove conditional code.
13405 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13406 <kernel-features.h>.
13407 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13409 (__setresgid): Do not declare.
13410 [__ASSUME_32BITUIDS]: Make code unconditional.
13411 [!__ASSUME_32BITUIDS]: Remove conditional code.
13412 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13413 <kernel-features.h>.
13414 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13416 (__setresuid): Do not declare.
13417 [__ASSUME_32BITUIDS]: Make code unconditional.
13418 [!__ASSUME_32BITUIDS]: Remove conditional code.
13419 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13420 <kernel-features.h>.
13421 [__ASSUME_32BITUIDS]: Make code unconditional.
13422 [!__ASSUME_32BITUIDS]: Remove conditional code.
13423 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13424 <kernel-features.h>.
13425 [__ASSUME_32BITUIDS]: Make code unconditional.
13426 [!__ASSUME_32BITUIDS]: Remove conditional code.
13428 2012-05-25 Richard Henderson <rth@twiddle.net>
13430 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13431 dl_hwcap to ifunc resolver.
13432 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13434 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13435 dl_hwcap to ifunc resolver.
13436 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13438 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13441 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13442 for |x| <= 2**-26, not 2**-57.
13443 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13446 2012-05-24 Jeff Law <law@redhat.com>
13448 * stdio-common/Makefile (tests): Add bug25.
13449 * stdio-common/bug25.c: New test.
13451 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13454 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13455 multiple of MALLOC_ALIGNMENT in size.
13456 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13458 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13460 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13462 (FILENAME_MAX): Use macro-int-constant.
13463 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13464 (_IOFBF): Use macro-int-constant.
13465 (_IOLBF): Likewise.
13466 (_IONBF): Likewise.
13467 (SEEK_CUR): Likewise.
13468 (SEEK_END): Likewise.
13469 (SEEK_SET): Likewise.
13470 (TMP_MAX): Likewise.
13471 (EOF): Use macro-int-constant. Require < 0.
13472 (NULL): Use macro-constant. Require == 0.
13473 (stdin): Require type to be FILE *.
13474 (stdout): Likewise.
13475 (stderr): Likewise.
13476 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13477 macro-int-constant.
13478 (EXIT_SUCCESS): Likewise.
13479 (NULL): Use macro-constant. Require == 0.
13480 (RAND_MAX): Use macro-int-constant.
13481 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13482 [C99-based standards] (strtof): Require function.
13483 [C99-based standards] (strtold): Likewise.
13484 [C99-based standards] (strtoll): Likewise.
13485 [C99-based standards] (strtoull): Likewise.
13486 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13487 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13488 [ISO || ISO99 || ISO11] (math.h): Likewise.
13489 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13490 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13491 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13493 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13496 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13497 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13498 * intl/dgettext.c (DCGETTEXT): Likewise.
13499 * intl/gettext.c (DCGETTEXT): Likewise.
13500 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13501 * posix/regex_internal.h (gettext): Likewise.
13502 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13503 Remove declaration.
13504 * include/argz.h (__argz_count_internal)
13505 (__argz_stringify_internal): Remove declaration.
13506 (__argz_count, __argz_stringify): Declare hidden proto.
13507 * intl/dcgettext.c: Remove use of INTDEF.
13508 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13509 * string/argz-stringify.c: Likewise.
13510 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13511 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13512 Declare hidden proto.
13513 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13514 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13515 Declare hidden proto.
13516 * include/stdio.h (__asprintf_internal): Don't declare.
13517 (__asprintf): Don't define as macro. Declare hidden proto.
13518 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13519 (__fsetlocking): Declare hidden proto.
13520 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13521 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13523 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13524 (_IO_setlinebuf): Remove use of INTUSE.
13525 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13526 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13527 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13528 Remove declaration.
13529 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13530 (_IO_do_flush): Remove use of INTUSE.
13531 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13532 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13533 (_IO_adjust_column, _IO_least_wmarker)
13534 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13535 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13536 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13537 (_IO_default_doallocate, _IO_wdefault_doallocate)
13538 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13539 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13540 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13541 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13542 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13543 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13544 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13545 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13546 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13547 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13548 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13549 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13550 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13552 (_IO_flush_all_internal, _IO_adjust_column_internal)
13553 (_IO_default_uflow_internal, _IO_default_finish_internal)
13554 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13555 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13556 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13557 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13558 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13559 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13560 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13561 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13562 (_IO_file_close_internal, _IO_file_close_it_internal)
13563 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13564 (_IO_file_init_internal, _IO_file_attach_internal)
13565 (_IO_file_fopen_internal, _IO_file_read_internal)
13566 (_IO_file_sync_internal, _IO_file_seek_internal)
13567 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13568 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13569 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13570 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13571 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13572 (_IO_list_all_internal, _IO_link_in_internal)
13573 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13574 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13575 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13576 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13577 (_IO_do_write_internal, _IO_padn_internal)
13578 (_IO_getline_info_internal, _IO_getline_internal)
13579 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13580 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13581 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13582 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13583 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13584 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13585 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13586 with libc_hidden_ver, remove use of INTUSE.
13587 * libio/genops.c: Likewise.
13588 * libio/freopen.c: Likewise.
13589 * libio/freopen64.c: Likewise.
13590 * libio/iofclose.c: Likewise.
13591 * libio/iofdopen.c: Likewise.
13592 * libio/iofflush.c: Likewise.
13593 * libio/iofflush_u.c: Likewise.
13594 * libio/iofgets.c: Likewise.
13595 * libio/iofgets_u.c: Likewise.
13596 * libio/iofopen.c: Likewise.
13597 * libio/iofopncook.c: Likewise.
13598 * libio/iofread.c: Likewise.
13599 * libio/iofread_u.c: Likewise.
13600 * libio/ioftell.c: Likewise.
13601 * libio/iofwrite.c: Likewise.
13602 * libio/iogetline.c: Likewise.
13603 * libio/iogets.c: Likewise.
13604 * libio/iogetwline.c: Likewise.
13605 * libio/iopadn.c: Likewise.
13606 * libio/iopopen.c: Likewise.
13607 * libio/ioseekoff.c: Likewise.
13608 * libio/ioseekpos.c: Likewise.
13609 * libio/iosetbuffer.c: Likewise.
13610 * libio/iosetvbuf.c: Likewise.
13611 * libio/ioungetc.c: Likewise.
13612 * libio/ioungetwc.c: Likewise.
13613 * libio/iovdprintf.c: Likewise.
13614 * libio/iovsprintf.c: Likewise.
13615 * libio/iovsscanf.c: Likewise.
13616 * libio/memstream.c: Likewise.
13617 * libio/obprintf.c: Likewise.
13618 * libio/oldfileops.c: Likewise.
13619 * libio/oldiofclose.c: Likewise.
13620 * libio/oldiofdopen.c: Likewise.
13621 * libio/oldiofopen.c: Likewise.
13622 * libio/oldiopopen.c: Likewise.
13623 * libio/oldstdfiles.c: Likewise.
13624 * libio/putc.c: Likewise.
13625 * libio/setbuf.c: Likewise.
13626 * libio/setlinebuf.c: Likewise.
13627 * libio/stdfiles.c: Likewise.
13628 * libio/strops.c: Likewise.
13629 * libio/vasprintf.c: Likewise.
13630 * libio/vscanf.c: Likewise.
13631 * libio/vsnprintf.c: Likewise.
13632 * libio/vswprintf.c: Likewise.
13633 * libio/wfiledoalloc.c: Likewise.
13634 * libio/wfileops.c: Likewise.
13635 * libio/wgenops.c: Likewise.
13636 * libio/wmemstream.c: Likewise.
13637 * libio/wstrops.c: Likewise.
13638 * libio/__fpurge.c: Likewise.
13639 * libio/__fsetlocking.c: Likewise.
13640 * assert/assert.c: Likewise.
13641 * debug/fgets_chk.c: Likewise.
13642 * debug/fgets_u_chk.c: Likewise.
13643 * debug/fread_chk.c: Likewise.
13644 * debug/fread_u_chk.c: Likewise.
13645 * debug/gets_chk.c: Likewise.
13646 * debug/obprintf_chk.c: Likewise.
13647 * debug/vasprintf_chk.c: Likewise.
13648 * debug/vdprintf_chk.c: Likewise.
13649 * debug/vsnprintf_chk.c: Likewise.
13650 * debug/vsprintf_chk.c: Likewise.
13651 * malloc/mtrace.c: Likewise.
13652 * misc/error.c: Likewise.
13653 * misc/syslog.c: Likewise.
13654 * stdio-common/asprintf.c: Likewise.
13655 * stdio-common/fxprintf.c: Likewise.
13656 * stdio-common/getw.c: Likewise.
13657 * stdio-common/isoc99_fscanf.c: Likewise.
13658 * stdio-common/isoc99_scanf.c: Likewise.
13659 * stdio-common/isoc99_vfscanf.c: Likewise.
13660 * stdio-common/isoc99_vscanf.c: Likewise.
13661 * stdio-common/isoc99_vsscanf.c: Likewise.
13662 * stdio-common/printf-prs.c: Likewise.
13663 * stdio-common/printf_fp.c: Likewise.
13664 * stdio-common/printf_fphex.c: Likewise.
13665 * stdio-common/printf_size.c: Likewise.
13666 * stdio-common/putw.c: Likewise.
13667 * stdio-common/scanf.c: Likewise.
13668 * stdio-common/sprintf.c: Likewise.
13669 * stdio-common/tmpfile.c: Likewise.
13670 * stdio-common/vfprintf.c: Likewise.
13671 * stdio-common/vfscanf.c: Likewise.
13672 * stdlib/strfmon_l.c: Likewise.
13673 * sunrpc/openchild.c: Likewise.
13674 * sunrpc/xdr_stdio.c: Likewise.
13675 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13676 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13678 2012-05-24 Roland McGrath <roland@hack.frob.com>
13680 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13682 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13683 in the third column, to generate for the shared library an IFUNC
13684 that uses _dl_vdso_vsym.
13685 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13686 * Makeconfig (object-suffixes-noshared): New variable.
13688 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13689 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13690 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13691 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13694 * include/sys/time.h (__gettimeofday): Remove macro.
13695 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13696 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13698 (__gettimeofday): Add libc_hidden_def.
13699 (gettimeofday): Add libc_hidden_weak.
13700 * sysdeps/mach/gettimeofday.c: Likewise.
13701 * sysdeps/posix/gettimeofday.c: Likewise.
13702 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13703 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13704 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13705 (__gettimeofday_internal): Remove strong_alias.
13706 (__gettimeofday): Add libc_hidden_def.
13707 (gettimeofday): Add libc_hidden_weak.
13708 * sysdeps/unix/syscalls.list (gettimeofday):
13709 Remove __gettimeofday_internal alias.
13711 2012-05-24 Daniel Jacobowitz <drow@false.org>
13712 H.J. Lu <hongjiu.lu@intel.com>
13715 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13716 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13717 (largebin_index_32_big): New.
13718 (largebin_index): Use it for 16-byte alignment.
13719 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13720 correction with front_misalign.
13722 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13750 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13751 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13753 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13757 * math/libm-test.inc (exp_test): Add test from bug 14036.
13758 (pow_test): Add test from bug 10846.
13760 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13762 (special_function): Do not include flags in test name.
13763 (parse_args): Likewise.
13764 * sysdeps/i386/fpu/libm-test-ulps: Update.
13765 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13766 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13767 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13770 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13772 * math/libm-test.inc ("Philosophy"): Update comment about
13774 (UNDERFLOW_EXCEPTION): New macro.
13775 (UNDERFLOW_EXCEPTION_OK): Likewise.
13776 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13777 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13778 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13779 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13780 (INVALID_EXCEPTION_OK): Update value.
13781 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13782 (OVERFLOW_EXCEPTION_OK): Likewise.
13783 (IGNORE_ZERO_INF_SIGN): Likewise.
13784 (test_exceptions): Handle underflow exceptions.
13785 (acos_test): Update for underflow exception expectations.
13786 (cexp_test): Likewise.
13787 (clog_test): Likewise.
13788 (clog10_test): Likewise.
13789 (csqrt_test): Likewise.
13790 (ctan_test): Likewise.
13791 (ctanh_test): Likewise.
13792 (exp_test): Likewise.
13793 (exp10_test): Likewise.
13794 (exp2_test): Likewise.
13795 (expm1_test): Likewise.
13796 (fma_test): Likewise.
13797 (j0_test): Likewise.
13798 (jn_test): Likewise.
13799 (nexttoward_test): Likewise.
13800 (pow_test): Likewise.
13801 (scalbn_test): Likewise.
13802 (scalbln_test): Likewise.
13803 (tan_test): Likewise.
13804 (y1_test): Likewise.
13805 * sysdeps/i386/fpu/libm-test-ulps: Update.
13806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13808 2012-05-23 David S. Miller <davem@davemloft.net>
13810 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13811 (__libc_sigaction): Remove unused local variables.
13813 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13815 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13817 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13819 mktime: avoid signed integer overflow
13820 * time/mktime.c (__mktime_internal): Do not mishandle the case
13821 where diff == INT_MIN.
13823 mktime: simplify computation of average
13824 * time/mktime.c (ranged_convert): Use new time_t_avg function
13825 instead of rolling our own (probably-slower) code.
13827 mktime: do not assume signed right shift propagates sign bit
13828 * time/mktime.c (isdst_differ): New static function.
13829 (__mktime_internal): No need to normalize tm_isdst now.
13830 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13833 mktime: merge another wrapv change from gnulib
13834 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13835 from some compilers.
13837 mktime: remove incorrect attempt at unusual arithmetics
13838 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13839 The code didn't really work on such machines anyway.
13840 (TYPE_MINIMUM): Assume two's complement.
13841 (twos_complement_arithmetic): Verify that long_int and time_t
13842 are two's complement (or unsigned, in the latter case).
13844 mktime: check signed shifts on long_int and time_t, too
13845 * time/mktime.c (SHR): Check that shifts work as desired
13846 on the types long_int and time_t too, as SHR is used on
13849 mktime: do not assume 'long' is wide enough
13850 * time/mktime.c (verify): Move decl up.
13851 (long_int): New type.
13852 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13853 to remove assumption in the code that 'long' is wide enough to
13854 store year values. This assumption is not true on x32 and on
13855 some non-glibc platforms.
13857 mktime: merge wrapv change from gnulib
13858 * time/mktime.c (WRAPV): New macro.
13859 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13860 (guess_time_tm, __mktime_internal): Do not assume that signed
13861 integer overflow wraps around; modern compilers generate code
13862 where this assumption is no longer valid.
13864 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13866 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13867 Replace "jmp L(pseudo_end)" with "ret".
13868 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13871 2012-05-23 Andreas Jaeger <aj@suse.de>
13873 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13874 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13876 2012-05-23 Andreas Jaeger <aj@suse.de>
13877 Maximilian Attems <max@stro.at>
13879 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13882 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13884 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13885 code so that pseudo_end is just ret and the stack pointer is
13886 correct also for static library in error case.
13888 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13890 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13891 move to syscalls.list.
13892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13897 * manual/install.texi (Running make install): Do not mention Linux
13898 kernel version for which pt_chown is not needed.
13899 (Linux): Do not mention problems with nscd with 2.0 kernels.
13900 * INSTALL: Regenerated.
13902 2012-05-23 Andreas Jaeger <aj@suse.de>
13904 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13905 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13907 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13908 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13909 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13910 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13911 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13912 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13913 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13914 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13915 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13916 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13917 * sysdeps/unix/sysv/linux/bits/in.h
13918 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13920 2012-05-22 Roland McGrath <roland@hack.frob.com>
13922 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13923 (PREPARE_VERSION): Just use assert instead, it will be elided
13924 under [NDEBUG] anyway.
13926 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13928 * sysdeps/unix/sysv/linux/Makefile: Include
13929 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13930 (sysdep_routines): Remove sysctl.
13931 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13932 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13933 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13934 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13935 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13937 2012-05-22 Andreas Jaeger <aj@suse.de>
13939 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13940 that pseudo_end is just ret and the stack pointer is correct also
13941 for static library in error case.
13943 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13946 * nss/nsswitch.c (defconfig_entries): New variable.
13947 (__nss_database_lookup): Don't leak defconfig entries.
13948 (nss_parse_service_list): Don't leak on error paths.
13949 (free_database_entries): New function.
13950 (free_defconfig): New function.
13951 (free_mem): Move common code to free_database_entries.
13953 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13955 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13957 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13959 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13960 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13961 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13963 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13964 (INTERNAL_SYSCALL_TYPES): Likewise.
13965 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13966 (LOAD_REGS_TYPES_[1-6]): Likewise.
13967 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13968 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13970 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13972 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13973 copysignl for GLIBC_2_0.
13974 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13975 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13976 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13977 logbl for GLIBC_2_0.
13978 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13979 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13981 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13983 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13984 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13986 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13989 * time/mktime.c: Update copyright years.
13991 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13993 mktime: merge comment-quoting-style change from gnulib
13994 * time/mktime.c: Quote 'like this' in comments.
13995 The GNU coding standards suggest that we no longer quote `like this',
13996 as "`" and "'" are typically rendered asymmetrically nowadays.
13997 The typical gnulib style is to quote 'like this' when quoting
13998 code, and "like this" when quoting English.
14000 * time/mktime.c (compile-command): Add "-I.".
14002 mktime: merge mktime-internal.h change from gnulib
14003 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14005 mktime: merge time_r change from gnulib
14006 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14008 mktime: merge DEBUG change from gnulib
14009 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14010 case system <time.h> has a #define.
14012 mktime: merge <sys/types.h> change from gnulib
14013 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14014 since <time.t> is now guaranteed to define time_t.
14016 mktime: merge HAVE_CONFIG_H change from gnulib
14017 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14019 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14024 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14026 (struct rusage): Use anonymous union to pad each field to
14029 2012-05-21 David S. Miller <davem@davemloft.net>
14031 * Makefules (o-iterator): Remove .s cases.
14032 (compile-command.s): Delete.
14033 (COMPILE.s): Delete.
14034 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14036 2012-05-21 Joseph Myers <joseph@codesourcery.com>
14038 * configure.in (libc_cv_predef_stack_protector): Only consider
14039 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14040 * configure: Regenerated.
14042 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14044 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14045 New macro. Use R*LP on int and pointer.
14046 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
14047 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14048 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
14049 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14051 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14052 [__WORDSIZE_TIME64_COMPAT32] instead of
14053 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14054 (struct utmp): Likewise.
14055 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14056 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14058 (__WORDSIZE_TIME64_COMPAT32): This.
14059 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14060 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14061 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14062 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14063 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14064 (__WORDSIZE_TIME64_COMPAT32): New macro.
14066 2012-05-21 Andreas Jaeger <aj@suse.de>
14068 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14069 only if [SHARED]. Add prototype for __wcschr_ia32.
14071 2012-05-21 Roland McGrath <roland@hack.frob.com>
14073 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14074 of %rbp unmolested in the jmp_buf while mangling the low bits.
14075 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14076 unmolested high bits of %rbp while demangling the low bits.
14077 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14079 2012-05-21 Andreas Jaeger <aj@suse.de>
14081 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14082 * sunrpc/svc_simple.c: Use it for registerrpc.
14083 * sunrpc/xcrypt.c: Use it for passwd2des.
14085 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14087 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14089 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14090 Don't define if [__SYSCALL_WORDSIZE != 32].
14091 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14094 2012-05-21 Bruno Haible <bruno@clisp.org>
14095 Andreas Jaeger <aj@suse.de>
14097 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14098 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14099 inptr and inend for must_buffer_ch.
14100 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14101 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14102 * stdio-common/Makefile (tests): Remove bug15.
14103 (bug15-ENV): Remove macro.
14104 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14107 2012-05-19 Andreas Jaeger <aj@suse.de>
14108 Roland McGrath <roland@hack.frob.com>
14110 * manual/contrib.texi: Completely rewritten. It contains now an
14111 alphabetical list of contributors and their contributions.
14113 2012-05-21 Richard Henderson <rth@twiddle.net>
14115 * misc/getauxval.c (__getauxval): Use unsigned long int.
14116 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14117 (getauxval): Use unsigned long int.
14119 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14121 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14123 2012-05-21 Roland McGrath <roland@hack.frob.com>
14125 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14126 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14127 __alignof__ (long double).
14129 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14133 2012-05-20 Richard Henderson <rth@twiddle.net>
14135 * misc/getauxval.c: New file.
14136 * misc/sys/auxv.h: New file.
14137 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14138 (routines): Add getauxval.
14139 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14140 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14141 * elf/dl-sysdep.c (_dl_auxv): Remove.
14142 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14143 * elf/dl-support.c (_dl_auxv): New variable.
14144 (_dl_aux_init): Initialize it.
14145 * manual/startup.texi (Auxiliary Vector): New node.
14146 * sysdeps/generic/bits/hwcap.h: New file.
14147 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14148 * sysdeps/powerpc/sysdep.h: ... here. Include it.
14149 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14150 * sysdeps/sparc/sysdep.h: ... here. Include it.
14151 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14152 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
14153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14158 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14164 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14168 2012-05-19 David S. Miller <davem@davemloft.net>
14170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14172 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14175 * math/s_ccosh.c: Include <float.h>
14176 (__ccosh): Avoid internal overflow calculating sinh and cosh
14177 values before multiplying by sin and cos values.
14178 * math/s_ccoshf.c: Likewise.
14179 * math/s_ccoshl.c: Likewise.
14180 * math/s_csin.c: Likewise.
14181 * math/s_csinf.c: Likewise.
14182 * math/s_csinl.c: Likewise.
14183 * math/s_csinh.c: Likewise.
14184 * math/s_csinhf.c: Likewise.
14185 * math/s_csinhl.c: Likewise.
14186 * math/libm-test.inc (ccos_test): Add more tests.
14187 (ccosh_test): Likewise.
14188 (csin_test): Likewise.
14189 (csinh_test): Likewise.
14190 * sysdeps/i386/fpu/libm-test-ulps: Update.
14191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14193 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14195 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14196 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14198 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14200 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14202 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14203 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14204 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14205 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14206 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14207 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14208 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14209 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14210 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14211 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14212 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14213 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14214 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14215 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14216 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14217 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14218 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14219 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14220 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14221 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14222 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14223 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14224 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14225 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14226 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14227 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14228 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14229 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14230 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14231 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14232 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14234 2012-05-18 Andreas Jaeger <aj@suse.de>
14236 * csu/.gitignore: Delete.
14238 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14240 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14241 (timex): Use __syscall_slong_t.
14243 2012-05-18 Andreas Jaeger <aj@suse.de>
14244 Carlos O'Donell <carlos_odonell@mentor.com>
14246 * manual/install.texi (Configuring and compiling): Update
14247 description about files modified in the source directory.
14248 * INSTALL: Regenerated.
14250 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14252 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14253 value. Use "or" to set return value to -1.
14254 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14255 negate return value.
14257 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14259 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14260 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14261 failure if the compiler has Graphite support disabled.
14262 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14264 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14265 CFLAGS-memmove.c): Likewise.
14266 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14269 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14271 * sysdeps/x86_64/x32/_itoa.h: New file.
14273 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14274 getdents system call only if kernel and user dirents have the
14275 same d_ino and d_off.
14277 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14278 LLONG_MAX != LONG_MAX.
14279 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14280 (_fitoa_word): Likewise.
14282 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14284 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14285 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14286 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14288 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14289 include <bits/wordsize.h>. Check __x86_64__ instead of
14291 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14292 if __x86_64__ is defined. Use anonymous union on fpstate.
14294 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14297 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14299 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14300 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14301 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14302 Refer to _rtld_local_ro instead of _rtld_global_ro.
14303 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14305 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14307 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14309 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14310 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14311 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14313 * sysdeps/powerpc/powerpc32/dl-machine.c
14314 (__elf_machine_runtime_setup) [PROF]: Don't reference
14317 2012-05-18 Andreas Jaeger <aj@suse.de>
14319 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14320 function only available for GCCs before 3.4 since GCC 3.4
14321 introduced a builtin.
14323 (llrintf): Likewise.
14324 (llrint): Likewise.
14331 (nearbyint): Likewise.
14332 (nearbyintf): Likewise.
14336 (floorf): Likewise.
14338 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14340 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14341 on both fields and cast pointer to __syscall_ulong_t.
14343 * bits/types.h (__fsword_t): New type.
14344 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14345 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14346 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14347 (__FSWORD_T_TYPE): Likewise.
14348 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14349 (__FSWORD_T_TYPE): Likewise.
14350 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14351 (__FSWORD_T_TYPE): Likewise.
14352 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14353 (__FSWORD_T_TYPE): Likewise.
14354 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14355 __SWORD_TYPE with __fsword_t.
14356 (statfs64): Likewise.
14358 2012-05-17 David S. Miller <davem@davemloft.net>
14360 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14362 2012-05-17 Andreas Jaeger <aj@suse.de>
14364 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14367 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14369 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14371 2012-05-17 Andreas Jaeger <aj@suse.de>
14373 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14376 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14378 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14380 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14382 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14383 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14385 2012-05-17 Andreas Jaeger <aj@suse.de>
14386 Carlos O'Donell <carlos_odonell@mentor.com>
14389 * sysdeps/x86_64/multiarch/init-arch.h
14390 (bit_YMM_Usable): Rename to...
14391 (bit_AVX_Usable): ... this.
14392 (bit_FMA4_Usable): New macro.
14393 (bit_XMM_state): New macro.
14394 (bit_YMM_state): New macro.
14395 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14396 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14397 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14398 (CPUID_OSXSAVE): New macro.
14399 (CPUID_AVX): New macro.
14400 (CPUID_FMA4): New macro.
14401 (index_YMM_Usable): Rename to...
14402 (index_AVX_Usable): ... this.
14403 (HAS_AVX): Use HAS_ARCH_FEATURE.
14404 (HAS_FMA4): Likewise.
14405 (HAS_YMM_USABLE): Remove.
14406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14407 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14409 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14410 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14411 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14412 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14413 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14415 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14417 * math/libm-test.c: Support platforms without multiple rounding modes.
14418 * math/bug-nextafter.c: Support platforms without FP exceptions.
14419 * math/bug-nexttoward.c: Likewise.
14420 * math/test-fenv.c: Likewise.
14421 * math/test-misc.c: Likewise.
14422 * stdlib/bug-getcontext.c: Likewise.
14424 2012-05-17 Andreas Jaeger <aj@suse.de>
14426 * manual/examples/search.c (critter_cmp): Change signature to
14428 * manual/string.texi (Collation Functions): Likewise.
14430 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14432 * bits/types.h: Fold copyright years.
14433 * bits/typesizes.h: Likewise.
14434 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14435 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14436 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14437 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14438 * time/time.h: Likewise.
14440 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14443 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14444 in instead of returning them. Return void.
14445 (__libc_mallinfo): Accumulate over all arenas.
14446 (__malloc_stats): Adjust for change in int_mallinfo interface.
14448 2012-05-16 Roland McGrath <roland@hack.frob.com>
14451 * configure.in (NM): Add AC_CHECK_TOOL for it.
14452 (libc_extra_cflags): New substituted variable.
14453 Check for -fstack-protector being used implicitly.
14454 * configure: Regenerated.
14455 * config.make.in (config-extra-cflags): New variable,
14456 gets @libc_extra_cflags@.
14457 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14460 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14461 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14462 * configure: Regenerated.
14463 * config.make.in (CPPUNDEFS): New substituted variable.
14464 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14465 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14466 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14468 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14470 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14471 (mq_attr): Use __syscall_slong_t.
14473 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14475 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14476 Check __x86_64__ instead of __WORDSIZE.
14477 (_STAT_VER_LINUX): Likewise.
14478 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14479 __syscall_ulong_t and __syscall_slong_t.
14480 (stat64): Likewise.
14482 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14484 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14486 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14488 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14490 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14492 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14495 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14496 include <bits/wordsize.h>. Check __x86_64__ instead of
14498 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14500 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14502 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14503 include <bits/wordsize.h>. Check __x86_64__ instead of
14505 (user_regs_struct): Use "__extension__ unsigned long long"
14506 instead of "unsigned long" if __x86_64__ is defined.
14507 (user): Likewise. Pad after pointer field if __ILP32__ is
14510 2012-05-16 Joseph Myers <joseph@codesourcery.com>
14512 * configure.in (makeinfo): Require version 4.5 or later. Allow
14514 * configure: Regenerated.
14515 * manual/install.texi (texinfo): Increase version requirement to
14517 * INSTALL: Regenerated.
14519 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14521 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14523 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14525 * sysdeps/x86_64/x32/ffs.c: New file.
14527 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14529 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14530 defined. Use __syscall_ulong_t.
14531 (shminfo): Use __syscall_ulong_t.
14532 (shm_info): Likewise.
14534 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14537 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14539 (msgqnum_t): Use __syscall_ulong_t.
14540 (msglen_t): Likewise.
14541 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14544 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14545 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14547 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14549 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14550 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14552 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14555 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14556 include <bits/wordsize.h>. Check __x86_64__ instead of
14559 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14560 "unsigned long long int" if __x86_64__ is defined.
14561 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14563 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14564 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14565 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14567 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14569 (GET_PC): Cast to uintptr_t first.
14570 (GET_FRAME): Likewise.
14571 (GET_STACK): Likewise.
14573 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14574 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14575 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14576 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14577 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14578 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14579 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14580 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14581 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14582 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14583 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14584 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14585 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14586 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14587 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14588 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14589 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14590 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14591 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14592 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14593 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14594 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14595 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14596 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14597 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14598 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14599 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14600 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14601 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14603 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14605 * Makerules (+depfiles): Also collect depfiles from .oS in
14607 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14608 .oS, $(libnldbl-routines)).
14610 * Makerules (native-compile-mkdep-flags): Define.
14611 * sunrpc/Makefile (extra-objs): Add $(addprefix
14612 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14613 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14614 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14615 calling $(make-target-directory).
14617 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14619 * bits/types.h (__snseconds_t): Removed.
14620 * time/time.h (struct timespec): Replace __snseconds_t with
14622 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14623 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14625 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14626 (__SNSECONDS_T_TYPE): Likewise.
14627 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14628 (__SNSECONDS_T_TYPE): Likewise.
14629 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14630 (__SNSECONDS_T_TYPE): Likewise.
14632 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14634 * sysdeps/mach/hurd/bits/typesizes.h
14635 (__SYSCALL_SLONG_TYPE): New macro.
14636 (__SYSCALL_ULONG_TYPE): Likewise.
14638 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14640 * bits/types.h (__syscall_slong_t): New type.
14641 (__syscall_ulong_t): Likewise.
14643 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14644 (__SYSCALL_ULONG_TYPE): Likewise.
14645 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14646 (__SYSCALL_SLONG_TYPE): Likewise.
14647 (__SYSCALL_ULONG_TYPE): Likewise.
14648 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14649 (__SYSCALL_SLONG_TYPE): Likewise.
14650 (__SYSCALL_ULONG_TYPE): Likewise.
14651 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14652 (__SYSCALL_SLONG_TYPE): Likewise.
14653 (__SYSCALL_ULONG_TYPE): Likewise.
14655 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14657 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14658 Add sigaltstack-offsets.sym.
14659 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14660 <sigaltstack-offsets.h>.
14661 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14662 longjmp_msg pointer.
14663 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14664 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14666 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14668 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14670 * elf/stackguard-macros.h: Remove file.
14671 * sysdeps/generic/stackguard-macros.h: New file.
14672 * sysdeps/i386/stackguard-macros.h: Likewise.
14673 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14674 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14675 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14676 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14677 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14678 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14679 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14680 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14681 <elf/stackguard-macros.h>.
14684 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14685 __aligned__ in attribute.
14686 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14687 (gregset_t): Likewise.
14689 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14691 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14692 * sysdeps/x86_64/64/Implies-after: Here. New file.
14693 * sysdeps/x86_64/x32/Implies-after: New file.
14695 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14697 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14698 and access return value for _dl_profile_fixup. Use R10_LP to
14701 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14703 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14705 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14707 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14708 * sysdeps/x86_64/x32/sysdep.h: New file.
14710 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14712 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14713 * sysdeps/x86_64/setjmp.S: Likewise.
14715 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14717 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14718 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14719 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14720 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14721 remove unused global constant.
14723 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14725 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14726 include of <not-cancel.h>.
14728 2012-05-15 Roland McGrath <roland@hack.frob.com>
14730 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14732 2012-05-15 Jeff Law <law@redhat.com>
14733 Andreas Jaeger <aj@suse.de>
14736 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14738 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14739 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14740 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14741 code changing __hst_map_handle.map.
14743 2012-05-15 Roland McGrath <roland@hack.frob.com>
14745 * configure.in (sysnames): Look for Implies-before and Implies-after
14747 * configure: Regenerated.
14749 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14751 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14752 8-byte data alignment with LP_SIZE alignment.
14754 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14756 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14759 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14761 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14763 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14765 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14766 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14767 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14769 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14771 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14773 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14774 (stackinfo_sub_sp): Likewise.
14776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14778 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14781 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14783 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14788 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14791 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14793 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14797 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14798 into R11_LP and load __x86_64_shared_cache_size_half into
14801 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14803 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14806 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14810 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14812 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14814 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14815 powerpc32/power7/fpu/s_logb.c via #include.
14816 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14817 powerpc32/power7/fpu/s_logbf.c via #include.
14818 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14819 powerpc32/power7/fpu/s_logbl.c via #include.
14821 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14823 * README.libm: Remove file.
14825 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14827 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14828 count for x32. Use R*_LP and omit operand-size suffix.
14830 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14832 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14833 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14834 * sysdeps/x86_64/x32/shlib-versions: New file.
14836 2012-05-14 Roland McGrath <roland@hack.frob.com>
14838 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14839 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14840 Use _dl_fatal_printf instead.
14842 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14844 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14845 set if not set by the user. Do not allow for being unset.
14846 * sysdeps/unix/sysv/linux/configure: Regenerated.
14848 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14850 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14851 the `q' suffix from lea and replace .quad with ASM_ADDR.
14853 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14855 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14856 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14858 (PTR_DEMANGLE): Likewise.
14860 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14862 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14864 (ASM_ADDR): Likewise.
14865 (RAX_LP): Likewise.
14866 (RBP_LP): Likewise.
14867 (RBX_LP): Likewise.
14868 (RCX_LP): Likewise.
14869 (RDI_LP): Likewise.
14870 (RSI_LP): Likewise.
14871 (RSP_LP): Likewise.
14874 (R10_LP): Likewise.
14875 (R10_LP): Likewise.
14876 (R11_LP): Likewise.
14877 (R12_LP): Likewise.
14878 (R13_LP): Likewise.
14879 (R14_LP): Likewise.
14880 (R15_LP): Likewise.
14882 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14884 * sysdeps/x86_64/x32/dl-machine.h: New file.
14886 2012-05-14 Andreas Jaeger <aj@suse.de>
14888 * manual/Makefile (subdir): Remove export of subdir.
14889 (all): Remove target.
14890 (.PHONY): Remove all from list.
14891 (mkinstalldirs): Remove.
14892 (.PHONY): Remove installdirs from list.
14893 ($(inst_infodir)/libc.info): Use make-target-directory.
14894 (installdirs): Remove.
14895 (subdir_%): Remove.
14896 (glibc-targets): Remove.
14899 ($(objpfx)stubs ../po/manual.pot): Remove.
14900 ($(objpfx)stamp%): Remove.
14901 (make-target-directory): Remove.
14902 (subdir_install): Remove.
14903 (routines): Remove.
14910 * manual/.gitignore: Remove, it's not needed anymore.
14911 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14913 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14915 (texis): Renamed to $(objpfx)texis.
14916 (texis-path): New, contains path to generated files.
14917 (chapters.%): Use texis-path for complete path, add extra argument
14919 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14920 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14921 (summary,texi, stamp-summary): Use complete path of
14922 files. Generate files in build dir.
14923 (dir-add.texi): Build in build dir.
14924 (libm-err.texi,stamp-libm-err): Likewise.
14925 (version.texi, stamp-version): Likewise.
14926 (.%c.texi): Likewise.
14927 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14928 (mostlyclean): Remove target.
14929 (realclean): Remove target.
14930 (generated): Add new variable with contents from mostlyclean and
14931 realclean, remove entries duplicated in common-mostlyclean, add
14932 stamp-libm-err and stamp-version.
14933 (generated-dirs): Add libc directory.
14934 ($(inst_infodir)/libc.info): Install files from build dir.
14936 * manual/install.texi (Configuring and compiling): Adjust since
14937 the info files are not part of the tar ball anymore.
14939 2012-05-14 Andreas Jaeger <aj@suse.de>
14941 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14944 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14947 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14948 to 2.2.0 where earlier.
14949 * sysdeps/unix/sysv/linux/configure: Regenerated.
14950 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14951 Remove conditional code.
14952 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14953 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14954 Remove conditional code.
14955 [!__NR_lchown]: Likewise.
14956 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14957 [__NR_lchown]: Likewise.
14958 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14959 comment referencing __ASSUME_LCHOWN_SYSCALL.
14960 * sysdeps/unix/sysv/linux/i386/sigaction.c
14961 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14962 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14963 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14964 Remove conditional code.
14965 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14966 (__protocol_available): Remove #if 0 code.
14967 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14969 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14970 * sysdeps/unix/sysv/linux/kernel-features.h
14971 (__ASSUME_GETCWD_SYSCALL): Don't define.
14972 (__ASSUME_REALTIME_SIGNALS): Likewise.
14973 (__ASSUME_PREAD_SYSCALL): Likewise.
14974 (__ASSUME_PWRITE_SYSCALL): Likewise.
14975 (__ASSUME_POLL_SYSCALL): Likewise.
14976 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14977 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14979 (__ASSUME_SIOCGIFNAME): Don't define.
14980 (__ASSUME_MSG_NOSIGNAL): Likewise.
14981 (__ASSUME_SENDFILE): Define unconditionally.
14982 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14983 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14985 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14986 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14987 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14988 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14989 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14990 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14991 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14993 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14994 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14996 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14997 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14999 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15000 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15002 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15003 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15005 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15006 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15008 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15009 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15011 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15012 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15014 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15015 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15016 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15017 Remove conditional code.
15018 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15019 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15020 Remove conditional code.
15021 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15022 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15023 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15024 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15025 Remove conditional code.
15026 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15027 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15028 Remove conditional code.
15029 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15030 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15031 Remove conditional code.
15032 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15033 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15034 Remove conditional code.
15035 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15036 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15037 Remove conditional code.
15038 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15039 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15040 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15041 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15042 * sysdeps/unix/sysv/linux/sigaction.c
15043 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15044 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15045 * sysdeps/unix/sysv/linux/sigpending.c
15046 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15047 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15048 * sysdeps/unix/sysv/linux/sigprocmask.c
15049 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15050 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15051 * sysdeps/unix/sysv/linux/sigsuspend.c
15052 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15053 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15054 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15055 (__libc_missing_rt_sigs): Remove.
15056 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15057 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15058 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15059 Remove conditional code.
15060 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15061 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15063 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15064 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15065 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15066 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15068 2012-05-14 Andreas Jaeger <aj@suse.de>
15070 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15071 it's not used in glibc.
15072 (__coshm1): Likewise.
15073 (__acosh1p): Likewise.
15076 * manual/string.texi (Copying and Concatenation): Add missing
15077 variable in concat example.
15078 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15080 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15083 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15084 __builtin_clzl with __builtin_clzll.
15086 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15089 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15092 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15094 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15095 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15096 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15097 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15099 2012-05-14 Mike Frysinger <vapier@gentoo.org>
15101 * NEWS: Update ia64 info.
15103 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15105 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15108 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15110 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15111 * sysdeps/unix/syscalls.list (dup3): Likewise.
15112 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15113 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15115 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15117 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15118 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15120 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15122 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15124 (TLS_IE): Use mov/add instead of movq/addq to load thread
15126 (TLS_GD_PREFIX): New.
15129 2012-05-11 David S. Miller <davem@davemloft.net>
15131 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15132 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15133 (_FPU_SETCW): Likewise.
15135 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15137 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15138 is 32-byte aligned.
15140 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
15143 * iconvdata/gb18030.c: Update tables.
15144 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
15145 characters specially.
15146 (BODY for TO_LOOP): Add encoding of missing ranges.
15148 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
15151 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15152 * sysdeps/mach/hurd/dup3.c: Likewise.
15153 * sysdeps/mach/hurd/readlinkat.c: Likewise.
15154 * sysdeps/powerpc/memmove.c:: Likewise.
15156 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15159 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15161 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15163 * elf/elf.h (R_X86_64_RELATIVE64): New.
15164 (R_X86_64_NUM): Updated.
15165 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15166 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15167 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15168 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15169 tst-quad1pie tst-quad2pie
15170 (modules-names): Add tst-quadmod1 tst-quadmod2.
15171 ($(objpfx)tst-quad1): New dependency.
15172 ($(objpfx)tst-quad2): Likewise.
15173 ($(objpfx)tst-quad1pie): Likewise.
15174 ($(objpfx)tst-quad2pie): Likewise.
15175 * sysdeps/x86_64/tst-quad1.c: New file.
15176 * sysdeps/x86_64/tst-quad1pie.c: New file.
15177 * sysdeps/x86_64/tst-quad2.c: Likewise.
15178 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15179 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15180 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15181 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15182 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15184 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15186 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15187 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15188 * streams/stropts.h (t_scalar_t): Define type.
15190 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15191 (_PATH_PRESERVE): Set to "/var/lib".
15192 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15194 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15197 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15198 if __dir_mkfile succeeded.
15200 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15201 checking for _hurd_dtablesize. Unlock it right after having
15202 finished _hurd_dtable allocation.
15204 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15206 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15207 * sysdeps/mach/hurd/configure: Regenerated.
15208 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15209 special-casing to...
15210 * sysdeps/gnu/configure.in: ... this new file.
15211 * sysdeps/unix/sysv/linux/configure: Regenerated.
15212 * sysdeps/gnu/configure: New generated file.
15214 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15215 for Linux: use nsec instead of usec, as well as:
15216 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15217 members of type struct timespec.
15218 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15220 (struct stat64): Likewise.
15221 (_STATBUF_ST_NSEC): New macro.
15222 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15224 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15225 __strtoul_internal rather than strtoul.
15227 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15229 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15232 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15234 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15235 which preserves existing values.
15236 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15238 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15240 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15241 TIMEOUT values. Return EINVAL for NFDS values either negative or
15242 greater than FD_SETSIZE.
15244 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15246 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15247 allocated, call __vm_protect to finish enabling the existing space, and
15248 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15249 allocate the remainder.
15251 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15253 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15254 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15256 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15258 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15259 sysdeps/mach/hurd/readlink.c.
15261 * posix/tst-sysconf.c (posix_options): Only use
15262 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15263 _POSIX_SYNCHRONIZED_IO when they are defined
15264 * sysdeps/mach/hurd/bits/posix_opt.h:
15265 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15266 (_XOPEN_REALTIME): Undefine macro.
15267 (_XOPEN_REALTIME_THREADS): Undefine macro.
15268 (_XOPEN_SHM): Undefine macro.
15269 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15271 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15273 (_POSIX_ASYNC_IO): Undefine macro.
15274 (_POSIX_PRIORITIZED_IO): Undefine macro.
15275 (_POSIX_SPIN_LOCKS): Define macro to -1.
15277 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15278 SA_NODEFER, SA_RESETHAND.
15279 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15280 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15283 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15285 * elf/Makefile (pldd-modules): Define unconditionally.
15287 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15289 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15291 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15293 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15294 Return ENOENT when name is empty.
15295 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15297 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15299 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15301 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15303 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15305 Fix mlock in all cases except non-readable pages.
15306 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15307 instead of VM_PROT_ALL as parameter to __vm_wire function.
15309 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15310 (__mkdir): When path is `/', just fail with EEXIST.
15311 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15313 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15315 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15316 <sys/uio.h> (for writev).
15317 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15318 and <sys/param.h> (for MIN).
15320 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15322 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15323 REQUESTED_TIME. Properly set the remaining time and return EINTR
15326 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15328 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15329 Depend on against $(link-rpcuserlibs).
15331 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15333 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15334 (__libc_stack_end): Do not use attribute_relro.
15335 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15336 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
15337 to libthread-provided value.
15338 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15341 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15344 * bits/libc-lock.h (__libc_once_get): New macro.
15345 * sysdeps/mach/bits/libc-lock.h: Likewise.
15346 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15347 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15348 instead of using implementation details.
15350 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15351 * libio/freopen.c: Likewise.
15352 * libio/freopen64.c: Likewise.
15353 * misc/syslog.c: Likewise.
15354 * nscd/connections.c: Likewise.
15355 * nscd/netgroupcache.c: Likewise.
15356 * sysdeps/posix/getcwd.c: Likewise.
15358 2012-05-10 Roland McGrath <roland@hack.frob.com>
15360 * math/w_ilogbf.c: Add #include <limits.h>.
15362 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15364 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
15365 path instead of returning without unlocking.
15367 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15368 immediate-write ioctls.
15369 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15371 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15373 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15374 __builtin_frame_address instead of making assumptions about the
15375 location of the return address relative to DATA. Force early load of
15376 the return address.
15377 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15378 __builtin_frame_address.
15381 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15382 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15383 implement dup3 and do some further code clean-ups.
15384 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15385 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15387 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15389 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15391 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15392 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15393 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15394 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15395 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15398 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15399 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15400 when handler == SIG_ERR, not when handler != SIG_ERR.
15402 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15404 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15405 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15408 accept4 for GNU Hurd.
15409 * include/sys/socket.h (__libc_accept4): New prototype.
15410 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15411 to implement __libc_accept4.
15412 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15414 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15416 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15417 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15418 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15419 signal-defines.sym.
15421 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15423 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
15425 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15427 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15428 assertion on O_CLOEXEC flag.
15429 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15430 * hurd/intern-fd.c: Likewise.
15431 * hurd/port2fd.c: Likewise.
15433 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15436 * bits/in.h (IPV6_PKTINFO): Define new macro.
15437 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15439 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15444 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15445 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15446 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15447 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15448 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15449 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15450 * math/libm-test.inc (logb_test) : Additional logb tests.
15452 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15453 Andreas Jaeger <aj@suse.de>
15455 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15456 * configure: Regenerated.
15457 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15458 * config.make.in (link-obsolete-rpc): New substituted variable.
15459 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15460 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15461 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15462 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15463 so that libc.a contains the symbols.
15464 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15465 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15466 * sunrpc/auth_none.c: Likewise.
15467 * sunrpc/auth_unix.c: Likewise.
15468 * sunrpc/authdes_prot.c: Likewise.
15469 * sunrpc/authuxprot.c: Likewise.
15470 * sunrpc/clnt_gen.c: Likewise.
15471 * sunrpc/clnt_perr.c: Likewise.
15472 * sunrpc/clnt_raw.c: Likewise.
15473 * sunrpc/clnt_simp.c: Likewise.
15474 * sunrpc/clnt_tcp.c: Likewise.
15475 * sunrpc/clnt_udp.c: Likewise.
15476 * sunrpc/clnt_unix.c: Likewise.
15477 * sunrpc/des_crypt.c: Likewise.
15478 * sunrpc/des_soft.c: Likewise.
15479 * sunrpc/get_myaddr.c: Likewise.
15480 * sunrpc/key_call.c: Likewise.
15481 * sunrpc/key_prot.c: Likewise.
15482 * sunrpc/netname.c: Likewise.
15483 * sunrpc/pm_getmaps.c: Likewise.
15484 * sunrpc/pm_getport.c: Likewise.
15485 * sunrpc/pmap_clnt.c: Likewise.
15486 * sunrpc/pmap_prot.c: Likewise.
15487 * sunrpc/pmap_prot2.c: Likewise.
15488 * sunrpc/pmap_rmt.c: Likewise.
15489 * sunrpc/publickey.c: Likewise.
15490 * sunrpc/rpc_cmsg.c: Likewise.
15491 * sunrpc/rpc_common.c: Likewise.
15492 * sunrpc/rpc_dtable.c: Likewise.
15493 * sunrpc/rpc_prot.c: Likewise.
15494 * sunrpc/rpc_thread.c: Likewise.
15495 * sunrpc/rtime.c: Likewise.
15496 * sunrpc/svc.c: Likewise.
15497 * sunrpc/svc_auth.c: Likewise.
15498 * sunrpc/svc_raw.c: Likewise.
15499 * sunrpc/svc_run.c: Likewise.
15500 * sunrpc/svc_tcp.c: Likewise.
15501 * sunrpc/svc_udp.c: Likewise.
15502 * sunrpc/svc_unix.c: Likewise.
15503 * sunrpc/svcauth_des.c: Likewise.
15504 * sunrpc/xcrypt.c: Likewise.
15505 * sunrpc/xdr.c: Likewise.
15506 * sunrpc/xdr_array.c: Likewise.
15507 * sunrpc/xdr_float.c: Likewise.
15508 * sunrpc/xdr_intXX_t.c: Likewise.
15509 * sunrpc/xdr_mem.c: Likewise.
15510 * sunrpc/xdr_rec.c: Likewise.
15511 * sunrpc/xdr_ref.c: Likewise.
15512 * sunrpc/xdr_sizeof.c: Likewise.
15513 * sunrpc/xdr_stdio.c: Likewise.
15515 2012-05-10 Roland McGrath <roland@hack.frob.com>
15517 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15518 change. Update copyright years.
15520 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15522 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15524 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15525 Joseph Myers <joseph@codesourcery.com>
15526 Paul Pluzhnikov <ppluzhnikov@google.com>
15529 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15531 [cross-compiling] (extra-libs): Likewise.
15532 [cross-compiling] (extra-libs-others): Likewise.
15533 [cross-compiling] (librpcsvc-routines): Likewise.
15534 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15535 [cross-compiling] (omit-deps): Likewise.
15536 (sunrpc-CPPFLAGS): New variable.
15537 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15538 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15539 (cross-rpcgen-objs): New variable.
15540 (extra-objs): Append $(cross-rpcgen-objs).
15541 ($(cross-rpcgen-objs)): New rule.
15542 ($(objpfx)cross-rpcgen): Likewise.
15543 (rpcgen-cmd): Define to use $(built-program-file). Expand
15545 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15546 ($(objpfx)x%.stmp): Likewise.
15547 * sunrpc/proto.h [IS_IN_build] (_): Define.
15548 [IS_IN_build] (_libc_intl_domainname): Likewise.
15550 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15552 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15553 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15554 and R_X86_64_TPOFF64.
15556 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15558 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15559 sysdeps/unix/sysv/syscalls.list.
15562 * sysdeps/unix/sysv/syscalls.list: Remove file.
15564 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15567 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15568 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15569 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15570 (__LC_IDENTIFICATION): Make these macros useful in #if
15571 expressions, as required by C99.
15573 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15575 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15576 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15579 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15581 * stdlib/longlong.h: Updated from GCC.
15583 2012-05-09 Andreas Jaeger <aj@suse.de>
15585 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15586 default is first entry.
15587 (run_mode): Set type.
15588 (main): Remove informal message about syslog.
15589 (options): Fix typo.
15592 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15595 (llrintf): Likewise.
15596 (llrint): Likewise.
15599 (nearbyint): Likewise.
15600 (nearbyintf): Likewise.
15602 2012-05-09 Andreas Jaeger <aj@suse.de>
15603 Pedro Alves <palves@redhat.com>
15605 * nscd/nscd.c (run_mode): Use enum.
15606 (main): Cleanup coding style issue.
15608 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
15609 Andreas Jaeger <aj@suse.de>
15611 * nscd/nscd.c (go_background): Replaced with...
15612 (run_mode): ... this.
15613 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15614 (options): Add -F --foreground.
15615 (main): Implement it.
15616 (parse_opt): Parse it.
15618 2012-05-09 Andreas Jaeger <aj@suse.de>
15621 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15622 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15623 -Wconversion warning.
15624 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15627 2012-05-09 Joseph Myers <joseph@codesourcery.com>
15629 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15631 (LC_ALL): Use macro-int-constant.
15632 (LC_COLLATE): Likewise.
15633 (LC_CTYPE): Likewise.
15634 (LC_MESSAGES): Likewise.
15635 (LC_MONETARY): Likewise.
15636 (LC_NUMERIC): Likewise.
15637 (LC_TIME): Likewise.
15638 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15639 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15640 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15641 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15643 [C99-based standards] (float_t): Expect type.
15644 [C99-based standards] (double_t): Expect type.
15645 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15647 [C99-based standards] (HUGE_VALL): Likewise.
15648 [C99-based standards] (INFINITY): Likewise.
15649 [C99-based standards] (NAN): Likewise.
15650 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15651 [C99-based standards] (FP_NAN): Likewise.
15652 [C99-based standards] (FP_NORMAL): Likewise.
15653 [C99-based standards] (FP_SUBNORMAL): Likewise.
15654 [C99-based standards] (FP_ZERO): Likewise.
15655 [C99-based standards] (FP_FAST_FMA): Use
15656 optional-macro-int-constant. Specify type. Require == 1.
15657 [C99-based standards] (FP_FAST_FMAF): Likewise.
15658 [C99-based standards] (FP_FAST_FMAL): Likewise.
15659 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15660 [C99-based standards] (FP_ILOGBNAN): Likewise.
15661 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15663 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15664 [C99-based standards] (math_errhandling): Specify type.
15665 [ISO99 || ISO11] (signgam): Do not allow.
15666 [non-C99-based standards] (copysignf): Do not allow.
15667 [non-C99-based standards] (exp2f): Likewise.
15668 [non-C99-based standards] (log2f): Likewise.
15669 [non-C99-based standards] (modff): Allow.
15670 [non-C99-based standards] (erff): Do not allow.
15671 [non-C99-based standards] (erfcf): Likewise.
15672 [non-C99-based standards] (gammaf): Likewise.
15673 [non-C99-based standards] (hypotf): Likewise.
15674 [non-C99-based standards] (j0f): Likewise.
15675 [non-C99-based standards] (j1f): Likewise.
15676 [non-C99-based standards] (jnf): Likewise.
15677 [non-C99-based standards] (lgammaf): Likewise.
15678 [non-C99-based standards] (tgammaf): Likewise.
15679 [non-C99-based standards] (y0f): Likewise.
15680 [non-C99-based standards] (y1f): Likewise.
15681 [non-C99-based standards] (ynf): Likewise.
15682 [non-C99-based standards] (isnanf): Likewise.
15683 [non-C99-based standards] (acoshf): Likewise.
15684 [non-C99-based standards] (asinhf): Likewise.
15685 [non-C99-based standards] (atanhf): Likewise.
15686 [non-C99-based standards] (cbrtf): Likewise.
15687 [non-C99-based standards] (expm1f): Likewise.
15688 [non-C99-based standards] (ilogbf): Likewise.
15689 [non-C99-based standards] (log1pf): Likewise.
15690 [non-C99-based standards] (logbf): Likewise.
15691 [non-C99-based standards] (nextafterf): Likewise.
15692 [non-C99-based standards] (remainderf): Likewise.
15693 [non-C99-based standards] (rintf): Likewise.
15694 [non-C99-based standards] (scalbf): Likewise.
15695 [non-C99-based standards] (copysignl): Likewise.
15696 [non-C99-based standards] (exp2l): Likewise.
15697 [non-C99-based standards] (log2l): Likewise.
15698 [non-C99-based standards] (modfl): Allow.
15699 [non-C99-based standards] (erfl): Do not allow.
15700 [non-C99-based standards] (erfcl): Likewise.
15701 [non-C99-based standards] (gammal): Likewise.
15702 [non-C99-based standards] (hypotl): Likewise.
15703 [non-C99-based standards] (j0l): Likewise.
15704 [non-C99-based standards] (j1l): Likewise.
15705 [non-C99-based standards] (jnl): Likewise.
15706 [non-C99-based standards] (lgammal): Likewise.
15707 [non-C99-based standards] (tgammal): Likewise.
15708 [non-C99-based standards] (y0l): Likewise.
15709 [non-C99-based standards] (y1l): Likewise.
15710 [non-C99-based standards] (ynl): Likewise.
15711 [non-C99-based standards] (isnanl): Likewise.
15712 [non-C99-based standards] (acoshl): Likewise.
15713 [non-C99-based standards] (asinhl): Likewise.
15714 [non-C99-based standards] (atanhl): Likewise.
15715 [non-C99-based standards] (cbrtl): Likewise.
15716 [non-C99-based standards] (expm1l): Likewise.
15717 [non-C99-based standards] (ilogbl): Likewise.
15718 [non-C99-based standards] (log1pl): Likewise.
15719 [non-C99-based standards] (logbl): Likewise.
15720 [non-C99-based standards] (nextafterl): Likewise.
15721 [non-C99-based standards] (remainderl): Likewise.
15722 [non-C99-based standards] (rintl): Likewise.
15723 [non-C99-based standards] (scalbl): Likewise.
15724 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15725 [non-C99-based standards] (FP_*): Do not allow.
15726 [C99-based standards] (FP_*): Change to
15727 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15728 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15730 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15731 (SIG_ERR): Likewise.
15732 [X/Open-based standards] (SIG_HOLD): Likewise.
15733 (SIG_IGN): Likewise.
15734 (SIGABRT): Use macro-int-constant. Specify type. Require
15736 (SIGFPE): Likewise.
15737 (SIGILL): Likewise.
15738 (SIGINT): Likewise.
15739 (SIGSEGV): Likewise.
15740 (SIGTER): Likewise.
15741 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15742 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15743 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15744 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15745 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15746 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15747 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15748 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15749 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15750 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15751 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15752 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15753 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15754 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15755 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15756 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15757 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15758 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15759 [X/Open-based standards] (SIGTRAP): Likewise.
15760 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15761 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15762 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15763 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15764 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15767 2012-05-08 Ian Wienand <ianw@vmware.com>
15770 * time/tzset.c (__tzset_parse_tz): Update default rules for
15771 daylight time changes in the Energy Policy Act of 2005.
15773 2012-05-09 Andreas Jaeger <aj@suse.de>
15776 * elf/ldconfig.c (parse_conf): Change string to make clear that
15777 ldconfig only issued a warning if ld.so.conf does not exist.
15779 2012-05-08 David S. Miller <davem@davemloft.net>
15781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15782 movxtod instead of popping the value on the stack.
15784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15786 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15788 * config.h.in: Add HAVE_ARM_PCS_VFP.
15790 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15793 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15794 checking but the checks are disabled for any reason.
15796 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15798 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15799 and ELF64_R_TYPE with ELFW(R_TYPE).
15801 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15803 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15804 (ulimit): Likewise.
15806 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15807 (settimeofday): Likewise.
15809 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15811 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15812 a struct th_u2 inside the union, and move tu_block/tu_code into
15813 a new th_u3 union of tu_block/tu_code inside of that. Move
15814 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15815 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15816 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15817 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15818 (th_stuff): Change to th_u1.tu_stuff.
15820 (th_msg): Change to th_u1.th_u2.tu_data.
15822 2012-05-07 David S. Miller <davem@davemloft.net>
15824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15827 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15828 (SETUP_PIC_REG): Use it.
15829 (SETUP_PIC_REG_LEAF): Use it.
15831 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15835 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15837 (EXPL_FINITE): Likewise.
15838 (FLDLOG): Likewise.
15839 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15840 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15842 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15844 (EXPL_FINITE): Likewise.
15845 (FLDLOG): Likewise.
15846 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15847 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15849 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15850 test of -max_value argument for long double.
15851 * sysdeps/i386/fpu/libm-test-ulps: Update.
15852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15854 2012-05-06 David S. Miller <davem@davemloft.net>
15856 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15857 quad soft-float symbols whose references which are compiler
15859 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15861 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15865 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15867 (EXPL_FINITE): Likewise.
15868 (FLDLOG): Likewise.
15871 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15872 Adjust comments for base varying.
15873 (__expl_finite): Change alias to EXPL_FINITE.
15874 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15876 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15877 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15878 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15879 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15880 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15882 (EXPL_FINITE): Likewise.
15883 (FLDLOG): Likewise.
15886 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15887 Adjust comments for base varying.
15888 (__expl_finite): Change alias to EXPL_FINITE.
15889 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15894 * math/libm-test.inc (check_float_internal): Correct ulp
15895 calculation for subnormal expected results.
15897 2012-05-06 Andreas Jaeger <aj@suse.de>
15899 * Makeconfig (+math-flags): New, set to -frounding-math.
15900 (+cflags): Add +math-flags so that all of glibc gets compiled with
15903 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15905 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15907 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15913 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15914 (__ieee754_expl): Allow for and saturate large arguments.
15915 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15916 (u_threshold): Likewise.
15917 (__exp): Call __ieee754_exp before checking for overflow and
15919 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15920 (u_threshold): Likewise.
15921 (__expf): Call __ieee754_expf before checking for overflow and
15923 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15924 (u_threshold): Likewise.
15925 (__expl): Call __ieee754_expl before checking for overflow and
15927 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15928 (__ieee754_expl): Allow for and saturate large arguments.
15929 * math/libm-test.inc (exp_test): Add another test. Do not allow
15930 missing overflow exception on overflow.
15931 (expm1_test): Do not allow missing overflow exception on overflow.
15933 * sysdeps/i386/fpu/e_expl.c: Move to ...
15934 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15935 rather than using inline asm.
15936 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15937 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15938 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15940 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15943 (signal): Likewise.
15947 2012-05-04 Joseph Myers <joseph@codesourcery.com>
15949 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15950 sysdeps/unix/common/syscalls.list.
15951 (fchmod): Likewise.
15952 (fchown): Likewise.
15953 (ftruncate): Likewise.
15954 (getrusage): Likewise.
15955 (gettimeofday): Likewise.
15956 (setpgid): Likewise.
15957 (setregid): Likewise.
15958 (setreuid): Likewise.
15959 (sigaction): Likewise.
15960 (truncate): Likewise.
15961 (vhangup): Likewise.
15962 * sysdeps/unix/common/syscalls.list: Remove file.
15963 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15964 * sysdeps/unix/sysv/linux/Implies: Likewise.
15966 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15968 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15970 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15974 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15977 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15980 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15983 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15986 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15988 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15989 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15992 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15996 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16000 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16003 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16007 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16011 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16013 * sysdeps/unix/common/bits/dirent.h: Remove file.
16014 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16016 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16017 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16018 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16019 * sysdeps/unix/bsd/isatty.c: Likewise.
16020 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16021 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16022 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16024 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16027 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16028 long double comparison inaccuracies.
16029 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16032 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16034 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16035 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16037 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16040 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16041 nonzero digits before rounding a hex value.
16042 * stdlib/tst-strtod.c (tests): Add another test.
16044 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16046 * sysdeps/s390/fpu/libm-test-ulps: Update.
16048 2012-05-03 Andreas Jaeger <aj@suse.de>
16050 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16051 does not get optimized out.
16052 (malloc_opt_barrier): New.
16054 2012-05-03 Andreas Jaeger <aj@suse.de>
16055 Roland McGrath <roland@hack.frob.com>
16057 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
16058 intermediate file deletion.
16059 (generated): Add .symlist files.
16061 2012-05-03 Joseph Myers <joseph@codesourcery.com>
16064 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16065 Redirect under this condition.
16066 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16067 [__USE_GNU] (__dprintf_chk): Not under this condition.
16068 [__USE_GNU] (__vdprintf_chk): Likewise.
16069 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16070 under this condition.
16071 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16072 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16073 [__USE_XOPEN2K8] (vdprintf): Likewise.
16074 [__USE_GNU] (__dprintf_chk): Not under this condition.
16075 [__USE_GNU] (__vdprintf_chk): Likewise.
16076 [__USE_GNU] (dprintf): Likewise.
16077 [__USE_GNU] (vdprintf): Likewise.
16079 2012-05-03 Roland McGrath <roland@hack.frob.com>
16081 * elf/Makefile (common-generated): Set this instead of generated for
16082 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16083 $(all-built-dso)-derived lists.
16085 2012-05-03 Andreas Jaeger <aj@suse.de>
16087 * sysdeps/i386/fpu/libm-test-ulps: Update.
16090 * FAQ.in: Likewise.
16091 * scripts/gen-FAQ.pl: Likewise.
16092 * manual/install.texi (Installation): Point to online location of
16094 * Makefile (files-for-dist): Remove FAQ.
16097 2012-05-02 Allan McRae <allan@archlinux.org>
16099 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16100 (LDFLAGS-reldepmod5.so): Likewise.
16101 (LDFLAGS-reldep6mod1.so): Likewise.
16102 (LDFLAGS-reldep6mod4.so): Likewise.
16103 (LDFLAGS-reldep8mod3.so): Likewise.
16104 (LDFLAGS-unload4mod1.so): Likewise.
16105 (LDFLAGS-unload4mod2.so): Likewise.
16106 (LDFLAGS-tst-initorder): Likewise.
16107 (LDFLAGS-tst-initordera2.so): Likewise.
16108 (LDFLAGS-tst-initordera3.so): Likewise.
16109 (LDFLAGS-tst-initordera4.so): Likewise.
16110 (LDFLAGS-tst-initorderb2.so): Likewise.
16111 (LDFLAGS-noload): Likewise.
16112 (LDFLAGS-next): Likewise.
16113 (LDFLAGS-order2mod1.so): Likewise.
16114 (LDFLAGS-order2mod2.so): Likewise.
16115 (LDFLAGS-tst-initorder2): Likewise.
16116 (LDFLAGS-tst-initorder2a.so): Likewise.
16117 (LDFLAGS-tst-initorder2b.so): Likewise.
16118 (LDFLAGS-tst-initorder2c.so): Likewise.
16119 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16121 2012-05-02 David S. Miller <davem@davemloft.net>
16123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16125 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16128 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16130 2012-05-02 Andreas Jaeger <aj@suse.de>
16132 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16133 since we manipulate rounding mode.
16134 (CPPFLAGS-test-idouble.c): Likewise.
16135 (CPPFLAGS-test-ifloat.c): Likewise.
16136 (CFLAGS-test-ldouble.c): Likewise.
16137 (CFLAGS-test-double.c): Likewise.
16138 (CFLAGS-test-float.c): Likewise.
16139 (CFLAGS-test-misc.c): Likewise.
16140 (CFLAGS-test-test-fenv.c): Likewise.
16142 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16146 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16147 comparisons to determine direction to adjust input.
16149 2012-05-01 Roland McGrath <roland@hack.frob.com>
16151 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16152 output to the target.
16154 * scripts/localplt.awk: New file.
16155 * elf/Makefile ($(objpfx)check-localplt): Target removed.
16156 (check-localplt-CFLAGS): Variable removed.
16157 ($(all-built-dso:=.jmprel)): New static pattern rule.
16158 (generated): Add those targets.
16159 (localplt-built-dso): New variable.
16160 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16162 * elf/check-localplt.c: File removed.
16164 * scripts/check-execstack.awk: New file.
16165 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16166 (check-execstack-CFLAGS): Variable removed.
16167 ($(objpfx)check-execstack.h): Target removed.
16168 ($(objpfx)execstack-default): New target.
16169 (generated): Add that instead of check-execstack.h.
16170 ($(all-built-dso:=.phdr)): New static pattern rule.
16171 (generated): Add those targets.
16172 * elf/check-execstack.c: File removed.
16174 * scripts/check-textrel.awk: New file.
16175 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16176 (check-textrel-CFLAGS): Variable removed.
16177 (all-built-dso): Use := to define.o
16178 ($(all-built-dso:=.dyn)): New static pattern rule.
16179 (generated): Add those targets.
16180 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16181 * config.make.in (READELF): New substituted variable.
16182 * elf/check-textrel.c: File removed.
16184 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16186 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16188 * conform/data/ctype.h-data [C99-based standards] (isblank):
16190 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16191 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16192 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16193 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16194 Specify type. Require positive value.
16195 (EILSEQ): Likewise.
16196 (ERANGE): Likewise.
16197 [ISO || POSIX] (EILSEQ): Do not expect.
16198 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16199 Specify type. Require positive value.
16200 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16201 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16202 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16203 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16204 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16205 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16206 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16207 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16208 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16209 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16210 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16211 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16212 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16213 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16214 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16215 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16216 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16217 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16218 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16219 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16220 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16221 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16222 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16223 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16224 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16225 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16226 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16227 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16228 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16229 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16230 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16231 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16232 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16233 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16234 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16235 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16236 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16237 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16238 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16239 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16240 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16241 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16242 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16243 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16244 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16245 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16246 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16247 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16248 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16249 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16250 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16251 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16252 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16253 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16254 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16255 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16256 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16257 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16258 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16259 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16260 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16261 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16262 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16263 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16264 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16265 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16266 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16267 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16268 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16269 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16270 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16271 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16272 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16273 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16274 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16275 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16276 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16278 (FLT_ROUNDS): Expect as macro, not constant.
16279 (FLT_MANT_DIG): Use macro-int-constant.
16280 (DBL_MANT_DIG): Likewise.
16281 (LDBL_MANT_DIG): Likewise.
16282 (FLT_DIG): Likewise.
16283 (DBL_DIG): Likewise.
16284 (LDBL_DIG): Likewise.
16285 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16286 (DBL_MIN_EXP): Likewise.
16287 (LDBL_MIN_EXP): Likewise.
16288 (FLT_MAX_EXP): Use macro-int-constant.
16289 (DBL_MAX_EXP): Likewise.
16290 (LDBL_MAX_EXP): Likewise.
16291 (FLT_MAX_10_EXP): Likewise.
16292 (DBL_MAX_10_EXP): Likewise.
16293 (LDBL_MAX_10_EXP): Likewise.
16294 (FLT_MAX): Use macro-constant.
16295 (DBL_MAX): Likewise.
16296 (LDBL_MAX): Likewise.
16297 (FLT_EPSILON): Use macro-constant. Give upper bound.
16298 (DBL_EPSILON): Likewise.
16299 (LDBL_EPSILON): Likewise.
16300 (FLT_MIN): Likewise.
16301 (DBL_MIN): Likewise.
16302 (LDBL_MIN): Likewise.
16303 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16304 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16305 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16306 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16307 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16308 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16309 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16310 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16311 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16312 [ISO11] (FLT_TRUE_MIN): Likewise.
16313 [ISO11] (LDBL_TRUE_MIN): Likewise.
16314 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16315 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16316 (SCHAR_MIN): Use macro-int-constant. Specify type.
16317 (SCHAR_MAX): Likewise.
16318 (UCHAR_MAX): Likewise.
16319 (CHAR_MIN): Likewise.
16320 (CHAR_MAX): Likewise.
16321 (MB_LEN_MAX): Use macro-int-constant.
16322 (SHRT_MIN): Use macro-int-constant. Specify type.
16323 (SHRT_MAX): Likewise.
16324 (USHRT_MAX): Likewise.
16325 (INT_MAX): Likewise.
16326 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16328 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16330 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16332 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16333 bound negative. Suffix upper bound with "L".
16334 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16336 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16338 [C99-based standards] (LLONG_MAX): Likewise.
16339 [C99-based standards] (ULLONG_MAX): Likewise.
16340 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16342 [ISO11] (max_align_t): Require type.
16343 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16345 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16346 from $CFLAGS, without defining away __attribute__ calls.
16347 (checknamespace): Use $CFLAGS_namespace.
16349 * conform/conformtest.pl (@keywords): Only include C99 keywords
16350 for standards based on C99 or C11.
16352 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16354 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16357 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16358 usability of symbols in #if.
16360 * conform/conformtest.pl: If macro or constant types start
16361 "promoted:", expect the symbol to be of the following type
16362 promoted by the integer promotions.
16364 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16365 in one place. Also handle "macro-constant".
16367 * conform/conformtest.pl: Only accept expected macro values with
16368 "==". Parse all "macro" lines in one place.
16369 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16371 * conform/conformtest.pl: Handle braced types on "constant" lines
16372 instead of handling "typed-constant".
16373 * conform/data/signal.h-data: Use "constant" instead of
16376 * conform/conformtest.pl: Handle "optional-" at start of lines in
16377 one place rather than duplicating several cases. Handle each
16378 format of "macro" line with initial "optional-".
16380 * conform/conformtest.pl: Only accept expected constant or
16381 optional-constant values with "==". Parse all "constant" lines in
16382 one place. Parse all "optional-constant" lines in one place.
16383 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16384 * conform/data/fmtmsg.h-data: Likewise.
16385 * conform/data/netinet/in.h-data: Likewise.
16386 * conform/data/tar.h-data: Likewise.
16387 * conform/data/limits.h-data: Use "==" form on "constant" and
16388 "optional-constant" lines.
16390 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16391 Use -std=c99 for XOPEN2K.
16392 (@knownproblems): Remove.
16393 (newtoken): Don't check %isknown.
16395 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16396 Do not expect macro.
16397 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16398 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16399 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16400 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16401 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16402 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16403 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16404 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16405 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16406 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16407 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16408 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16409 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16410 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16411 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16412 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16413 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16414 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16415 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16416 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16417 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16418 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16419 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16420 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16421 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16422 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16423 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16424 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16425 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16426 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16427 [XPG3] (acosh): Likewise.
16428 [XPG3] (asinh): Likewise.
16429 [XPG3] (atanh): Likewise.
16430 [XPG3] (cbrt): Likewise.
16431 [XPG3] (expm1): Likewise.
16432 [XPG3] (ilogb): Likewise.
16433 [XPG3] (log1p): Likewise.
16434 [XPG3] (logb): Likewise.
16435 [XPG3] (nextafter): Likewise.
16436 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16437 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16438 [XPG3] (remainder): Likewise.
16439 [XPG3] (rint): Likewise.
16440 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16441 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16442 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16443 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16444 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16445 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16446 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16447 [UNIX98 || XOPEN2K] (scalb): Expect.
16448 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16449 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16450 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16451 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16452 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16453 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16454 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16455 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16456 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16457 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16458 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16459 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16460 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16461 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16462 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16463 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16464 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16465 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16466 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16467 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16468 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16469 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16470 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16471 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16472 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16473 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16474 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16475 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16476 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16477 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16478 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16479 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16480 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16481 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16482 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16483 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16484 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16485 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16486 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16487 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16488 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16489 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16490 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16491 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16492 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16493 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16494 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16495 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16496 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16497 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16498 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16499 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16500 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16501 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16502 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16503 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16504 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16505 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16506 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16507 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16508 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16509 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16510 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16511 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16512 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16513 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16514 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16515 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16516 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16517 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16518 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16519 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16520 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16521 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16522 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16523 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16524 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16525 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16526 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16527 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16528 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16529 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16530 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16531 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16532 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16533 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16534 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16535 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16536 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16537 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16538 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16539 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16540 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16541 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16542 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16543 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16544 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16545 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16546 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16547 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16548 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16549 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16550 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16551 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16552 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16553 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16554 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16555 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16556 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16557 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16558 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16559 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16560 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16561 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16562 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16563 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16564 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16565 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16566 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16567 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16568 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16569 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16570 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16571 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16572 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16573 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16574 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16575 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16576 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16577 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16578 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16579 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16580 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16581 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16582 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16583 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16584 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16586 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16587 _XOPEN_SOURCE_EXTENDED for XPG4.
16589 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16591 * Makeconfig (localtime): Remove variable.
16592 (inst_localtime-file): Likewise.
16594 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16615 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16619 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16620 comparisons to determine direction to adjust input.
16621 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16622 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16623 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16625 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16627 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16629 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16630 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16632 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16634 * math/libm-test.inc (nexttoward_test): Add more tests.
16636 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16639 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16640 in version GLIBC_2.1, not GLIBC_2.0.
16641 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16644 2012-04-30 Joseph Myers <joseph@codesourcery.com>
16647 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16649 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16650 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16651 * math/libm-test.inc (acos_test): Add more tests.
16652 (asin_test): Likewise.
16653 * sysdeps/i386/fpu/libm-test-ulps: Update.
16654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16657 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16659 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16660 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16661 * math/libm-test.inc (acos_test_tonearest): New function.
16662 (acos_test_towardzero): Likewise.
16663 (acos_test_downward): Likewise.
16664 (acos_test_upward): Likewise.
16665 (asin_test_tonearest): Likewise.
16666 (asin_test_towardzero): Likewise.
16667 (asin_test_downward): Likewise.
16668 (asin_test_upward): Likewise.
16669 (main): Call the new functions.
16670 * sysdeps/i386/fpu/libm-test-ulps: Update.
16671 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16675 * math/e_exp10.c: Include <float.h>.
16676 (__ieee754_exp10): Handle underflow here rather than multiplying
16677 large negative argument by M_LN10.
16678 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16680 * math/e_exp10l.c: Include <float.h>.
16681 (__ieee754_exp10l): Handle underflow here rather than multiplying
16682 large negative argument by M_LN10l.
16683 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16684 spurious overflow exception on underflow.
16686 2012-04-29 Marek Polacek <polacek@redhat.com>
16688 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16689 (__fortify_function): New macro.
16690 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16691 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16692 __extern_always_inline.
16693 * libio/bits/stdio2.h: Likewise.
16694 * libio/bits/stdio.h: Likewise.
16695 * string/string.h: Likewise.
16696 * string/bits/string3.h: Likewise.
16697 * include/stdio.h: Likewise.
16698 * stdlib/bits/stdlib.h: Likewise.
16699 * stdlib/stdlib.h: Likewise.
16700 * rt/bits/mqueue2.h: Likewise.
16701 * rt/mqueue.h: Likewise.
16702 * posix/bits/unistd.h: Likewise.
16703 * posix/unistd.h: Likewise.
16704 * io/bits/poll2.h: Likewise.
16705 * io/bits/fcntl2.h: Likewise.
16706 * io/fcntl.h: Likewise.
16707 * io/sys/poll.h: Likewise.
16708 * misc/bits/syslog.h: Likewise.
16709 * misc/bits/syslog-ldbl.h: Likewise.
16710 * misc/sys/syslog.h: Likewise.
16711 * socket/bits/socket2.h: Likewise.
16712 * socket/sys/socket.h: Likewise.
16713 * debug/tst-chk1.c: Likewise.
16714 * wcsmbs/bits/wchar2.h: Likewise.
16715 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16716 * wcsmbs/wchar.h: Likewise.
16718 2012-04-29 Andreas Jaeger <aj@suse.de>
16720 * Makerules (tests): Remove enable-check-abi protection.
16721 (check-abi-warn): Remove.
16722 (check-abi-%): Remove check-abi-warn usage.
16724 * configure.in: Remove check-abi configure option.
16725 * configure: Regenerated.
16726 * config.make.in (enable-check-abi): Remove.
16728 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16731 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16732 double functions to double *_finite functions.
16735 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16736 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16738 * stdio-common/Makefile (tests): Add tst-sprintf3.
16739 * stdio-common/tst-sprintf3.c: New file.
16741 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16742 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16744 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16746 * conform/conformtest.pl: Remove duplicate typed-constant
16749 2012-04-28 David S. Miller <davem@davemloft.net>
16751 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16752 (check-abi-%): Remove AWK script prerequisite and explicit
16754 (check-abi): Rewrite to just diff the symlist with the abilist.
16755 (config-tls, config-abi-config): Delete, no longer used.
16756 (update-abi-%): Remove AWK script and explicit abilist directory.
16757 (update-abi): Rewrite to simply compare and conditionally copy the
16758 symlist and the sysdep abilist file. Remove update-abi-config
16760 * abilist/ld.abilist: Remove.
16761 * abilist/libBrokenLocale.abilist: Remove.
16762 * abilist/libanl.abilist: Remove.
16763 * abilist/libcrypt.abilist: Remove.
16764 * abilist/libdl.abilist: Remove.
16765 * abilist/librt.abilist: Remove.
16766 * abilist/libthread_db.abilist: Remove.
16767 * abilist/libutil.abilist: Remove.
16768 * scripts/extract-abilist.awk: Remove.
16769 * scripts/merge-abilist.awk: Remove.
16770 * sysdeps/generic/libcidn.abilist: New file.
16771 * sysdeps/generic/libnss_compat.abilist: New file.
16772 * sysdeps/generic/libnss_db.abilist: New file.
16773 * sysdeps/generic/libnss_dns.abilist: New file.
16774 * sysdeps/generic/libnss_files.abilist: New file.
16775 * sysdeps/generic/libnss_hesiod.abilist: New file.
16776 * sysdeps/generic/libnss_nis.abilist: New file.
16777 * sysdeps/generic/libnss_nisplus.abilist: New file.
16778 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16779 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16780 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16782 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16783 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16784 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16785 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16786 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16787 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16788 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16789 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16790 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16792 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16793 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16794 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16795 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16797 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16798 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16799 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16800 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16801 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16802 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16804 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16805 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16806 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16808 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16911 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16912 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16913 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16915 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16916 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16917 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16918 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16919 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16920 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16921 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16922 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16923 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16924 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16976 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16978 * conform/conformtest.pl: Fix typo in handling typed-constant from
16981 2012-04-27 Joseph Myers <joseph@codesourcery.com>
16983 * README: Cut down references to pre-2.6 Linux kernels and
16984 Linuxthreads. Update lists of configurations in libc and ports
16985 and sort alphabetically. Say "or newer" with Linux kernel version
16988 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16990 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16993 * math/libm-test.inc (logb_test_downward): New test to expose
16994 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16997 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17000 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17002 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17003 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17005 2012-04-26 Joseph Myers <joseph@codesourcery.com>
17007 * sysdeps/unix/i386/brk.S: Remove file.
17008 * sysdeps/unix/i386/dl-brk.S: Likewise.
17009 * sysdeps/unix/i386/pipe.S: Likewise.
17010 * sysdeps/unix/i386/sigreturn.S: Likewise.
17011 * sysdeps/unix/i386/syscall.S: Likewise.
17012 * sysdeps/unix/i386/vfork.S: Likewise.
17013 * sysdeps/unix/i386/wait.S: Likewise.
17015 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17016 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17018 * configure.in (arm*-none*): Do not allow without
17019 --enable-hacker-mode.
17020 (netbsd*): Remove case setting base_os.
17021 (386bsd*): Likewise.
17022 (freebsd*): Likewise.
17025 (sunos*): Likewise.
17026 (ultrix*): Likewise.
17027 (newsos*): Likewise.
17028 (dynix*): Likewise.
17034 (minix*): Likewise.
17035 (irix4*): Likewise.
17036 (irix6*): Likewise.
17037 (solaris[2-9]*): Likewise.
17039 * configure: Regenerated.
17041 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17044 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17045 overflow or cancellation in calculating denominator.
17046 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17047 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17048 down expression to avoid unexpected rounding in newer GCCs.
17049 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17051 2012-04-26 David S. Miller <davem@davemloft.net>
17053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17054 long-double compat symbols.
17055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17069 2012-04-25 David S. Miller <davem@davemloft.net>
17071 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17072 HWCAP_* values only after the memory barriers have been defined.
17073 (atomic_full_barrier): Define.
17074 (atomic_read_barrier): Define.
17075 (atomic_write_barrier): Define.
17077 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17079 * shlib-versions: Add libgcc_s version information.
17080 * sysdeps/generic/libgcc_s.h: Remove.
17081 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17083 * sysdeps/gnu/unwind-resume.c: Likewise.
17084 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17086 2012-04-25 David S. Miller <davem@davemloft.net>
17088 * sysdeps/unix/sparc/brk.S: Delete.
17089 * sysdeps/unix/sparc/dl-brk.S: Delete.
17090 * sysdeps/unix/sparc/pipe.S: Delete.
17091 * sysdeps/unix/sparc/sysdep.S: Delete.
17092 * sysdeps/unix/sparc/sysdep.h: Delete.
17093 * sysdeps/unix/sparc/vfork.S: Delete.
17094 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17095 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17096 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17097 ret_ERRVAL, r0, r1, MOVE): Define.
17098 (JUMPTARGET): Remove.
17099 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17100 sysdeps/unix/sparc/sysdep.h
17101 (ENTRY, END): Remove.
17102 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17104 2012-04-25 Joseph Myers <joseph@codesourcery.com>
17106 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17107 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17110 * timezone/README: Update upstream location and email address for
17112 * timezone/zdump.c: Update from tzcode 2012b.
17113 * timezone/zic.c: Likewise.
17115 * configure.in (libc_cv_as_needed): Remove test.
17116 * configure: Regenerated.
17117 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17118 conditional definition.
17119 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17120 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17121 * config.make.in (have-as-needed): Remove variable.
17123 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17124 Paul Pluzhnikov <ppluzhnikov@google.com>
17126 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17129 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17131 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17132 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17133 * sysdeps/sh/strlen.S: Likewise.
17135 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17137 * sysdeps/unix/fork.S: Remove file.
17138 * sysdeps/unix/i386/fork.S: Likewise.
17139 * sysdeps/unix/sparc/fork.S: Likewise.
17141 * sysdeps/unix/system.c: Remove file.
17142 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17144 * sysdeps/unix/getegid.S: Remove file.
17145 * sysdeps/unix/geteuid.S: Likewise.
17147 2012-04-24 Roland McGrath <roland@hack.frob.com>
17149 * scripts/check-localplt.awk: New file.
17150 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17152 * scripts/data/localplt-generic.data: Add a comment.
17154 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17155 NODE when __dir_mkfile failed.
17156 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17157 Reported by Ludovic Courtès <ludo@gnu.org>.
17159 2012-04-24 Andreas Jaeger <aj@suse.de>
17161 * Makerules (common-clean): Also remove gen-as-const-headers
17164 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17166 * Makerules (native-compile): Do not change working directory for
17167 build. Use $(OUTPUT_OPTION) in command.
17168 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17170 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17173 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17174 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17175 * math/libm-test.inc (floor_test): Add more tests.
17176 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17178 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17180 * sysdeps/unix/getdents.c: Remove file.
17181 * sysdeps/unix/sysv/getdents.c: Likewise.
17182 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17184 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17185 sysdeps/unix/mman/syscalls.list.
17187 (mprotect): Likewise.
17189 (munmap): Likewise.
17190 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17191 * sysdeps/unix/mman/syscalls.list: Remove.
17192 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17194 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17195 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17196 * configure: Regenerated.
17197 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17198 $(libgcc_s_suffix).
17199 * config.make.in (libgcc_s_suffix): Remove variable.
17201 2012-04-23 Joseph Myers <joseph@codesourcery.com>
17203 * sysdeps/unix/sysv/gethostname.c: Move to ...
17204 * sysdeps/posix/gethostname.c: ... here.
17206 * sysdeps/unix/execve.S: Remove file.
17208 * sysdeps/unix/_exit.S: Remove file.
17210 2012-04-23 Andreas Jaeger <aj@suse.de>
17213 * manual/Makefile: Remove make dist support, there's no
17214 need for a stand-alone documentation tar ball.
17215 (TEXI2DVI): Define always, it's not in Makeconfig.
17218 (edition): Removed.
17219 (glibc-doc-$(edition).tar): Removed
17223 (ETAGS): Remove, it's in Makeconfig.
17224 (move-if-change): Remove, it's in Makeconfig.
17226 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
17229 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17230 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17231 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17232 (strtod_l, strtof_l, strtold_l): Remove __wur.
17233 It is not necessarily an error to ignore strtol's return value.
17234 One can reliably look at the stored endptr to decide whether
17235 the number had valid syntax.
17237 2012-04-21 Andreas Jaeger <aj@suse.de>
17240 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17242 2012-04-21 Joseph Myers <joseph@codesourcery.com>
17244 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17245 * sysdeps/unix/sysv/Versions: Remove file.
17247 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17252 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
17255 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17256 version from __vm86.
17258 2012-04-20 Joseph Myers <joseph@codesourcery.com>
17260 * sysdeps/unix/common/lxstat.c: Remove file.
17261 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17263 * sysdeps/unix/sysv/Makefile: Remove file.
17265 * sysdeps/unix/sysv/direct.h: Remove file.
17267 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17268 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17269 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17270 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17271 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17272 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17273 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17275 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17277 * sysdeps/unix/xmknod.c: Remove file.
17278 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17280 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17282 * sysdeps/unix/sysv/i386/time.S: Remove file.
17284 * sysdeps/unix/fxstat.c: Remove file.
17285 * sysdeps/unix/xstat.c: Likewise.
17286 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17288 * sysdeps/unix/sysv/sigaction.c: Remove file.
17290 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17291 (sysdep_headers): Remove variable.
17292 [termio.h not in sysdep_headers] (generated): Likewise.
17293 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17294 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17295 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17296 * sysdeps/unix/sysv/tcflow.c: Likewise.
17297 * sysdeps/unix/sysv/tcflush.c: Likewise.
17298 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17299 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17300 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17301 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17302 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17304 * sysdeps/unix/siglist.c: Remove file.
17306 * sysdeps/unix/getppid.S: Remove file.
17308 * sysdeps/unix/mkdir.c: Remove file.
17309 * sysdeps/unix/rmdir.c: Likewise.
17311 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17313 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17315 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17316 errlist-compat value.
17318 2012-04-18 David S. Miller <davem@davemloft.net>
17320 * sysdeps/generic/memcopy.h (reg_char): Delete.
17321 * debug/strcat_chk.c: Use char, not reg_char.
17322 * debug/strcpy_chk.c: Likewise.
17323 * debug/strncat_chk.c: Likewise.
17324 * debug/strncpy_chk.c: Likewise.
17325 * string/memchr.c: Likewise.
17326 * string/memrchr.c: Likewise.
17327 * string/rawmemchr.c: Likewise.
17328 * string/strcat.c: Likewise.
17329 * string/strchr.c: Likewise.
17330 * string/strchrnul.c: Likewise.
17331 * string/strcmp.c: Likewise.
17332 * string/strcpy.c: Likewise.
17333 * string/strncat.c: Likewise.
17334 * string/strncmp.c: Likewise.
17335 * string/strncpy.c: Likewise.
17337 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17339 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17340 __builtin_memcopy is called when src and dest ranges are known to not
17343 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17345 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17346 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17347 fwd_align_merge macro call.
17348 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17349 bwd_align_merge macro call.
17350 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17352 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17354 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17355 bwd_align_merge macros.
17356 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17357 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17358 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17360 2012-04-18 David S. Miller <davem@davemloft.net>
17362 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17364 2012-04-18 Andreas Jaeger <aj@suse.de>
17367 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17368 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17369 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17371 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17372 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17373 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17375 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17376 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17377 Adjust for changed ldbl-128 files.
17379 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17380 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17381 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17383 2012-04-17 David S. Miller <davem@davemloft.net>
17385 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17387 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17389 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17390 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17391 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17392 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17393 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17394 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17396 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17399 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17400 * math/libm-test.inc: Add ilogb errno and exception tests.
17401 * math/w_ilogb.c: New file: ilogb wrapper.
17402 * math/w_ilogbf.c: New file: ilogbf wrapper.
17403 * math/w_ilogbl.c: New file: ilogbl wrapper.
17404 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17405 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17406 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17407 exception being thrown with 0.0 as argument.
17408 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17409 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17410 exception being thrown with 0.0 as argument.
17411 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17412 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17413 exception being thrown with 0.0 as argument.
17414 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17415 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17416 exception being thrown with 0.0 as argument.
17417 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17418 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
17419 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
17420 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17421 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17422 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17423 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17424 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17425 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17427 2012-04-17 Petr Baudis <pasky@ucw.cz>
17429 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17432 2012-04-16 Marek Polacek <polacek@redhat.com>
17434 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17436 2012-04-16 Marek Polacek <polacek@redhat.com>
17438 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17439 operands of fdivp instruction.
17441 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17443 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17444 * elf/tst-auditmod3b.c: Likewise.
17445 * elf/tst-auditmod4b.c: Likewise.
17446 * elf/tst-auditmod5b.c: Likewise.
17447 * elf/tst-auditmod6b.c: Likewise.
17448 * elf/tst-auditmod6c.c: Likewise.
17449 * elf/tst-auditmod7b.c: Likewise.
17450 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17451 * sysdeps/x86_64/preconfigure.in: Likewise.
17452 * sysdeps/x86_64/preconfigure: Regenerated.
17454 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17456 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17459 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
17461 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17462 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17464 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17467 * locale/iso-639.def: Fix gl language name. Spotted by
17470 2012-04-12 Roland McGrath <roland@hack.frob.com>
17473 * libio/libio.h (__io_write_fn): Update comment.
17475 2012-04-12 Petr Baudis <pasky@ucw.cz>
17478 * stdio.texi (Hook Functions): The user provided writer function
17479 is not allowed to return -1.
17481 2012-04-11 David S. Miller <davem@davemloft.net>
17483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17485 2012-04-11 Mike Frysinger <vapier@gentoo.org>
17487 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17488 Add a leading slash to rtkaio.
17490 2012-04-11 Jim Meyering <meyering@redhat.com>
17493 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17494 It is not necessarily an error to ignore fwrite's return
17495 value. One can reliably use ferror to test for errors after
17498 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17500 * bits/types.h (__snseconds_t): New type.
17501 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17503 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17504 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17505 (__SNSECONDS_T_TYPE): Likewise.
17506 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17507 (__SNSECONDS_T_TYPE): Likewise.
17508 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17509 (__SNSECONDS_T_TYPE): Likewise.
17511 2012-04-10 Andreas Jaeger <aj@suse.de>
17514 * manual/time.texi (Processor Time): Return type of times is
17515 elapsed real time since an arbitrary point in the past.
17516 (CPU Time): Move CLK_TCK from here...
17517 (Processor Time): ...to here. Correct description.
17518 * manual/conf.texi (Constants for Sysconf): Correct description of
17521 2012-04-10 David S. Miller <davem@davemloft.net>
17524 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17525 where the is a gap between DT_REL(A) and DT_JMPREL.
17527 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17529 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17530 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17531 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17533 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17535 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17536 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17537 (dl_main): Handle --inhibit-cache.
17538 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17540 * elf/dl-load.c (_dl_map_object): Use it.
17541 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17543 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17546 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17547 (__ieee754_powl): Saturate large exponents rather than testing for
17548 overflow of y*log2(x).
17549 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17550 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17554 * math/s_ctan.c: Include <float.h>.
17555 (__ctan): Avoid internal overflow or cancellation in calculating
17557 * math/s_ctanf.c: Likewise.
17558 * math/s_ctanl.c: Likewise.
17559 * math/s_ctanh.c: Likewise.
17560 * math/s_ctanhf.c: Likewise.
17561 * math/s_ctanhl.c: Likewise.
17562 * math/libm-test.inc (ctan_test): Add more tests.
17563 (ctanh_test): Likewise.
17564 * sysdeps/i386/fpu/libm-test-ulps: Update.
17565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17567 2012-04-09 Andreas Jaeger <aj@suse.de>
17570 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17571 is an optional BSD extension.
17574 * manual/stdio.texi (Opening Streams): Document additional fopen
17577 2012-04-09 Roland McGrath <roland@hack.frob.com>
17579 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17580 %eax without telling the compiler.
17582 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17585 * manual/install.texi: Use sourceware.org.
17587 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17590 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17591 (__ieee754_pow): Generate overflow and underflow using huge*huge
17592 and tiny*tiny rather than just returning constant infinity or zero
17593 for large exponents.
17594 * math/libm-test.inc (pow_test): Require overflow exceptions for
17595 applicable cases of large exponents.
17598 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17599 (__ieee754_pow): Use iterative multiplication algorithm only for
17600 integer exponents with absolute value below 1024. Check for odd
17601 integer exponents when using algorithm for real exponents.
17602 * math/libm-test.inc (pow_test): Add more tests.
17603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17605 2012-04-08 Joseph Myers <joseph@codesourcery.com>
17608 * math/libm-test.inc (exp_test): Do not allow overflow exception
17611 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17614 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17615 instead of __kernel_standard_f.
17617 2012-04-08 Mike Frysinger <vapier@gentoo.org>
17619 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17620 * sysdeps/x86_64/memset_chk.S: Likewise.
17622 2012-04-08 Andreas Jaeger <aj@suse.de>
17625 * manual/startup.texi (Environment Access): Describe return value
17626 for putenv and setenv.
17629 * manual/filesys.texi (Directory Entries): Add description for
17633 * manual/filesys.texi (Directory Entries): Clarify that it's file
17634 system not operating system in the description of DT_UNKNOWN.
17637 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17639 2012-04-08 Stephen Compall <s11@member.fsf.org>
17642 * manual/llio.texi (Opening and Closing Files): Add cross
17643 reference to explain mode argument.
17645 2012-04-07 Mike Frysinger <vapier@gentoo.org>
17647 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17648 * sysdeps/x86_64/memset_chk.S: Likewise.
17650 2012-04-07 David S. Miller <davem@davemloft.net>
17652 * elf/elf.h (R_SPARC_WDISP10): Define.
17653 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17655 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17656 R_SPARC_SIZE64 and R_SPARC_H34.
17658 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17660 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17661 conditions and remove no longer applicable assertion.
17663 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17665 * bits/byteswap.h: Include <features.h>.
17666 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17667 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17669 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17671 * bits/byteswap.h (__bswap_16): Removed.
17672 Include <bits/byteswap-16.h> to get __bswap_16.
17673 * sysdeps/i386/bits/byteswap.h: Likewise.
17674 * sysdeps/s390/bits/byteswap.h: Likewise.
17675 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17676 * bits/byteswap-16.h: New file.
17677 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17678 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17679 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17680 * string/Makefile (headers): Add bits/byteswap-16.h.
17682 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17685 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17687 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17688 * nss/tst-nss-static.c: New.
17690 2012-04-06 Robert Millan <rmh@gnu.org>
17693 * manual/llio.texi (File Position Primitive): lseek
17694 refers to WHENCE when it really means OFFSET.
17696 2012-04-06 Andreas Jaeger <aj@suse.de>
17698 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17699 strncmp declarations.
17701 * abilist/libc.abilist: Add __poll and __ppoll.
17703 2012-04-05 David S. Miller <davem@davemloft.net>
17705 * scripts/check-local-headers.sh: Accept a host triplet in the
17706 path matched by the exclude regexp.
17708 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17710 * sysdeps/powerpc/powerpc32/dl-machine.h
17711 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17712 * sysdeps/s390/s390-32/dl-machine.h
17713 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17714 * sysdeps/sparc/sparc32/dl-machine.h
17715 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17716 * sysdeps/sparc/sparc64/dl-machine.h
17717 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17719 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17721 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17722 undefined symbol errors.
17724 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17727 2012-04-05 Michael Matz <matz@suse.de>
17730 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17732 2012-04-05 Andreas Jaeger <aj@suse.de>
17735 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17738 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17740 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17741 which ROUND is no valid rounding mode.
17743 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17745 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17747 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17749 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17751 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17752 an exception using FPU order intentionally.
17754 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17756 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17757 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17758 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17759 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17761 2012-04-05 Simon Josefsson <simon@josefsson.org>
17764 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17765 EINVAL when BUFLEN is too smal.
17767 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17770 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17771 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17773 2012-04-03 Andreas Jaeger <aj@suse.de>
17776 * manual/setjmp.texi (System V contexts): Fix sentence.
17779 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17780 New macro for this case.
17781 [!__GNUC__] (__bswap_64): New inline function for this case.
17782 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17783 * bits/byteswap.h: Likewise.
17784 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17785 ull, guard with __GLIBC_HAVE_LONG_LONG.
17787 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17788 __GLIBC_HAVE_LONG_LONG.
17790 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17791 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17793 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17796 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17797 inptr and inend, rather than using last_ch.
17799 2012-04-02 David S. Miller <davem@davemloft.net>
17801 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17802 * stdio-common/printf-parse.h (read_int): Change return type to
17803 'int', return -1 on INT_MAX overflow.
17804 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17805 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17806 overflows INT_MAX. Check for overflow of in-format-string precision
17807 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17808 SIZE_MAX not INT_MAX for integer overflow test.
17809 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17810 skip the construct in the format string but do not record anything.
17811 * stdio-common/bug22.c: Adjust to test both width/prevision
17812 INT_MAX overflow as well as total length INT_MAX overflow. Check
17813 explicitly for proper errno values.
17815 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17817 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17819 * string/test-strcmp.c [! WIDE]: Likewise.
17820 * time/tst-mktime2.c: Likewise for INT_MAX.
17821 * string/test-string.h: #include <sys/param.h> for MIN.
17823 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17824 * sysdeps/i386/init-first.c (init): Likewise.
17825 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17826 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17827 * sysdeps/sh/init-first.c (init): Likewise.
17829 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17831 * po/ru.po: Update from translation team.
17832 * po/vi.po: Likewise.
17834 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17836 * resolv/nss_dns/dns-host.c: Merge copyright years.
17838 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17840 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17841 Optimize memcpy with prefetch if
17842 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17843 src, dst pointers have unequal 16 byte alignments.
17845 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17848 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17849 from a CNAME entry and return the minimum ttl for the query.
17850 (gaih_getanswer_slice): Likewise.
17852 2012-03-30 Jeff Law <law@redhat.com>
17854 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17856 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17857 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17859 * resolv/nss_dns/dns-host.c: Update copyright year.
17861 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17863 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17864 requests to save a system call. Fix check that all bytes are sent.
17866 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17867 comments for sendmmsg.
17869 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17872 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17873 with only 1 character between 0x0041 and 0x01b0.
17874 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17875 * wcsmbs/tst-mbsnrtowcs.c: New file.
17877 2012-03-29 David S. Miller <davem@davemloft.net>
17879 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17880 small copies by hand.
17882 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17885 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17886 _nss_compat_initgroups_dyn): Fall back to malloc/free
17887 for large group memberships.
17889 2012-03-28 David S. Miller <davem@davemloft.net>
17891 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17892 that branches into memcpy.
17893 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17894 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17895 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17896 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17897 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17899 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17900 implementation too.
17901 * sysdeps/sparc/mempcpy.S: New file.
17903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17904 the IFUNC routine in the libc case.
17905 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17907 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17908 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17909 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17910 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17911 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17912 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17913 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17914 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17916 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17917 loop to 256 bytes instead of 64 bytes and fix test signedness.
17919 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17920 * sysdeps/sparc/sparc32/Makefile: rather than here...
17921 * sysdeps/sparc/sparc64/Makefile: and here.
17923 2012-03-28 Ulrich Drepper <drepper@gmail.com>
17925 * malloc/mallocbug.c: Avoid warnings about unused variables.
17927 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17930 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17931 in the right place. Discard and retry query if response is
17932 larger than input buffer size.
17934 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17939 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17940 x for large integer exponent.
17941 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17942 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17943 sign of result as needed afterwards.
17944 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17945 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17946 result for underflowing pow the same as for overflow.
17947 (__kernel_standard_l): Handle powl overflow and underflow here
17948 rather than calling __kernel_standard.
17949 * math/libm-test.inc (pow_test): Add more tests.
17964 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17965 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17966 (__kernel_standard_l): New function.
17967 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17969 * math/w_acosl.c (__acosl): Likewise.
17970 * math/w_asinl.c (__asinl): Likewise.
17971 * math/w_atan2l.c (__atan2l): Likewise.
17972 * math/w_atanhl.c (__atanhl): Likewise.
17973 * math/w_coshl.c (__coshl): Likewise.
17974 * math/w_exp10l.c (__exp10l): Likewise.
17975 * math/w_exp2l.c (__exp2l): Likewise.
17976 * math/w_fmodl.c (__fmodl): Likewise.
17977 * math/w_hypotl.c (__hypotl): Likewise.
17978 * math/w_j0l.c (__j0l, __y0l): Likewise.
17979 * math/w_j1l.c (__j1l, __y1l): Likewise.
17980 * math/w_jnl.c (__jnl, __ynl): Likewise.
17981 * math/w_lgammal.c (__lgammal): Likewise.
17982 * math/w_log10l.c (__log10l): Likewise.
17983 * math/w_log2l.c (__log2l): Likewise.
17984 * math/w_logl.c (__logl): Likewise.
17985 * math/w_powl.c (__powl): Likewise.
17986 * math/w_remainderl.c (__remainderl): Likewise.
17987 * math/w_scalbl.c (sysv_scalbl): Likewise.
17988 * math/w_sinhl.c (__sinhl): Likewise.
17989 * math/w_sqrtl.c (__sqrtl): Likewise.
17990 * math/w_tgammal.c (__tgammal): Likewise.
17991 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17992 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17993 * math/libm-test.inc (acos_test): Add more tests.
17994 (acosh_test): Likewise.
17995 (asin_test): Likewise.
17996 (atanh_test): Likewise.
17997 (exp_test): Likewise.
17998 (exp10_test): Likewise.
17999 (exp2_test): Likewise.
18000 (expm1_test): Likewise.
18001 (lgamma_test): Likewise.
18002 (log_test): Likewise.
18003 (log10_test): Likewise.
18004 (log1p_test): Likewise.
18005 (log2_test): Likewise.
18006 (pow_test): Do not allow some spurious overflow exceptions.
18007 (sqrt_test): Add more tests.
18008 (tgamma_test): Likewise.
18009 (y0_test): Likewise.
18010 (y1_test): Likewise.
18011 (yn_test): Likewise.
18013 2012-03-27 Anton Blanchard <anton@samba.org>
18015 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18017 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18018 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18019 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18021 2012-03-27 David S. Miller <davem@davemloft.net>
18023 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18025 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18026 have-as-vis3 check.
18028 2012-03-27 Andreas Jaeger <aj@suse.de>
18030 * sysdeps/x86_64/elf/configure.in: Moved to ...
18031 * sysdeps/x86_64/configure.in: ... here.
18032 * sysdeps/x86_64/elf/start.S: Moved to ...
18033 * sysdeps/x86_64/start.S: ... here.
18034 * sysdeps/x86_64/elf/configure: Delete.
18036 * sysdeps/x86_64/configure.in: Merge contents from
18037 sysdeps/i386/configure.in (without i686 check).
18039 * sysdeps/i386/elf/Versions: Merge into ...
18040 * sysdeps/i386/Versions: ... this.
18041 * sysdeps/i386/elf/Versions: Delete file.
18042 * sysdeps/i386/elf/start.S: Moved to ...
18043 * sysdeps/i386/start.S: ...here.
18044 * sysdeps/i386/elf/configure.in: Merge into...
18045 * sysdeps/i386/configure.in: ...here.
18046 * sysdeps/i386/elf/configure.in: Delete file.
18047 * sysdeps/i386/elf/configure: Delete file.
18049 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18050 * debug/backtracesyms.c: ... here.
18051 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18052 * debug/backtracesymsfd.c: ... here.
18053 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18054 * sysdeps/generic/ifunc-sel.h: ... here.
18056 * sysdeps/unix/i386/start.c: Delete file.
18057 * sysdeps/unix/sparc/start.c: Delete file.
18058 * sysdeps/unix/start.c: Delete file.
18060 * sysdeps/sh/elf/configure.in: Moved to ...
18061 * sysdeps/sh/configure.in: ... here.
18062 * sysdeps/sh/elf/start.S: Moved to ...
18063 * sysdeps/sh/start.S: ... here.
18064 * sysdeps/sh/elf/configure: Delete file.
18066 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18067 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18068 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18069 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18070 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18071 * sysdeps/powerpc/powerpc64/start.S: here.
18072 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18073 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18074 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18075 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18076 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18078 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18079 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18080 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18081 * sysdeps/powerpc/powerpc32/start.S: ... here.
18082 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18083 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18084 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18086 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18087 * sysdeps/powerpc/ifunc-sel.h: ... here.
18088 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18089 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18091 * sysdeps/sparc/elf/configure.in: Moved to ...
18092 * sysdeps/sparc/configure.in: ... here.
18093 * sysdeps/sparc/elf/configure: Delete file.
18094 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18095 * sysdeps/sparc/sparc32/start.S: ... here.
18096 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18097 * sysdeps/sparc/sparc64/start.S: ... here.
18098 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18099 * sysdeps/sparc/sparc32/Makefile: ... this.
18100 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18101 * sysdeps/sparc/sparc64/Makefile: ... this.
18103 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18104 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18105 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18106 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18107 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18108 * sysdeps/s390/s390-32/setjmp.S: ... here.
18109 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18110 * sysdeps/s390/s390-32/configure.in: ... here.
18111 * sysdeps/s390/s390-32/elf/configure: Delete file.
18112 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18113 * sysdeps/s390/s390-32/start.S: ... here.
18115 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18116 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18117 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18118 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18119 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18120 * sysdeps/s390/s390-64/setjmp.S: ... here.
18121 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18122 * sysdeps/s390/s390-64/configure.in: ... here
18123 * sysdeps/s390/s390-64/elf/configure: Delete file.
18124 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18125 * sysdeps/s390/s390-64/start.S: ... here.
18126 * sysdeps/s390/s390-64/elf/configure: Delete.
18128 * configure.in: Remove support for elf directories in sysdeps.
18130 * configure: Regenerated.
18131 * sysdeps/i386/configure: Regenerated.
18132 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18133 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18134 * sysdeps/s390/s390-32/configure: Regenerated.
18135 * sysdeps/s390/s390-64/configure: Regenerated.
18136 * sysdeps/sh/configure: Regenerated.
18137 * sysdeps/sparc/configure: Regenerated.
18138 * sysdeps/x86_64/configure: Regenerated.
18140 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
18142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18144 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18145 denormal result into account.
18147 2012-03-25 Roland McGrath <roland@hack.frob.com>
18149 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18150 Reported by Allan McRae <allan@archlinux.org>.
18152 2012-03-23 Jeff Law <law@redhat.com>
18154 * nss/getnssent.c (__nss_getent): Fix typo.
18156 2012-03-23 David S. Miller <davem@davemloft.net>
18158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18160 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18162 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18163 to pad to uint64_t for each field.
18164 (dl_tls_index): Replace unsigned long with uint64_t.
18166 2012-03-23 Daniel Jacobowitz <dmj@google.com>
18167 Paul Pluzhnikov <ppluzhnikov@google.com>
18170 * grp/Makefile (otherlibs): Don't set it.
18171 * inet/Makefile (otherlibs): Likewise.
18172 * login/Makefile (otherlibs): Likewise.
18173 * nscd/Makefile (otherlibs): Likewise.
18174 * posix/Makefile (otherlibs): Likewise.
18175 * pwd/Makefile (otherlibs): Likewise.
18176 * rt/Makefile (otherlibs): Likewise.
18177 * sunrpc/Makefile (otherlibs): Likewise.
18178 * nss/Makefile (otherlibs): Likewise.
18179 Add libnss_files to routines and static-only-routines.
18180 ($(objpfx)getent): Remove rule.
18181 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18182 static-only-routines.
18184 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18187 * math/s_cexp.c: Include <float.h>.
18188 (__cexp): Handle exp result overflowing not necessarily
18189 overflowing both real and imaginary parts of result.
18190 * math/s_cexpf.c: Likewise.
18191 * math/s_cexpl.c: Likewise.
18192 * math/libm-test.inc (cexp_test): Add more tests.
18193 * sysdeps/i386/fpu/libm-test-ulps: Update.
18194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18196 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18198 * include/link.h (ELFW): New macro.
18199 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18200 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18202 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18204 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18207 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18209 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18211 (struct La_x32_retval): Likewise.
18213 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18215 * sysdeps/x86_64/preconfigure.in: New file.
18216 * sysdeps/x86_64/preconfigure: New generated file.
18218 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18221 * math/e_exp2l.c: Include <float.h>.
18222 (__ieee754_exp2l): Handle overflow and underflow cases
18223 separately. Only pass fractional part of argument to
18225 * math/libm-test.inc (exp2_test): Add more tests.
18227 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18228 negating x to take absolute value.
18229 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18231 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18232 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18234 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18235 computing low part if x was negated.
18236 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18238 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18240 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18241 la_x32_gnu_pltexit.
18242 (pltexit): Cast int_retval to ptrdiff_t.
18243 * elf/tst-auditmod3b.c: Likewise.
18244 * elf/tst-auditmod4b.c: Likewise.
18245 * elf/tst-auditmod5b.c: Likewise.
18246 * elf/tst-auditmod6b.c: Likewise.
18247 * elf/tst-auditmod6c.c: Likewise.
18248 * elf/tst-auditmod7b.c: Likewise.
18250 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18251 and x32_gnu_pltexit.
18253 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18254 __ELF_NATIVE_CLASS.
18255 (La_x32_regs): New macro.
18256 (La_x32_retval): Likewise.
18257 (la_x32_gnu_pltenter): New function prototype.
18258 (la_x32_gnu_pltexit): Likewise.
18260 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18262 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18267 * configure.in (libc_cv_cc_nofma): Check for option to disable
18268 generation of FMA instructions.
18269 * configure: Regenerate.
18270 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18271 * sysdeps/ieee754/dbl-64/Makefile: New file.
18272 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18273 Remove brandred-fma4.
18274 (CFLAGS-brandred-fma4.c): Remove.
18275 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18276 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18278 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18281 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18283 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18284 LLONG_MAX != LONG_MAX.
18285 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18286 (_fitoa_word): Likewise.
18287 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18288 LLONG_MAX != LONG_MAX.
18289 * stdio-common/_itowa.h: Include <_itoa.h>.
18290 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18291 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18292 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18293 only if not defined.
18294 (_ITOA_WORD_TYPE): Likewise.
18295 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18296 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18298 2012-03-21 David S. Miller <davem@davemloft.net>
18300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18302 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18304 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18305 of x86_64 when setting libc_cv_slibdir, libdir and
18307 * sysdeps/unix/sysv/linux/configure: Regenerated.
18309 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18311 * manual/lang.texi (Old Varargs): Remove section.
18312 (How Variadic): Update menu.
18313 (va_start): Do not mention varargs.h.
18315 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18316 Joseph Myers <joseph@codesourcery.com>
18318 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18320 * configure: Regenerated.
18322 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18324 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18325 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18328 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18331 * Makefile (files-for-dist): Remove NOTES.
18332 (NOTES): Remove rule.
18333 * README: Don't refer to NOTES.
18334 * manual/creature.texi: Don't include macros.texi.
18335 * manual/intro.texi (creature.texi): Remove comment referring to
18338 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18339 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18340 * configure: Regenerated.
18341 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18342 LIBC_TRY_CC_OPTION.
18343 (libc_cv_as_i686): Likewise.
18344 (libc_cv_cc_avx): Likewise.
18345 (libc_cv_cc_sse2avx): Likewise.
18346 (libc_cv_cc_fma4): Likewise.
18347 (libc_cv_cc_novzeroupper): Likewise.
18348 * sysdeps/i386/configure: Regenerated.
18351 * sysdeps/i386/fpu/s_cexp.S: Remove.
18352 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18353 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18354 * math/libm-test.inc (cexp_test): Add more tests.
18355 * sysdeps/i386/fpu/libm-test-ulps: Update.
18356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18358 2012-03-21 Allan McRae <allan@archlinux.org>
18360 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18362 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18365 * math/w_exp2.c: Do not include <float.h>.
18366 (o_threshold, u_threshold): Remove.
18367 (__exp2): Calculate result before checking finiteness and calling
18369 * math/w_exp2f.c: Likewise.
18370 * math/w_exp2l.c: Likewise.
18371 * math/libm-test.inc (exp2_test): Require overflow exception for
18375 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18376 range of signed 64-bit integers before using fistpll. Remove
18377 checks for whether integers fit in mantissa bits.
18378 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18379 the range of signed 32-bit integers before using fistpl. Remove
18380 checks for whether integers fit in mantissa bits.
18381 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18382 (__ieee754_powl): Test for y outside the range of signed 64-bit
18383 integers before using fistpll. Reduce 64-bit values to 63-bit
18385 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18386 divide-by-zero is raised for zero to large negative powers.
18387 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18388 (__ieee754_powl): Test for y outside the range of signed 64-bit
18389 integers before using fistpll. Reduce 64-bit values to 63-bit
18391 * math/libm-test.inc (pow_test): Add more tests.
18393 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18395 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18396 <stdio-common/_itoa.h>.
18397 * debug/segfault.c: Likewise.
18398 * elf/dl-cache.c: Likewise.
18399 * elf/dl-minimal.c: Likewise.
18400 * elf/dl-misc.c: Likewise.
18401 * elf/dl-sysdep.c: Likewise.
18402 * elf/dl-version.c: Likewise.
18403 * elf/rtld.c: Likewise.
18404 * hurd/hurdsock.c: Likewise.
18405 * hurd/lookup-retry.c: Likewise.
18406 * malloc/malloc.c: Likewise.
18407 * malloc/mtrace.c: Likewise.
18408 * nscd/nscd_getgr_r.c: Likewise.
18409 * nscd/nscd_getpw_r.c: Likewise.
18410 * nscd/nscd_getserv_r.c: Likewise.
18411 * posix/getopt_init.c: Likewise.
18412 * posix/wordexp.c: Likewise.
18413 * stdio-common/_itoa.c: Likewise.
18414 * stdio-common/printf_fphex.c: Likewise.
18415 * stdio-common/vfprintf.c: Likewise.
18416 * string/_strerror.c: Likewise.
18417 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18418 * sysdeps/i386/i686/hp-timing.h: Likewise.
18419 * sysdeps/mach/_strerror.c: Likewise.
18420 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18421 * sysdeps/mach/hurd/sethostid.c: Likewise.
18422 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18423 * sysdeps/mach/xpg-strerror.c: Likewise.
18424 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18425 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18426 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18427 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18428 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18429 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18430 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18431 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18432 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18433 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18434 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18435 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18436 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18437 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18438 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18439 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18440 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18441 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18442 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18443 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18444 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18446 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18448 * stdio-common/_itoa.h: Moved to ...
18449 * sysdeps/generic/_itoa.h: Here.
18451 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18453 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18454 instead of "_itoa.h" and "_itowa.h".
18455 * stdio-common/vfprintf.: Likewise.
18457 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18459 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18461 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18462 (__signbit): Likwise.
18463 (llrintf): Likwise.
18466 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18468 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18471 2012-03-20 Joseph Myers <joseph@codesourcery.com>
18473 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18474 OVERFLOW_EXCEPTION_OK.
18475 * math/libm-test.inc ("Philosophy"): Update comment about
18477 (OVERFLOW_EXCEPTION): Define.
18478 (OVERFLOW_EXCEPTION_OK): Likewise.
18479 (INVALID_EXCEPTION_OK): Renumber.
18480 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18481 (IGNORE_ZERO_INF_SIGN): Likewise.
18482 (test_exceptions): Handle FE_OVERFLOW.
18483 (exp10_test): Expect overflow exceptions.
18484 (exp2_test): Likewise.
18485 (expm1_test): Likewise.
18486 (nextafter_test): Likewise.
18487 (pow_test): Likewise.
18488 (scalbn_test): Likewise.
18489 (scalbln_test): Likewise.
18491 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18493 * sysdeps/x86_64/bits/atomic.h
18494 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18496 (atomic_exchange_acq): Likewise.
18497 (__arch_exchange_and_add_body): Likewise.
18498 (__arch_add_body): Likewise.
18499 (atomic_add_negative): Likewise.
18500 (atomic_add_zero): Likewise.
18502 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18504 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
18505 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18507 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18509 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18510 Check __x86_64__ instead of __WORDSIZE.
18512 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18514 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18516 2012-03-19 David S. Miller <davem@davemloft.net>
18518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18520 * sysdeps/sparc/fpu/fenv_private.h: New file.
18521 * sysdeps/sparc/fpu/math_private.h: Use it.
18522 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18524 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18525 (libc_feholdexcept_setroundl): Remove.
18526 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18528 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18529 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18531 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18533 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18534 int64_t instead of long int.
18535 (INSERT_WORDS64): Likwise.
18537 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18539 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18540 _Unwind_GetCFA return to _Unwind_Ptr first.
18542 2012-03-19 Joseph Myers <joseph@codesourcery.com>
18545 * math/s_clog.c: Include <float.h>.
18546 (__clog): Scale large or subnormal inputs.
18547 * math/s_clogf.c: Likewise.
18548 * math/s_clogl.c: Likewise.
18549 * math/s_clog10.c: Include <float.h>.
18550 (M_LOG10_2): Define.
18551 (__clog10): Scale large or subnormal inputs.
18552 * math/s_clog10f.c: Likewise.
18553 * math/s_clog10l.c: Likewise.
18554 * math/libm-test.inc (clog_test): Add more tests.
18555 (clog10_test): Likewise.
18556 * sysdeps/i386/fpu/libm-test-ulps: Update.
18557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18560 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18562 * math/libm-test.inc (atan2_test): Add another test.
18564 * Makerules (common-objdir-compile): Remove.
18565 * sysdeps/unix/Makefile (config-generated): Do not add
18566 $(unix-generated) to variable.
18567 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18568 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18570 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18572 [generic bits/local_lim.h] (before-compile): Do not append to
18574 [generic bits/local_lim.h] (common-generated): Likewise.
18575 [generic sys/param.h] (before-compile): Do not append to variable.
18576 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18577 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18578 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18579 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18581 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18582 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18583 [generic sys/param.h] ($(addprefix
18584 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18585 [generic sys/param.h] (common-generated): Do not append to
18587 [generic sys/param.h] (sysdep_headers): Likewise.
18588 [generic bits/errno.h] (before-compile): Do not append to
18590 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18592 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18593 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18594 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18595 [generic bits/errno.h] (common-generated): Do not append to
18597 [generic bits/ioctls.h] (before-compile): Do not append to
18599 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18601 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18602 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18603 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18605 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18606 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18607 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18608 [generic bits/ioctls.h] (common-generated): Do not append to
18610 [generic sys/syscall.h] (syscall.h): Remove variable.
18611 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18613 [generic sys/syscall.h] (before-compile): Do not append to
18615 [generic sys/syscall.h] (common-generated): Likewise.
18616 * sysdeps/unix/errnos-tmpl.c: Remove file.
18617 * sysdeps/unix/errnos.awk: Likewise.
18618 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18619 * sysdeps/unix/ioctls.awk: Likewise.
18620 * sysdeps/unix/mk-local_lim.c: Likewise.
18621 * sysdeps/unix/snarf-ioctls: Likewise.
18623 2012-03-19 Richard Henderson <rth@twiddle.net>
18625 * sysdeps/i386/fpu/fenv_private.h: New file.
18626 * sysdeps/i386/fpu/math_private.h: Use it.
18627 (math_opt_barrier, math_force_eval): Remove.
18628 (libc_feholdexcept_setround_53bit): Remove.
18629 (libc_feupdateenv_53bit): Remove.
18630 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18631 (math_opt_barrier, math_force_eval): Remove.
18632 (libc_feholdexcept): Remove.
18633 (libc_feholdexcept_setround): Remove.
18634 (libc_fetestexcept, libc_fesetenv): Remove.
18635 (libc_feupdateenv_test): Remove.
18636 (libc_feupdateenv, libc_feholdsetround): Remove.
18637 (libc_feresetround): Remove.
18639 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18640 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18642 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18643 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18644 (libc_feupdateenv_testl): New.
18645 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18646 (libc_feupdateenv_testf): New.
18647 (libc_feupdateenv): Use libc_feupdateenv_test.
18648 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18649 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18651 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18652 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18653 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18654 (libc_feresetround_noex): New.
18655 (libc_feresetround_noexf): New.
18656 (libc_feresetround_noexl): New.
18657 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18658 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18659 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18660 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18662 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18663 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18665 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18666 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18667 SET_RESTORE_ROUND_NOEX.
18668 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18669 SET_RESTORE_ROUND_NOEXF.
18670 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18671 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18672 (libc_feholdsetroundf): New.
18673 (libc_feresetround, libc_feresetroundf): New.
18675 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18676 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18677 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18679 * sysdeps/generic/math_private.h: Include <fenv.h>.
18680 (default_libc_feholdexcept): New.
18681 (default_libc_feholdexcept_setround): New.
18682 (default_libc_fesetenv, default_libc_feupdateenv): New.
18683 (libc_feholdexcept): Only define if undefined.
18684 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18685 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18686 (libc_feholdexcept_setroundl): Likewise.
18687 (libc_feholdexcept_setround_53bit): Likewise.
18688 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18689 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18690 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18691 (libc_feupdateenv_53bit): Likewise.
18692 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18693 (libc_feholdexcept): Convert from macro to inline function.
18694 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18695 (libc_fesetenv, libc_feupdateenv): Likewise.
18697 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18698 not previously defined.
18699 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18700 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18701 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18702 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18703 * sysdeps/ieee754/flt-32/math_private.h: New file.
18704 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18705 math_private.h below SET_FLOAT_WORD.
18706 (__isnan, __isinf_ns, __finite): Remove.
18707 (__isnanf, __isinf_nsf, __finitef): Remove.
18709 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18713 2012-03-17 David S. Miller <davem@davemloft.net>
18716 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18719 2012-03-16 David S. Miller <davem@davemloft.net>
18721 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18725 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18727 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18728 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18729 sysdep_routines when subdir is sysvipc.
18730 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18731 __getshmlba helper.
18733 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18735 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18737 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18740 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18742 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18743 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18744 (__lround): Renamed to ...
18745 (__llround): This. Replace long int with long long int.
18746 Define lround functions as aliases of llround functions.
18747 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18749 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18751 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18752 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18753 adresses to uintptr_t. Replace "long int" and "unsigned long
18754 int" with "greg_t" on va_arg.
18756 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18758 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18759 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18761 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18762 Move e_machine check before EI_CLASS check. Handle x32
18763 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18764 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18765 SKIP_EM_IA_64 and include
18766 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18768 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18769 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18770 (add_system_dir): New macro.
18772 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18773 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18775 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18786 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18788 * math/w_j0f.c (j0f): Likewise.
18790 * math/w_j0l.c (__j0l): Likewise.
18792 * math/w_j1.c (j1): Likewise.
18794 * math/w_j1f.c (j1f): Likewise.
18796 * math/w_j1l.c (__j1l): Likewise.
18798 * math/w_jn.c (jn): Likewise.
18800 * math/w_jnf.c (jnf): Likewise.
18802 * math/w_jnl.c (__jnl): Likewise.
18804 * math/libm-test.inc (j0_test): Add more tests.
18805 (j1_test): Likewise.
18806 (jn_test): Likewise. Add trailing semicolon to existing test.
18807 (y0_test): Likewise.
18808 (y1_test): Likewise.
18809 * sysdeps/i386/fpu/libm-test-ulps: Update.
18810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18814 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18815 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18816 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18817 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18818 (__tanl): Set errno for infinite argument.
18819 * sysdeps/i386/fpu/mptan.c: Remove.
18820 * sysdeps/i386/fpu/s_tan.S: Likewise.
18821 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18822 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18823 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18824 * math/libm-test.inc (tan_test): Add more tests and enable more
18825 tests for double and long double.
18826 * sysdeps/i386/fpu/libm-test-ulps: Update.
18827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18829 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18831 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18832 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18834 2012-03-16 Roland McGrath <roland@hack.frob.com>
18836 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18837 * configure.in: Use it for both main tree and add-ons.
18838 * configure: Regenerated.
18840 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18842 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18844 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18846 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18850 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18851 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18852 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18853 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18854 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18856 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18857 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18858 != 0 for prec == 2.
18859 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18860 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18861 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18862 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18863 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18864 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18865 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18866 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18867 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18868 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18869 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18870 * math/libm-test.inc (cos_test): Add more tests and enable more
18871 tests for long double.
18872 (sin_test): Likewise.
18873 (sincos_test): Likewise.
18874 * sysdeps/i386/fpu/libm-test-ulps: Update.
18875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18877 2012-03-16 David S. Miller <davem@davemloft.net>
18879 * sysdeps/sparc/fpu/math_private.h: New file.
18881 2012-03-15 David S. Miller <davem@davemloft.net>
18883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18893 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18897 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18898 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18900 * sysdeps/sparc/sparc-ifunc.h: New file.
18901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18925 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18926 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18927 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18928 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18929 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18930 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18934 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18938 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18939 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18940 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18941 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18942 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18943 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18944 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18946 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18948 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18952 2012-03-15 Andreas Jaeger <aj@suse.de>
18955 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18956 ieee754/flt-32 implementation for sin, cos and sincos.
18957 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18958 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18959 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18960 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18961 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18962 ieee754/flt-32 implementation for tan.
18964 * math/libm-test.inc (cos_test): Enable some large input tests for
18966 (sin_test): Likewise.
18967 (sincos_test): Likewise.
18968 (tan_test): Add tests for large input.
18970 * sysdeps/i386/fpu/libm-test-ulps: Update.
18972 2012-03-15 Andreas Jaeger <aj@suse.de>
18975 * math/libm-test.inc (cos_test): Add more test cases.
18976 (sin_test): Likewise.
18977 (sincos_test): Likewise.
18979 2012-03-15 Andreas Jaeger <aj@suse.de>
18982 * math/libm-test.inc (cos_test): Add a test case for large input
18984 (sin_test): Likewise.
18985 (sincos_test): Likewise.
18987 2012-03-15 Andreas Jaeger <aj@suse.de>,
18988 Joseph Myers <joseph@codesourcery.com>
18991 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
18992 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18993 * sysdeps/i386/fpu/branred.c: Likewise.
18994 * sysdeps/i386/fpu/dosincos.c: Likewise.
18995 * sysdeps/i386/fpu/mpa.c: Likewise.
18996 * sysdeps/i386/fpu/s_cos.S: Likewise.
18997 * sysdeps/i386/fpu/s_sin.S: Likewise.
18998 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18999 * sysdeps/i386/fpu/sincos32.c: Likewise.
19001 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19003 (libc_feupdateenv_53bit): Define.
19004 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19006 (libc_feupdateenv_53bit): Define.
19008 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19009 53 bit (without extend i386 double precision).
19011 * math/libm-test.inc (sincos_test): Add tests for large input.
19015 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19017 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19021 2012-03-15 David S. Miller <davem@davemloft.net>
19023 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19024 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19025 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19026 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
19038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
19041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
19044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
19047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19050 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19051 fmin/fmax sysdep routines.
19052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19054 2012-03-14 David S. Miller <davem@davemloft.net>
19056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19060 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19061 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19062 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19063 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19064 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19065 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19076 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19078 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19079 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19080 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19081 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19082 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19083 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
19084 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
19089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
19092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
19095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
19098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
19101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
19116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
19119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
19122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
19125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19128 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19133 * sysdeps/sparc/configure.in: New file.
19134 * sysdeps/sparc/configure: Generate.
19135 * configure.in (libc_cv_sparc_as_vis3): Substitute.
19136 * configure: Regenerate.
19137 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19138 * config.make.in (have-as-vis3): New.
19139 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19140 available use -Av9d instead of -Av9a.
19141 * sysdeps/sparc/sparc64/Makefile: Likewise.
19142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
19143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19151 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19152 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19153 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19154 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19155 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19157 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19158 fzeros/fnegs to load 0x80000000 into a float register instead of
19160 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19162 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19164 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19166 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19167 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19168 ($(inst_includedir)/bits/syscall.h): Remove rule.
19169 ($(objpfx)bits/syscall.d): Include instead of
19170 $(objpfx)syscall-list.d.
19171 (generated): Change syscall-list.h and syscall-list.d to
19172 bits/syscall.h and bits/syscall.d.
19174 2012-03-14 Roland McGrath <roland@hack.frob.com>
19177 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19179 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19182 * math/s_csqrt.c: Include <float.h>.
19183 (__csqrt): Scale large or subnormal inputs.
19184 * math/s_csqrtf.c: Likewise.
19185 * math/s_csqrtl.c: Likewise.
19186 * math/libm-test.inc (csqrt_test): Add more tests.
19187 * sysdeps/i386/fpu/libm-test-ulps: Update.
19188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19191 * math/libm-test.inc (hypot_test): Add more tests.
19193 2012-03-13 David S. Miller <davem@davemloft.net>
19196 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19197 double-precision for the calculation instead of scaling.
19199 2012-03-13 Joseph Myers <joseph@codesourcery.com>
19201 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19202 manipulate bits before adding and subtracting TWO52[sx].
19203 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19204 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19206 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19208 2012-03-13 David S. Miller <davem@davemloft.net>
19210 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19211 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19212 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19213 rtld-global-offsets.h
19214 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19216 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19219 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19221 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19222 'err' in the ifdef scope in which it is actually used.
19224 * nss/nss_db/db-init.c: Include string.h
19226 2012-03-12 David S. Miller <davem@davemloft.net>
19228 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19229 masking out of the most significant byte of random value used.
19230 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19231 Fix coding style in previous change.
19233 * sysdeps/unix/sysv/linux/kernel-features.h
19234 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19235 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19237 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19240 2012-03-11 David S. Miller <davem@davemloft.net>
19242 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19243 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19244 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19245 for 'resultvar' otherwise things get truncated on 64-bit.
19247 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19248 Fix masking out of the most significant byte of random value used.
19250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19252 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19256 2012-03-09 David S. Miller <davem@davemloft.net>
19258 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19259 variables with appropriate CPP guards.
19260 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19261 frame pointer, not the stack pointer. Correct layout comments. Fix test
19262 on resulting framesize and the management of the outregs buffer for pltexit.
19263 Preserve floating point return values across _dl_call_pltexit call.
19264 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19265 framesize and the management of the outregs buffer for pltexit.
19266 Preserve floating point return values across _dl_call_pltexit
19268 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19269 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19270 (print_exit): Fix format string for return register value.
19272 2012-03-10 Joseph Myers <joseph@codesourcery.com>
19274 * sunrpc/Makefile (others): Add rpcgen.
19275 ($(objpfx)rpcgen): Remove special build rule and dependency on
19277 * sunrpc/rpcgen.c: New file.
19279 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19282 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19283 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19284 * sysdeps/i386/crti.S: Likewise.
19285 * sysdeps/i386/crtn.S: Likewise.
19286 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19287 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19288 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19289 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19290 * sysdeps/sh/crti.S: Likewise.
19291 * sysdeps/sh/crtn.S: Likewise.
19292 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19295 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19297 * locale/programs/locfile-kw.gperf: Likewise.
19298 * locale/programs/charmap-kw.h: Regenerated.
19299 * locale/programs/locfile-kw.h: Likewise.
19302 * intl/plural.y: Replace FSF snail mail address with URL.
19303 * intl/plural.c: Regenerated.
19305 2012-03-09 Richard Henderson <rth@twiddle.net>
19307 * include/math_private.h: Remove file.
19308 * math/math_private.h: Move file ...
19309 * sysdeps/generic/math_private.h: ... here.
19311 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19312 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19313 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19315 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
19316 and <math_private.h>.
19317 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19318 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19319 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19320 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19321 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19322 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19323 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19324 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19325 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19326 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19327 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19328 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19329 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19330 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19331 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19332 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19333 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19334 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19335 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19336 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19337 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19338 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19339 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19340 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19341 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19342 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19343 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19344 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19346 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19347 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19348 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19349 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19350 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19351 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19352 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19353 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19354 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19355 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19356 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19357 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19358 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19359 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19360 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19361 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19362 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19363 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19364 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19365 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19366 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19367 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19368 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19369 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19370 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19371 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19372 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19373 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19374 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19375 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19376 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19377 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19378 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19379 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19380 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19381 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19382 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19383 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19384 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19385 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19386 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19387 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19388 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19389 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19390 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19391 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19393 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19394 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19395 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19396 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19397 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19398 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19399 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19400 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19401 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19402 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19403 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19404 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19405 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19406 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19407 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19408 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19409 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19410 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19411 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19412 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19413 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19414 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19415 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19416 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19417 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19418 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19419 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19420 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19421 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19422 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19423 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19424 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19425 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19426 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19427 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19428 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19429 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19430 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19431 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19432 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19433 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19434 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19435 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19436 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19437 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19438 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19439 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19440 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19441 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19442 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19443 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19444 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19445 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19446 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19447 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19448 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19449 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19450 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19451 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19452 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19453 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19454 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19455 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19456 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19457 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19458 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19459 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19460 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19461 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19462 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19463 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19464 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19465 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19466 * sysdeps/ieee754/k_standard.c: Likewise.
19467 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19468 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19469 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19470 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19471 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19472 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19473 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19474 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19475 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19476 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19477 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19478 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19479 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19480 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19481 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19482 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19483 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19484 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19485 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19486 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19487 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19488 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19489 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19490 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19491 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19492 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19493 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19494 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19495 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19496 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19497 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19498 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19499 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19500 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19501 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19502 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19503 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19504 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19505 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19506 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19507 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19508 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19509 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19510 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19511 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19512 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19513 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19514 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19515 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19516 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19517 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19518 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19519 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19520 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19521 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19522 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19523 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19524 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19525 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19526 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19527 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19528 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19529 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19530 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19531 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19532 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19533 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19534 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19535 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19536 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19537 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19538 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19539 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19540 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19541 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19542 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19543 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19544 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19545 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19546 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19547 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19548 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19549 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19550 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19551 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19552 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19553 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19554 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19555 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19558 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19559 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19560 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19561 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19562 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19563 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19564 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19565 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19566 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19567 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19568 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19569 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19570 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19571 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19572 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19573 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19574 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19575 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19576 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19577 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19578 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19579 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19580 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19581 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19582 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19583 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19584 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19585 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19586 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19587 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19588 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19589 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19590 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19591 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19592 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19593 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19594 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19595 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19596 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19597 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19598 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19599 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19600 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19601 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19602 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19603 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19604 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19605 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19606 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19607 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19608 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19609 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19610 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19611 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19612 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19613 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19614 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19615 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19616 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19617 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19618 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19619 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19620 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19621 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19622 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19623 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19624 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19625 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19626 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19627 * sysdeps/ieee754/s_lib_version.c: Likewise.
19628 * sysdeps/ieee754/s_matherr.c: Likewise.
19629 * sysdeps/ieee754/s_signgam.c: Likewise.
19630 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19631 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19632 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19633 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19634 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19635 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19636 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19637 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19638 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19639 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19640 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19641 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19642 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19643 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19644 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19645 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19646 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19647 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19648 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19649 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19650 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19652 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19654 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19655 * sunrpc/rpc_main.c: Likewise.
19656 * sunrpc/rpc_svcout.c: Likewise.
19658 2012-03-09 David S. Miller <davem@davemloft.net>
19660 * include/math_private.h: New file.
19662 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19664 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19665 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19666 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19667 from <bits/socket_type.h>.
19668 (enum __socket_type): Don't define here.
19669 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19671 bits/socket_type.h.
19674 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19675 checking __USE_GNU.
19677 * Makerules ($(inst_includedir)/%.h): New rule.
19678 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19679 (install-others): Remove variable setting.
19680 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19682 2012-03-08 Richard Henderson <rth@twiddle.net>
19684 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19685 from macro to inline function; merge with the
19686 !__LIBC_INTERNAL_MATH_INLINES version.
19687 (__ieee754_sqrtf): Likewise.
19689 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19690 to inline function.
19691 (__rintf, __floor, __floorf): Likewise.
19693 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19694 macro to inline function.
19695 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19697 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19698 not <math/math_private.h>.
19700 2012-03-08 David S. Miller <davem@davemloft.net>
19702 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19704 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19706 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19708 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19710 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19711 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19713 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19715 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19716 be defined individually, they must be defined as a block. Define
19717 S for printing a string instead of hidint the different by using a
19718 macro for adding the 'l'.
19719 * stdio-common/tst-fphex-wide.c: Adjust.
19721 2012-03-07 Marek Polacek <polacek@redhat.com>
19723 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19725 2012-03-08 Marek Polacek <polacek@redhat.com>
19728 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19729 * stdio-common/tst-fphex.c: Define a few macros to make the
19730 test reusable. Use them.
19731 * stdio-common/tst-fphex-wide.c: New file.
19733 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19736 * manual/macros.texi (gnusystems): New macro.
19737 (nongnusystems): Likewise.
19738 (gnulinuxhurdsystems): Likewise.
19739 (gnuhurdsystems): Likewise..
19740 (gnulinuxsystems): Likewise.
19741 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19742 variants of the GNU system, not "GNU system".
19743 * manual/conf.texi: Likewise.
19744 * manual/errno.texi: Likewise. Update example of errno macro
19746 * manual/filesys.texi: Likewise.
19747 (getumask): Document as specific to GNU/Hurd.
19748 * manual/install.texi: Likewise. Reword some references to
19750 * manual/intro.texi: Likewise.
19751 * manual/io.texi: Likewise.
19752 (File Name Portability): Detail which constraints are inapplicable
19753 to all GNU systems and which are only inapplicable to GNU/Hurd.
19754 * manual/job.texi: Likewise.
19755 * manual/llio.texi: Likewise.
19756 (O_NOCTTY): Document as present on GNU/Linux.
19757 * manual/maint.texi: Likewise.
19758 * manual/memory.texi: Likewise.
19759 * manual/pattern.texi: Likewise.
19760 * manual/pipe.texi: Likewise.
19761 * manual/process.texi: Likewise.
19762 * manual/resource.texi: Likewise.
19763 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19765 * manual/setjmp.texi: Likewise.
19766 * manual/signal.texi: Likewise.
19767 * manual/startup.texi: Likewise.
19768 * manual/stdio.texi: Likewise.
19769 * manual/terminal.texi: Likewise.
19770 (ONLCR): Document as POSIX.
19771 (OXTABS): Document availability on GNU/Linux as XTABS.
19772 (ONOEOT): Document availability separately from other bits.
19773 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19774 * manual/time.texi: Likewise.
19775 * manual/users.texi: Likewise.
19776 * INSTALL: Regenerated.
19777 * sysdeps/gnu/errlist.c: Regenerated.
19779 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19780 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19781 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19783 * configure: Regenerated.
19785 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19787 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19788 default includes instead of AC_HEADER_CHECK.
19789 * sysdeps/i386/configure: Regenerated.
19792 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19793 * math/s_cacoshf.c (__cacoshf): Likewise.
19794 * math/s_cacoshl.c (__cacoshl): Likewise.
19795 * math/s_casinh.c (__casinh): Set signs of result from argument.
19796 * math/s_casinhf.c (__casinhf): Likewise.
19797 * math/s_casinhl.c (__casinhl): Likewise.
19798 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19799 (casinh_test): Add more tests.
19800 * sysdeps/i386/fpu/libm-test-ulps: Update.
19801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19803 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19805 * po/zh_TW.po: Update from translation team.
19807 * login/Makefile (distribute): Remove variable.
19808 * catgets/Makefile: Likewise.
19809 * mach/Makefile: Likewise.
19810 * malloc/Makefile: Likewise.
19811 * misc/Makefile: Likewise.
19812 * iconv/Makefile: Likewise.
19813 * nscd/Makefile: Likewise.
19814 * hurd/Makefile: Likewise.
19815 * manual/Makefile: Likewise.
19816 * locale/Makefile: Likewise.
19817 * intl/Makefile: Likewise.
19818 * conform/Makefile: Likewise.
19819 * nss/Makefile: Likewise.
19820 * time/Makefile: Likewise.
19821 * soft-fp/Makefile: Likewise.
19822 * dirent/Makefile: Likewise.
19823 * gmon/Makefile: Likewise.
19824 * po/Makefile: Likewise.
19825 * rt/Makefile: Likewise.
19826 * socket/Makefile: Likewise.
19827 * math/Makefile: Likewise.
19828 * signal/Makefile: Likewise.
19829 * debug/Makefile: Likewise.
19830 * elf/Makefile: Likewise.
19831 * timezone/Makefile: Likewise.
19832 * stdlib/Makefile: Likewise.
19833 * iconvdata/Makefile: Likewise.
19834 * sunrpc/Makefile: Likewise.
19835 * io/Makefile: Likewise.
19836 * argp/Makefile: Likewise.
19837 * inet/Makefile: Likewise.
19838 * hesiod/Makefile: Likewise.
19839 * grp/Makefile: Likewise.
19840 * csu/Makefile: Likewise.
19841 * wctype/Makefile: Likewise.
19842 * crypt/Makefile: Likewise.
19843 * libio/Makefile: Likewise.
19844 * string/Makefile: Likewise.
19845 * nis/Makefile: Likewise.
19846 * resolv/Makefile: Likewise.
19847 * stdio-common/Makefile: Likewise.
19848 * wcsmbs/Makefile: Likewise.
19849 * dlfcn/Makefile: Likewise.
19850 * posix/Makefile: Likewise.
19853 * timezone/Makefile: Don't install timezone files, just the programs
19856 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19858 * nss/databases.def: Add missing gshadow entry.
19860 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19862 2012-03-06 Marek Polacek <polacek@redhat.com>
19865 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19866 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19867 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19868 * stdio-common/tst-long-dbl-fphex.c: New file.
19870 2012-03-06 David S. Miller <davem@davemloft.net>
19872 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19873 (set_obp_int): New function.
19874 (get_obp_int): New function.
19875 (__get_clockfreq_via_dev_openprom): Likewise.
19876 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19877 Avoid unused variable warnings on 'val' and use builtin_expect.
19878 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19880 (INLINE_CLONE_SYSCALL): Likewise.
19882 2012-03-05 David S. Miller <davem@davemloft.net>
19884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19886 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19890 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19891 only for |x| >= 40.
19892 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19894 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19896 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19897 Replace gettimeofday with __vdso_gettimeofday.
19899 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19900 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19901 __vdso_clock_gettime and __vdso_getcpu.
19903 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19904 time with __vdso_time.
19906 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19908 * manual/lang.texi (size_t): Note types to which size_t may be
19909 equivalent with the GNU C Library, but do not describe when
19910 differences between them are significant.
19912 2012-03-05 Andreas Jaeger <aj@suse.de>
19914 * sysdeps/i386/fpu/libm-test-ulps: Update.
19916 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19919 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19920 (__ieee754_pow): Save and restore rounding mode and use
19921 round-to-nearest for main computations.
19922 * math/libm-test.inc (pow_test_tonearest): New function.
19923 (pow_test_towardzero): Likewise.
19924 (pow_test_downward): Likewise.
19925 (pow_test_upward): Likewise.
19926 (main): Call the new functions.
19927 * sysdeps/i386/fpu/libm-test-ulps: Update.
19928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19931 * math/libm-test.inc (cosh_test_tonearest): New function.
19932 (cosh_test_towardzero): Likewise.
19933 (cosh_test_downward): Likewise.
19934 (cosh_test_upward): Likewise.
19935 (sinh_test_tonearest): Likewise.
19936 (sinh_test_towardzero): Likewise.
19937 (sinh_test_downward): Likewise.
19938 (sinh_test_upward): Likewise.
19939 (main): Call the new functions.
19940 * sysdeps/i386/fpu/libm-test-ulps: Update.
19941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19943 2012-03-05 Tom de Vries <tom@codesourcery.com>
19945 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19946 default stack guard is set in last bytes.
19947 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19949 2012-03-05 Kees Cook <keescook@chromium.org>
19951 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
19954 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19955 possibly allocate from heap instead of stack.
19956 * stdio-common/bug-vfprintf-nargs.c: New file.
19957 * stdio-common/Makefile (tests): Add nargs overflow test.
19959 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19963 2012-03-03 Marek Polacek <polacek@redhat.com>
19965 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19966 * math/math_private.h: Likewise.
19967 * stdlib/tst-strtod.c: Likewise.
19968 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19969 * sysdeps/x86_64/bits/atomic.h: Likewise.
19971 2012-03-02 David S. Miller <davem@davemloft.net>
19973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19977 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19978 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19979 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19980 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19982 2012-03-02 Roland McGrath <roland@hack.frob.com>
19985 * manual/examples/README: New file, says the example source files
19986 can be used under GPL>=2.
19987 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19988 line containing just "*/".
19989 * manual/examples/add.c: Add copyright header (GPL>=2).
19990 * manual/examples/argp-ex1.c: Likewise.
19991 * manual/examples/argp-ex2.c: Likewise.
19992 * manual/examples/argp-ex3.c: Likewise.
19993 * manual/examples/argp-ex4.c: Likewise.
19994 * manual/examples/atexit.c: Likewise.
19995 * manual/examples/db.c: Likewise.
19996 * manual/examples/dir.c: Likewise.
19997 * manual/examples/dir2.c: Likewise.
19998 * manual/examples/execinfo.c: Likewise.
19999 * manual/examples/filecli.c: Likewise.
20000 * manual/examples/filesrv.c: Likewise.
20001 * manual/examples/fmtmsgexpl.c: Likewise.
20002 * manual/examples/genpass.c: Likewise.
20003 * manual/examples/inetcli.c: Likewise.
20004 * manual/examples/inetsrv.c: Likewise.
20005 * manual/examples/isockad.c: Likewise.
20006 * manual/examples/longopt.c: Likewise.
20007 * manual/examples/memopen.c: Likewise.
20008 * manual/examples/memstrm.c: Likewise.
20009 * manual/examples/mkfsock.c: Likewise.
20010 * manual/examples/mkisock.c: Likewise.
20011 * manual/examples/mygetpass.c: Likewise.
20012 * manual/examples/pipe.c: Likewise.
20013 * manual/examples/popen.c: Likewise.
20014 * manual/examples/rprintf.c: Likewise.
20015 * manual/examples/search.c: Likewise.
20016 * manual/examples/select.c: Likewise.
20017 * manual/examples/setjmp.c: Likewise.
20018 * manual/examples/sigh1.c: Likewise.
20019 * manual/examples/sigusr.c: Likewise.
20020 * manual/examples/stpcpy.c: Likewise.
20021 * manual/examples/strdupa.c: Likewise.
20022 * manual/examples/strftim.c: Likewise.
20023 * manual/examples/strncat.c: Likewise.
20024 * manual/examples/subopt.c: Likewise.
20025 * manual/examples/swapcontext.c: Likewise.
20026 * manual/examples/termios.c: Likewise.
20027 * manual/examples/testopt.c: Likewise.
20028 * manual/examples/testpass.c: Likewise.
20029 * manual/examples/timeval_subtract.c: Likewise.
20032 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20034 * manual/timeval_subtract.c.texi: ... here, new file.
20036 2012-03-02 David S. Miller <davem@davemloft.net>
20038 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20040 2012-03-02 Joseph Myers <joseph@codesourcery.com>
20043 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20044 (__sin): Save and restore rounding mode and use round-to-nearest
20045 for all computations.
20046 (__cos): Save and restore rounding mode and use round-to-nearest
20047 for all computations.
20048 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20050 (tan): Save and restore rounding mode and use round-to-nearest for
20052 * math/libm-test.inc (cos_test_tonearest): New function.
20053 (cos_test_towardzero): Likewise.
20054 (cos_test_downward): Likewise.
20055 (cos_test_upward): Likewise.
20056 (sin_test_tonearest): Likewise.
20057 (sin_test_towardzero): Likewise.
20058 (sin_test_downward): Likewise.
20059 (sin_test_upward): Likewise.
20060 (tan_test_tonearest): Likewise.
20061 (tan_test_towardzero): Likewise.
20062 (tan_test_downward): Likewise.
20063 (tan_test_upward): Likewise.
20064 (main): Call the new functions.
20065 * sysdeps/i386/fpu/libm-test-ulps: Update.
20066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20069 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20070 small n, then large n, before computing and testing k+n.
20071 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20072 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20074 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20076 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20077 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20078 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20079 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20080 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20081 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20082 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20083 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20084 * math/libm-test.inc (scalbn_test): Add more tests.
20085 (scalbln_test): Likewise.
20087 * manual/filesys.texi (mode_t): Describe constraints on size and
20088 signedness, not exact equivalence to a particular type.
20090 (ino64_t): Likewise.
20092 (nlink_t): Likewise.
20093 (blkcnt_t): Likewise.
20094 (blkcnt64_t): Likewise.
20095 * manual/llio.texi (off_t): Likewise.
20098 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20099 (__ieee754_exp): Save and restore rounding mode and use
20100 round-to-nearest for all computations.
20101 * math/libm-test.inc (exp_test_tonearest): New function.
20102 (exp_test_towardzero): Likewise.
20103 (exp_test_downward): Likewise.
20104 (exp_test_upward): Likewise.
20105 (main): Call the new functions.
20106 * sysdeps/i386/fpu/libm-test-ulps: Update.
20107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20109 2012-03-01 Chris Demetriou <cgd@google.com>
20111 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20112 have predictable order.
20114 2012-03-01 David S. Miller <davem@davemloft.net>
20116 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20118 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20119 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20120 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20121 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20123 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20124 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20125 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20127 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20128 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20129 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20130 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20131 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20135 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20136 * sysdeps/sparc/fpu/libm-test-ulps: to here.
20137 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20139 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20140 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20141 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20142 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20143 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20144 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20145 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20146 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20147 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20148 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20149 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20150 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20151 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20152 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20153 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20154 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20155 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20156 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20157 * sysdeps/sparc/elf/configure: Regenerated.
20159 2012-03-01 Joseph Myers <joseph@codesourcery.com>
20161 * configure.in (AS, LD): Require binutils 2.20 or later.
20162 * configure: Regenerated.
20163 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20164 as required minimum version.
20165 * INSTALL: Regenerated.
20169 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20170 before squaring exponent.
20171 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20172 bottom long double and 27 bits of top long double before squaring
20174 * math/libm-test.inc (erfc_test): Add more tests.
20175 * sysdeps/i386/fpu/libm-test-ulps: Update.
20176 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20179 2012-03-01 Kai Tietz <ktietz@redhat.com>
20181 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20182 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20183 containing bit-fields.
20184 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20185 * soft-fp/single.h (_FP_UNION_S): Likewise.
20186 * soft-fp/double.h (_FP_UNION_D): Likewise.
20188 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20191 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20192 not include ../strcmp.S.
20193 [USE_AS_STRNCASECMP_L]: Likewise.
20194 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20195 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20196 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20197 (__strncasecmp_l_ia32): Define as alias to
20198 __strncasecmp_l_nonascii.
20201 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20202 * sysdeps/i386/fpu/libm-test-ulps: Update.
20203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20205 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20208 2012-02-29 Jeff Law <law@redhat.com>
20210 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20211 out of bounds read.
20213 2012-02-29 Marek Polacek <polacek@redhat.com>
20216 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20217 * elf/Makefile: Add rules to run tst-unused-dep.out.
20219 2012-02-28 David S. Miller <davem@davemloft.net>
20221 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20222 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20223 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20224 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20225 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20226 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20228 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20230 * math/libm-test.inc (llround_test): Move one test from
20231 lround_test. Use TEST_f_L in moved test.
20232 (lround_test): Move misplaced test to llround_test. Add testcase
20235 2012-02-28 Ulrich Drepper <drepper@gmail.com>
20237 * sysdeps/x86_64/fpu/e_expf.S: New file.
20238 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20240 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20243 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20244 of remain_len that may cause incomplete multi-byte character and
20246 * posix/bug-regex33.c: New file.
20247 * posix/Makefile (tests): Add bug-regex33.
20249 2012-02-28 Joseph Myers <joseph@codesourcery.com>
20251 * manual/macros.texi: New file.
20252 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20253 * manual/libc.texinfo: Include macros.texi.
20254 * manual/creatute.texi: Likewise.
20255 * manual/install.texi: Likewise.
20256 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20257 @glibcadj{} in references to the GNU C Library.
20258 * manual/charset.texi: Likewise.
20259 * manual/conf.texi: Likewise.
20260 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20261 when not using those macros.
20262 * manual/creature.texi: Likewise.
20263 * manual/crypt.texi: Likewise.
20264 * manual/errno.texi: Likewise.
20265 * manual/filesys.texi: Likewise.
20266 * manual/header.texi: Likewise.
20267 * manual/install.texi: Likewise.
20268 * manual/intro.texi: Likewise.
20269 * manual/io.texi: Likewise.
20270 * manual/job.texi: Likewise.
20271 * manual/lang.texi: Likewise.
20272 * manual/libc.texiinfo: Likewise.
20273 * manual/llio.texi: Likewise.
20274 * manual/locale.texi: Likewise.
20275 * manual/maint.texi: Likewise.
20276 * manual/math.texi: Likewise.
20277 * manual/memory.texi: Likewise.
20278 * manual/message.texi: Likewise.
20279 * manual/nss.texi: Likewise.
20280 * manual/pattern.texi: Likewise.
20281 * manual/process.texi: Likewise.
20282 * manual/resource.texi: Likewise.
20283 * manual/search.texi: Likewise.
20284 * manual/setjmp.texi: Likewise.
20285 * manual/signal.texi: Likewise.
20286 * manual/socket.texi: Likewise.
20287 * manual/startup.texi: Likewise.
20288 * manual/stdio.texi: Likewise.
20289 * manual/string.texi: Likewise.
20290 * manual/sysinfo.texi: Likewise.
20291 * manual/syslog.texi: Likewise.
20292 * manual/terminal.texi: Likewise.
20293 * manual/time.texi: Likewise.
20294 * manual/users.texi: Likewise.
20295 * INSTALL: Regenerated.
20296 * NOTES: Regenerated.
20297 * sysdeps/gnu/errlist.c: Regenerated.
20299 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20301 * include/dirent.h: Include <dirstream.h> before
20304 2012-02-28 David S. Miller <davem@davemloft.net>
20306 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20307 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20308 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20309 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20311 2012-02-27 David S. Miller <davem@davemloft.net>
20313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20315 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20316 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20319 frame pointer instead of stack pointer relative arg slot.
20320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20321 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20322 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20324 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20327 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20329 2012-02-27 David S. Miller <davem@davemloft.net>
20331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20335 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20336 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20337 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20338 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20340 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20342 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20343 later. Allow versions 5-9.
20344 * configure: Regenerated.
20345 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20346 required minimum version and 4.6 as recommended version. Do not
20347 mention bugs in GCC 2.7 and 2.8.
20348 * INSTALL: Regenerated.
20350 2012-02-27 David S. Miller <davem@davemloft.net>
20352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20356 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20357 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20358 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20359 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20361 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20362 manipulate bits before adding and subtracting TWO112[sx].
20363 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20365 2012-02-27 Roland McGrath <roland@hack.frob.com>
20368 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20369 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20370 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20371 being in POSIX, because they are in 1003.1-2008.
20373 * rt/tst-aio.c: Include <fcntl.h>.
20374 * rt/tst-aio7.c: Likewise.
20375 * rt/tst-aio64.c: Likewise.
20377 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20379 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20381 * manual/install.texi (--with-headers): Describe headers as
20382 interface headers, not private headers.
20383 (Specific advice for GNU/Linux systems): Describe use of headers
20384 from "make headers_install", not private headers from older
20386 * INSTALL: Regenerated.
20387 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20389 * sysdeps/unix/sysv/linux/configure: Regenerated.
20391 * manual/llio.texi (fclean): Remove documentation.
20393 * manual/Makefile (libc-texi-generated): New variable. Include
20395 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20396 $(libc-texi-generated), not duplicated list of files.
20397 (version.texi, stamp-version): New rules.
20398 (realclean): Remove $(libc-texi-generated), not individual files
20399 from that list. Do not remove dir-add.texinfo.
20400 * manual/libc.texinfo: Comment out uses of edition numbers and
20401 references to printed manual. Remove last-updated dates.
20402 (EDITION): Comment out.
20404 (VERSION, UPDATED): Remove.
20405 (version.texi): Include.
20407 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20409 * sysdeps/posix/spawni.c: Include <signal.h>.
20410 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20411 * sysdeps/pthread/aio_fsync.c: Likewise.
20413 2012-02-26 Ulrich Drepper <drepper@gmail.com>
20415 * conform/Makefile (tests): Run only when not cross-compiling and
20416 when fast-check is not defined.
20418 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20419 * conform/data/limits.h-data: Fixes for POSIX2008.
20420 * conform/run-conformtest.sh: Run all tests.
20421 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20423 * include/bits/dlfcn.h: Likewise.
20424 * include/langinfo.h: Likewise.
20425 * include/monetary.h: Likewise.
20426 * include/sys/poll.h: Likewise.
20428 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20430 * posix/spawn.h: Define __need_sigset_t.
20431 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20432 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20433 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20434 to get sigevent_t only.
20435 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20436 only for __USE_GNU.
20437 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20438 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20439 process_vm_writev only for __USE_GNU.
20440 * termios/termios.h: Declare tcgetsid also for POSIX2008.
20442 * conform/Makefile: For now ignore errors from run-conformtest.
20443 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20444 POSIX to avoid namespace pollution. Don't prepend headers.
20445 * conform/data/aio.h-data: Fixes for POSIX testing.
20446 * conform/data/fcntl.h-data: Likewise.
20447 * conform/data/glob.h-data: Likewise.
20448 * conform/data/grp.h-data: Likewise.
20449 * conform/data/pthread.h-data: Likewise.
20450 * conform/data/pwd.h-data: Likewise.
20451 * conform/data/signal.h-data: Likewise.
20452 * conform/data/spawn.h-data: Likewise.
20453 * conform/data/stdio.h-data: Likewise.
20454 * conform/data/stdlib.h-data: Likewise.
20455 * conform/data/stropts.h-data: Likewise.
20456 * conform/data/sys/mman.h-data: Likewise.
20457 * conform/data/sys/stat.h-data: Likewise.
20458 * conform/data/sys/types.h-data: Likewise.
20459 * conform/data/sys/wait.h-data: Likewise.
20460 * conform/data/time.h-data: Likewise.
20461 * conform/data/unistd.h-data: Likewise.
20462 * conform/data/utime.h-data: Likewise.
20464 * io/sys/stat.h: fchmod was always in POSIX.
20465 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20466 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20467 * rt/aio.h: Define __need_timespec before including <time.h>.
20468 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20469 struct. Add forward declaration of pthread_attr_t and use it in
20471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20472 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20473 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20474 always remove CLK_TCK definition.
20476 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20478 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20480 2012-02-25 Ulrich Drepper <drepper@gmail.com>
20482 * conform/run-conformtest.sh: New file.
20483 * conform/Makefile: Run run-conformtest for tests.
20484 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20487 * conform/data/uchar.h-data: New file.
20488 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20489 * conform/data/arpa/inet.h-data: Likewise.
20490 * conform/data/assert.h-data: Likewise.
20491 * conform/data/complex.h-data: Likewise.
20492 * conform/data/cpio.h-data: Likewise.
20493 * conform/data/ctype.h-data: Likewise.
20494 * conform/data/dirent.h-data: Likewise.
20495 * conform/data/dlfcn.h-data: Likewise.
20496 * conform/data/errno.h-data: Likewise.
20497 * conform/data/fcntl.h-data: Likewise.
20498 * conform/data/float.h-data: Likewise.
20499 * conform/data/fmtmsg.h-data: Likewise.
20500 * conform/data/fnmatch.h-data: Likewise.
20501 * conform/data/ftw.h-data: Likewise.
20502 * conform/data/glob.h-data: Likewise.
20503 * conform/data/grp.h-data: Likewise.
20504 * conform/data/iconv.h-data: Likewise.
20505 * conform/data/inttypes.h-data: Likewise.
20506 * conform/data/langinfo.h-data: Likewise.
20507 * conform/data/libgen.h-data: Likewise.
20508 * conform/data/limits.h-data: Likewise.
20509 * conform/data/locale.h-data: Likewise.
20510 * conform/data/math.h-data: Likewise.
20511 * conform/data/monetary.h-data: Likewise.
20512 * conform/data/mqueue.h-data: Likewise.
20513 * conform/data/ndbm.h-data: Likewise.
20514 * conform/data/net/if.h-data: Likewise.
20515 * conform/data/netdb.h-data: Likewise.
20516 * conform/data/netinet/in.h-data: Likewise.
20517 * conform/data/nl_types.h-data: Likewise.
20518 * conform/data/poll.h-data: Likewise.
20519 * conform/data/pthread.h-data: Likewise.
20520 * conform/data/pwd.h-data: Likewise.
20521 * conform/data/regex.h-data: Likewise.
20522 * conform/data/sched.h-data: Likewise.
20523 * conform/data/search.h-data: Likewise.
20524 * conform/data/semaphore.h-data: Likewise.
20525 * conform/data/setjmp.h-data: Likewise.
20526 * conform/data/signal.h-data: Likewise.
20527 * conform/data/spawn.h-data: Likewise.
20528 * conform/data/stdarg.h-data: Likewise.
20529 * conform/data/stdio.h-data: Likewise.
20530 * conform/data/stdlib.h-data: Likewise.
20531 * conform/data/string.h-data: Likewise.
20532 * conform/data/strings.h-data: Likewise.
20533 * conform/data/stropts.h-data: Likewise.
20534 * conform/data/sys/ipc.h-data: Likewise.
20535 * conform/data/sys/mman.h-data: Likewise.
20536 * conform/data/sys/msg.h-data: Likewise.
20537 * conform/data/sys/resource.h-data: Likewise.
20538 * conform/data/sys/select.h-data: Likewise.
20539 * conform/data/sys/sem.h-data: Likewise.
20540 * conform/data/sys/shm.h-data: Likewise.
20541 * conform/data/sys/socket.h-data: Likewise.
20542 * conform/data/sys/stat.h-data: Likewise.
20543 * conform/data/sys/statvfs.h-data: Likewise.
20544 * conform/data/sys/time.h-data: Likewise.
20545 * conform/data/sys/timeb.h-data: Likewise.
20546 * conform/data/sys/times.h-data: Likewise.
20547 * conform/data/sys/types.h-data: Likewise.
20548 * conform/data/sys/uio.h-data: Likewise.
20549 * conform/data/sys/un.h-data: Likewise.
20550 * conform/data/sys/utsname.h-data: Likewise.
20551 * conform/data/sys/wait.h-data: Likewise.
20552 * conform/data/syslog.h-data: Likewise.
20553 * conform/data/tar.h-data: Likewise.
20554 * conform/data/termios.h-data: Likewise.
20555 * conform/data/utime.h-data: Likewise.
20556 * conform/data/utmpx.h-data: Likewise.
20557 * conform/data/varargs.h-data: Likewise.
20558 * conform/data/wchar.h-data: Likewise.
20559 * conform/data/wctype.h-data: Likewise.
20560 * conform/data/wordexp.h-data: Likewise.
20562 * include/stropts.h: New file.
20563 * include/uchar.h: New file.
20564 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20565 * include/assert.h: Likewise.
20566 * include/ctype.h: Likewise.
20567 * include/dirent.h: Likewise.
20568 * include/dlfcn.h: Likewise.
20569 * include/fcntl.h: Likewise.
20570 * include/fnmatch.h: Likewise.
20571 * include/glob.h: Likewise.
20572 * include/grp.h: Likewise.
20573 * include/libio.h: Likewise.
20574 * include/locale.h: Likewise.
20575 * include/math.h: Likewise.
20576 * include/net/if.h: Likewise.
20577 * include/netdb.h: Likewise.
20578 * include/netinet/in.h: Likewise.
20579 * include/pthread.h: Likewise.
20580 * include/pwd.h: Likewise.
20581 * include/regex.h: Likewise.
20582 * include/sched.h: Likewise.
20583 * include/search.h: Likewise.
20584 * include/setjmp.h: Likewise.
20585 * include/signal.h: Likewise.
20586 * include/stdio.h: Likewise.
20587 * include/stdlib.h: Likewise.
20588 * include/string.h: Likewise.
20589 * include/sys/cdefs.h: Likewise.
20590 * include/sys/mman.h: Likewise.
20591 * include/sys/msg.h: Likewise.
20592 * include/sys/resource.h: Likewise.
20593 * include/sys/select.h: Likewise.
20594 * include/sys/socket.h: Likewise.
20595 * include/sys/stat.h: Likewise.
20596 * include/sys/statvfs.h: Likewise.
20597 * include/sys/time.h: Likewise.
20598 * include/sys/times.h: Likewise.
20599 * include/sys/uio.h: Likewise.
20600 * include/sys/utsname.h: Likewise.
20601 * include/sys/wait.h: Likewise.
20602 * include/termios.h: Likewise.
20603 * include/time.h: Likewise.
20604 * include/ulimit.h: Likewise.
20605 * include/unistd.h: Likewise.
20606 * include/utime.h: Likewise.
20607 * include/wchar.h: Likewise.
20608 * include/wctype.h: Likewise.
20609 * include/wordexp.h: Likewise.
20611 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20613 * time/time.h: TIME_UTC must be a macro.
20614 Make timespec_get available for ISO C11 only as well.
20616 2012-02-24 Ulrich Drepper <drepper@gmail.com>
20618 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20619 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20621 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20623 * configure.in: Use -o not -a in test for unsupported multi-arch.
20625 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20627 * manual/texinfo.tex: Update to version 2012-01-19.16.
20629 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20631 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20633 2012-02-24 Roland McGrath <roland@hack.frob.com>
20636 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20637 * manual/fdl-1.3.texi: New file.
20638 * manual/fdl-1.1.texi: File removed.
20641 * manual/libc.texinfo (FDL_VERSION): New @set.
20642 Use it for mention of FDL in cover text.
20643 (Documentation License): Use it in @include file name.
20645 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20646 Roland McGrath <roland@hack.frob.com>
20649 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20650 not LONG_LONG_MAX and LONG_LONG_MIN.
20651 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20652 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20654 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20656 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20660 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20661 manipulate bits before adding and subtracting TWO23[sx].
20662 * math/libm-test.inc (nearbyint_test): Add more tests.
20664 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20667 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20668 bits before adding and subtracting TWO23[sx].
20669 * math/libm-test.inc (rint_test): Add more tests.
20670 (rint_test_tonearest): Likewise.
20671 (rint_test_towardzero): Likewise.
20672 (rint_test_downward): Likewise.
20673 (rint_test_upward: Likewise.
20675 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20678 * include/stdc-predef.h: New file. Extracted from features.h.
20679 * include/features.h: Include stdc-predef.h.
20680 * Makefile (headers): Add stdc-predef.h.
20681 * CONFORMANCE (Compiler limitations): Update.
20683 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20685 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20687 2012-02-21 David S. Miller <davem@davemloft.net>
20689 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20690 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20692 2012-02-20 David S. Miller <davem@davemloft.net>
20694 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20695 using a normal save/restore sequence, rather than allocating a
20696 dummy stack frame just to store a frame pointer and restore.
20697 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20699 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20701 * manual/install.texi: Fix stray word in line-wrapped comment.
20703 2012-02-20 David S. Miller <davem@davemloft.net>
20705 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20706 both binutils and gcc support GOTDATA.
20708 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20709 "rd %pc" in the PIC register setup sequences.
20711 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20712 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20713 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20714 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20715 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20716 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20717 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20718 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20719 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20720 (SYSCALL_ERROR_HANDLER): Likewise.
20721 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20722 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20723 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20724 (SYSCALL_ERROR_HANDLER): Likewise.
20726 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20727 (HAVE_GCC_GOTDATA): New.
20728 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20729 relocation support in both binutils and gcc.
20730 * sysdeps/sparc/elf/configure: Regenerate.
20732 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20733 * sysdeps/sparc/sparc32/elf/configure: Delete.
20734 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20735 * sysdeps/sparc/sparc64/elf/configure: Delete.
20736 * sysdeps/sparc/elf/configure.in: New file.
20737 * sysdeps/sparc/elf/configure: Generate.
20739 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20740 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20741 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20742 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20743 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20745 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20747 * manual/install.texi: Do not mention specific glibc version
20749 * manual/libc.texinfo (VERSION, UPDATED): Update.
20750 (@copying): Use @copyright{} and range of years.
20752 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20755 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20756 [crti.S not in sysdirs] (generated): Do not append.
20757 [crti.S not in sysdirs] (omit-deps): Likewise.
20758 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20759 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20760 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20761 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20762 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20764 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20765 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20766 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20767 * csu/defs.awk: Remove file.
20768 * sysdeps/generic/initfini.c: Likewise.
20769 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20771 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20774 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20776 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20777 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20778 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20779 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20780 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20781 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20783 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20784 (__EPOLL_PACKED): Define to empty if not defined by
20786 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20790 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20792 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20793 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20794 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20795 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20797 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20801 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20803 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20805 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20806 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20807 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20810 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20812 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20813 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20815 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20817 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20818 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20820 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20822 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20825 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20827 * math/w_acos.c: Use non-signaling floating-point comparisons.
20828 * math/w_acosf.c: Likewise.
20829 * math/w_acosh.c: Likewise.
20830 * math/w_acoshf.c: Likewise.
20831 * math/w_acoshl.c: Likewise.
20832 * math/w_acosl.c: Likewise.
20833 * math/w_asin.c: Likewise.
20834 * math/w_asinf.c: Likewise.
20835 * math/w_asinl.c: Likewise.
20836 * math/w_atanh.c: Likewise.
20837 * math/w_atanhf.c: Likewise.
20838 * math/w_atanhl.c: Likewise.
20839 * math/w_exp2.c: Likewise.
20840 * math/w_exp2f.c: Likewise.
20841 * math/w_exp2l.c: Likewise.
20842 * math/w_j0.c: Likewise.
20843 * math/w_j0f.c: Likewise.
20844 * math/w_j0l.c: Likewise.
20845 * math/w_j1.c: Likewise.
20846 * math/w_j1f.c: Likewise.
20847 * math/w_j1l.c: Likewise.
20848 * math/w_jn.c: Likewise.
20849 * math/w_jnf.c: Likewise.
20850 * math/w_log.c: Likewise.
20851 * math/w_log10.c: Likewise.
20852 * math/w_log10f.c: Likewise.
20853 * math/w_log10l.c: Likewise.
20854 * math/w_log2.c: Likewise.
20855 * math/w_log2f.c: Likewise.
20856 * math/w_log2l.c: Likewise.
20857 * math/w_logf.c: Likewise.
20858 * math/w_logl.c: Likewise.
20859 * math/w_sqrt.c: Likewise.
20860 * math/w_sqrtf.c: Likewise.
20861 * math/w_sqrtl.c: Likewise.
20862 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20863 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20864 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20865 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20866 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20868 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20871 * manual/string.texi (strnlen): Use correct parameter name in
20872 equivalent expression.
20874 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20877 * manual/users.texi (seteuid): Consistently use neweuid for
20880 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20883 * manual/nss.texi (Services in the NSS configuration): Correct
20884 list of services in example configuration file.
20886 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20889 * manual/arith.texi: Remove statements about negative zero
20890 behaving identically to zero.
20892 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20895 * manual/install.texi: Do not document upgrading from libc5.
20897 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20900 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20902 2012-02-18 David S. Miller <davem@davemloft.net>
20904 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20905 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20906 %o7 across the call.
20907 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20909 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20910 SETUP_PIC_REG_LEAF.
20911 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20912 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20913 * sysdeps/sparc/crtn.S: Likewise.
20915 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20917 * aout/Makefile: Remove.
20919 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20922 * manual/examples/argp-ex1.c (main): Format definition in GNU
20924 * manual/examples/argp-ex2.c (main): Likewise.
20925 * manual/examples/argp-ex3.c (main): Likewise.
20926 * manual/examples/argp-ex4.c (main): Likewise.
20927 * manual/examples/longopt.c (main): Use new-style prototype
20929 * manual/examples/strncat.c (main): Specify return type and use
20930 (void) for arguments.
20931 * manual/examples/subopt.c (main): Use char **argv argument.
20933 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20936 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20939 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20942 * manual/string.texi (strchr): Change when strchrnul is
20945 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20948 * manual/locale.texi (setlocale): Document LOCPATH.
20950 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20953 * manual/process.texi (execle): Move @dots{} before last argument.
20955 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
20958 * manual/charset.texi (Generic Charset Conversion): Fix typo
20959 (LC_TYPE -> LC_CTYPE).
20961 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20964 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20965 (scalbnf): Likewise.
20966 (scalbnl): Likewise.
20967 (scalbln): Likewise.
20968 (scalblnf): Likewise.
20969 (scalblnl): Likewise.
20970 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20971 (vwarnx): Likewise.
20974 * manual/filesys.texi (telldir): Use braces around return type.
20975 * manual/llio.texi (mmap): Add space after comma.
20976 (mmap64): Likewise.
20977 * manual/math.texi (jn): Use @var{} on parameter names.
20983 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20985 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20987 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20988 (sched_get_priority_max): Likewise.
20989 * manual/signal.texi (sigvec): Add space after comma.
20990 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20992 (if_indextoname): Likewise.
20993 (if_freenameindex): Likewise.
20994 (sendto): Use ',' instead of '.' in prototype.
20995 * manual/startup.texi (syscall): Use @dots{} instead of literal
20997 * manual/stdio.texi (__fpending): Separate initial words of
20998 paragraph from @deftypefun line.
20999 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21001 (vsyslog): Use @var{} on parameter names.
21002 * manual/terminal.texi (stty): Use @var{} on parameter names.
21003 * manual/users.texi (getutmp): Use @var{} on parameter names.
21004 (getutmpx): Likewise.
21006 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21009 * manual/stdio.texi (fopen): Fix typos in description of
21012 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21015 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21016 get clock_id definition.
21018 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
21021 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21022 (madvise): Cast every argument to void on its own.
21024 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21027 * manual/startup.texi (Exit Status): Fix typo.
21029 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21032 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21033 * manual/examples/argp-ex2.c: Likewise.
21034 * manual/examples/argp-ex3.c: Likewise.
21036 2012-02-16 Richard Henderson <rth@redhat.com>
21038 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21039 * sysdeps/s390/s390-32/initfini.c: Remove.
21040 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21041 * sysdeps/s390/s390-64/initfini.c: Remove.
21043 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21045 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21046 compiler output for sysdeps/generic/initfini.c.
21047 * sysdeps/sh/elf/initfini.c: Remove file.
21049 2012-02-16 David S. Miller <davem@davemloft.net>
21052 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21054 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21055 * sysdeps/sparc/crti.S: New file.
21056 * sysdeps/sparc/crtn.S: New file.
21057 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21058 * sysdeps/sparc/sparc64/Makefile: Likewise.
21060 2012-02-15 Mike Frysinger <vapier@gentoo.org>
21063 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21065 2012-02-15 Roland McGrath <roland@hack.frob.com>
21068 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21070 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21071 (write, read, close): Likewise.
21072 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21074 2012-02-15 Joseph Myers <joseph@codesourcery.com>
21076 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21077 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21078 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21079 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21081 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21082 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21085 2012-02-14 Marek Polacek <polacek@redhat.com>
21087 * sysdeps/x86_64/crti.S: New file.
21088 * sysdeps/x86_64/crtn.S: New file.
21089 * sysdeps/x86_64/elf/initfini.c: Remove file.
21091 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21093 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21094 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21095 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21096 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21098 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21102 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21104 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21105 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21106 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21107 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21109 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21113 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21115 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21116 __feraiseexcept instead of feraiseexcept.
21118 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21119 nanosleep invocations.
21120 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21121 strings, and add error checking for a nanosleep invocations.
21123 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21125 Replace FSF snail mail address with URLs, as per GNU coding standards.
21126 Most of the snail mail addresses were wrong anyway, and omitting
21127 them makes the source code easier to maintain. Almost all of the
21128 changes are to license notices and to locale LC_IDENTIFICATION
21129 addresses, except for this one:
21130 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21131 not its snail mail address.
21133 2012-02-09 Richard Henderson <rth@twiddle.net>
21135 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21136 of kernel-features.h.
21138 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21140 2012-02-08 Marek Polacek <polacek@redhat.com>
21142 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21143 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21144 * sysdeps/gnu/_G_config.h: Likewise.
21145 * sysdeps/generic/_G_config.h: Likewise.
21147 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
21149 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21153 * sysdeps/powerpc/powerpc32/crti.S: New file.
21154 * sysdeps/powerpc/powerpc32/crtn.S: New file.
21155 * sysdeps/powerpc/powerpc64/crti.S: New file.
21156 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21158 * Makeconfig (have-initfini): Don't set.
21159 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21160 * configure.in (nopic_initfini): Don't substitute.
21161 * config.h.in (HAVE_INITFINI): Don't #undef.
21162 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21163 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21165 2012-02-08 Joseph Myers <joseph@codesourcery.com>
21167 Support crti.S and crtn.S provided directly by architectures.
21168 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21169 [crti.S in sysdirs] (omit-deps): Likewise.
21170 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21171 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21172 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21173 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21174 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21175 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21176 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21177 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21178 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21179 compiler output for sysdeps/generic/initfini.c.
21180 * sysdeps/i386/elf/Makefile: Remove file.
21181 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21183 2012-02-07 Marek Polacek <polacek@redhat.com>
21185 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21186 * sysdeps/gnu/_G_config.h: Likewise.
21187 * sysdeps/mach/hurd/_G_config.h: Likewise.
21189 2012-02-07 Marek Polacek <polacek@redhat.com>
21191 * math/Makefile (tests): Add tst-CMPLX2.
21192 * math/tst-CMPLX2.c: New file.
21194 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21196 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21198 * math/libm-test.inc (jn_test): Add missing L suffix.
21200 2012-02-06 Marek Polacek <polacek@redhat.com>
21202 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21203 * sysdeps/i386/fpu/e_powf.S: Likewise.
21204 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21205 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21206 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21207 * sysdeps/i386/fpu/e_pow.S: Likewise.
21208 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21209 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21210 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21211 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21212 * sysdeps/i386/fpu/e_log2.S: Likewise.
21213 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21214 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21215 * sysdeps/i386/fpu/e_powl.S: Likewise.
21216 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21217 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21218 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21219 * sysdeps/i386/fpu/e_logl.S: Likewise.
21220 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21221 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21222 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21223 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21224 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21225 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21226 * sysdeps/i386/fpu/e_log.S: Likewise.
21227 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21228 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21229 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21230 * sysdeps/i386/fpu/e_logf.S: Likewise.
21231 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21232 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21233 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21234 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21235 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21236 * sysdeps/i386/fpu/e_log10.S: Likewise.
21237 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21238 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21239 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21240 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21241 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21242 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21243 * sysdeps/i386/asm-syntax.h: Likewise.
21244 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21245 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21246 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21247 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21248 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21249 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21250 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21251 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21252 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21253 * sysdeps/powerpc/sysdep.h: Likewise.
21254 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21255 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21257 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21260 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21262 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21264 * sysdeps/i386/sysdep.h: Include <features.h>.
21265 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21268 2012-02-05 Joseph Myers <joseph@codesourcery.com>
21270 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21272 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21275 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21277 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21278 (SETUP_PIC_REG): Use GET_PC_THUNK.
21279 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21282 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21284 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21285 for non-PIC compilation.
21286 (SETUP_PIC_REG): Add .p2align directive.
21287 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21288 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21289 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21290 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21291 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21292 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21293 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21294 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21295 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21296 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21297 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21298 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21299 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21300 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21301 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21302 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21303 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21304 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21305 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21306 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21307 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21308 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21309 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21310 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21311 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21312 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21313 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21314 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21315 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21316 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21317 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21318 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21319 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21320 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21321 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21322 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21323 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21324 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21325 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21326 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21327 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21329 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21331 * math/tst-CMPLX.c: Include <stdio.h>.
21333 2012-01-31 Joseph Myers <joseph@codesourcery.com>
21335 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21337 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21338 * sysdeps/sparc/bits/mathdef.h: Likewise.
21340 2012-01-31 Marek Polacek <polacek@redhat.com>
21342 * libio/libio.h: Don't define _PARAMS.
21343 * locale/programs/config.h: Don't define PARAMS.
21344 * stdlib/strtol_l.c: Likewise.
21345 (__strtol_l): Remove PARAMS from the prototype.
21347 2012-01-31 Ulrich Drepper <drepper@gmail.com>
21349 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21350 names. Just use the correct names. Remove unnecessary wrapper
21352 * malloc/arena.c: Likewise.
21353 * malloc/hooks.c: Likewise.
21355 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21356 ARENA_TEST says not to. Simplify test for creation of a new arena.
21357 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21359 2012-01-30 Ulrich Drepper <drepper@gmail.com>
21361 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21363 (update_get_addr): New function.
21364 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21365 GET_ADDR_MODULE parameter.
21367 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21369 * crypt/cert.c: Remove __STDC__ conditionals.
21370 * crypt/crypt-entry.c: Likewise.
21371 * crypt/crypt_util.c: Likewise.
21372 * libio/filedoalloc.c: Likewise.
21373 * libio/fileops.c: Likewise.
21374 * libio/genops.c: Likewise.
21375 * libio/iofclose.c: Likewise.
21376 * libio/iofdopen.c: Likewise.
21377 * libio/iofopen.c: Likewise.
21378 * libio/iofopen64.c: Likewise.
21379 * libio/iogetdelim.c: Likewise.
21380 * libio/iopopen.c: Likewise.
21381 * libio/obprintf.c: Likewise.
21382 * libio/oldfileops.c: Likewise.
21383 * libio/oldiofclose.c: Likewise.
21384 * libio/oldiofdopen.c: Likewise.
21385 * libio/oldiofopen.c: Likewise.
21386 * libio/oldiopopen.c: Likewise.
21387 * libio/wfiledoalloc.c: Likewise.
21388 * libio/wgenops.c: Likewise.
21389 * locale/programs/xmalloc.c: Likewise.
21390 * misc/syslog.c: Likewise.
21391 * stdio-common/xbug.c: Likewise.
21392 * string/memchr.c: Likewise.
21393 * string/memcmp.c: Likewise.
21394 * string/memrchr.c: Likewise.
21395 * string/rawmemchr.c: Likewise.
21396 * sysdeps/posix/getcwd.c: Likewise.
21397 * time/strftime_l.c: Likewise.
21399 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21401 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
21402 * config.make.in (config-cflags-sse2avx): Define.
21403 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21406 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21408 * scripts/config.guess: Update from upstream config git repository.
21409 * scripts/config.sub: Likewise.
21411 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21413 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21415 (R_TILEPRO_*, R_TILEGX_*): New macros.
21417 * scripts/firstversions.awk: Fix bug in version range handling.
21419 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21421 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21423 * include/sys/epoll.h: New file.
21424 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21427 2012-01-28 Ulrich Drepper <drepper@gmail.com>
21429 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21430 Avoid unnecessary __WORDSIZE == 64 test.
21431 (fmaxf): Use VEX format if possible.
21436 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21437 * math/math_private.h: Remove libc_fegetround* and
21439 * sysdeps/i386/configure.in: Check for -msse2avx.
21440 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21441 also if SSE2AVX is defined.
21442 Remove libc_fegetround* and libc_fesetround*.
21443 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21444 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21445 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21447 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21448 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21449 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21450 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21451 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21453 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21455 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21457 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21459 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21461 2012-01-27 Ulrich Drepper <drepper@gmail.com>
21464 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21466 * Makeconfig (libm): Define.
21467 * elf/Makefile: Add rules to build and run tst-relsort1.
21468 * elf/tst-relsort1.c: New file.
21469 * elf/tst-relsort1mod1.c: New file.
21470 * elf/tst-relsort1mod2.c: New file.
21472 2012-01-27 Joseph Myers <joseph@codesourcery.com>
21474 * math/s_ldexp.c: Remove __STDC__ conditionals.
21475 * math/s_ldexpf.c: Likewise.
21476 * math/s_ldexpl.c: Likewise.
21477 * math/s_nextafter.c: Likewise.
21478 * math/s_nexttowardf.c: Likewise.
21479 * math/s_significand.c: Likewise.
21480 * math/s_significandf.c: Likewise.
21481 * math/s_significandl.c: Likewise.
21482 * math/w_jnl.c: Likewise.
21483 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21484 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21485 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21486 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21487 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21488 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21489 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21490 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21491 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21492 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21493 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21494 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21495 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21496 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21497 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21498 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21499 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21500 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21501 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21502 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21503 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21504 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21505 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21506 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21507 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21508 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21509 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21510 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21511 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21512 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21513 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21514 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21515 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21516 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21517 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21518 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21519 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21520 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21521 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21522 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21523 * sysdeps/ieee754/k_standard.c: Likewise.
21524 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21525 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21526 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21527 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21528 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21529 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21530 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21531 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21532 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21533 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21534 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21535 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21536 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21537 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21538 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21539 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21540 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21541 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21542 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21543 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21544 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21545 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21546 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21547 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21548 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21549 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21550 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21551 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21552 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21553 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21554 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21555 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21556 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21557 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21558 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21559 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21560 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21561 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21562 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21563 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21564 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21565 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21566 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21567 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21568 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21569 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21570 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21571 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21572 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21573 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21574 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21575 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21576 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21577 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21578 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21579 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21580 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21581 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21582 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21583 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21584 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21585 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21586 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21587 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21588 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21589 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21590 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21591 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21592 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21593 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21594 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21595 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21596 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21597 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21598 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21599 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21600 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21601 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21602 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21603 * sysdeps/ieee754/s_matherr.c: Likewise.
21604 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21605 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21606 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21607 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21609 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21611 * crypt/md5.h: Remove __STDC__ conditionals.
21612 * libio/libioP.h: Likewise.
21613 * locale/programs/config.h: Likewise.
21614 * sysdeps/generic/sysdep.h: Likewise.
21615 * sysdeps/i386/asm-syntax.h: Likewise.
21616 * sysdeps/s390/asm-syntax.h: Likewise.
21617 * sysdeps/unix/sysdep.h: Likewise.
21618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21621 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21623 * libio/libio.h: Remove __STDC__ conditionals.
21624 * malloc/obstack.h: Likewise.
21625 * math/complex.h: Likewise.
21626 * math/math.h: Likewise.
21627 * sysdeps/generic/_G_config.h: Likewise.
21628 * sysdeps/gnu/_G_config.h: Likewise.
21629 * sysdeps/mach/hurd/_G_config.h: Likewise.
21630 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21631 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21632 * sysdeps/sparc/bits/mathdef.h: Likewise.
21634 2012-01-26 Ulrich Drepper <drepper@gmail.com>
21637 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21638 Clean up HAS_* macros.
21639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21640 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21642 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21644 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21645 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21646 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21647 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21648 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21650 2012-01-25 Joseph Myers <joseph@codesourcery.com>
21652 * elf/tst-unique3.cc (gets): Remove declaration.
21653 * elf/tst-unique3lib.cc (gets): Likewise.
21654 * elf/tst-unique3lib2.cc (gets): Likewise.
21655 * elf/tst-unique4.cc (gets): Likewise.
21657 2012-01-24 Ulrich Drepper <drepper@gmail.com>
21659 * include/stdio.h: Add C++ protection. Add gets declarations and
21661 * debug/tst-chk1.c: Don't declare gets here.
21662 * stdio-common/tst-gets.c: Likewise.
21664 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21666 * posix/glob: Remove directory.
21668 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21670 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21672 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21674 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21675 of the non-standard EPFNOSUPPORT.
21677 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21679 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21680 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21681 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21683 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21685 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21687 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21689 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21691 * nscd/grpcache.c (cache_addgr): Likewise.
21692 * nscd/hstcache.c (cache_addhst): Likewise.
21693 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21694 * nscd/pwdcache.c (cache_addpw): Likewise.
21695 * nscd/servicescache.c (cache_addserv): Likewise.
21697 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21699 * malloc/malloc.c: Various cleanups.
21700 * malloc/hooks.c: Likewise.
21702 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21703 * stdlib/bug-fmtmsg1.c: New file.
21705 * stdlib/fmtmsg.c (init): Add missing unlock.
21706 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21708 2012-01-12 Marek Polacek <polacek@redhat.com>
21710 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21713 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21715 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21716 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21717 macro to ensure uniqueness of label name.
21718 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21719 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21721 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21723 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21725 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21726 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21727 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21728 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21730 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21732 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21734 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21735 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21736 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21738 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21740 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21741 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21742 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21743 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21745 * math/bits/math-finite.h: Add ldexp support.
21747 2012-01-10 Marek Polacek <polacek@redhat.com>
21749 * locale/programs/localedef.h (show_archive_content): Add noreturn
21752 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21754 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21756 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21758 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21760 * io/Makefile (headers): Add bits/poll2.h.
21762 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21765 typo #include statement.
21767 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21769 * include/sys/cdefs.h: Define __attribute_alloc_size.
21770 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21771 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21772 * elf/pldd.c: Likewise.
21773 * iconv/iconv_charmap.c: Likewise.
21774 * iconv/iconvconfig.c: Likewise.
21775 * iconv/strtab.c: Likewise.
21776 * locale/programs/locale.c: Likewise.
21777 * locale/programs/localedef.h: Likewise.
21778 * locale/programs/simple-hash.c: Likewise.
21779 * nscd/nscd.h: Likewise.
21780 * nss/makedb.c: Likewise.
21781 * sysdeps/generic/ldconfig.h: Likewise.
21782 * locale/programs/localedef.c: Remove xmalloc prototype.
21783 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21785 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21787 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21790 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21792 * math/Makefile (tests): Add tst-CMPLX.
21793 * math/tst-CMPLX.c: New file.
21795 * math/complex.h (CMPLXL): Fix typo.
21797 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21798 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21800 * debug/tst-chk1.c: Add poll and ppoll tests.
21801 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21802 * include/sys/poll.h: Add hidden proto for ppoll.
21803 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21804 * sysdeps/mach/hurd/ppoll.c: Likewise.
21805 * io/ppoll.c: Likewise.
21806 * debug/poll_chk.c: New file.
21807 * debug/ppoll_chk.c: New file.
21808 * include/bits/poll2.h: New file.
21809 * io/bits/poll2.h: New file.
21812 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21814 * configure.in: static is always set to yes. Remove.
21815 * config.make.in: Don't set build-static.
21816 * Makeconfig: Remove use of build-static.
21817 * dlfcn/Makefile: Likewise.
21818 * elf/Makefile: Likewise.
21819 * math/Makefile: Likewise.
21820 * misc/Makefile: Likewise.
21821 * nptl/Makefile: Likewise.
21822 * sysdeps/mach/hurd/Makefile: Likewise.
21824 * configure.in: PWD_P is not used anymore.
21825 * config.make.in: Remove PWD_P entry.
21827 * configure.in: Remove last remnants of RANLIB.
21828 No need to check for signed size_t anymore.
21829 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21831 Remove __builtin_expect test because we require at least gcc 3.4.
21832 * aclocal.m4: Likewise.
21834 * wcsmbs/mbrtoc16.c: Implement using towc function.
21835 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21836 * wcsmbs/wcsmbsload.c: Likewise.
21837 * iconv/gconv_simple.c: Likewise.
21838 * iconv/gconv_int.h: Likewise.
21839 * iconv/gconv_builtin.h: Likewise.
21840 * iconv/iconv_prog.c: Remove CHAR16 handling.
21842 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21844 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21846 * configure.in: Remove --with-elf and --enable-bounded options.
21847 Dont set base_machine for ia64. More non-ELF conditions removed.
21848 Remove testing and setting of leading underscore information.
21849 * config.make.in (build-bounded): Set to no.
21850 * config.h.in: Remove NO_UNDERSCORES entry.
21851 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21853 * csu/start.c: Remove !NO_UNDERSCORE code.
21854 * locale/localeinfo.h: Likewise.
21855 * sysdeps/generic/machine-gmon.h: Likewise.
21856 * sysdeps/generic/sysdep.h: Likewise.
21857 * sysdeps/i386/sysdep.h: Likewise.
21858 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21859 * sysdeps/mach/sysdep.h: Likewise.
21860 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21861 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21862 * sysdeps/sh/sysdep.h: Likewise.
21863 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21864 * sysdeps/unix/i386/sysdep.S: Likewise.
21865 * sysdeps/unix/sparc/start.c: Likewise.
21866 * sysdeps/unix/sparc/sysdep.S: Likewise.
21867 * sysdeps/unix/sparc/sysdep.h: Likewise.
21868 * sysdeps/unix/start.c: Likewise.
21869 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21870 * sysdeps/x86_64/sysdep.h: Likewise.
21872 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21875 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21877 * argp/argp-fmtstream.h: Use const instead __const.
21878 * argp/argp.h: Likewise.
21879 * assert/assert.h: Likewise.
21880 * bits/fenv.h: Likewise.
21881 * bits/sched.h: Likewise.
21882 * bits/sigset.h: Likewise.
21883 * bits/sigthread.h: Likewise.
21884 * catgets/nl_types.h: Likewise.
21885 * conform/data/pthread.h-data: Likewise.
21886 * crypt/crypt-private.h: Likewise.
21887 * crypt/crypt.h: Likewise.
21888 * crypt/crypt_util.c: Likewise.
21889 * ctype/ctype.h: Likewise.
21890 * debug/execinfo.h: Likewise.
21891 * debug/mbsnrtowcs_chk.c: Likewise.
21892 * debug/mbsrtowcs_chk.c: Likewise.
21893 * debug/wcsnrtombs_chk.c: Likewise.
21894 * debug/wcsrtombs_chk.c: Likewise.
21895 * debug/wcstombs_chk.c: Likewise.
21896 * dirent/dirent.h: Likewise.
21897 * dlfcn/dlfcn.h: Likewise.
21898 * elf/neededtest4.c: Likewise.
21899 * grp/grp.h: Likewise.
21900 * gshadow/gshadow.h: Likewise.
21901 * iconv/gconv.h: Likewise.
21902 * iconv/gconv_int.h: Likewise.
21903 * iconv/gconv_simple.c: Likewise.
21904 * iconv/iconv.h: Likewise.
21905 * iconv/loop.c: Likewise.
21906 * iconv/skeleton.c: Likewise.
21907 * include/aio.h: Likewise.
21908 * include/aliases.h: Likewise.
21909 * include/argz.h: Likewise.
21910 * include/arpa/inet.h: Likewise.
21911 * include/assert.h: Likewise.
21912 * include/dirent.h: Likewise.
21913 * include/dlfcn.h: Likewise.
21914 * include/execinfo.h: Likewise.
21915 * include/fcntl.h: Likewise.
21916 * include/fenv.h: Likewise.
21917 * include/glob.h: Likewise.
21918 * include/grp.h: Likewise.
21919 * include/libintl.h: Likewise.
21920 * include/mntent.h: Likewise.
21921 * include/netdb.h: Likewise.
21922 * include/pwd.h: Likewise.
21923 * include/rpc/netdb.h: Likewise.
21924 * include/sched.h: Likewise.
21925 * include/search.h: Likewise.
21926 * include/shadow.h: Likewise.
21927 * include/signal.h: Likewise.
21928 * include/stdio.h: Likewise.
21929 * include/stdlib.h: Likewise.
21930 * include/string.h: Likewise.
21931 * include/sys/socket.h: Likewise.
21932 * include/sys/stat.h: Likewise.
21933 * include/sys/statfs.h: Likewise.
21934 * include/sys/statvfs.h: Likewise.
21935 * include/sys/syslog.h: Likewise.
21936 * include/sys/time.h: Likewise.
21937 * include/sys/uio.h: Likewise.
21938 * include/time.h: Likewise.
21939 * include/unistd.h: Likewise.
21940 * include/utmp.h: Likewise.
21941 * include/wchar.h: Likewise.
21942 * include/wctype.h: Likewise.
21943 * inet/aliases.h: Likewise.
21944 * inet/arpa/inet.h: Likewise.
21945 * inet/netinet/ether.h: Likewise.
21946 * inet/netinet/in.h: Likewise.
21947 * intl/libintl.h: Likewise.
21948 * io/bits/fcntl2.h: Likewise.
21949 * io/fcntl.h: Likewise.
21950 * io/ftw.h: Likewise.
21951 * io/sys/poll.h: Likewise.
21952 * io/sys/stat.h: Likewise.
21953 * io/sys/statfs.h: Likewise.
21954 * io/sys/statvfs.h: Likewise.
21955 * io/utime.h: Likewise.
21956 * libio/bits/stdio.h: Likewise.
21957 * libio/bits/stdio2.h: Likewise.
21958 * libio/libio.h: Likewise.
21959 * libio/libioP.h: Likewise.
21960 * libio/stdio.h: Likewise.
21961 * locale/lc-ctype.c: Likewise.
21962 * locale/locale.h: Likewise.
21963 * login/utmp.h: Likewise.
21964 * malloc/arena.c: Likewise.
21965 * malloc/malloc.c: Likewise.
21966 * malloc/malloc.h: Likewise.
21967 * malloc/mcheck.c: Likewise.
21968 * malloc/mtrace.c: Likewise.
21969 * math/bits/mathcalls.h: Likewise.
21970 * math/fenv.h: Likewise.
21971 * math/math_private.h: Likewise.
21972 * misc/bits/error.h: Likewise.
21973 * misc/bits/syslog.h: Likewise.
21974 * misc/err.h: Likewise.
21975 * misc/error.h: Likewise.
21976 * misc/fstab.h: Likewise.
21977 * misc/mntent.h: Likewise.
21978 * misc/regexp.h: Likewise.
21979 * misc/search.h: Likewise.
21980 * misc/sgtty.h: Likewise.
21981 * misc/sys/mman.h: Likewise.
21982 * misc/sys/syslog.h: Likewise.
21983 * misc/sys/uio.h: Likewise.
21984 * misc/sys/xattr.h: Likewise.
21985 * misc/ttyent.h: Likewise.
21986 * nis/rpcsvc/ypclnt.h: Likewise.
21987 * nss/nss.h: Likewise.
21988 * posix/bits/unistd.h: Likewise.
21989 * posix/fnmatch.h: Likewise.
21990 * posix/glob.h: Likewise.
21991 * posix/sched.h: Likewise.
21992 * posix/spawn.h: Likewise.
21993 * posix/sys/wait.h: Likewise.
21994 * posix/unistd.h: Likewise.
21995 * posix/wordexp.h: Likewise.
21996 * pwd/pwd.h: Likewise.
21997 * resolv/netdb.h: Likewise.
21998 * resource/sys/resource.h: Likewise.
21999 * rt/aio.h: Likewise.
22000 * rt/bits/mqueue2.h: Likewise.
22001 * rt/mqueue.h: Likewise.
22002 * shadow/shadow.h: Likewise.
22003 * signal/signal.h: Likewise.
22004 * socket/send.c: Likewise.
22005 * socket/sendto.c: Likewise.
22006 * socket/sys/socket.h: Likewise.
22007 * stdio-common/printf.h: Likewise.
22008 * stdlib/bits/stdlib.h: Likewise.
22009 * stdlib/fmtmsg.h: Likewise.
22010 * stdlib/monetary.h: Likewise.
22011 * stdlib/stdlib.h: Likewise.
22012 * stdlib/ucontext.h: Likewise.
22013 * streams/stropts.h: Likewise.
22014 * string/argz.h: Likewise.
22015 * string/bits/string2.h: Likewise.
22016 * string/string.h: Likewise.
22017 * string/strings.h: Likewise.
22018 * sunrpc/rpc/auth.h: Likewise.
22019 * sunrpc/rpc/auth_des.h: Likewise.
22020 * sunrpc/rpc/clnt.h: Likewise.
22021 * sunrpc/rpc/netdb.h: Likewise.
22022 * sunrpc/rpc/pmap_clnt.h: Likewise.
22023 * sunrpc/rpc/xdr.h: Likewise.
22024 * sysdeps/generic/inttypes.h: Likewise.
22025 * sysdeps/generic/net/if.h: Likewise.
22026 * sysdeps/generic/sys/swap.h: Likewise.
22027 * sysdeps/gnu/net/if.h: Likewise.
22028 * sysdeps/gnu/utmpx.h: Likewise.
22029 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22030 * sysdeps/i386/i486/bits/string.h: Likewise.
22031 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22032 * sysdeps/s390/bits/string.h: Likewise.
22033 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22034 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22035 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22036 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22037 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22038 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22039 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22040 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22041 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22042 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22043 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22044 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22045 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22046 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22047 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22048 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22049 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22050 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22051 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22052 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22053 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22054 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22055 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22056 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22057 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22058 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22059 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22060 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22061 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22062 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22063 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22064 * sysvipc/sys/ipc.h: Likewise.
22065 * sysvipc/sys/msg.h: Likewise.
22066 * sysvipc/sys/sem.h: Likewise.
22067 * sysvipc/sys/shm.h: Likewise.
22068 * termios/termios.h: Likewise.
22069 * time/sys/time.h: Likewise.
22070 * time/time.h: Likewise.
22071 * wcsmbs/bits/wchar2.h: Likewise.
22072 * wcsmbs/uchar.h: Likewise.
22073 * wcsmbs/wchar.h: Likewise.
22074 * wctype/wctype.h: Likewise.
22077 * Makeconfig: Remove all but ELF support including AIX support.
22078 * Makerules: Likewise.
22079 * config.h.in: Likewise.
22080 * config.make.in: Likewise.
22081 * configure: Likewise.
22082 * configure.in: Likewise.
22083 * csu/Makefile: Likewise.
22084 * csu/version.c: Likewise.
22085 * debug/Makefile: Likewise.
22086 * dlfcn/Makefile: Likewise.
22087 * elf/Makefile: Likewise.
22088 * extra-lib.mk: Likewise.
22089 * iconv/Makefile: Likewise.
22090 * include/libc-symbols.h: Likewise.
22091 * include/shlib-compat.h: Likewise.
22092 * resolv/Makefile: Likewise.
22093 * resolv/res_libc.c: Likewise.
22094 * rt/Makefile: Likewise.
22095 * sysdeps/i386/asm-syntax.h: Likewise.
22096 * sysdeps/i386/sysdep.h: Likewise.
22097 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22098 * sysdeps/mach/sysdep.h: Likewise.
22099 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22100 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22101 * sysdeps/s390/asm-syntax.h: Likewise.
22102 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22103 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22104 * sysdeps/sh/sysdep.h: Likewise.
22105 * sysdeps/unix/sparc/sysdep.h: Likewise.
22106 * sysdeps/wordsize-32/divdi3.c: Likewise.
22107 * sysdeps/x86_64/sysdep.h: Likewise.
22109 * argp/Versions: Remove _argp_unlock_xxx.
22112 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22113 * abilist/libBrokenLocale.abilist: Likewise.
22114 * abilist/libanl.abilist: Likewise.
22115 * abilist/libc.abilist: Likewise.
22116 * abilist/libcrypt.abilist: Likewise.
22117 * abilist/libdl.abilist: Likewise.
22118 * abilist/libm.abilist: Likewise.
22119 * abilist/libnsl.abilist: Likewise.
22120 * abilist/libpthread.abilist: Likewise.
22121 * abilist/libresolv.abilist: Likewise.
22122 * abilist/librt.abilist: Likewise.
22123 * abilist/libthread_db.abilist: Likewise.
22124 * abilist/libutil.abilist: Likewise.
22125 * abilist/libnss_db.abilist: New file.
22127 * scripts/abilist.awk: Add support for indirect functions.
22129 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22131 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22133 * shlib-versions: Remove entries for ports architectures.
22135 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
22137 * elf/stackguard-macros.h: Remove support for IA-64.
22138 * elf/tst-auditmod1.c: Likewise.
22139 * sysdeps/generic/ldsodefs.h: Likewise.
22141 * sysdeps/unix/sysv/linux/configure.in: Ports should define
22142 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22146 * configure.in: Remove --enable-omitfp support.
22148 * config.make.in: Likewise.
22149 * Makeconfig: Likewise.
22150 * manual/install.texi: Likewise.
22152 In case anyone cares, the IA-64 architecture could move to ports.
22153 * sysdeps/ia64/*: Removed.
22154 * sysdeps/unix/sysv/linux/ia64/*: Removed.
22155 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
22158 * configure.in: Remove entries for unsupported architectures.
22161 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22162 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22164 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22165 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22166 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22167 fall back to using wcrtomb.
22168 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22169 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22171 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22172 * wcsmbs/tst-c16c32-1.c: New file.
22174 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22177 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22179 * elf/tst-unique3.cc: Add explicit declaration of gets.
22180 * elf/tst-unique3lib.cc: Likewise.
22181 * elf/tst-unique3lib2.cc: Likewise.
22182 * elf/tst-unique4.cc: Likewise.
22184 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22186 2012-01-06 Joseph Myers <joseph@codesourcery.com>
22189 * assert/assert.h (static_assert): Don't define for C++.
22190 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22191 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22193 2012-01-03 Ulrich Drepper <drepper@gmail.com>
22195 * iconv/loop.c (single loop): Fix assertion in storing of
22198 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22200 2012-01-01 Ulrich Drepper <drepper@gmail.com>
22202 * posix/getconf.c: Update copyright year.
22203 * nss/getent.c: Likewise.
22204 * nss/makedb.c: Likewise.
22205 * iconv/iconvconfig.c: Likewise.
22206 * iconv/iconv_prog.c: Likewise.
22207 * elf/ldconfig.c: Likewise.
22208 * elf/pldd.c: Likewise.
22209 * elf/sotruss.ksh: Likewise.
22210 * catgets/gencat.c: Likewise.
22211 * csu/version.c: Likewise.
22212 * elf/ldd.bash.in: Likewise.
22213 * elf/sprof.c (print_version): Likewise.
22214 * locale/programs/locale.c: Likewise.
22215 * locale/programs/localedef.c: Likewise.
22216 * login/programs/pt_chown.c: Likewise.
22217 * nscd/nscd.c (print_version): Likewise.
22218 * debug/xtrace.sh: Likewise.
22219 * malloc/memusage.sh: Likewise.
22220 * malloc/mtrace.pl: Likewise.
22221 * debug/catchsegv.sh: Likewise.
22223 2011-12-30 Jakub Jelinek <jakub@redhat.com>
22225 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22228 2011-12-24 Ulrich Drepper <drepper@gmail.com>
22231 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22232 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22234 * iconv/gconv_int.h: Likewise.
22235 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22236 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22237 from libc for GLIBC_2.16.
22238 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22239 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22240 * wcsmbs/uchar.h: Really define mbstate_t.
22241 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22242 * wcsmbs/c16rtomb.c: New file.
22243 * wcsmbs/mbrtoc16.c: New file.
22244 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22245 for C/POSIX locale.
22246 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22247 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22249 * wcsmbs/wchar.h: Add missing __restrict.
22251 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22254 * time/Makefile (routines): Add timespec_get.
22255 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22256 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22257 timespec for ISO C11.
22258 * time/timespec_get.c: New file.
22259 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22260 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22263 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22264 * stdlib/stdlib.h: Declare aligned_alloc.
22265 * Versions.def: Add GLIBC_2.16 for libc.
22266 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22269 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22272 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
22276 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22279 * assert/assert.h (static_assert): Define.
22281 * version.h: Update for 2.16 development version.
22284 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22287 * version.h (RELEASE): Bump for 2.15 release.
22288 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22290 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22291 Patch by Marek Polacek <mpolacek@redhat.com>.
22293 * bits/byteswap.h: Protect long long constants with __extension__.
22294 * sysdeps/i386/bits/byteswap.h: Likewise.
22295 * sysdeps/ia64/bits/byteswap.h: Likewise.
22296 * sysdeps/s390/bits/byteswap.h: Likewise.
22297 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22299 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22302 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22303 destination buffer.
22304 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22306 2011-12-23 Marek Polacek <polacek@redhat.com>
22308 * elf/dl-addr.c (determine_info): Add inline keyword.
22309 * elf/tst-auditmod4b.c (check_avx): Likewise.
22310 * elf/tst-auditmod6b.c (check_avx): Likewise.
22311 * elf/tst-auditmod6c.c (check_avx): Likewise.
22312 * elf/tst-auditmod7b.c (check_avx): Likewise.
22314 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22316 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22319 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22322 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22323 processing for last bytes.
22325 2011-08-06 Bruno Haible <bruno@clisp.org>
22328 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22329 U+0385, not to U+1FEE.
22332 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22333 entry for U+00A5 U+0301.
22335 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22338 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22339 buffer for the output is too small.
22341 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22345 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22346 SSE flags if possible.
22348 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22351 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22352 processing for last bytes.
22354 2011-12-22 Joseph Myers <joseph@codesourcery.com>
22356 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22357 (syscall-list-default-options, syscall-list-default-condition)
22358 (syscall-list-includes): Define.
22359 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22360 list of ABIs and options and #if conditions for each ABI. Do not
22361 handle common syscalls between ABIs specially.
22362 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22364 (syscall-list-variants, syscall-list-32bit-options)
22365 (syscall-list-32bit-condition, syscall-list-64bit-options)
22366 (syscall-list-64bit-condition): Define.
22367 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22368 (syscall-list-variants, syscall-list-32bit-options)
22369 (syscall-list-32bit-condition, syscall-list-64bit-options)
22370 (syscall-list-64bit-condition): Define.
22371 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22373 (syscall-list-variants, syscall-list-32bit-options)
22374 (syscall-list-32bit-condition, syscall-list-64bit-options)
22375 (syscall-list-64bit-condition): Define.
22376 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22378 (syscall-list-variants, syscall-list-32bit-options)
22379 (syscall-list-32bit-condition, syscall-list-64bit-options)
22380 (syscall-list-64bit-condition): Define.
22382 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22384 * locale/iso-639.def: Add brx entry.
22387 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22388 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22390 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22391 __feraiseexcept_renamed.
22393 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22396 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22397 EPOLLET with unsigned values.
22398 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22399 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22401 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22402 to large cancellation.
22403 * math/s_cacoshf.c: Likewise.
22404 * math/s_cacoshl.c: Likewise.
22406 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22410 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22411 * math/s_cacoshf.c: Likewise.
22412 * math/s_cacoshl.c: Likewise.
22414 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22417 * iconv/gconv.h: Define __GCONV_SWAP.
22418 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22419 * iconvdata/utf-16.c: Likewise.
22420 * iconvdata/utf-32.c: Likewise.
22422 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22425 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22426 numerator after shifting it by one limb.
22428 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22430 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22431 under [__USE_EXTERN_INLINES].
22433 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22436 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22438 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22440 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22441 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22443 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22444 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22445 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22446 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22447 for strncasecmp/strncasecmp_l compilation.
22448 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22449 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22451 2011-12-08 Marek Polacek <mpolacek@redhat.com>
22454 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22457 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22460 * time/tzfile.c (__tzfile_read): Check values from file header.
22462 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22464 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22465 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22466 * powerpc/powerpc32/dl-start.S: Likewise.
22467 * powerpc/powerpc32/elf/start.S: Likewise.
22468 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22469 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22470 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22471 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22472 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22473 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22474 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22475 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22476 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22477 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22478 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22479 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22480 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22481 * powerpc/powerpc32/memset.S: Likewise.
22482 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22483 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22484 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22485 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22486 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22487 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22488 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22489 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22490 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22491 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22492 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22493 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22494 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22496 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22498 * math/libm-test.inc: Added more nearbyint tests.
22499 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22500 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22501 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22502 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22504 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22506 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22509 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22511 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22512 Add wcscpy-ssse3 wcscpy-c.
22513 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22514 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22515 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22516 * sysdeps/x86_64/wcschr.S: New file.
22517 * sysdeps/x86_64/wcsrchr.S: New file.
22518 * string/test-strcmp.c: Remove checking of wcscmp function for
22520 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22521 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22522 wcsrchr-sse2 wcsrchr-c.
22523 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22524 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22525 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22526 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22527 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22528 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22529 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22530 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22531 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22532 * wcsmbc/wcschr.c (WCSCHR): New macro.
22534 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22536 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22537 * wcsmbs/test-wcsrchr.c: New file.
22538 * string/test-strrchr.c: Add wcsrchr support.
22540 * wcsmbs/test-wcscpy.c: New file.
22541 * string/test-strcpy.c: Add wcscpy support.
22544 2011-12-10 Ulrich Drepper <drepper@gmail.com>
22546 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22549 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22552 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22554 2011-12-04 Ulrich Drepper <drepper@gmail.com>
22556 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
22557 Minor optimizations.
22559 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22560 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22561 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22563 2011-12-03 Ulrich Drepper <drepper@gmail.com>
22565 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22566 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22567 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22568 for gcc to avoid warnings.
22569 * inet/Makefile (tests): Add tst-checks.
22570 * inet/tst-checks.c: New file.
22572 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22575 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22578 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22579 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22581 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22583 2011-12-02 Ulrich Drepper <drepper@gmail.com>
22585 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22588 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22590 2011-11-29 Joseph Myers <joseph@codesourcery.com>
22592 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22593 conditional on GCC version.
22594 (__arch_compare_and_exchange_val_8_acq)
22595 (__arch_compare_and_exchange_val_16_acq)
22596 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22597 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22598 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22600 2011-12-02 Joseph Myers <joseph@codesourcery.com>
22602 * sysdeps/sh/backtrace.c: New file.
22604 2011-12-02 Andreas Schwab <schwab@redhat.com>
22606 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22609 2011-12-01 Andreas Schwab <schwab@redhat.com>
22611 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22612 falling back to utime.
22614 2011-11-30 Andreas Schwab <schwab@redhat.com>
22616 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22617 expectations for float.
22619 2011-11-29 Andreas Schwab <schwab@redhat.com>
22621 * locale/weight.h (findidx): Add parameter len.
22622 * locale/weightwc.h (findidx): Likewise.
22623 * posix/fnmatch_loop.c (FCT): Adjust caller.
22624 * posix/regcomp.c (build_equiv_class): Likewise.
22625 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22626 * posix/regexec.c (check_node_accept_bytes): Likewise.
22627 * string/strcoll_l.c (STRCOLL): Likewise.
22628 * string/strxfrm_l.c (STRXFRM): Likewise.
22630 2011-11-17 Ulrich Drepper <drepper@gmail.com>
22632 * Makefile.in: Remove CVSOPT handling.
22633 * configure.in: Remove use of AC_REVISION.
22634 * iconvdata/Makefile (distribute): No need to filter out CVS.
22635 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22638 2011-11-16 Andreas Schwab <schwab@redhat.com>
22640 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22641 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22642 [USE_AS_STRNCASECMP_L]: Likewise.
22643 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22644 NO_TLS_DIRECT_SEG_REFS.
22645 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22646 Fix argument offsets for non-PIC.
22647 [USE_AS_STRNCASECMP_L]: Likewise.
22648 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22649 NO_TLS_DIRECT_SEG_REFS.
22651 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22653 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22655 * locale/loadlocale.c (_nl_load_locale): Likewise.
22657 2011-11-15 Andreas Schwab <schwab@redhat.com>
22659 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22660 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22661 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22662 (SYSCALL_GETTIME): Set errno on error.
22664 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22665 count references to noai6ai_cached.
22667 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22669 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22671 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22672 FD_CLOEXEC for /proc/self/maps.
22674 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22675 FD_CLOEXEC for /proc/meminfo.
22677 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22680 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22681 FD_CLOEXEC for given file.
22683 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22685 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22686 FD_CLOEXEC for /etc/hosts.
22687 (_gethtent): Likewise.
22689 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22691 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22692 cancellation and set FD_CLOEXEC for /etc/netgroup.
22694 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22695 reading /etc/publickey.
22697 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22698 allow cancellation when reading /etc/group.
22700 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22702 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22704 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22705 when using data file.
22707 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22709 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22710 (write_nis_obj): Use "c" and "e" in fopen.
22712 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22714 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22716 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22718 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22720 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22723 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22725 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22727 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22729 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22730 file parsing and set FD_CLOEXEC.
22732 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22734 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22736 2011-11-14 Andreas Schwab <schwab@redhat.com>
22738 * malloc/arena.c (arena_get2): Don't call reused_arena when
22739 _int_new_arena failed.
22741 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22743 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22744 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22745 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22746 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22747 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22748 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22749 to compile strcasecmp and strncasecmp.
22750 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22751 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22753 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22755 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22757 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22758 locale-defines.sym to gen-as-const-headers.
22759 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22760 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22761 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22762 to compile strcasecmp and strncasecmp.
22763 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22764 strcasecmp_l and strncasecmp_l.
22765 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22766 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22767 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22768 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22769 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22770 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22771 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22772 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22773 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22774 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22775 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22777 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22779 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22780 result of SYSDEP_GETTIME_CPU to retval.
22781 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22782 parameter list to macro. Remove trailing semicolon. Adjust users.
22784 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22787 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22789 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22791 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22792 from unused variable.
22794 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22796 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22799 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22802 * sunrpc/rpc_prot.c (rejected): Fix case value.
22804 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22805 unsigned long long int to avoid warnings in shift.
22807 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22809 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22812 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22813 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22814 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22816 * nis/nis_table.c (nis_list): Use variable of correct type for
22817 result of __follow_path call.
22819 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22821 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22822 of math functions ceil, trunc, floor, round, and sqrt, when
22823 avaliable on the platform.
22824 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22826 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22827 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22828 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22830 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22832 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22833 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22835 2011-11-11 Roland McGrath <roland@hack.frob.com>
22837 * include/unistd.h: Fix __readlink return type.
22838 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22840 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22842 * stdlib/ucontext.h: Undo last change for makecontext.
22844 2011-11-11 Andreas Schwab <schwab@redhat.com>
22846 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22848 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22849 * setjmp/setjmp.h: Mark functions as non-leaf.
22850 * setjmp/bits/setjmp2.h: Likewise.
22851 * stdlib/ucontext.h: Likewise.
22853 2011-11-10 Andreas Schwab <schwab@redhat.com>
22855 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22856 (reused_arena): Don't check arena limit.
22857 (arena_get2): Atomically check arena limit.
22859 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22861 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22862 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22864 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22867 2011-11-07 Andreas Schwab <schwab@redhat.com>
22869 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22870 handler when locking.
22872 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22873 Fix size of allocated buffer.
22875 2011-11-04 Andreas Schwab <schwab@redhat.com>
22878 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22879 declarations for long double functions.
22880 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22882 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22884 2011-11-03 Andreas Schwab <schwab@redhat.com>
22886 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22889 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22892 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22894 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22896 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22898 * include/alloca.h (stackinfo_alloca_round): Define.
22899 (extend_alloca): Use it.
22900 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22901 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22904 * scripts/check-local-headers.sh: Ignore libaudit.h.
22906 * nscd/Makefile (extra-objs): Make recursively expanded.
22908 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22910 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22911 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22913 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22914 * posix/tst-rfc3484-2.c: Likewise.
22915 * posix/tst-rfc3484-3.c: Likewise.
22917 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22919 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22921 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22922 process_vm_writev from libc using GLIBC_2.15 version.
22924 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22926 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22928 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22931 2011-10-31 Ulrich Drepper <drepper@gmail.com>
22934 * nss/getent.c (initgroups_keys): Show error message in case no group
22937 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22938 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22939 __bump_nl_timestamp.
22940 * nscd/connections (nscd_init): When host database is served open
22941 netlink socket and request notification about configuration changes.
22942 (main_loop_poll): Track netlink file descriptor and bump timestamp
22943 in case data becomes available.
22944 (main_loop_epoll): Likewise.
22945 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22946 (database_pers_head): Add extra_data fileds.
22947 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22948 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22949 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22951 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22952 in6ai data, call __free_in6ai.
22953 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22954 Add -DHAVE_NETLINK.
22955 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22956 interface information. Reuse previous data if netlink timestamp
22958 (__bump_nl_timestamp): New function.
22959 (__free_in6ai): New function.
22961 2011-10-30 Ulrich Drepper <drepper@gmail.com>
22963 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22964 close_not_cancel_no_status here.
22965 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22967 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22970 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22973 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
22974 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22975 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22977 2011-07-03 Andreas Jaeger <aj@suse.de>
22980 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22981 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22982 * math/libm-test.inc (sin_test): Add test case.
22984 2011-10-29 Ulrich Drepper <drepper@gmail.com>
22987 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22988 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22990 * elf/chroot_canon.c (chroot_canon): Cleanups.
22992 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22995 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22996 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22998 * string/test-strchr.c: Make usable for strchrnul testing.
22999 * string/test-strchrnul.c: New file.
23000 * string/Makefile (strop-tests): Add strchrnul.
23002 * po/it.po: Update from translation team.
23003 * po/es.po: Likewise.
23005 2011-10-28 Ulrich Drepper <drepper@gmail.com>
23007 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23008 the three constants needed as parameters. Drop the others.
23009 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23010 __m128i_strloadu_tolower.
23011 Create and initialize variable zero and use it in all the places
23012 where _mm_setzero_si128 was used.
23014 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23015 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23016 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23017 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23019 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23020 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23021 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23022 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23023 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23024 __mpranred, __mptan.
23025 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23026 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23027 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23028 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23029 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23030 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23031 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23032 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23033 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23035 2011-10-28 Andreas Schwab <schwab@redhat.com>
23037 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23038 redefine if SHARED.
23039 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23041 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23042 wide char related routines to wcsmbs subdir.
23044 2011-10-27 Andreas Schwab <schwab@redhat.com>
23047 * misc/sys/cdefs.h (__THROWNL): Define.
23048 * posix/unistd.h: Use __THREADNL instead of __THREAD
23049 for memory synchronization functions.
23051 2011-10-26 Roland McGrath <roland@hack.frob.com>
23054 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23056 * manual/stdio.texi (Obstack Streams): Node removed.
23058 2011-10-26 Andreas Schwab <schwab@redhat.com>
23060 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23061 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23062 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23064 * math/math_private.h (math_force_eval): Allow non-addressable
23066 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23068 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23070 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23071 file is not needed.
23073 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23074 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23075 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23076 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23077 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23078 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23079 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23080 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23082 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23083 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23084 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23085 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23086 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23087 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23088 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23089 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23090 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23091 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23092 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23093 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23094 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23095 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23096 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23097 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23098 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23099 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23100 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23102 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23103 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23105 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23106 place. Use VEX encoding when compiling for AVX.
23108 2011-10-25 Andreas Schwab <schwab@redhat.com>
23110 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23111 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23113 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23115 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23117 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
23118 useless if() expression.
23119 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23120 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23121 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23122 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23123 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23124 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23125 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23126 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23127 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23128 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23129 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23130 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23131 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23132 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23133 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23134 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23135 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23136 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23137 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23139 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23141 2011-10-25 Andreas Schwab <schwab@redhat.com>
23143 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23145 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23147 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23149 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23150 .text section. Avoid duplicate constants.
23151 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23152 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23153 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23154 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23155 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23157 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23158 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23159 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23160 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23161 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23162 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23163 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23164 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23165 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23166 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23167 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23168 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23169 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23170 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23171 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23172 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23173 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23174 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23175 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23176 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23177 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23178 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23179 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23180 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23181 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23182 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23183 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23184 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23185 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23186 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23187 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23188 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23189 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23190 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23191 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23192 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23193 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23194 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23195 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23197 2011-10-24 Ulrich Drepper <drepper@gmail.com>
23199 * sysdeps/x86_64/dla.h: Move to ...
23200 * sysdeps/x86_64/fpu/dla.h: ...here.
23201 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23202 situations. Use __builtin_fma only for gcc 4.6 and up.
23204 * config.make.in: Add have-mfma4 entry.
23205 * configure.in: Substitute libc_cv_cc_fma4.
23206 * math/Makefile (dbl-only-routines): Add sincostab.
23207 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23208 Use __sincostab not sincos.
23209 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23211 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23212 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23213 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23214 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23216 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23217 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23218 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23219 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23221 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23222 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23224 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23225 define aliases when function name is a macro.
23226 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23227 sysdeps/ieee754/dbl-64/sincos.tbl.
23228 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23229 fma4-enabled routines.
23230 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23231 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23232 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23233 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23234 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23235 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23236 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23237 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23238 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23239 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23240 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23241 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23242 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23243 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23244 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23245 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23246 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23247 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23248 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23249 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23250 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23251 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23252 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23253 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23254 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23255 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23256 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23257 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23258 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23259 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23261 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23263 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23264 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23265 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23266 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23267 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23268 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23269 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23270 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23272 2011-10-24 Andreas Schwab <schwab@redhat.com>
23274 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23276 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23278 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23280 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23282 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23284 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23285 Remove unused variable magic_bits.
23286 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23288 * string/strnlen.c: Define and use STRNLEN macro.
23289 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23290 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23291 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23292 * wcsmbs/wcslen.c: Define and use WCSLEN.
23293 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23294 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23295 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23296 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23297 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23298 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23299 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23301 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23304 strnlen-sse2-no-bsf.
23305 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23306 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23307 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23308 Add strnlen support.
23309 (USE_AS_STRNLEN): New macro.
23310 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23311 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23312 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23313 * sysdeps/x86_64/wcslen.S: New file.
23315 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23317 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23318 XMM-moves are used for copying on small sizes.
23320 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23322 * wcsmbs/Makefile (strop-tests): Add wcschr.
23323 * wcsmbs/test-wcschr.c: New file.
23324 * string/test-strchr.c: Update.
23325 Add wcschr support.
23328 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23330 * wcsmbs/Makefile (strop-tests): Add wcslen.
23331 * wcsmbs/test-wcslen.c: New file.
23332 * string/test-strlen.c: Update.
23333 Add wcslen support.
23336 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23338 * po/it.po: Update from translation team.
23340 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23342 * sysdeps/x86_64/wcscmp.S: Update.
23343 Fix wrong comparison semantics.
23344 wcscmp shall use signed comparison not unsigned.
23345 Don't use substraction to avoid overflow bug.
23346 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23347 * wcsmbc/wcscmp.c: Likewise.
23348 * string/test-strcmp.c: Likewise.
23349 Add new tests to check cases with negative values.
23351 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23353 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23354 * sysdeps/x86_64/dla.h: ...here. New file.
23355 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23356 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23357 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23358 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23361 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23365 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23367 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23368 __ynl_finite aliases.
23370 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23372 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23374 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23376 [DLA_FMA] (EMULV): Use DLA_FMA.
23377 [DLA_FMA] (MUL12): Use EMULV.
23378 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23379 that are not needed.
23380 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23381 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23382 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23383 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23384 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23385 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23386 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23388 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23390 * math/s_nan.c: Undef __nan.
23391 * math/s_nanf.c: Undef __nanf.
23392 * math/s_nanl.c: Undef __nanl.
23393 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23396 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23398 * math/s_catan.c: Add branch predictions.
23399 * math/s_catanf.c: Likewise.
23400 * math/s_catanh.c: Likewise.
23401 * math/s_catanhf.c: Likewise.
23402 * math/s_catanhl.c: Likewise.
23403 * math/s_catanl.c: Likewise.
23404 * math/s_cexp.c: Likewise.
23405 * math/s_cexpf.c: Likewise.
23406 * math/s_cexpl.c: Likewise.
23407 * math/s_clog.c: Likewise.
23408 * math/s_clog10.c: Likewise.
23409 * math/s_clog10f.c: Likewise.
23410 * math/s_clog10l.c: Likewise.
23411 * math/s_clogf.c: Likewise.
23412 * math/s_clogl.c: Likewise.
23413 * math/s_csqrt.c: Likewise.
23414 * math/s_csqrtf.c: Likewise.
23415 * math/s_csqrtl.c: Likewise.
23416 * math/s_ctanf.c: Likewise.
23417 * math/s_ctanh.c: Likewise.
23418 * math/s_ctanhf.c: Likewise.
23419 * math/s_ctanhl.c: Likewise.
23420 * math/s_ctanl.c: Likewise.
23422 * math/math_private.h: Define __nan, __nanf, __nanl.
23423 * math/s_cacosh.c: Include <math_private.h>.
23424 * math/s_cacoshl.c: Likewise.
23425 * math/s_casinh.c: Likewise.
23426 * math/s_casinhf.c: Likewise.
23427 * math/s_casinhl.c: Likewise.
23428 * math/s_ccos.c: Rely entire on ccosh.
23429 * math/s_ccosf.c: Rely entire on ccoshf.
23430 * math/s_ccosl.c: Rely entirely on ccoshl.
23431 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23432 Remove tests for FE_INVALID.
23433 * math/s_ccoshf.c: Likewise.
23434 * math/s_ccoshl.c: Likewise.
23435 * math/s_csin.c: Likewise.
23436 * math/s_csinf.c: Likewise.
23437 * math/s_csinh.c Likewise.
23438 * math/s_csinhf.c: Likewise.
23439 * math/s_csinhl.c: Likewise.
23440 * math/s_csinl.c: Likewise.
23441 * math/s_ctan.c: Likewise.
23442 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23443 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23444 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23446 2011-10-21 Ulrich Drepper <drepper@gmail.com>
23448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23449 compilation problems.
23451 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23454 2011-10-20 Ulrich Drepper <drepper@gmail.com>
23456 * sysdeps/i386/configure.in: Test for -mfma4 option.
23457 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23458 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23459 COMMON_CPUID_INDEX_80000001.
23460 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23461 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23462 use it if FMA3 is not supported.
23463 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23465 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23466 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23468 2011-10-20 Andreas Schwab <schwab@redhat.com>
23471 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23472 it would create a cycle with a link time dependency.
23474 2011-10-19 Ulrich Drepper <drepper@gmail.com>
23476 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23478 * string/Makefile (strop-tests): Add rawmemchr.
23479 * string/test-rawmemchr.c: New file.
23481 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23482 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23483 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23484 when compiling str{,n}casecmp and when AVX is available. Hook up
23485 new optimized code in initializers.
23487 2011-10-19 Andreas Schwab <schwab@redhat.com>
23489 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23490 __feraiseexcept instead of feraiseexcept.
23492 2011-10-18 Ulrich Drepper <drepper@gmail.com>
23494 * math/math_private.h: Define defaults for libc_fetestexcept and
23496 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23497 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23498 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23499 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23500 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23501 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23502 libc_fetestexcept and libc_feupdateenv.
23504 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23505 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23506 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23507 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23508 libc_feholdexcept_setround.
23510 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23511 Add s_nearbyint-c and s_nearbyintf-c.
23512 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23513 nearbyintf inlines.
23514 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23515 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23516 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23517 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23519 * math/math_private.h: Define defaults for libc_fegetround,
23520 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23521 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23522 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23523 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23524 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23525 standard functions.
23526 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23527 Remove comments and hacks for old compiler versions.
23528 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23529 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23530 libc_feholdexceptl.
23532 2011-10-18 Andreas Schwab <schwab@redhat.com>
23534 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
23535 (__feraiseexcept_renamed): Add __NTH.
23536 (feraiseexcept): Add __NTH. Rename local variables to fix
23537 namespace violations.
23539 2011-10-17 Ulrich Drepper <drepper@gmail.com>
23541 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23543 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23545 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23546 recently added interfaces.
23547 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23549 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23550 about macro parameter expansion.
23552 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23553 __NO_MATH_INLINES is defined. Cleanups.
23555 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23556 and __floorf is target has SSE4.1.
23557 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23558 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23559 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23560 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23562 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23564 (floorf): Likewise.
23566 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23568 2011-10-17 Andreas Schwab <schwab@redhat.com>
23570 * misc/sys/cdefs.h: Fix last change.
23572 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23575 2011-10-16 Ulrich Drepper <drepper@gmail.com>
23577 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23579 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23580 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23581 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23582 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23583 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23584 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23585 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23586 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23587 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23588 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23589 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23590 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23591 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23592 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23593 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23594 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23595 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23596 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23597 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23598 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23599 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23600 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23602 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23603 ceil, ceilf, floor, floorf.
23605 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23606 Perform IRELATIVE relocations last.
23608 * elf/do-rel.h: Add another parameter nrelative, replacing the
23609 local variable with the same name. Change name of the function
23610 to end in Rel or Rela (uppercase).
23611 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23612 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23613 elf_dynamic_do_##reloc function.
23615 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23617 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23618 is sufficient, at least on modern CPUs.
23620 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23622 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23623 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23625 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23627 * math/bits/math-finite.h: Add entries for exp.
23628 * math/e_expl.c: Add __*_finite alias.
23629 * sysdeps/i386/fpu/e_exp.S: Likewise.
23630 * sysdeps/i386/fpu/e_expf.S: Likewise.
23631 * sysdeps/i386/fpu/e_expl.c: Likewise.
23632 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23633 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23634 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23635 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23636 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23637 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23638 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23640 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23641 is sufficient, at least on modern CPUs.
23643 * ctype/ctype-info.c (__ctype_init): Define.
23644 * include/ctype.h (__ctype_init): Declare.
23645 (__ctype_b_loc): The variable is always initialized.
23646 (__ctype_toupper_loc): Likewise.
23647 (__ctype_tolower_loc): Likewise.
23648 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23649 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23651 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23653 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23655 * configure.in: Also look in $cxxmachine/include for C++ system
23658 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23660 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23661 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23662 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23663 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23664 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23665 (USE_AS_WMEMCMP): New macro.
23667 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23668 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23669 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23670 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23672 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23673 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23674 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23675 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23676 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23677 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23678 (USE_AS_WMEMCMP): New macro.
23679 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23680 * sysdeps/string/test-memcmp.c: Update.
23681 Fix simple_wmemcmp.
23683 * wcsmbs/wmemcmp.c: Update.
23684 (WMEMCMP): New macro.
23687 2011-10-12 Andreas Jaeger <aj@suse.de>
23690 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23692 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23694 * libio/iofwide.c (do_length): Avoid warning.
23696 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23698 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23700 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23702 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23703 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23704 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23705 * sysdeps/i386/i686/fpu/e_log.S: New file.
23706 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23707 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23709 * ctype/ctype.h: Add support for inlined isXXX functions when
23710 compiling C++ code.
23712 2011-10-14 Andreas Schwab <schwab@redhat.com>
23714 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23716 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23718 2011-10-13 Roland McGrath <roland@hack.frob.com>
23721 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23723 2011-10-13 Andreas Schwab <schwab@redhat.com>
23725 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23726 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23729 * sysdeps/x86_64/memrchr.S: Check for zero size.
23731 * string/stratcliff.c: Add memrchr tests.
23733 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23735 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23736 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23737 rawmemchr-sse2 rawmemchr-sse2-bsf.
23738 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23739 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23740 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23741 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23742 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23743 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23744 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23745 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23746 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23747 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23748 * string/memrchr.c (MEMRCHR): New macro.
23750 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23752 Add integration with gcc's -ffinite-math-only and optimize wrapper
23754 * Versions.def: Define GLIBC_2.15 version for libm.
23755 * math/Makefile (headers): Add bits/math-finite.h.
23756 * math/bits/math-finite.h: New file.
23757 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23758 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23759 * math/e_acoshl.c: Add __*_finite alias.
23760 * math/e_acosl.c: Likewise.
23761 * math/e_asinl.c: Likewise.
23762 * math/e_atan2l.c: Likewise.
23763 * math/e_atanhl.c: Likewise.
23764 * math/e_coshl.c: Likewise.
23765 * math/e_exp10.c: Likewise.
23766 * math/e_exp10f.c: Likewise.
23767 * math/e_exp10l.c: Likewise.
23768 * math/e_exp2l.c: Likewise.
23769 * math/e_fmodl.c: Likewise.
23770 * math/e_gammal_r.c: Likewise.
23771 * math/e_hypotl.c: Likewise.
23772 * math/e_j0l.c: Likewise.
23773 * math/e_j1l.c: Likewise.
23774 * math/e_jnl.c: Likewise.
23775 * math/e_lgammal_r.c: Likewise.
23776 * math/e_log10l.c: Likewise.
23777 * math/e_log2l.c: Likewise.
23778 * math/e_logl.c: Likewise.
23779 * math/e_powl.c: Likewise.
23780 * math/e_sinhl.c: Likewise.
23781 * math/e_sqrtl.c: Likewise.
23782 * math/e_scalb.c: Completely rewritten and optimized.
23783 * math/e_scalbf.c: Likewise.
23784 * math/e_scalbl.c: Likewise.
23785 * math/w_acos.c: Likewise.
23786 * math/w_acosf.c: Likewise.
23787 * math/w_acosl.c: Likewise.
23788 * math/w_acosh.c: Likewise.
23789 * math/w_acoshf.c: Likewise.
23790 * math/w_acoshl.c: Likewise.
23791 * math/w_asin.c: Likewise.
23792 * math/w_asinf.c: Likewise.
23793 * math/w_asinl.c: Likewise.
23794 * math/w_atan2.c: Likewise.
23795 * math/w_atan2f.c: Likewise.
23796 * math/w_atan2l.c: Likewise.
23797 * math/w_atanh.c: Likewise.
23798 * math/w_atanhf.c: Likewise.
23799 * math/w_atanhl.c: Likewise.
23800 * math/w_exp10.c: Likewise.
23801 * math/w_exp10f.c: Likewise.
23802 * math/w_exp10l.c: Likewise.
23803 * math/w_fmod.c: Likewise.
23804 * math/w_fmodf.c: Likewise.
23805 * math/w_fmodl.c: Likewise.
23806 * math/w_j0.c: Likewise.
23807 * math/w_j0f.c: Likewise.
23808 * math/w_j0l.c: Likewise.
23809 * math/w_j1.c: Likewise.
23810 * math/w_j1f.c: Likewise.
23811 * math/w_j1l.c: Likewise.
23812 * math/w_jn.c: Likewise.
23813 * math/w_jnf.c: Likewise.
23814 * math/w_log.c: Likewise.
23815 * math/w_logf.c: Likewise.
23816 * math/w_logl.c: Likewise.
23817 * math/w_log10.c: Likewise.
23818 * math/w_log10f.c: Likewise.
23819 * math/w_log10l.c: Likewise.
23820 * math/w_log2.c: Likewise.
23821 * math/w_log2f.c: Likewise.
23822 * math/w_log2l.c: Likewise.
23823 * math/w_pow.c: Likewise.
23824 * math/w_powf.c: Likewise.
23825 * math/w_powl.c: Likewise.
23826 * math/w_remainder.c: Likewise.
23827 * math/w_remainderf.c: Likewise.
23828 * math/w_remainderl.c: Likewise.
23829 * math/w_scalb.c: Likewise.
23830 * math/w_scalbf.c: Likewise.
23831 * math/w_scalbl.c: Likewise.
23832 * math/w_sqrt.c: Likewise.
23833 * math/w_sqrtf.c: Likewise.
23834 * math/w_sqrtl.c: Likewise.
23835 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23836 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23838 * math/math_private.h: Declare __kernel_standard_f.
23839 * math/w_cosh.c: Remove cruft and optimize a bit.
23840 * math/w_coshf.c: Likewise.
23841 * math/w_coshl.c: Likewise.
23842 * math/w_exp2.c: Likewise.
23843 * math/w_exp2f.c: Likewise.
23844 * math/w_exp2l.c: Likewise.
23845 * math/w_hypot.c: Likewise.
23846 * math/w_hypotf.c: Likewise.
23847 * math/w_hypotl.c: Likewise.
23848 * math/w_lgamma.c: Likewise.
23849 * math/w_lgamma_r.c: Likewise.
23850 * math/w_lgammaf.c: Likewise.
23851 * math/w_lgammaf_r.c: Likewise.
23852 * math/w_lgammal.c: Likewise.
23853 * math/w_lgammal_r.c: Likewise.
23854 * math/w_sinh.c: Likewise.
23855 * math/w_sinhf.c: Likewise.
23856 * math/w_sinhl.c: Likewise.
23857 * math/w_tgamma.c: Likewise.
23858 * math/w_tgammaf.c: Likewise.
23859 * math/w_tgammal.c: Likewise.
23860 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23861 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23862 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23863 Minor optimizations. Pretty printing. Remove cruft.
23864 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23865 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23866 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23867 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23868 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23869 * sysdeps/i386/fpu/e_asin.S: Likewise.
23870 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23871 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23872 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23873 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23874 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23875 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23876 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23877 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23878 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23879 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23880 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23881 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23882 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23883 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23884 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23885 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23886 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23887 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23888 * sysdeps/i386/fpu/e_log.S: Likewise.
23889 * sysdeps/i386/fpu/e_log10.S: Likewise.
23890 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23891 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23892 * sysdeps/i386/fpu/e_log2.S: Likewise.
23893 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23894 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23895 * sysdeps/i386/fpu/e_logf.S: Likewise.
23896 * sysdeps/i386/fpu/e_logl.S: Likewise.
23897 * sysdeps/i386/fpu/e_pow.S: Likewise.
23898 * sysdeps/i386/fpu/e_powf.S: Likewise.
23899 * sysdeps/i386/fpu/e_powl.S: Likewise.
23900 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23901 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23902 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23903 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23904 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23905 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23906 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23907 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23908 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23909 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23910 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23911 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23912 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23913 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23914 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23915 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23916 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23917 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23918 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23919 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23920 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23921 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23922 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23923 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23924 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23925 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23926 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23927 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23928 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23929 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23930 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23931 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23932 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23933 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23934 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23935 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23936 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23937 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23938 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23939 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23940 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23941 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23942 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23943 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23944 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23945 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23946 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23947 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23948 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23949 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23950 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23951 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23952 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23953 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23954 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23955 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23956 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23957 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23958 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23959 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23960 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23961 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23962 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23963 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23964 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23965 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23966 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23967 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23968 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23969 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23970 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23971 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23972 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23973 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23974 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23975 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23976 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23977 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23978 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23979 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23980 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23981 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23982 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23983 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23984 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23985 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23986 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23987 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23988 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23989 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23990 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23991 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23992 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23993 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23994 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23995 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23996 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23997 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23998 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23999 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24000 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24001 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24002 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24003 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24004 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24005 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24006 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24007 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24008 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24009 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24010 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24011 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24012 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24013 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24014 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24015 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24016 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24017 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24018 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24019 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24020 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24021 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24022 (__isnanf): Likewise.
24023 (__isinf_ns): Likewise.
24024 (__isinf_nsf): Likewise.
24025 (__finite): Likewise.
24026 (__finitef): Likewise.
24027 (__ieee754_sqrt): Define as macro.
24028 (__ieee754_sqrtf): Define as macro.
24029 (__ieee754_sqrtl): Define as macro.
24030 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24032 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24033 __FINITE_MATH_ONLY__ consistent.
24034 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24036 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24038 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24041 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24043 2011-10-09 Ulrich Drepper <drepper@gmail.com>
24045 * po/ja.po: Update from translation team.
24047 2011-10-08 Roland McGrath <roland@hack.frob.com>
24049 * locale/programs/locarchive.c (prepare_address_space): New function.
24050 (create_archive, enlarge_archive, open_archive): Use it.
24052 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24053 inside [SHARED], where it is used.
24055 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24057 * nss/getent.c (netgroup_keys): Remove unused variable.
24058 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24060 2011-10-08 Ulrich Drepper <drepper@gmail.com>
24062 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24063 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24064 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24065 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24066 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24067 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24068 * math/Makefile (libm-calls): Add s_isinf_ns.
24069 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24070 * math/multc3.c: Likewise.
24071 * math/s_casin.c: Likewise.
24072 * math/s_casinf.c: Likewise.
24073 * math/s_casinl.c: Likewise.
24074 * math/s_ccos.c: Likewise.
24075 * math/s_ccosf.c: Likewise.
24076 * math/s_ccosl.c: Likewise.
24077 * math/s_ctan.c: Likewise.
24078 * math/s_ctanf.c: Likewise.
24079 * math/s_ctanh.c: Likewise.
24080 * math/s_ctanhf.c: Likewise.
24081 * math/s_ctanhl.c: Likewise.
24082 * math/s_ctanl.c: Likewise.
24083 * math/w_fmod.c: Likewise.
24084 * math/w_fmodf.c: Likewise.
24085 * math/w_fmodl.c: Likewise.
24086 * math/w_remainder.c: Likewise.
24087 * math/w_remainderf.c: Likewise.
24088 * math/w_remainderl.c: Likewise.
24089 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24090 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24091 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24092 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24093 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24094 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24095 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24096 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24098 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24100 * stdio-common/printf_fphex.c: Likewise.
24101 * stdio-common/printf_size.c: Likewise.
24103 * math/e_exp10.c: Include math_private.h using <...> not "...".
24104 * math/e_exp10f.c: Likewise.
24105 * math/e_exp10l.c: Likewise.
24106 * math/e_exp2l.c: Likewise.
24107 * math/e_j0l.c: Likewise.
24108 * math/e_j1l.c: Likewise.
24109 * math/e_jnl.c: Likewise.
24110 * math/e_lgammal_r.c: Likewise.
24111 * math/e_rem_pio2l.c: Likewise.
24112 * math/e_scalb.c: Likewise.
24113 * math/e_scalbf.c: Likewise.
24114 * math/e_scalbl.c: Likewise.
24115 * math/k_cosl.c: Likewise.
24116 * math/k_sinl.c: Likewise.
24117 * math/k_tanl.c: Likewise.
24118 * math/s_cacoshf.c: Likewise.
24119 * math/s_catan.c: Likewise.
24120 * math/s_catanf.c: Likewise.
24121 * math/s_catanh.c: Likewise.
24122 * math/s_catanhf.c: Likewise.
24123 * math/s_catanhl.c: Likewise.
24124 * math/s_catanl.c: Likewise.
24125 * math/s_ccosh.c: Likewise.
24126 * math/s_ccoshf.c: Likewise.
24127 * math/s_ccoshl.c: Likewise.
24128 * math/s_cexp.c: Likewise.
24129 * math/s_cexpf.c: Likewise.
24130 * math/s_cexpl.c: Likewise.
24131 * math/s_clog.c: Likewise.
24132 * math/s_clog10.c: Likewise.
24133 * math/s_clog10f.c: Likewise.
24134 * math/s_clog10l.c: Likewise.
24135 * math/s_clogf.c: Likewise.
24136 * math/s_clogl.c: Likewise.
24137 * math/s_csin.c: Likewise.
24138 * math/s_csinf.c: Likewise.
24139 * math/s_csinh.c: Likewise.
24140 * math/s_csinhf.c: Likewise.
24141 * math/s_csinhl.c: Likewise.
24142 * math/s_csinl.c: Likewise.
24143 * math/s_csqrt.c: Likewise.
24144 * math/s_csqrtf.c: Likewise.
24145 * math/s_csqrtl.c: Likewise.
24146 * math/s_ctan.c: Likewise.
24147 * math/s_ctanf.c: Likewise.
24148 * math/s_ctanh.c: Likewise.
24149 * math/s_ctanhf.c: Likewise.
24150 * math/s_ctanhl.c: Likewise.
24151 * math/s_ctanl.c: Likewise.
24152 * math/s_ldexp.c: Likewise.
24153 * math/s_ldexpf.c: Likewise.
24154 * math/s_ldexpl.c: Likewise.
24155 * math/s_significand.c: Likewise.
24156 * math/s_significandf.c: Likewise.
24157 * math/s_significandl.c: Likewise.
24158 * math/w_acos.c: Likewise.
24159 * math/w_acosf.c: Likewise.
24160 * math/w_acosh.c: Likewise.
24161 * math/w_acoshf.c: Likewise.
24162 * math/w_acoshl.c: Likewise.
24163 * math/w_acosl.c: Likewise.
24164 * math/w_asin.c: Likewise.
24165 * math/w_asinf.c: Likewise.
24166 * math/w_asinl.c: Likewise.
24167 * math/w_atan2.c: Likewise.
24168 * math/w_atan2f.c: Likewise.
24169 * math/w_atan2l.c: Likewise.
24170 * math/w_atanh.c: Likewise.
24171 * math/w_atanhf.c: Likewise.
24172 * math/w_atanhl.c: Likewise.
24173 * math/w_cosh.c: Likewise.
24174 * math/w_coshf.c: Likewise.
24175 * math/w_coshl.c: Likewise.
24176 * math/w_dremf.c: Likewise.
24177 * math/w_exp10.c: Likewise.
24178 * math/w_exp10f.c: Likewise.
24179 * math/w_exp10l.c: Likewise.
24180 * math/w_exp2.c: Likewise.
24181 * math/w_exp2f.c: Likewise.
24182 * math/w_fmod.c: Likewise.
24183 * math/w_fmodf.c: Likewise.
24184 * math/w_fmodl.c: Likewise.
24185 * math/w_hypot.c: Likewise.
24186 * math/w_hypotf.c: Likewise.
24187 * math/w_hypotl.c: Likewise.
24188 * math/w_j0.c: Likewise.
24189 * math/w_j0f.c: Likewise.
24190 * math/w_j0l.c: Likewise.
24191 * math/w_j1.c: Likewise.
24192 * math/w_j1f.c: Likewise.
24193 * math/w_j1l.c: Likewise.
24194 * math/w_jn.c: Likewise.
24195 * math/w_jnf.c: Likewise.
24196 * math/w_jnl.c: Likewise.
24197 * math/w_lgamma.c: Likewise.
24198 * math/w_lgamma_r.c: Likewise.
24199 * math/w_lgammaf.c: Likewise.
24200 * math/w_lgammaf_r.c: Likewise.
24201 * math/w_lgammal.c: Likewise.
24202 * math/w_lgammal_r.c: Likewise.
24203 * math/w_log.c: Likewise.
24204 * math/w_log10.c: Likewise.
24205 * math/w_log10f.c: Likewise.
24206 * math/w_log10l.c: Likewise.
24207 * math/w_log2.c: Likewise.
24208 * math/w_log2f.c: Likewise.
24209 * math/w_log2l.c: Likewise.
24210 * math/w_logf.c: Likewise.
24211 * math/w_logl.c: Likewise.
24212 * math/w_pow.c: Likewise.
24213 * math/w_powf.c: Likewise.
24214 * math/w_powl.c: Likewise.
24215 * math/w_remainder.c: Likewise.
24216 * math/w_remainderf.c: Likewise.
24217 * math/w_remainderl.c: Likewise.
24218 * math/w_scalb.c: Likewise.
24219 * math/w_scalbf.c: Likewise.
24220 * math/w_scalbl.c: Likewise.
24221 * math/w_sinh.c: Likewise.
24222 * math/w_sinhf.c: Likewise.
24223 * math/w_sinhl.c: Likewise.
24224 * math/w_sqrt.c: Likewise.
24225 * math/w_sqrtf.c: Likewise.
24226 * math/w_sqrtl.c: Likewise.
24227 * math/w_tgamma.c: Likewise.
24228 * math/w_tgammaf.c: Likewise.
24229 * math/w_tgammal.c: Likewise.
24231 * po/ja.po: Update from translation team.
24233 2011-09-29 Andreas Jaeger <aj@suse.de>
24236 * sunrpc/netname.c (netname2host): Fix logic.
24240 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24242 * math/w_remainder.c (__remainder): Likewise.
24243 * math/w_remainderf.c (__remainderf): Likewise.
24244 * math/libm-test.inc (remainder_test): Add test cases.
24246 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24248 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24251 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24253 * string/test-memcmp.c: Avoid unncessary #defines.
24254 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24256 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24258 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24259 Use new sse2 version for core i3 - i7 as it's faster
24260 than sse42 version.
24261 (bit_Prefer_PMINUB_for_stringop): New.
24262 * sysdeps/x86_64/rawmemchr.S: Update.
24263 Replace with faster SSE2 version.
24264 * sysdeps/x86_64/memrchr.S: New file.
24265 * sysdeps/x86_64/memchr.S: Update.
24266 Replace with faster SSE2 version.
24268 2011-09-12 Marek Polacek <mpolacek@redhat.com>
24270 * elf/dl-load.c (lose): Add cast to avoid warning.
24272 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24274 * po/ca.po: Update from translation team.
24276 * inet/getnetgrent_r.c: Hook up nscd.
24277 * nscd/Makefile (routines): Add nscd_netgroup.
24278 (nscd-modules): Add netgroupcache.
24279 (CFLAGS-netgroupcache.c): Define.
24280 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24281 (cache_search): Add const to second parameter.
24282 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24284 (dbs): Add netgrdb entry.
24285 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24286 (verify_persistent_db): Handle netgrdb.
24287 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24288 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24290 (netgroup_response_header): Define.
24291 (innetgroup_response_header): Define.
24292 (datahead): Add netgroup_response_header and innetgroup_response_header
24294 * nscd/nscd.conf: Add entries for netgroup cache.
24295 * nscd/nscd.h (dbtype): Add netgrdb.
24296 (_PATH_NSCD_NETGROUP_DB): Define.
24297 (netgroup_iov_disabled): Declare.
24298 (xmalloc, xcalloc, xrealloc): Move declarations here.
24299 (cache_search): Adjust prototype.
24300 Add netgroup-related prototypes.
24301 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24302 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24303 (__nscd_innetgr): Declare.
24304 * nscd/selinux.c (perms): Use access_vector_t as element type and
24305 add netgroup-related initializers.
24306 * nscd/netgroupcache.c: New file.
24307 * nscd/nscd_netgroup.c: New file.
24308 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24309 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24310 For four parameters use innetgr.
24311 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24312 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24313 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24314 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24316 * nscd/connections.c (register_traced_file): Don't register file
24317 for disabled databases.
24319 2011-10-06 Ulrich Drepper <drepper@gmail.com>
24321 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24323 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24324 from tree and freeing node.
24326 2011-09-25 Jiri Olsa <jolsa@redhat.com>
24328 * nss/nsswitch.c (__nss_database_lookup): Handle
24329 nss_parse_service_list out of memory case.
24331 2011-09-15 Jiri Olsa <jolsa@redhat.com>
24333 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24334 out of memory case.
24336 2011-10-04 Andreas Schwab <schwab@redhat.com>
24338 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24339 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24341 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24342 elf_machine_rela, elf_machine_lazy_rel.
24343 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24344 (ELF_DYNAMIC_DO_REL): Likewise.
24345 (ELF_DYNAMIC_DO_RELA): Likewise.
24346 (ELF_DYNAMIC_RELOCATE): Likewise.
24347 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24348 to ELF_DYNAMIC_DO_REL.
24349 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24350 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24351 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24353 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24354 skip_ifunc, don't call ifunc function if non-zero.
24355 (elf_machine_rela): Likewise.
24356 (elf_machine_lazy_rel): Likewise.
24357 (elf_machine_lazy_rela): Likewise.
24358 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24359 (elf_machine_lazy_rel): Likewise.
24360 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24362 (elf_machine_lazy_rel): Likewise.
24363 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24365 (elf_machine_lazy_rel): Likewise.
24366 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24367 (elf_machine_lazy_rel): Likewise.
24368 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24369 (elf_machine_lazy_rel): Likewise.
24370 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24371 (elf_machine_lazy_rel): Likewise.
24372 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24373 (elf_machine_lazy_rel): Likewise.
24374 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24375 (elf_machine_lazy_rel): Likewise.
24376 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24377 (elf_machine_lazy_rel): Likewise.
24379 2011-09-28 Ulrich Drepper <drepper@gmail.com>
24381 * nss/nss_files/files-init.c (_nss_files_init): Use static
24382 initialization for all the *_traced_file variables.
24384 2011-09-28 Andreas Schwab <schwab@redhat.com>
24386 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24388 2011-09-27 Roland McGrath <roland@hack.frob.com>
24391 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24393 2011-09-27 Andreas Schwab <schwab@redhat.com>
24395 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24396 Reread the line before reparsing it.
24398 2011-09-26 Andreas Schwab <schwab@redhat.com>
24400 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24402 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24403 Maxim Kuvyrkov <maxim@codesourcery.com>
24404 Joseph Myers <joseph@codesourcery.com>
24406 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24407 if needed for __stack_chk_guard.
24409 2011-09-19 Roland McGrath <roland@hack.frob.com>
24411 * sysdeps/posix/spawni.c (script_execute): Always define it.
24412 It will be optimized away if unused.
24413 (maybe_script_execute): New function.
24414 (__spawni): Call it.
24416 * Makerules: Don't include tls.make.
24417 (config-tls): Always set to thread.
24418 * tls.make.c: File removed.
24420 2011-09-19 Mike Frysinger <vapier@gentoo.org>
24422 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24423 * config.make.in (CPPFLAGS-config): New substituted variable.
24425 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24427 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24430 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24431 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24433 2011-09-15 Roland McGrath <roland@hack.frob.com>
24435 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24436 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24437 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24438 (CALL_FAIL): Likewise.
24439 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24440 (CALL_FAIL): Macro removed.
24441 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24443 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24445 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24446 for __FINITE_MATH_ONLY__ == 1.
24448 2011-09-15 Andreas Schwab <schwab@redhat.com>
24450 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24451 __ieee754_sqrt instead of sqrt.
24452 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24453 __ieee754_sqrtf instead of sqrtf.
24454 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24455 __floorf instead of floorf.
24456 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24457 __floorf, __truncf instead of floorf, truncf.
24459 2011-09-14 Ulrich Drepper <drepper@gmail.com>
24461 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24463 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24464 __extern_always_inline.
24465 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24468 2011-09-14 Andreas Schwab <schwab@redhat.com>
24470 * elf/rtld.c (dl_main): Also relocate in dependency order when
24471 doing symbol dependency testing.
24473 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24475 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24476 Always define `refsym'.
24478 2011-09-13 Andreas Schwab <schwab@redhat.com>
24480 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24481 (__FD_ELT): Renamed from __FDELT.
24482 * misc/bits/select2.h (__FD_ELT): Likewise.
24483 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24484 __FD_MASK instead of __FDELT, __FDMASK.
24485 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24487 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24490 * elf/Makefile (gen-ldd): Fix pattern.
24492 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24493 (init_tls): Likewise.
24495 2011-09-12 Ulrich Drepper <drepper@gmail.com>
24497 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24499 2011-09-12 Andreas Schwab <schwab@redhat.com>
24501 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24502 `struct cmsghdr *' instead of `void *'.
24503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24506 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24508 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24510 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24511 ldd_rewrite_script.
24513 2011-09-11 Ulrich Drepper <drepper@gmail.com>
24515 * configure.in: Remove --with-tls option.
24516 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24517 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24518 out in case it is missing.
24519 * sysdeps/ia64/elf/configure.in: Likewise.
24520 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24521 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24522 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24523 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24524 * sysdeps/sh/elf/configure.in: Likewise.
24525 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24526 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24527 * sysdeps/x86_64/elf/configure.in: Likewise.
24528 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24529 * sysdeps/mach/hurd/tls.h: Likewise.
24532 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24535 * configure.in: Fix use of AC_INIT.
24537 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24539 2011-09-10 Ulrich Drepper <drepper@gmail.com>
24541 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24543 * malloc/hooks.c: Likewise.
24546 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24547 variables statically.
24548 (narenas): Initialize.
24549 (list_lock): Initialize.
24550 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24551 initializtion of main_arena and list_lock. Small cleanups.
24552 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24553 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24554 Add initializers to main_arena and mp_.
24555 (malloc_state): Remove pagesize member. Change all users to use
24558 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24559 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24560 is always initialized.
24562 * malloc/malloc.c: Removed unused configurations and dead code.
24563 * malloc/arena.c: Likewise.
24564 * malloc/hooks.c: Likewise.
24565 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
24567 * include/tls.h: Removed. USE___THREAD must always be defined.
24568 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24569 * elf/dl-libc.c: Likewise.
24570 * elf/dl-tsd.c: Likewise.
24571 * include/errno.h: Likewise.
24572 * include/netdb.h: Likewise.
24573 * include/resolv.h: Likewise.
24574 * inet/herrno-loc.c: Likewise.
24575 * inet/herrno.c: Likewise.
24576 * malloc/arena.c: Likewise.
24577 * malloc/hooks.c: Likewise.
24578 * malloc/malloc.c: Likewise.
24579 * resolv/res-state.c: Likewise.
24580 * resolv/res_libc.c: Likewise.
24581 * sysdeps/i386/dl-machine.h: Likewise.
24582 * sysdeps/ia64/dl-machine.h: Likewise.
24583 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24584 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24585 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24586 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24587 * sysdeps/sh/dl-machine.h: Likewise.
24588 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24589 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24590 * sysdeps/unix/i386/sysdep.S: Likewise.
24591 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24592 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24593 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24594 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24595 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24596 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24597 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24598 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24599 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24601 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24602 * sysdeps/x86_64/dl-machine.h: Likewise.
24603 * tls.make.c: Likewise.
24605 * configure.in: Remove --with-__thread option. Make tests for
24606 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24607 tls_model attribute fail if no support is available. Remove
24609 * Makeconfig: Adjust for dropped configure option. All features are
24611 * Makerules: Likewise.
24612 * Versions.def: Likewise.
24613 * argp/argp-fmtstream.c: Likewise.
24614 * argp/argp-fmtstream.h: Likewise.
24615 * argp/argp-help.c: Likewise.
24616 * assert/assert.c: Likewise.
24617 * config.h.in: Likewise.
24618 * config.make.in: Likewise.
24619 * configure: Likewise.
24620 * configure.in: Likewise.
24621 * csu/Versions: Likewise.
24622 * csu/init.c: Likewise.
24623 * elf/tst-audit2.c: Likewise.
24624 * elf/tst-tls10.c: Likewise.
24625 * elf/tst-tls10.h: Likewise.
24626 * elf/tst-tls11.c: Likewise.
24627 * elf/tst-tls12.c: Likewise.
24628 * elf/tst-tls14.c: Likewise.
24629 * elf/tst-tlsmod11.c: Likewise.
24630 * elf/tst-tlsmod12.c: Likewise.
24631 * elf/tst-tlsmod13.c: Likewise.
24632 * elf/tst-tlsmod13a.c: Likewise.
24633 * elf/tst-tlsmod14a.c: Likewise.
24634 * elf/tst-tlsmod15b.c: Likewise.
24635 * elf/tst-tlsmod16a.c: Likewise.
24636 * elf/tst-tlsmod16b.c: Likewise.
24637 * elf/tst-tlsmod7.c: Likewise.
24638 * elf/tst-tlsmod8.c: Likewise.
24639 * elf/tst-tlsmod9.c: Likewise.
24640 * gmon/gmon.c: Likewise.
24641 * grp/fgetgrent_r.c: Likewise.
24642 * grp/putgrent.c: Likewise.
24643 * hurd/fopenport.c: Likewise.
24644 * include/libc-symbols.h: Likewise.
24645 * include/tls.h: Likewise.
24646 * intl/gettextP.h: Likewise.
24647 * intl/loadinfo.h: Likewise.
24648 * locale/global-locale.c: Likewise.
24649 * locale/localeinfo.h: Likewise.
24650 * mach/devstream.c: Likewise.
24651 * malloc/arena.c: Likewise.
24652 * malloc/set-freeres.c: Likewise.
24653 * misc/err.c: Likewise.
24654 * misc/getttyent.c: Likewise.
24655 * misc/mntent_r.c: Likewise.
24656 * posix/getopt.c: Likewise.
24657 * posix/wordexp.c: Likewise.
24658 * pwd/fgetpwent_r.c: Likewise.
24659 * resolv/Versions: Likewise.
24660 * resolv/res_hconf.c: Likewise.
24661 * shadow/fgetspent_r.c: Likewise.
24662 * shadow/putspent.c: Likewise.
24663 * stdio-common/printf_fphex.c: Likewise.
24664 * stdio-common/tmpfile.c: Likewise.
24665 * stdlib/abort.c: Likewise.
24666 * stdlib/fmtmsg.c: Likewise.
24667 * sunrpc/auth_unix.c: Likewise.
24668 * sunrpc/clnt_perr.c: Likewise.
24669 * sunrpc/clnt_tcp.c: Likewise.
24670 * sunrpc/clnt_udp.c: Likewise.
24671 * sunrpc/clnt_unix.c: Likewise.
24672 * sunrpc/openchild.c: Likewise.
24673 * sunrpc/svc_simple.c: Likewise.
24674 * sunrpc/svc_tcp.c: Likewise.
24675 * sunrpc/svc_udp.c: Likewise.
24676 * sunrpc/svc_unix.c: Likewise.
24677 * sunrpc/xdr.c: Likewise.
24678 * sunrpc/xdr_array.c: Likewise.
24679 * sunrpc/xdr_rec.c: Likewise.
24680 * sunrpc/xdr_ref.c: Likewise.
24681 * sunrpc/xdr_stdio.c: Likewise.
24683 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24685 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24687 2011-07-03 Andreas Jaeger <aj@suse.de>
24689 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24690 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24691 regenerate with gen-libm-tests.pl.
24693 2010-05-12 Petr Baudis <pasky@suse.cz>
24696 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24697 around j0() zero points by switching to j1().
24698 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24699 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24700 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24701 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24703 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24705 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24707 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24709 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24710 Patch in part by Pavel Roskin <proski@gnu.org>.
24713 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24715 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24716 Free memory block if necessary.
24719 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24720 be NULL. Don't lock in this case.
24722 2011-09-09 Roland McGrath <roland@hack.frob.com>
24724 * elf/elf.h (ELFOSABI_GNU): New macro.
24725 (ELFOSABI_LINUX): Define to that.
24727 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24729 * string/strncat.c (strncat): Undef the symbol in case it has been
24730 defined in bits/string.h.
24732 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24734 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24736 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24739 2011-08-17 Andreas Jaeger <aj@suse.de>
24741 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24743 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24744 Ian Lance Taylor <iant@google.com>
24746 * math/libm-test.inc (lround_test): New testcase.
24747 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24749 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24751 * Makefile: Remove support for automatic cvs check-ins.
24752 * Makerules: Likewise.
24753 * config.make.in: Likewise.
24754 * configure.in: Likewise.
24755 * intl/Makefile: Likewise.
24756 * locale/Makefile: Likewise.
24757 * po/Makefile: Likewise.
24758 * posix/Makefile: Likewise.
24759 * sysdeps/gnu/Makefile: Likewise.
24760 * sysdeps/mach/hurd/Makefile: Likewise.
24761 * sysdeps/sparc/sparc32/Makefile: Likewise.
24764 * posix/Makefile (bug-regex32-ENV): Define.
24765 Patch by John Stanley <jpsinthemix@verizon.net>.
24767 * misc/Makefile (headers): Add bits/select2.h.
24768 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24769 * misc/bits/select2.h: New file.
24770 * include/bits/select2.h: New file.
24771 * debug/Makefile (routines): Add fdelt_chk.
24772 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24773 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24775 * debug/fdelt_chk.c: New file.
24777 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24778 * wcsmbs/test-wmemcmp.c: Likewise.
24779 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24780 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24782 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24784 * string/Makefile (strop-tests): Add memcmp.
24785 * string/test-wmemcmp.c: New file.
24786 * string/test-memcmp.c: Add wmemcmp support.
24788 2011-09-08 Roland McGrath <roland@hack.frob.com>
24791 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24794 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24795 garbage value in a __mach_port_mod_refs call in the cases of the
24796 task-self and thread-self ports.
24798 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24800 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24802 2011-09-08 Andreas Schwab <schwab@redhat.com>
24804 * elf/dl-load.c (lose): Check for non-null L.
24806 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24808 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24810 * elf/dl-libc.c (dlerror_run): Pass back error code from
24814 * elf/dl-load.c (lose): Free l_origin if it is valid.
24816 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24818 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24819 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24820 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24821 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24822 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24823 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24825 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24827 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24828 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24829 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24830 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24831 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24832 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24833 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24834 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24835 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24836 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24838 2011-08-15 Alan Modra <amodra@gmail.com>
24841 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24842 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24843 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24844 ppc_mcount to static-only-routines.
24845 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24847 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24848 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24850 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24852 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24853 for finite and infinity parameters.
24855 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24857 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24858 and add nop instructions for throughput optimization.
24859 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24861 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24863 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24864 aligned copy for power7 with vector-scalar instructions.
24865 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24867 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24869 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24872 2011-09-07 Andreas Schwab <schwab@redhat.com>
24875 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24878 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24880 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24881 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24882 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24883 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24886 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24888 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24889 Forgot to demangle the pointer.
24891 * sysdeps/i386/sysdep.h: Define atom_text_section.
24892 * sysdeps/x86_64/sysdep.h: Likewise.
24893 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24894 section with atom_text_section.
24895 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24896 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24897 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24898 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24899 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24901 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24902 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24903 already be defined. Change to take two parameters and don't assign
24904 result to variable. Adjust all users.
24905 Define INTERNAL_GETTIME if not already defined.
24906 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24908 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24909 HAVE_CLOCK_GETTIME_VSYSCALL.
24910 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24912 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24913 gettimeofday vsyscall, just use time.
24915 2011-09-06 Andreas Schwab <schwab@redhat.com>
24917 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24920 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24922 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24924 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24926 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24927 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24928 syscall if possible.
24930 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24932 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24933 e_ident. Don't pass to find_mapsXX.
24934 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24936 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24939 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24940 * sysdeps/x86_64/multiarch/strchr.S: Update.
24941 Check bit_slow_BSF bit.
24942 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24943 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24944 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24946 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24949 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24951 (tryshell): Define.
24952 (__spawni): Change last parameter to be flag. Test
24953 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24954 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24955 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24956 * posix/spawni.c: Likewise.
24957 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24958 * posix/spawnp.c: Likewise. Change normal version to use
24959 SPAWN_XFLAGS_USE_PATH.
24960 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24961 SPAWN_XFLAGS_TRY_SHELL.
24964 * posix/glob.h: Remove gcc 1.x support.
24967 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24969 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24972 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24974 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24975 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24976 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24977 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24978 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24979 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24981 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24983 * sysdeps/x86_64/wcscmp.S: New file.
24985 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24986 wcscmp-c wcscmp-sse2
24987 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24988 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24989 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24990 * wcsmbs/wcscmp.c: Allow renaming.
24992 2011-09-05 David S. Miller <davem@davemloft.net>
24994 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24995 stack slot, rather than the struct return pointer slot.
24996 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24997 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24999 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25001 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25003 * po/ja.po: Update from translation team.
25006 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25007 kernel in 64-bit binaries.
25009 2011-09-01 David S. Miller <davem@davemloft.net>
25011 * elf/elf.h (HWCAP_SPARC_*): Move to..
25012 * sysdeps/sparc/sysdep.h: this new file and add new values.
25013 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25014 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25015 _DL_HWCAP_COUNT to 24.
25016 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25018 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25019 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25020 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25021 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25022 instead of magic constants.
25023 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25025 2011-08-31 David S. Miller <davem@davemloft.net>
25027 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25028 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25029 Reimplement to do errno handling inline.
25030 (SYSCALL_ERROR_HANDLER): New macro.
25031 (__SYSCALL_STRING): Do not do errno handling in asm.
25032 (__CLONE_SYSCALL_STRING): Delete.
25033 (__INTERNAL_SYSCALL_STRING): Delete.
25034 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25035 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25036 (PSEUDO): Reimplement to do errno handling inline.
25037 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25038 (SYSCALL_ERROR_HANDLER): New macro.
25039 (__SYSCALL_STRING): Do not do errno handling in asm.
25040 (__CLONE_SYSCALL_STRING): Delete.
25041 (__INTERNAL_SYSCALL_STRING): Delete.
25042 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25043 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25045 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25046 (inline_syscall*): Add 'err' argument.
25047 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25048 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25049 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25050 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25052 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25053 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25055 2011-08-30 Andreas Schwab <schwab@redhat.com>
25057 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25059 2011-08-29 Jiri Olsa <jolsa@redhat.com>
25061 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25064 2011-08-24 David S. Miller <davem@davemloft.net>
25066 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25068 2011-08-24 Andreas Schwab <schwab@redhat.com>
25070 * elf/Makefile: Add rules to build and run unload8 test.
25071 * elf/unload8.c: New file.
25072 * elf/unload8mod1.c: New file.
25073 * elf/unload8mod1x.c: New file.
25074 * elf/unload8mod2.c: New file.
25075 * elf/unload8mod3.c: New file.
25077 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25080 2011-08-23 David S. Miller <davem@davemloft.net>
25082 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25083 subtract stack bias.
25084 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25085 %sp not %fp in calculations.
25086 (_JMPBUF_UNWINDS_ADJ): Likewise.
25088 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25089 (aio_suspend): Call it to force an exception region around the
25090 AIO_MISC_WAIT() invocation.
25092 2011-08-23 Andreas Schwab <schwab@redhat.com>
25094 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25097 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25099 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25101 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25102 and <dl-machine.h>.
25103 (Elf64_FuncDesc): Remove.
25105 2011-08-22 David S. Miller <davem@davemloft.net>
25107 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25108 sigaltstack check, add missing cfi directives.
25109 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25110 missing cfi directives, and sigaltstack handling.
25112 2011-08-16 Andreas Schwab <schwab@redhat.com>
25115 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25116 object is seen twice.
25117 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25119 * elf/Makefile (distribute): Add tst-initorder2.c.
25120 (tests): Add tst-initorder2.
25121 (modules-names): Add tst-initorder2a tst-initorder2b
25122 tst-initorder2c tst-initorder2d. Add rules to build them.
25123 ($(objpfx)tst-initorder2.out): New rule.
25124 * elf/tst-initorder2.c: New file.
25125 * elf/tst-initorder2.exp: New file.
25127 2011-08-22 Andreas Schwab <schwab@redhat.com>
25129 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25131 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25132 dependencies back to end of function.
25134 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25135 $(elfobjdir)/ld.so.
25137 2011-08-21 Ulrich Drepper <drepper@gmail.com>
25139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25140 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25141 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25142 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25143 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25144 of __vdso_gettimeofday.
25145 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25146 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
25148 (_libc_vdso_platform_setup): Remove initialization of
25149 __vdso_gettimeofday and __vdso_time.
25151 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25153 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25154 and fgetc_unlocked.
25155 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25158 * elf/dl-open.c (add_to_global): Report additions to the global scope
25159 for LD_DEBUG=scopes.
25160 (dl_open_worker): Also print scope of newly loaded dependencies.
25161 (_dl_show_scope): Indicate if there is no scope.
25164 * stdio-common/Makefile (tests): Add bug24.
25165 * stdio-common/bug24.c: New file.
25167 2011-08-19 Andreas Jaeger <aj@suse.de>
25170 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25171 non-existant file when using close-on-exec mode.
25173 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25175 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25176 the very first instruction.
25178 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25179 the CFI state in the end.
25180 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25181 inclusion of dl-trampoline.h.
25182 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25184 2011-08-19 Andreas Schwab <schwab@redhat.com>
25186 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25187 expectations for long double.
25189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25190 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25192 2011-08-14 David S. Miller <davem@davemloft.net>
25194 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25195 artificual limit depends upon the system page size.
25197 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25199 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25200 * resolv/Makefile: Define CFLAGS-libresolv.
25202 2011-08-17 Andreas Schwab <schwab@redhat.com>
25204 * nss/makedb.c (compute_tables): Make variables used in nested
25207 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25209 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25210 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25211 if buffer was too small.
25213 * elf/pldd.c (main): Attach to all threads in the process.
25214 Rewrite /proc handling to use *at functions.
25216 2011-08-16 Ulrich Drepper <drepper@gmail.com>
25218 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25219 specifies first scope to show.
25220 (dl_open_worker): Update callers. Move printing scope of new
25221 object to before the relocation.
25222 * elf/rtld.c (dl_main): Update _dl_show_scope call.
25223 * sysdeps/generic/ldsodefs.h: Update declaration.
25225 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25226 string for the scope number.
25228 2011-08-14 Ulrich Drepper <drepper@gmail.com>
25230 * nscd/servicescache.c (cache_addserv): Make sure written is always
25233 2011-08-14 Roland McGrath <roland@hack.frob.com>
25235 * sysdeps/i386/i486/bits/atomic.h
25236 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25237 statement expression, so as to suppress "set but not used" warning.
25238 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25240 * string/strncat.c (STRNCAT): Use prototype definition.
25242 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25243 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25245 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25246 (localedef-modules): Add localedef.
25247 (locale-modules): Add locale.
25249 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25250 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25251 to avoid a warning.
25253 2011-08-14 David S. Miller <davem@davemloft.net>
25255 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25256 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25258 2011-08-13 Ulrich Drepper <drepper@gmail.com>
25260 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
25261 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25262 * elf/rtld.c (dl_main): Set l_name of vDSO.
25263 Call _dl_show_scope when DL_DEBUG_SCOPES.
25264 (process_dl_debug): Recognize scopes flag and also set it for all.
25265 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25266 Declare _dl_show_scope.
25268 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25269 (do_dlopen): Pass caller_dlopen to dl_open.
25270 (__libc_dlopen_mode): Initialize caller_dlopen.
25272 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25273 of libc. Make tolower call locale-independent. Optimize a bit by
25274 using isdigit instead of isalnum.
25275 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25277 2011-08-12 Ulrich Drepper <drepper@gmail.com>
25279 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25280 was a dependency or dynamically loaded.
25282 2011-08-11 Ulrich Drepper <drepper@gmail.com>
25284 * intl/l10nflist.c: Allow architecture-specific pop function.
25285 * sysdeps/x86_64/l10nflist.c: New file.
25287 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25290 2011-08-10 Andreas Schwab <schwab@redhat.com>
25292 * include/dirent.h: Add libc_hidden_proto for scandirat and
25293 scandirat64. Don't declare __scandirat64.
25294 * dirent/scandirat.c: Add libc_hidden_def.
25295 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25296 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25298 2011-08-10 David S. Miller <davem@davemloft.net>
25300 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25302 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25303 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25304 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25306 2011-08-09 Ulrich Drepper <drepper@gmail.com>
25308 * Versions.def [libc]: Add GLIBC_2.15.
25309 * dirent/Makefile (routines): Add scandirat and scandirat64.
25310 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25312 * dirent/dirent.h: Declare scandirat and scandirat64.
25313 * dirent/scandirat.c: New file.
25314 * dirent/scandirat64.c: New file.
25315 * sysdeps/wordsize-64/scandirat.c: New file.
25316 * sysdeps/wordsize-64/scandirat64.c: New file.
25317 * dirent/opendir.c: Define opendirat.
25318 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25320 * dirent/scandir64.c: Adjust for scandir.c change.
25321 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25322 __scandirat64, and __scandir_cancel_handler.
25323 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25324 additional parameter and use openat instead of open (outside of ld.so).
25325 Add new __opendir as wrapper around __opendirat.
25326 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25327 here without requiring old scandirat implementation.
25329 2011-08-08 Ulrich Drepper <drepper@gmail.com>
25331 * dirent/scandir.c (cancel_handler): Renamed to
25332 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25333 defined. Adjust users.
25334 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25335 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25337 2011-08-04 Ulrich Drepper <drepper@gmail.com>
25339 * string/test-string.h (IMPL): Use __STRING to expand name and then
25342 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25345 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25347 * string/Makefile: Update.
25348 (strop-tests): Append strncat.
25349 * string/test-wcscmp.c: New file.
25350 New comprehensive test for wcscmp.
25351 * string/test-strcmp.c: Update.
25352 (WIDE): New define.
25354 2011-07-22 Andreas Schwab <schwab@redhat.com>
25356 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25359 2011-07-26 Andreas Schwab <schwab@redhat.com>
25361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25362 encoding to ACE if AI_IDN.
25364 2011-08-01 Jakub Jelinek <jakub@redhat.com>
25366 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25367 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25369 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25371 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25372 Fix overflow bug in strncat.
25373 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25375 * string/test-strncat.c: Update.
25376 Add new tests for checking overflow bugs.
25378 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25380 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25381 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25382 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25383 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25384 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25385 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25386 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25387 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25388 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25390 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25391 (USE_AS_STRCAT): Define.
25392 Add strcat and strncat support.
25393 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25395 2011-07-25 Andreas Schwab <schwab@redhat.com>
25397 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25398 __n bigger than INT_MAX+1.
25399 (__strncmp_g): Likewise.
25401 2011-07-23 Ulrich Drepper <drepper@gmail.com>
25403 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25404 * libio/stido.h: Likewise.
25406 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25408 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25411 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25412 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25413 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25414 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25415 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25418 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25421 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25423 (_dl_x86_64_save_sse): Likewise.
25425 2011-07-22 Ulrich Drepper <drepper@gmail.com>
25427 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25429 (_dl_x86_64_save_sse): Likewise.
25431 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25433 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25435 2011-07-21 Andreas Schwab <schwab@redhat.com>
25437 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25439 (_dl_x86_64_save_sse): Use correct AVX check.
25441 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25443 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25444 bug in strncpy/strncat.
25445 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25447 2011-07-21 Ulrich Drepper <drepper@gmail.com>
25449 * string/tester.c (test_strcat): Add tests for different alignments
25450 of source and destination.
25451 (test_strncat): Likewise.
25453 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25456 * posix/glob.c (glob): Check passed in values before using them in
25457 expressions to avoid some overflows.
25458 (glob_in_dir): Likewise.
25461 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25462 check for AVX enablement so that we don't crash with old kernels and
25464 * elf/tst-audit4.c: Add same checks here.
25465 * elf/tst-audit6.c: Likewise.
25467 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
25469 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25471 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25473 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25475 * po/cs.po: Update from translation team.
25476 * po/bg.po: Likewise.
25478 2011-07-12 Marek Polacek <mpolacek@redhat.com>
25480 * misc/sys/cdefs.h: Add support for const attribute.
25481 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25482 to gnu_dev_{major,minor,makedev} functions.
25484 2011-07-20 Marek Polacek <mpolacek@redhat.com>
25486 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25488 2011-07-20 Andreas Schwab <schwab@redhat.com>
25490 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25493 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25495 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25496 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25497 register in order to avoid conflicts with the soft frame pointer
25498 being held in r11 when necessary.
25499 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25500 (INTERNAL_VSYSCALL_NCS): Likewise.
25502 2011-07-14 Marek Polacek <mpolacek@redhat.com>
25504 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25505 * elf/dl-fini.c (_dl_fini): Adjust caller.
25506 * elf/dl-close.c (_dl_close_worker): Likewise.
25507 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25509 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25511 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25512 "aux_cache->nlibs < 0".
25514 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25515 in the reload-count case.
25517 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25520 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25521 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25522 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25523 * sysdeps/x86_64/multiarch/strcat.S: New file.
25524 * sysdeps/x86_64/multiarch/strncat.S: New file.
25525 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25526 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25527 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25528 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25529 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25530 (USE_AS_STRCAT): Define.
25531 Add strcat and strncat support.
25532 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25533 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25534 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25535 * string/strncat.c: Update.
25536 (USE_AS_STRNCAT): Define.
25537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25538 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25540 * sysdeps/x86_64/multiarch/init-arch.h
25541 (bit_Prefer_PMINUB_for_stringop): New.
25542 (index_Prefer_PMINUB_for_stringop): Likewise.
25543 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25544 bit_Prefer_PMINUB_for_stringop.
25546 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25548 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25550 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25551 of casting of buffer.
25552 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25553 buffer32 and buffer64.
25554 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25555 writes instead of casting of buffer.
25556 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25558 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25561 2011-07-19 Andreas Schwab <schwab@redhat.com>
25563 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25565 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25567 * nscd/nscd.c (termination_handler): Don't do anything for a database
25568 if it has not yet been initialized.
25570 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25572 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25574 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25576 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25578 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25580 * po/nl.po: Update from translation team.
25581 * po/sv.po: Likewise.
25583 2011-07-16 Roland McGrath <roland@hack.frob.com>
25585 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25586 now disallowed by GCC.
25588 * configure.in (use-default-link): Default to yes if a test -shared
25589 link meets our qualifications.
25590 * configure: Regenerated.
25592 * config.make.in (output-format): New variable.
25593 * configure.in: Check for ld --print-output-format support.
25594 * configure: Regenerated.
25595 * Makerules ($(common-objpfx)format.lds)
25596 [$(output-format) != unknown]: Just use $(output-format),
25597 instead of the linker-script munging.
25599 2011-07-14 Roland McGrath <roland@hack.frob.com>
25601 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25602 of $(common-objpfx)shlib.lds.
25603 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25605 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25606 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25608 * configure.in (-z relro check): Adjust test code to add a large
25609 writable data section after it.
25610 * configure: Regenerated.
25612 2011-07-11 Roland McGrath <roland@hack.frob.com>
25614 * configure.in (-z relro check): Fix test code to make the variable
25616 * configure: Regenerated.
25618 2011-07-11 Ulrich Drepper <drepper@gmail.com>
25620 * nscd/nscd.h (struct traced_file): Define.
25621 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25622 elements. Add traced_files.
25623 (inotify_fd): Declare.
25624 (register_traced_file): Declare.
25625 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25626 (inotify_fd): Export.
25627 (resolv_conf_descr): Remove.
25628 (nscd_init): Move inotify descriptor creation to main.
25629 Don't register files for notification here.
25630 (register_traced_file): New function.
25631 (invalidate_cache): Don't use reset_res to determine whether to call
25632 res_init, go through the list of registered files.
25633 (main_loop_poll): The inotify descriptors are now stored in the
25634 structures for the traced files.
25635 (main_loop_epoll): Likewise
25636 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25637 to __nss_disable_nscd.
25638 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25639 for a database anymore. Check the records for all the registered
25641 * nss/Makefile (libnss_files-routines): Add files-init.
25642 (libnss_db-routines): Add db-init.
25643 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25644 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25645 * nss/nss_db/db-init.c: New file.
25646 * nss/nss_files/files-init.c: New file.
25647 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25648 __nss_lookup_function.
25649 (__nss_lookup_function): Call nss_load_library.
25650 (nss_load_all_libraries): New function.
25651 (__nss_disable_nscd): Take parameter with callback function for files
25652 to register. Set is_nscd. Load all the DSOs for the NSS modules
25653 used for the cached services.
25654 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25655 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25656 options for features to all the files in nscd.
25658 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25660 2011-07-10 Roland McGrath <roland@hack.frob.com>
25662 * csu/elf-init.c (__libc_csu_init): Comment typo.
25664 2011-07-09 Ulrich Drepper <drepper@gmail.com>
25666 * po/pl.po: Update from translation team.
25667 * po/ja.po: Likewise.
25668 * po/ru.po: Likewise.
25669 * po/ko.po: Likewise.
25670 * po/fr.po: Likewise.
25672 2011-07-09 Roland McGrath <roland@hack.frob.com>
25674 * configure.in (.ctors/.dtors header and trailer check):
25675 Use an empirical test on a built program.
25676 * configure: Regenerated.
25678 * configure.in (-z relro check): Use an empirical test on a built DSO.
25679 Detect, but do not require, on ia64.
25680 * configure: Regenerated.
25682 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25683 Update tests that use readelf to use $READELF instead.
25684 * configure: Regenerated.
25686 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25688 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25689 if the result is not used.
25691 2011-07-05 Andreas Jaeger <aj@suse.de>
25694 * stdlib/tst-strtod.c: Add testcase.
25696 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25698 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25699 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25700 The latter has a higher limit. Take additional parameter to pass to
25702 (__pathconf): Pass file to __statfs_link_max.
25703 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25705 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25709 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25710 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25712 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25713 (__statfs_filesize_max): Likewise.
25714 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25716 2011-07-05 Andreas Jaeger <aj@suse.de>
25718 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25720 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25722 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25724 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25727 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25729 * Makefile (strop-tests): Add strncat.
25730 * string/test-strncat.c: New file.
25732 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25734 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25736 2011-06-21 Andreas Jaeger <aj@suse.de>
25738 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25739 Copy rule from iconvdata/Makefile.
25741 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25744 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25745 but no long options are defined, just return 'W'.
25747 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25750 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25752 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25754 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25756 (innetgr): Likewise.
25758 2011-07-05 Roland McGrath <roland@hack.frob.com>
25760 * config.make.in (install_root): Default to $(DESTDIR).
25762 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25764 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25766 2011-07-02 Roland McGrath <roland@hack.frob.com>
25768 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25770 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25771 containing directory rather than embedding absolute directory names.
25773 * scripts/check-local-headers.sh: Rewritten using awk.
25774 Match by word, not by line. Print error messages for matches.
25775 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25777 * Makerules [shlib-lds-flags empty]:
25778 ($(common-objpfx)libc_pic.opts): New target.
25779 ($(common-objpfx)libc_pic.os.clean): New target.
25780 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25782 * config.make.in (OBJCOPY): New variable.
25783 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25784 * configure: Regenerated.
25786 * config.make.in (use-default-link): New variable.
25787 * configure.in (use_default_link): Grok --with-default-link to set it.
25788 * configure: Regenerated.
25789 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25790 (shlib-lds, shlib-lds-flags): Define to empty.
25792 * Makerules (shlib-lds): New variable.
25793 (shlib-lds-flags): New variable.
25794 (build-shlib, build-moduile, build-module-asneeded): Use it.
25795 ($(common-objpfx)libc.so): Use $(shlib-lds).
25796 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25797 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25799 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25800 DT_FLAGS/DT_FLAGS_1 with zero flags.
25802 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25803 linker script munging.
25805 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25807 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25809 * crypt/sha512.c (sha512_process_block): Perform total addition using
25810 128-bit if possible.
25811 (__sha512_finish_ctx): Likewise.
25812 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25814 * crypt/sha256.c (SWAP64): Define.
25815 (sha256_process_block): Perform total addition using 64-bit if
25817 (__sha256_finish_ctx): Likewise.
25819 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25821 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25822 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25823 * nscd/hstcache.c (cache_addhst): Likewise.
25824 * nscd/grpcache.c (cache_addgr): Likewise.
25825 * nscd/aicache.c (addhstaiX): Likewise
25826 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25828 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25830 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25831 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25832 * nscd/hstcache.c (cache_addhst): Likewise.
25833 * nscd/grpcache.c (cache_addgr): Likewise.
25834 * nscd/aicache.c (addhstaiX): Likewise
25836 2011-07-01 Andreas Schwab <schwab@redhat.com>
25838 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25839 domain only when needed.
25841 2011-06-30 Andreas Schwab <schwab@redhat.com>
25843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25844 is always restored.
25846 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25848 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25849 are re-adding the entry.
25850 * nscd/servicescache.c (cache_addserv): Likewise.
25852 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25854 * sysdeps/generic/dl-irel.h: fix protection against multiple
25856 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25858 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25861 * malloc/memusage.sh: Fix quoting in message.
25862 * debug/xtrace.sh: Likewise.
25864 * configure.in: Remove support for --experimental-malloc option, make
25866 * config.make.in: Likewise.
25867 * malloc/Makefile: Likewise.
25869 2011-06-27 Andreas Schwab <schwab@redhat.com>
25871 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25872 two-byte characters.
25874 2011-06-27 Roland McGrath <roland@hack.frob.com>
25876 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25877 AC_CACHE_CHECK invocation.
25878 * configure: Regenerated.
25880 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25882 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25885 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25886 bit from old_res_options.
25888 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25890 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25891 value type for setfct.
25893 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25895 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25896 __gettimeofday instead of gettimeofday.
25898 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25900 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25902 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25904 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25906 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25909 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25911 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25912 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25913 strcpy-sse2-unaligned strncpy-sse2-unaligned
25914 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25915 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25916 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25917 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25918 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25919 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25920 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25921 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25922 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25923 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25924 (STRCPY): Support SSE2 and SSSE3 versions.
25926 2011-06-24 Ulrich Drepper <drepper@gmail.com>
25929 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25930 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25931 kernels which artificially limit size of requests.
25933 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25936 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25937 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25938 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25939 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25940 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25941 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25942 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25943 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25944 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25945 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25946 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25947 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25948 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25949 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25951 Enable unaligned load optimization for Intel Core i3, i5 and i7
25953 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25955 (index_Fast_Unaligned_Load): Define.
25956 (HAS_FAST_UNALIGNED_LOAD): Define.
25958 2011-06-23 Marek Polacek <mpolacek@redhat.com>
25960 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25962 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25965 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25966 until it is clear that the information is realy needed.
25967 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25969 2011-06-22 Andreas Schwab <schwab@redhat.com>
25971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25973 2011-06-22 Ulrich Drepper <drepper@gmail.com>
25975 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25976 /sys/devices/system/cpu/online if it is usable.
25978 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25979 reading the information from the /proc filesystem to once a second.
25981 2011-06-21 Andreas Jaeger <aj@suse.de>
25983 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25984 NULL after inclusion of kernel headers.
25986 2011-06-21 Ulrich Drepper <drepper@gmail.com>
25988 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25989 calls to internal_setent.
25992 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25993 addresses using gethostbyname4_r ignore IPv4 addresses.
25995 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25996 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25998 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26000 2011-06-20 David S. Miller <davem@davemloft.net>
26002 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26004 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26006 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26007 (elf_irel): Use it.
26008 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26009 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26010 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26011 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26012 * sysdeps/x86_64/dl-irel.h: Likewise.
26014 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26015 * elf/dl-sym.c: Likewise.
26017 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26019 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26020 need to dereference resplen2.
26022 2011-06-14 Andreas Schwab <schwab@redhat.com>
26024 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26026 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26028 * Makeconfig: Define vardbdir and inst_vardbdir.
26029 * nss/Makefile: Add rules to install db-Makefile.
26031 * nss/nss_db/db-XXX.c: Cleanup.
26033 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26034 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26036 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26037 * nss/makedb.c: Implement -g option to specify that value strings
26038 are generated and should not be added to table iterated over for
26040 * nss/nss_db/db-initgroups.c: New file.
26042 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26045 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26046 (internal_getgrouplist): Adjust to name change.
26047 Update use_initgroups_entry if this is not the first call.
26048 * nss/databases.def: Add initgroups entry.
26050 * nss/makedb.c (compute_tables): Check result of multiple hash table
26051 sizes to minimize maximum chain length.
26053 2011-06-14 Ulrich Drepper <drepper@gmail.com>
26055 * Versions.def: Add entry for libnss_db.
26056 * shlib-versions: Likewise.
26057 * nss/Makefile: Add rules to build libnss_db.
26058 * nss/Versions: Add libnss_db information. Organize libnss_files
26060 * nss/db-Makefile: Add gshadow support. Change rules for the new
26061 makedb progra. Some minor improvements to generate smaller files.
26062 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26064 * nss/makedb.c: ...here.
26065 Improve database format to be smaller and require less memory at
26067 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26069 * nss/nss_db/db-netgrp.c: Likewise.
26070 * nss/nss_db/db-open.c: Likewise.
26071 * nss/nss_files/flies-XXX.x: Adjust comments.
26072 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26073 * nss/nss_files/files-grp.c: Likewise.
26074 * nss/nss_files/files-hosts.c: Likewise.
26075 * nss/nss_files/files-network.c: Likewise.
26076 * nss/nss_files/files-proto.c: Likewise.
26077 * nss/nss_files/files-pwd.c: Likewise.
26078 * nss/nss_files/files-rpc.c: Likewise.
26079 * nss/nss_files/files-service.c: Likewise.
26080 * nss/nss_files/files-sgrp.c: Likewise.
26081 * nss/nss_files/files-spwd.c: Likewise.
26082 * nss/nss_db/db-alias.c: Removed.
26083 * nss/nss_db/dummy-db.h: Removed.
26085 2011-06-02 Ulrich Drepper <drepper@gmail.com>
26087 * nss/makedb.c: Rewritten to not use database library.
26088 * nss/Makefile: Update to build new makedb program.
26090 2011-06-14 Andreas Jaeger <aj@suse.de>
26092 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26093 memset declaration.
26095 2011-06-10 Andreas Schwab <schwab@redhat.com>
26097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26100 2011-06-10 Roland McGrath <roland@hack.frob.com>
26102 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26103 * elf/Makefile ($(objpfx)ld.so): Likewise.
26105 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26106 Don't list ld.so twice in dependencies.
26108 * posix/bug-regex31.c: Include <stdlib.h>.
26110 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26112 * nis/nss_compat/compat-spwd.c
26113 (getspent_next_nss_netgr): Remove unused variable.
26114 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26116 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26117 nonmembers" output to use the right array.
26119 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26121 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26123 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26124 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26125 * catgets/gencat.c (read_input_file): Likewise.
26126 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26128 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26129 variable definition inside #if's controlling its use.
26131 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26133 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26135 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26137 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26140 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26142 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26143 * configure: Regenerated.
26145 * Makerules: Revert last change.
26146 * elf/Makefile: Likewise.
26148 2011-06-09 Roland McGrath <roland@hack.frob.com>
26150 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26151 * elf/Makefile ($(objpfx)librtld.os): Likewise.
26152 (reloc-link): Likewise.
26154 2011-06-09 Ulrich Drepper <drepper@gmail.com>
26156 * elf/Makefile: Add rules to build pldd.
26157 * elf/pldd.c: New file.
26158 * elf/pldd-xx.c: New file.
26160 2011-06-07 Ulrich Drepper <drepper@gmail.com>
26162 * version.h: Update for 2.15 development version.
26164 2011-06-07 David S. Miller <davem@davemloft.net>
26166 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26168 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26169 elf_machine_lazy_rel): Likewise.
26170 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26171 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26172 elf_machine_lazy_rel): Likewise.
26173 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26174 dl_hwcap via passed in argument.
26175 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26178 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26180 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26182 2011-06-06 Roland McGrath <roland@hack.frob.com>
26185 * manual/fdl-1.1.texi: New file, verbatim from:
26186 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26187 * manual/lgpl-2.1.texi: New file, verbatim from:
26188 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26189 * manual/Makefile (licenses): New variable, list those new file names.
26191 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26193 * manual/fdl.texi: File removed.
26194 * manual/lesser.texi: File removed.
26195 * manual/libc.texinfo (Copying, Documentation License):
26196 Use new @include file names, put @appendix directive before @include.
26198 2011-06-04 Jakub Jelinek <jakub@redhat.com>
26201 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26202 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26203 (mq_open): Add __NTH.
26205 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26208 Assume Intel Core i3/i5/i7 processor if AVX is available.
26210 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26212 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26215 2011-05-31 Andreas Schwab <schwab@redhat.com>
26217 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26218 memory. Use alloca_account. Fix memory leak when retrying.
26220 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26222 * version.h (RELEASE): Bump for 2.14 release.
26223 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26225 * config.make.in (RANLIB): Remove entry.
26227 2011-05-30 Ulrich Drepper <drepper@gmail.com>
26229 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26230 (libc.pot): Work around missing support for .ksh extension in xgettext.
26233 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26234 if both request failed.
26235 (send_dg): In case of server errors clear resplen or *resplen2.
26238 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26239 when there are multiple maps.
26240 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26241 (_dl_fini): Remove test here.
26243 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26245 2011-05-29 Ulrich Drepper <drepper@gmail.com>
26248 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26249 bit from old_res_options.
26250 (gaih_inet): Likewise.
26253 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
26256 * resolv/res_init.c (res_setoptions): Make the code more compact.
26259 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26263 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26265 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26268 * malloc/malloc.h: Declare malloc hook variables as volatile.
26270 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26274 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
26275 raise in the comment.
26276 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26277 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26278 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
26280 2011-05-28 Ulrich Drepper <drepper@gmail.com>
26283 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26284 grow the buffers more if it already has to be sufficient.
26285 (build_wcs_upper_buffer): Likewise.
26286 * posix/regexec.c (check_matching): Likewise.
26287 (clean_state_log_if_needed): Likewise.
26288 (extend_buffers): Don't enlarge buffers beyond size of the input
26290 Patches mostly by Emil Wojak <emil@wojak.eu>.
26291 * posix/bug-regex32.c: New file.
26292 * posix/Makefile (tests): Add bug-regex32.
26294 * locale/findlocale.c (_nl_find_locale): Return right away if
26295 _nl_explode_name failed.
26296 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26298 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26300 * debug/xtrace.sh: Unify messages.
26301 * malloc/memusage.sh: Likewise.
26304 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26305 time symbol from vDSO. Substitute with vsyscall if not available.
26306 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26309 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26310 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26311 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26312 Add sendmmsg and internal_sendmmsg.
26313 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26314 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26315 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26317 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26318 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26319 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26321 2011-05-27 Ulrich Drepper <drepper@gmail.com>
26324 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26325 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26327 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26331 * iconvdata/Makefile (tests): Add bug-iconv9.
26332 * iconvdata/bug-iconv9.c: New file.
26334 2011-05-27 Andreas Schwab <schwab@redhat.com>
26337 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26339 2011-05-25 Jakub Jelinek <jakub@redhat.com>
26341 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26342 (struct user_regs_struct): Change intcs field back to cs.
26344 2011-05-25 Ulrich Drepper <drepper@gmail.com>
26346 * po/ja.po: Update from translation team.
26348 2011-05-23 Ulrich Drepper <drepper@gmail.com>
26351 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26352 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26354 2011-05-20 Andreas Schwab <schwab@redhat.com>
26356 * stdlib/longlong.h: Update from GCC.
26358 2011-05-23 Andreas Schwab <schwab@redhat.com>
26360 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26362 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26363 Add parameter name.
26364 (__sysconf): Pass it down.
26366 2011-05-22 Ulrich Drepper <drepper@gmail.com>
26369 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26371 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26372 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26373 add in in __libc_use_alloca calls. Adjust callers.
26374 (glob): Use malloc in some situations.
26376 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26377 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26380 2011-05-21 Ulrich Drepper <drepper@gmail.com>
26382 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26383 and CLOCK_BOOTTIME_ALARM.
26386 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26389 * string/_strerror.c (__strerror_r): Print negative errors as signed
26393 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26394 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26395 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26397 * configure.in: Fix typo in redirection and correct removal of test
26398 files in two cases.
26401 * locale/setlocale.c (new_composite_name): Fix test to check for
26402 identical name of all categories.
26405 * libio/filedoalloc.c (local_isatty): New function.
26406 (_IO_file_doallocate): Use local_isatty.
26407 * stdio-common/perror.c (perror): In case a new stream is used
26408 forward the stream error.
26409 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26412 2011-05-20 Ulrich Drepper <drepper@gmail.com>
26415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26417 * include/alloca.h (extend_alloca_account): Define.
26420 * posix/regex.h: Fix comments with documentation of user-accessible
26421 fields after compilation and describe correct free'ing of pattern
26422 after re_compile_pattern.
26423 Patch by Reuben Thomas <rrt@sc3d.org>.
26425 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26427 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26428 and -mno-altivec to prevent the compiler from using Altivec and/or
26429 VSX instructions when the corresponding registers are not available.
26431 2011-05-19 Andreas Schwab <schwab@redhat.com>
26433 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26435 2011-05-19 Ulrich Drepper <drepper@gmail.com>
26437 * libio/freopen.c (freopen): Use __dup2, not dup2.
26438 * libio/freopen64.c (freopen64): Likewise.
26440 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26443 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26444 * math/Makefile (tests): Add test-powl.
26445 (CFLAGS-test-powl.c): Define.
26446 * math/test-powl.c: New file.
26448 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26450 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26452 2011-05-17 Ulrich Drepper <drepper@gmail.com>
26455 * iconvdata/gb18030.c: Update to GB18020-2005.
26457 2011-05-16 Ulrich Drepper <drepper@gmail.com>
26459 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26460 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26461 Patch by Aharon Robbins <arnold@skeeve.com>.
26464 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26468 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26469 through underflows.
26472 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26473 point to strings before performing equality test for error_one_per_line
26477 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26480 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26481 (struct user_fpregs_struct): Avoid __uint*_t types.
26484 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26485 symbol info. Use it instead of calling _dl_addr locally.
26486 (lock_and_info): New function.
26487 (tr_freehook): Call lock_and_info and pass symbol info as additional
26488 parameter to tr_where.
26489 (tr_mallochook): Likewise.
26490 (tr_reallochook): Likewise.
26491 (tr_memalignhook): Likewise.
26493 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26494 used and couldn't be at all thread-safe.
26496 2011-05-15 Ulrich Drepper <drepper@gmail.com>
26498 * libio/freopen.c (freopen): Don't close old file descriptor
26499 before the new one is opened. Instead dup the new file descriptor
26500 to the old one after the new stream is created.
26501 * libio/freopen64.c (freopen64): Likewise.
26502 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26503 * libio/fileops.c (_IO_new_file_close_it): Handle new
26504 _IO_FLAGS2_NOCLOSE flag.
26505 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26506 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26507 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26508 _IO_FLAGS2_NOCLOSE flag.
26509 * include/unistd.h: Add hidden_proto for dup3.
26510 Define __have_dup3.
26511 * io/dup3.c: Define hidden symbol.
26512 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26515 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26516 when an incomplete long option is used.
26517 * posix/tst-getopt_long1.c: New file.
26518 * posix/Makefile (tests): Add tst-getopt_long1.
26521 * scripts/config.guess: Update from autoconf-2.68.
26522 * scripts/config.sub: Likewise.
26525 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26527 (has_cpuclock): ...this. New function.
26528 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26529 macro here based on has_cpuclock code.
26532 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26533 First byte (not low byte) is now always NUL.
26534 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26536 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26537 Use non-cancelable interfaces.
26540 * locale/iso-639.def: Add entry for Sorani.
26543 * include/stdlib.h: Move include protection to the right place.
26544 Define abort_msg_s. Declare __abort_msg with it.
26545 * stdlib/abort.c (__abort_msg): Adjust type.
26546 * assert/assert.c (__assert_fail_base): New function. Majority
26547 of code from __assert_fail. Allocate memory for __abort_msg with
26549 (__assert_fail): Now call __assert_fail_base.
26550 * assert/assert-perr.c: Remove bulk of implementation. Use
26551 __assert_fail_base.
26552 * include/assert.hL Declare __assert_fail_base.
26553 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26555 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26557 2011-05-14 Ulrich Drepper <drepper@gmail.com>
26561 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26562 until all modules are registered in the DTV.
26563 * elf/Makefile: Add rules to build and run tst-tls19.
26564 * elf/tst-tls19.c: New file.
26565 * elf/tst-tls19mod1.c: New file.
26566 * elf/tst-tls19mod2.c: New file.
26567 * elf/tst-tls19mod3.c: New file.
26568 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26571 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26575 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26576 two-byte sequence errors.
26577 * iconvdata/Makefile (tests): Add bug-iconv8.
26578 * iconvdata/bug-iconv8.c: New file.
26581 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26584 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26587 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26588 (dummy_getcfa): New function.
26589 (init): Get _Unwind_GetCFA address, use dummy if not found.
26590 (backtrace_helper): In recursion check, also check whether CFA changes.
26591 (__backtrace): Completely initialize arg.
26593 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26594 storing incomplete byte sequence in state object. Avoid testing for
26595 guaranteed too small input if we know there is enough data available.
26597 2011-05-11 Andreas Schwab <schwab@redhat.com>
26599 * Makeconfig (+link-pie): Indent.
26600 * Rules (binaries-pie): Define if $(have-fpie) and
26602 (binaries-shared): Also filter out $(binaries-pie).
26603 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26604 * nscd/Makefile (others-pie): Add nscd.
26605 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26606 ($(objpfx)nscd): Remove command override.
26607 * login/Makefile (others-pie): Add pt_chown.
26608 ($(objpfx)pt_chown): Remove command override.
26609 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26610 remove command overrides.
26612 2011-05-13 Ulrich Drepper <drepper@gmail.com>
26614 * libio/tst_putwc.c: Fix error messages.
26617 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26618 currently writing and seek to current position when not.
26619 * libio/Makefile (tests): Add bug-fclose1.
26620 * libio/bug-fclose1.c: New file.
26622 2011-05-12 Ulrich Drepper <drepper@gmail.com>
26625 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26626 don't set DF_1_NODELETE here.
26627 (do_lookup_x): When entering new entry test for copy relocation
26628 and if necessary set DF_1_NODELETE flag.
26629 * elf/tst-unique4.cc: New file.
26630 * elf/tst-unique4.h: New file.
26631 * elf/tst-unique4lib.cc: New file.
26632 * elf/Makefile: Add rules to build and run tst-unique4.
26633 Patch by Piotr Bury <pbury@goahead.com>.
26635 2011-05-11 Ulrich Drepper <drepper@gmail.com>
26638 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26641 * misc/mntent_r.c (addmntent): Flush the stream after the output
26644 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26645 (is_trusted_path_normalize): Skip initial colon. Append slash
26646 to empty buffer. Duplicate is_trusted_path code but allow
26647 constructed patch to be prefix.
26648 (is_dst): Allow $ORIGIN followed by /.
26649 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26650 Correct testing of result of is_trusted_path_normalize
26651 (decompose_rpath): Fix warning.
26653 2011-05-10 Ulrich Drepper <drepper@gmail.com>
26656 * grp/initgroups.c (internal_getgrouplist): When we found the service
26657 list through the initgroups entry in nsswitch.conf do not always
26658 continue on a successful lookup. Don't always use the
26659 __nss_group_database value if it is set.
26660 * nss/nsswitch.conf (initgroups): Change action for successful db
26661 lookup to continue for compatibility.
26663 2011-05-09 Ulrich Drepper <drepper@gmail.com>
26666 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26668 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26670 * iconvdata/tst-tables.sh: Likewise.
26671 * iconvdata/cp770.c: New file.
26672 * iconvdata/cp771.c: New file.
26673 * iconvdata/cp772.c: New file.
26674 * iconvdata/cp773.c: New file.
26675 * iconvdata/cp774.c: New file.
26676 * iconvdata/testdata/CP770: New file.
26677 * iconvdata/testdata/CP770..UTF8: New file.
26678 * iconvdata/testdata/CP771: New file.
26679 * iconvdata/testdata/CP771..UTF8: New file.
26680 * iconvdata/testdata/CP772: New file.
26681 * iconvdata/testdata/CP772..UTF8: New file.
26682 * iconvdata/testdata/CP773: New file.
26683 * iconvdata/testdata/CP773..UTF8: New file.
26684 * iconvdata/testdata/CP774: New file.
26685 * iconvdata/testdata/CP774..UTF8: New file.
26687 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26689 * iconvdata/gen-8bit-gap.sh: Likewise.
26690 * iconvdata/gen-8bit.sh: Likewise.
26692 * locale/iso-639.def: Add ary entry.
26695 * locale/C-translit.h.in: Add U20A1 transliteration.
26698 * locale/iso-639.def: Add wae entry.
26699 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26702 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26706 * locale/C-translit.h.in: Add entry for U20B9.
26707 Patch by pravin.d.s@gmail.com.
26709 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26712 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26713 ENAMETOOLONG use generic getcwd.
26714 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26715 in rtld. Use *stat64.
26716 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26717 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26718 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26719 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26720 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26721 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26722 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26723 __fstatat64 macros.
26724 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26725 * dirent/rewinddir.c: Add libc_hidden_def.
26726 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26727 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26729 * include/dirent.h (__alloc_dir): Add flags parameter.
26730 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26731 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26733 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26734 from fdopendir if O_CLOEXEC is already set.
26736 2011-03-15 Alan Modra <amodra@gmail.com>
26738 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26739 l_tls_firstbyte_offset non-zero. Save padding offset in
26740 l_tls_firstbyte_offset for later use.
26741 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26742 freeing static tls block.
26744 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26746 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26747 where #ifdef was intended. The intent is to prevent ARG_MAX from
26748 being defined by the kernel headers.
26750 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26753 * resolv/resolv.h: Define RES_NOTLDQUERY.
26754 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26755 no-tld-query and set RES_NOTLDQUERY.
26756 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26757 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26758 modern BIND to search name as TLD unless forbidden.
26760 2011-05-07 Petr Baudis <pasky@suse.cz>
26761 Ulrich Drepper <drepper@gmail.com>
26764 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26765 (is_trusted_path): ...to here.
26766 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26767 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26768 using is_trusted_path_normalize() in setuid scripts.
26770 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26772 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26773 __BEGIN/__END_DECLS.
26775 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26777 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26778 NSS_STATUS_NOTFOUND if no record was found.
26780 2011-05-05 Andreas Schwab <schwab@redhat.com>
26782 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26783 (headers-not-in-tirpc): Remove rpc/netdb.h
26784 * resolv/netdb.h: Revert last change.
26786 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26788 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26789 circular dependency between libgcc.a and libc.a.
26791 2011-05-05 Andreas Schwab <schwab@redhat.com>
26793 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26794 * nis/Makefile: Don't install rpcsvc/*.
26795 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26796 instead of <rpc/types.h>.
26797 (MAXHOSTNAMELEN): Define.
26799 2011-05-03 Andreas Schwab <schwab@redhat.com>
26801 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26803 2011-04-28 Maciej Babinski <mbabinski@google.com>
26806 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26807 gethostbyname4_r when IPv6 results are possible.
26809 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26812 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26813 _PC_PIPE_BUF handling.
26815 2011-04-30 Bruno Haible <bruno@clisp.org>
26818 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26819 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26821 * inet/getnameinfo.c (getnameinfo): Likewise.
26823 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26825 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26826 to groups setting in database lookup.
26827 * nss/nsswitch.conf: Add initgroups entry.
26829 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26832 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26834 Patch by Eric Blake <eblake@redhat.com>.
26836 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26838 * sunrpc/Makefile (need-export-routines): Add svc_run.
26839 (routines): Remove svc_run.
26840 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26841 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26842 * sunrpc/svc_run.c (svc_run): Likewise.
26843 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26845 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26847 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26848 problem in reallocation in last patch.
26850 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26852 * sunrpc/Makefile: Move inclusion of Rules.
26854 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26856 * nss/nss_files/files-initgroups.c: New file.
26857 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26858 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26859 _nss_files_initgroups_dyn.
26861 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26863 * elf/elf.h (R_ARM_IRELATIVE): Define.
26865 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26867 * po/ru.po: Update from translation team.
26869 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26871 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26874 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26877 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26878 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26879 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26880 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26881 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26883 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26885 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26887 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26888 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26889 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26891 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26894 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26896 * stdlib/bug-getcontext.c: New file.
26897 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26899 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26901 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26902 instructions into .machine "z9-109".
26903 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26904 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26906 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26908 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26909 between environment variables and auxiliary vector.
26911 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26913 * Makefile: Add rules to build linkobj/libc.so.
26914 * include/libc-symbols.h: Define libc_hidden_nolink.
26915 * include/rpc/auth.h: Mark functions which are to be hidden.
26916 * include/rpc/auth_des.h: Likewise.
26917 * include/rpc/auth_unix.h: Likewise.
26918 * include/rpc/clnt.h: Likewise.
26919 * include/rpc/des_crypt.h: Likewise.
26920 * include/rpc/key_prot.h: Likewise.
26921 * include/rpc/pmap_clnt.h: Likewise.
26922 * include/rpc/pmap_prot.h: Likewise.
26923 * include/rpc/pmap_rmt.h: Likewise.
26924 * include/rpc/rpc_msg.h: Likewise.
26925 * include/rpc/svc.h: Likewise.
26926 * include/rpc/svc_auth.h: Likewise.
26927 * include/rpc/xdr.h: Likewise.
26928 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26929 * nss/Makefile: Likewise.
26930 * sunrpc/Makefile: Don't install headers. Build library with normal
26931 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26932 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26933 for the compat linking library. Remove use of INTDEF/INTUSE.
26934 * sunrpc/auth_none.c: Likewise.
26935 * sunrpc/auth_unix.c: Likewise.
26936 * sunrpc/authdes_prot.c: Likewise.
26937 * sunrpc/authuxprot.c: Likewise.
26938 * sunrpc/clnt_gen.c: Likewise.
26939 * sunrpc/clnt_perr.c: Likewise.
26940 * sunrpc/clnt_raw.c: Likewise.
26941 * sunrpc/clnt_simp.c: Likewise.
26942 * sunrpc/clnt_tcp.c: Likewise.
26943 * sunrpc/clnt_udp.c: Likewise.
26944 * sunrpc/clnt_unix.c: Likewise.
26945 * sunrpc/des_crypt.c: Likewise.
26946 * sunrpc/des_soft.c: Likewise.
26947 * sunrpc/get_myaddr.c: Likewise.
26948 * sunrpc/key_call.c: Likewise.
26949 * sunrpc/key_prot.c: Likewise.
26950 * sunrpc/netname.c: Likewise.
26951 * sunrpc/pm_getmaps.c: Likewise.
26952 * sunrpc/pm_getport.c: Likewise.
26953 * sunrpc/pmap_clnt.c: Likewise.
26954 * sunrpc/pmap_prot.c: Likewise.
26955 * sunrpc/pmap_prot2.c: Likewise.
26956 * sunrpc/pmap_rmt.c: Likewise.
26957 * sunrpc/publickey.c: Likewise.
26958 * sunrpc/rpc_cmsg.c: Likewise.
26959 * sunrpc/rpc_common.c: Likewise.
26960 * sunrpc/rpc_dtable.c: Likewise.
26961 * sunrpc/rpc_prot.c: Likewise.
26962 * sunrpc/rpc_thread.c: Likewise.
26963 * sunrpc/rtime.c: Likewise.
26964 * sunrpc/svc.c: Likewise.
26965 * sunrpc/svc_auth.c: Likewise.
26966 * sunrpc/svc_authux.c: Likewise.
26967 * sunrpc/svc_raw.c: Likewise.
26968 * sunrpc/svc_run.c: Likewise.
26969 * sunrpc/svc_simple.c: Likewise.
26970 * sunrpc/svc_tcp.c: Likewise.
26971 * sunrpc/svc_udp.c: Likewise.
26972 * sunrpc/svc_unix.c: Likewise.
26973 * sunrpc/svcauth_des.c: Likewise.
26974 * sunrpc/xcrypt.c: Likewise.
26975 * sunrpc/xdr.c: Likewise.
26976 * sunrpc/xdr_array.c: Likewise.
26977 * sunrpc/xdr_float.c: Likewise.
26978 * sunrpc/xdr_intXX_t.c: Likewise.
26979 * sunrpc/xdr_mem.c: Likewise.
26980 * sunrpc/xdr_rec.c: Likewise.
26981 * sunrpc/xdr_ref.c: Likewise.
26982 * sunrpc/xdr_sizeof.c: Likewise.
26983 * sunrpc/xdr_stdio.c: Likewise.
26985 2011-04-10 Ulrich Drepper <drepper@gmail.com>
26988 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26989 * sysdeps/ia64/dl-tls.h: Likewise.
26990 * sysdeps/powerpc/dl-tls.h: Likewise.
26991 * sysdeps/s390/dl-tls.h: Likewise.
26992 * sysdeps/sh/dl-tls.h: Likewise.
26993 * sysdeps/sparc/dl-tls.h: Likewise.
26994 * sysdeps/x86_64/dl-tls.h: Likewise.
26995 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26997 2011-03-14 Andreas Schwab <schwab@redhat.com>
26999 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27000 rpath element also skip the following colon.
27001 (expand_dynamic_string_token): Add is_path parameter and pass
27002 down to DL_DST_REQUIRED and _dl_dst_substitute.
27003 (decompose_rpath): Call expand_dynamic_string_token with
27004 non-zero is_path. Ignore empty rpaths.
27005 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27008 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27013 2011-04-09 Ulrich Drepper <drepper@gmail.com>
27016 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27017 Patch by Filipe David Manana <fdmanana@apache.org>.
27019 2011-04-07 Andreas Schwab <schwab@redhat.com>
27021 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27022 Maintain aligned stack.
27023 (CHECK_RSP): Remove unused macro.
27025 2011-04-03 Ulrich Drepper <drepper@gmail.com>
27027 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27028 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27030 2011-04-02 Ulrich Drepper <drepper@gmail.com>
27032 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27034 * include/features.h: Mention __USE_XOPEN2K8 in comment.
27036 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27039 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27040 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27041 * sysdeps/x86_64/memmove.c: New file.
27042 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27043 (memcpy): Renamed to ...
27044 (__new_memcpy): This.
27045 (memcpy): Provide GLIBC_2_14 memcpy.
27046 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27047 (memcpy): Provide GLIBC_2_2_5 memcpy.
27049 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27052 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27054 2011-03-30 Andreas Schwab <schwab@redhat.com>
27056 * misc/syncfs.c: New file.
27057 * misc/Makefile (routines): Add syncfs.
27058 * posix/unistd.h: Declare syncfs.
27059 * sysdeps/unix/syscalls.list: Add syncfs.
27061 2011-04-01 Andreas Schwab <schwab@redhat.com>
27063 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27065 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27066 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27067 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27068 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27069 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27070 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27071 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27073 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27075 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27076 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27077 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27078 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27079 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27080 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27081 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27083 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27084 sync_file_range.c with -fexceptions.
27085 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27086 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27087 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27088 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27089 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27090 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27091 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
27092 sync_file_range as cancellation point
27093 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27094 now a wrapper around __call_sync_file_range with cancellation handling.
27095 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27096 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27097 function name to __call_sync_file_range.
27098 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27099 Add call_sync_file_range.
27101 2011-04-01 Andreas Schwab <schwab@redhat.com>
27103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27106 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27108 * iconv/iconv.h: Fix typo in comment.
27109 * io/fcntl.h: Likewise.
27110 * libio/stdio.h: Likewise.
27111 * posix/spawn.h: Likewise.
27112 * posix/unistd.h: Likewise.
27113 * stdlib/stdlib.h: Likewise.
27114 * time/time.h: Likewise.
27115 * wcsmbs/wchar.h: Likewise.
27117 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27118 open_by_handle): Add.
27119 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27120 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27121 Augment a few comments.
27122 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27123 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27124 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27125 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27126 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27127 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27130 * io/fcntl.h (AT_EMPTY_PATH): Define.
27132 2011-03-30 Ulrich Drepper <drepper@gmail.com>
27134 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27135 * sysdeps/unix/sysv/linux/bits/time.h: New file.
27136 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27138 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
27139 * Versions.def: Add GLIBC_2.14.
27140 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27143 2011-03-22 Ulrich Drepper <drepper@gmail.com>
27145 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27147 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27149 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
27152 * string/test-strncmp.c (do_page_test): New function.
27153 (check2): Likewise.
27154 (test_main): Call check2.
27155 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27157 2011-03-20 Ulrich Drepper <drepper@gmail.com>
27160 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27161 Handle cache information in CPU leaf 4.
27162 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27164 2011-03-18 Ulrich Drepper <drepper@gmail.com>
27167 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27168 character representation.
27169 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27171 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27173 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27174 END(__isnan) to END(__isnanf) to match function entry point/label
27175 EALIGN(__isnanf,...).
27177 2011-03-10 Jakub Jelinek <jakub@redhat.com>
27179 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27181 2011-03-10 Ulrich Drepper <drepper@gmail.com>
27184 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27185 copy from the symbol referenced in the relocation to initialize the
27187 Patch by Piotr Bury <pbury@goahead.com>.
27188 * elf/Makefile: Add rules to build and tst-unique3.
27189 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27190 * elf/tst-unique3.cc: New file.
27191 * elf/tst-unique3.h: New file.
27192 * elf/tst-unique3lib.cc: New file.
27193 * elf/tst-unique3lib2.cc: New file.
27195 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27197 2011-03-10 Mike Frysinger <vapier@gentoo.org>
27199 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27200 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27203 2011-03-06 Ulrich Drepper <drepper@gmail.com>
27205 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27206 to-be-loaded object along a path to loader is ld.so.
27208 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27209 Ulrich Drepper <drepper@gmail.com>
27211 * sysdeps/x86_64/memset.S: After aligning destination, code
27212 branches to different locations depending on the value of
27213 misalignment, when multiarch is enabled. Fix this.
27215 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27217 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27218 Set _x86_64_preferred_memory_instruction for AMD processsors.
27219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27220 Set bit_Prefer_SSE_for_memop for AMD processors.
27222 2011-03-04 Ulrich Drepper <drepper@gmail.com>
27224 * libio/fmemopen.c (fmemopen): Optimize a bit.
27226 2011-03-03 Andreas Schwab <schwab@redhat.com>
27228 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27230 2011-03-03 Roland McGrath <roland@redhat.com>
27232 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27234 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27236 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
27237 __bzero_ultra1 instead of __memset_ultra1.
27239 2011-02-23 Andreas Schwab <schwab@redhat.com>
27240 Ulrich Drepper <drepper@gmail.com>
27243 * include/link.h (struct link_map): Add l_orig_initfini.
27244 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27245 returning unsuccessfully.
27246 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27247 close of a file loaded at startup, restore the original l_initfini
27249 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27250 list, store the pointer.
27251 * elf/Makefile ($(objpfx)noload-mem): New rule.
27252 (noload-ENV): Define.
27253 (tests): Add $(objpfx)noload-mem.
27254 * elf/noload.c: Include <memcheck.h>.
27255 (main): Call mtrace. Close all opened handles.
27257 2011-02-17 Andreas Schwab <schwab@redhat.com>
27260 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27261 dependencies are missing.
27263 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27265 Fix __if_freereq crash: Unlike the generic version which uses free,
27267 * sysdeps/mach/hurd/ifreq.h: New file.
27269 2011-01-27 Petr Baudis <pasky@suse.cz>
27270 Ulrich Drepper <drepper@gmail.com>
27273 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27274 to extend_alloca().
27275 * stdio-common/bug23.c: New file.
27276 * stdio-common/Makefile (tests): Add bug23.
27278 2010-09-28 Andreas Schwab <schwab@redhat.com>
27279 Ulrich Drepper <drepper@gmail.com>
27282 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27283 before performing relro protection. At old place add assertion
27284 to make sure nothing changed.
27286 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27287 Glauber de Oliveira Costa <glommer@gmail.com>
27289 * elf/elf.h: Add new ARM TLS relocs.
27291 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27294 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27296 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27298 * sysdeps/wordsize-64/tst-writev.c: New file.
27300 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27302 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27303 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27304 insns in _dl_start to prevent a TOC reference before relocs are
27307 2011-02-15 Ulrich Drepper <drepper@gmail.com>
27310 * Makeconfig: Remove RANLIB definition.
27311 * Makerules: Don't use RANLIB.
27312 * aclocal.m4: Remove ranlib test.
27313 * configure.in: No need to check for ranlib.
27314 * elf/rtld-Rules: Don't use RANLIB.
27316 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27318 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27320 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27321 inclusion protection macro.
27323 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27324 SIGRTMIN and SIGRTMAX and print information in that case only when
27325 SIGRTMIN is defined.
27327 2011-02-11 Jakub Jelinek <jakub@redhat.com>
27329 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27330 arginfo fn returning -1.
27332 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27333 and thousands string is zero terminated.
27335 2011-02-03 Andreas Schwab <schwab@redhat.com>
27337 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27338 sysdeps/unix/sysv/linux/bits/socket.h.
27340 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27342 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27343 (__CPU_COUNT): Remove old macros.
27344 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27345 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27346 (__CPU_ALLOC, __CPU_FREE): Add macros.
27347 (__sched_cpualloc, __sched_cpufree): Add declarations.
27349 2011-02-05 Ulrich Drepper <drepper@gmail.com>
27351 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27352 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27353 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27354 (readdhstai): Return value of addhstaiX call.
27355 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27356 (addgrbyX): Return value returned by cache_addgr.
27357 (readdgrbyname): Return value returned by addgrbyX.
27358 (readdgrbygid): Likewise.
27359 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27360 (addpwbyX): Return value returned by cache_addpw.
27361 (readdpwbyname): Return value returned by addhstbyX.
27362 (readdpwbyuid): Likewise.
27363 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27364 (addservbyX): Return value returned by cache_addserv.
27365 (readdservbyname): Return value returned by addservbyX:
27366 (readdservbyport): Likewise.
27367 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27368 (addhstbyX): Return value returned by cache_addhst.
27369 (readdhstbyname): Return value returned by addhstbyX.
27370 (readdhstbyaddr): Likewise.
27371 (readdhstbynamev6): Likewise.
27372 (readdhstbyaddrv6): Likewise.
27373 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27374 (readdinitgroups): Return value returned by addinitgroupsX.
27375 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27376 (prune_cache): Keep track of timeout value of re-added entries.
27377 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27378 * nscd/nscd.h: Adjust prototypes of readd* functions.
27380 2011-02-04 Roland McGrath <roland@redhat.com>
27382 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27383 (nis_stats): Likewise.
27384 * nis/nis_modify.c (nis_modify): Likewise.
27385 * nis/nis_remove.c (nis_remove): Likewise.
27386 * nis/nis_add.c (nis_add): Likewise.
27388 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27390 * posix/fnmatch_loop.c: Add some consts.
27392 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27394 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27397 * config.make.in (config-cflags-novzeroupper): Define.
27398 * configure.in: Substitute libc_cv_cc_novzeroupper.
27399 * elf/Makefile (AVX-CFLAGS): Define.
27400 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27401 (CFLAGS-tst-auditmod4a.c): Likewise.
27402 (CFLAGS-tst-auditmod4b.c): Likewise.
27403 (CFLAGS-tst-auditmod6b.c): Likewise.
27404 (CFLAGS-tst-auditmod6c.c): Likewise.
27405 (CFLAGS-tst-auditmod7b.c): Likewise.
27406 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27408 2011-02-02 Ulrich Drepper <drepper@gmail.com>
27410 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27411 function to the callback.
27412 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27414 2011-02-02 Andreas Schwab <schwab@redhat.com>
27416 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27419 2011-01-19 Ulrich Drepper <drepper@gmail.com>
27422 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27424 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27426 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27429 * elf/Makefile: Add rules to build and run new test.
27430 * elf/tst-initorder.c: New file.
27431 * elf/tst-initorder.exp: New file.
27432 * elf/tst-initordera1.c: New file.
27433 * elf/tst-initordera2.c: New file.
27434 * elf/tst-initordera3.c: New file.
27435 * elf/tst-initordera4.c: New file.
27436 * elf/tst-initorderb1.c: New file.
27437 * elf/tst-initorderb2.c: New file.
27438 * elf/tst-order-a1.c: New file.
27439 * elf/tst-order-a2.c: New file.
27440 * elf/tst-order-a3.c: New file.
27441 * elf/tst-order-a4.c: New file.
27442 * elf/tst-order-b1.c: New file.
27443 * elf/tst-order-b2.c: New file.
27444 * elf/tst-order-main.c: New file.
27445 New test case by George Gensure <werkt0@gmail.com>.
27447 2010-10-01 Andreas Schwab <schwab@redhat.com>
27449 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27450 decoding ACE if AI_CANONIDN.
27452 2011-01-18 Ulrich Drepper <drepper@gmail.com>
27454 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27456 2011-01-17 Ulrich Drepper <drepper@gmail.com>
27458 * version.h (RELEASE): Bump for 2.13 release.
27459 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27461 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27463 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27465 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27466 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27467 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27468 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27469 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27470 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27472 * posix/getconf.c: Update copyright year.
27473 * catgets/gencat.c: Likewise.
27474 * csu/version.c: Likewise.
27475 * debug/catchsegv.sh: Likewise.
27476 * debug/xtrace.sh: Likewise.
27477 * elf/ldconfig.c: Likewise.
27478 * elf/ldd.bash.in: Likewise.
27479 * elf/sprof.c (print_version): Likewise.
27480 * iconv/iconv_prog.c: Likewise.
27481 * iconv/iconvconfig.c: Likewise.
27482 * locale/programs/locale.c: Likewise.
27483 * locale/programs/localedef.c: Likewise.
27484 * malloc/memusage.sh: Likewise.
27485 * malloc/mtrace.pl: Likewise.
27486 * nscd/nscd.c (print_version): Likewise.
27487 * nss/getent.c: Likewise.
27489 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27490 PF_CAIF, and PF_ALG.
27491 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27493 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27495 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27496 (modules-names): Use them.
27497 (ifunc-test-modules, ifunc-pie-tests): Define.
27498 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27499 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27500 (test-extras): Likewise.
27501 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27502 $(compile-command.c).
27503 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27504 (all-built-dso): Define.
27505 (check-textrel.out, check-execstack.out): Depend on it.
27507 * configure.in: Don't override --enable-multi-arch.
27509 2011-01-15 Ulrich Drepper <drepper@gmail.com>
27512 * nscd/hstcache.c (tryagain): Define.
27513 (cache_addhst): Return tryagain not notfound for temporary errors.
27514 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27517 2011-01-14 Ulrich Drepper <drepper@gmail.com>
27520 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27521 to make the syscall.
27522 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27525 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27526 and fall back to matching as normal character if the string ends before
27527 the matching ']' is found. This is what POSIX requires.
27528 * posix/testfnm.c: Adjust test result.
27529 * posix/globtest.sh: Adjust test result. Add new test.
27530 * posix/tst-fnmatch.input: Likewise.
27531 * posix/tst-fnmatch2.c: Add new test.
27533 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27535 * elf/Makefile (check-execstack): Revert last change. Depend on
27537 (check-execstack.h): New target.
27538 (generated): Add check-execstack.h.
27539 * elf/check-execstack.c: Include "check-execstack.h".
27540 (main): Revert last change.
27541 (handle_file): Return zero if GNU_STACK is absent and
27542 DEFAULT_STACK_PERMS doesn't include PF_X.
27544 2011-01-13 Ulrich Drepper <drepper@gmail.com>
27546 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27547 in child fails because the descriptor is already closed.
27548 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27549 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27550 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
27553 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27557 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27558 temporary buffer used to handle multi lookups locally.
27559 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
27561 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27563 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27566 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27568 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27569 alignment for SSE2.
27571 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27574 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27575 characters. When rounding increased number of integer digits recompute
27577 * stdio-common/tst-grouping.c: New file.
27578 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27580 2011-01-09 Ulrich Drepper <drepper@gmail.com>
27582 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27583 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27585 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27587 * bits/select.h: Likewise.
27589 2011-01-08 Ulrich Drepper <drepper@gmail.com>
27591 * po/ja.po: Update from translation team.
27593 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
27596 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27597 implementation just like for lxstat, fxstatat, et al.
27599 2010-12-27 Jim Meyering <meyering@redhat.com>
27602 * posix/regexec.c (build_trtable): Return failure indication upon
27603 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27605 2010-12-25 Ulrich Drepper <drepper@gmail.com>
27608 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27609 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27610 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27611 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27614 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27617 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27618 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27620 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27622 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27623 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27624 script has SORT_BY_INIT_PRIORITY.
27625 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27626 NO_CTORS_DTORS_SECTIONS is defined.
27627 * elf/soinit.c: Likewise.
27628 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27629 NO_CTORS_DTORS_SECTIONS is defined.
27630 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27631 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27632 * sysdeps/sh/init-first.c: Likewise.
27633 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27635 2010-12-24 Ulrich Drepper <drepper@gmail.com>
27637 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27638 always use the slow path.
27640 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27642 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27643 similar rule which adds the sysdep directories to the header search in
27644 order to pick up the correct platform stackinfo.h.
27645 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27646 perform test if it is, otherwise return successfully without testing.
27647 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27648 DEFAULT_STACK_PERMS define in stackinfo.h.
27649 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27650 defined in stackinfo.h.
27651 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27652 DEFAULT_STACK_PERMS defined in stackinfo.h.
27653 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27654 * sysdeps/ia64/stackinfo.h: Likewise.
27655 * sysdeps/s390/stackinfo.h: Likewise.
27656 * sysdeps/sh/stackinfo.h: Likewise.
27657 * sysdeps/sparc/stackinfo.h: Likewise.
27658 * sysdeps/x86_64/stackinfo.h: Likewise.
27659 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27660 PF_X for powerpc64. Retain PF_X for powerpc32.
27662 2010-12-19 Ulrich Drepper <drepper@gmail.com>
27664 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27666 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27667 GETDENTS_64BIT_ALIGNED.
27669 2010-12-14 Ulrich Drepper <dreper@gmail.com>
27671 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27673 2010-12-10 Andreas Schwab <schwab@redhat.com>
27675 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27678 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27679 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27681 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27682 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27684 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27687 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27690 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27692 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27694 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27696 * po/it.po: Update from translation team.
27698 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27700 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27703 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27705 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27707 2010-11-24 Andreas Schwab <schwab@redhat.com>
27709 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27711 (gaih_getanswer_slice): Likewise.
27713 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27715 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27717 2010-05-31 Petr Baudis <pasky@suse.cz>
27720 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27721 silently even in the chroot mode.
27723 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27725 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27726 last patch a bit. Pretty printing
27728 2010-05-31 Petr Baudis <pasky@suse.cz>
27731 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27732 initialization of skip_initgroups_dyn.
27734 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27736 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27737 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27739 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27741 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27743 2010-11-11 Andreas Schwab <schwab@redhat.com>
27745 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27746 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27747 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27748 ($(objpfx)tst-fnmatch-mem): New rule.
27749 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27750 * posix/tst-fnmatch.c (main): Call mtrace.
27752 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27754 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27755 Support Intel processor model 6 and model 0x2c.
27757 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27759 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27762 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27765 * string/test-strncasecmp.c (check_result): New function.
27766 (do_one_test): Use it.
27767 (check1): New function.
27768 (test_main): Use it.
27769 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27770 Support strcasecmp and strncasecmp.
27772 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27775 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27776 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27778 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27780 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27784 * sysdeps/x86_64/multiarch/bzero.S: New file.
27785 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27786 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27787 * sysdeps/x86_64/multiarch/memset.S: New file.
27788 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27790 Set bit_Prefer_SSE_for_memop for Intel processors.
27791 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27793 (index_Prefer_SSE_for_memop): Define.
27794 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27796 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27798 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27799 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27801 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27804 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27805 (__x86_64_raw_data_cache_size_half): Likewise.
27806 (__x86_64_raw_shared_cache_size): Likewise.
27807 (__x86_64_raw_shared_cache_size_half): Likewise.
27809 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27810 (__x86_64_raw_data_cache_size_half): Likewise.
27811 (__x86_64_raw_shared_cache_size): Likewise.
27812 (__x86_64_raw_shared_cache_size_half): Likewise.
27813 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27814 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27815 and __x86_64_raw_shared_cache_size_half. Round
27816 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27817 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27818 to multiple of 256 bytes.
27820 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27823 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27824 of inacessible symlinks. Verify result of symlink before returning it.
27825 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27826 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27828 2010-10-28 Erich Ritz <erichritz@gmail.com>
27830 * math/math.h (isinf): Fix typo in comment.
27832 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27834 * po/da.po: Update from translation team.
27836 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27838 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27839 is added to the list.
27841 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27842 Ulrich Drepper <drepper@gmail.com>
27844 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27845 the global list here. Move code to...
27846 (_dl_add_to_namespace_list): ...here. New function.
27847 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27848 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27849 * elf/dl-load.c (lose): Don't remove the element from the list.
27850 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27851 (_dl_map_object): Likewise.
27853 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27856 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27857 into all bytes of SSE register.
27858 Patch by Richard Li <richardpku@gmail.com>.
27860 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27863 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27866 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27868 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27869 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27870 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27871 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27876 2010-10-22 Andreas Schwab <schwab@redhat.com>
27878 * include/dlfcn.h (__RTLD_SECURE): Define.
27879 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27880 mode & __RTLD_SECURE instead.
27881 (open_path): Rename preloaded parameter to secure.
27882 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27883 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27884 * elf/dl-deps.c (openaux): Likewise.
27885 * elf/rtld.c (struct map_args): Remove is_preloaded.
27886 (map_doit): Don't use it.
27887 (dl_main): Likewise.
27888 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27889 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27891 2010-09-09 Andreas Schwab <schwab@redhat.com>
27893 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27894 (sysd-rules-targets): Remove duplicates.
27895 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27896 rtld-%.$o dependency.
27898 2010-10-18 Andreas Schwab <schwab@redhat.com>
27900 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27901 _dl_map_object do it.
27903 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27905 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27906 fast fma builtins, define the macros in the C99 standard.
27907 (FP_FAST_FMAF): Likewise.
27908 (FP_FAST_FMAL): Likewise.
27909 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27911 * bits/mathdef.h: Update copyright year.
27912 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27914 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27916 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27917 builtins, define the macros in the C99 standard.
27918 (FP_FAST_FMAF): Likewise.
27919 (FP_FAST_FMAL): Likewise.
27920 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27922 (FP_FAST_FMAF): Likewise.
27924 2010-10-15 Jakub Jelinek <jakub@redhat.com>
27927 * math/libm-test.inc (fma_test): Some new testcases.
27928 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27929 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27930 y and infinite z. Do multiplication by C already in long double.
27931 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27933 y and infinite z. Do bitwise or of inexact bit into u.d.
27934 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27935 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27936 * sysdeps/i386/fpu/s_fma.S: Removed.
27937 * sysdeps/i386/fpu/s_fmal.S: Removed.
27939 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27942 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27943 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27944 computation is not scheduled after fetestexcept. Fix value
27945 of minimum denormal long double.
27947 2010-10-14 Jakub Jelinek <jakub@redhat.com>
27950 * math/libm-test.inc (fma_test): Add some more tests.
27951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27954 2010-10-15 Andreas Schwab <schwab@redhat.com>
27956 * scripts/data/localplt-s390-linux-gnu.data: New file.
27957 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27959 2010-10-13 Jakub Jelinek <jakub@redhat.com>
27962 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27963 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27965 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27967 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27968 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27969 if one of x and y is very large and the other is subnormal.
27970 * sysdeps/s390/fpu/s_fmaf.c: New file.
27971 * sysdeps/s390/fpu/s_fma.c: New file.
27972 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27973 * sysdeps/powerpc/fpu/s_fma.S: New file.
27974 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27975 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27976 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27978 2010-10-12 Jakub Jelinek <jakub@redhat.com>
27981 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27983 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27984 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27985 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27986 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27987 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27988 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27989 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27991 2010-10-12 Ulrich Drepper <drepper@redhat.com>
27994 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27995 * posix/bug-regex31.input: Add test case.
27997 2010-10-11 Ulrich Drepper <drepper@gmail.com>
27999 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28000 * posix/bug-regex31.input: New file.
28003 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28004 (parse_sub_exp): Fix last change, use postorder.
28006 * posix/bug-regex31.c: New file.
28007 * posix/Makefile: Add rules to build and run bug-regex31.
28009 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28012 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28015 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28016 to have entries in sys_siglist.
28019 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28022 2010-10-07 Jakub Jelinek <jakub@redhat.com>
28025 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28026 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28027 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28028 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28029 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28030 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28031 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28032 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28033 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28034 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28035 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28036 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28037 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28038 * math/ftestexcept.c (fetestexcept): Likewise.
28039 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28040 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28041 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28042 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28043 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28044 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28045 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28047 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28050 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28053 2010-10-06 Ulrich Drepper <drepper@gmail.com>
28055 * string/bug-strstr1.c: New file.
28056 * string/Makefile: Add rules to build and run bug-strstr1.
28058 2010-10-05 Eric Blake <eblake@redhat.com>
28061 * string/str-two-way.h (two_way_long_needle): Always clear memory
28062 when skipping input due to the shift table.
28064 2010-10-03 Ulrich Drepper <drepper@gmail.com>
28067 * malloc/mcheck.c: Handle large requests.
28070 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28071 for strncmp and strncasecmp.
28072 * string/stratcliff.c: Add tests for strcmp and strncmp.
28073 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28075 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28077 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28080 2010-09-30 Andreas Jaeger <aj@suse.de>
28082 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28083 (CGROUP_SUPER_MAGIC): Define.
28084 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28085 Handle btrfs and cgroup file systems.
28086 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28089 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
28091 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28092 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28094 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28097 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28098 trying to locate the ELF header.
28100 2010-09-27 Andreas Schwab <schwab@redhat.com>
28103 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28104 Mask out sign-bit copies when constructing f_fsid.
28106 2010-09-24 Petr Baudis <pasky@suse.cz>
28108 * debug/stack_chk_fail_local.c: Add missing licence exception.
28109 * debug/warning-nop.c: Likewise.
28111 2010-09-15 Joseph Myers <joseph@codesourcery.com>
28113 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28114 implementing getdents64 using getdents syscall, set d_type if
28115 __ASSUME_GETDENTS32_D_TYPE.
28117 2010-09-16 Andreas Schwab <schwab@redhat.com>
28119 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28120 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28122 2010-09-21 Ulrich Drepper <drepper@redhat.com>
28125 * posix/unistd.h: Undo change of feature selection for ftruncate from
28128 2010-09-20 Ulrich Drepper <drepper@redhat.com>
28130 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
28133 2010-09-20 Andreas Schwab <schwab@redhat.com>
28135 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28137 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28139 2010-09-14 Andreas Schwab <schwab@redhat.com>
28141 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28142 variables after CHECK_SP call.
28143 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28145 2010-09-13 Andreas Schwab <schwab@redhat.com>
28146 Ulrich Drepper <drepper@redhat.com>
28148 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28149 re-relocationg ld.so.
28150 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28151 _dl_init_paths call.
28152 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
28155 2010-09-14 Ulrich Drepper <drepper@redhat.com>
28157 * resolv/res_init.c (__res_vinit): Count the default server we added.
28159 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28160 Ulrich Drepper <drepper@redhat.com>
28163 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28164 (____longjmp_chk): Use %ebx for saving value across system call.
28167 2010-09-06 Andreas Schwab <schwab@redhat.com>
28169 * manual/Makefile: Don't mix pattern rules with normal rules.
28171 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28173 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28175 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28176 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28177 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28178 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28179 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28182 2010-09-04 Ulrich Drepper <drepper@redhat.com>
28185 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28186 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28188 2010-09-02 Ulrich Drepper <drepper@redhat.com>
28190 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28191 * sysdeps/x86_64/addmul_1.S: Likewise.
28192 * sysdeps/x86_64/lshift.S: Likewise.
28193 * sysdeps/x86_64/mul_1.S: Likewise.
28194 * sysdeps/x86_64/rshift.S: Likewise.
28195 * sysdeps/x86_64/sub_n.S: Likewise.
28196 * sysdeps/x86_64/submul_1.S: Likewise.
28198 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28200 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28201 Define __sched_param instead of SCHED_* and sched_param when
28202 <bits/sched.h> is included with __need_schedparam defined.
28203 * bits/sched.h [__need_schedparam]
28204 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
28205 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28206 (__defined_schedparam): Define to 1.
28207 (__sched_param): New structure, identical to sched_param.
28208 (__need_schedparam): Undefine.
28210 2010-08-31 Mike Frysinger <vapier@gentoo.org>
28212 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28213 (epoll_create1): Declare.
28215 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28217 2010-08-31 Andreas Schwab <schwab@redhat.com>
28220 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28221 shifting retval into place.
28223 2010-09-01 Ulrich Drepper <drepper@redhat.com>
28225 * nis/rpcsvc/nis.h: Update copyright notice.
28226 * nis/rpcsvc/nis.x: Likewise.
28227 * nis/rpcsvc/nis_callback.h: Likewise.
28228 * nis/rpcsvc/nis_callback.x: Likewise.
28229 * nis/rpcsvc/nis_object.x: Likewise.
28230 * nis/rpcsvc/nis_tags.h: Likewise.
28231 * nis/rpcsvc/yp.h: Likewise.
28232 * nis/rpcsvc/yp.x: Likewise.
28233 * nis/rpcsvc/ypupd.h: Likewise.
28234 * nis/yp_xdr.c: Likewise.
28235 * nis/ypupdate_xdr.c: Likewise.
28237 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28238 mainly the body of pmap_getport. Add parameters to specify timeouts.
28239 (pmap_getport): Use __libc_rpc_getport.
28240 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28241 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28242 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28244 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28249 2010-08-27 Roland McGrath <roland@redhat.com>
28251 * sysdeps/i386/i686/multiarch/Makefile
28252 (CFLAGS-varshift.c): New variable.
28254 2010-08-27 Ulrich Drepper <drepper@redhat.com>
28256 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28257 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28259 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28261 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28263 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28265 * sysdeps/x86_64/strlen.S: Unroll the loop.
28266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28267 strlen-sse2 strlen-sse2-bsf.
28268 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28269 __strlen_no_bsf if bit_Slow_BSF is set.
28270 (__strlen_sse42): Removed.
28271 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28272 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28274 2010-08-25 Roland McGrath <roland@redhat.com>
28276 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28277 * sysdeps/x86_64/multiarch/varshift.c: New file.
28278 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28279 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28280 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28281 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28283 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28285 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28286 strlen-sse2 strlen-sse2-bsf.
28287 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28288 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28289 (__strlen_sse2): Removed.
28290 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28291 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28293 bit_Slow_BSF for Atom.
28294 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28295 (index_Slow_BSF): Define.
28296 (HAS_SLOW_BSF): Define.
28298 2010-08-25 Ulrich Drepper <drepper@redhat.com>
28301 * resolv/res_init.c (__res_vinit): When no server address at all
28302 is given default to loopback.
28304 2010-08-24 Roland McGrath <roland@redhat.com>
28306 * configure.in: Remove config-name.h generation.
28307 * configure: Regenerated.
28308 * config-name.in: File removed.
28309 * scripts/config-uname.sh: New file.
28310 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28311 ($(objdir)config-name.h): New target.
28313 * sunrpc/rpc_parse.h: Avoid nested comment.
28315 2010-08-24 Richard Henderson <rth@redhat.com>
28316 Ulrich Drepper <drepper@redhat.com>
28317 H.J. Lu <hongjiu.lu@intel.com>
28319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28321 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28322 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28323 _mm_alignr_epi8 with _mm_loadu_si128.
28324 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28325 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28326 (__m128i_shift_right): Removed.
28327 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28328 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28329 * sysdeps/x86_64/multiarch/varshift.h: New file.
28330 * sysdeps/x86_64/multiarch/varshift.S: New file.
28332 2010-08-21 Mike Frysinger <vapier@gentoo.org>
28334 * configure.in: Move assembler checks to before sysdep dir checking.
28336 2010-08-20 Petr Baudis <pasky@suse.cz>
28338 * LICENSES: Sync the sunrpc license.
28340 2010-08-19 Ulrich Drepper <drepper@redhat.com>
28342 * sunrpc/auth_des.c: Update copyright notice once again.
28343 * sunrpc/auth_none.c: Likewise.
28344 * sunrpc/auth_unix.c: Likewise.
28345 * sunrpc/authdes_prot.c: Likewise.
28346 * sunrpc/authuxprot.c: Likewise.
28347 * sunrpc/bindrsvprt.c: Likewise.
28348 * sunrpc/clnt_gen.c: Likewise.
28349 * sunrpc/clnt_perr.c: Likewise.
28350 * sunrpc/clnt_raw.c: Likewise.
28351 * sunrpc/clnt_simp.c: Likewise.
28352 * sunrpc/clnt_tcp.c: Likewise.
28353 * sunrpc/clnt_udp.c: Likewise.
28354 * sunrpc/clnt_unix.c: Likewise.
28355 * sunrpc/des_crypt.c: Likewise.
28356 * sunrpc/des_soft.c: Likewise.
28357 * sunrpc/get_myaddr.c: Likewise.
28358 * sunrpc/getrpcport.c: Likewise.
28359 * sunrpc/key_call.c: Likewise.
28360 * sunrpc/key_prot.c: Likewise.
28361 * sunrpc/openchild.c: Likewise.
28362 * sunrpc/pm_getmaps.c: Likewise.
28363 * sunrpc/pm_getport.c: Likewise.
28364 * sunrpc/pmap_clnt.c: Likewise.
28365 * sunrpc/pmap_prot.c: Likewise.
28366 * sunrpc/pmap_prot2.c: Likewise.
28367 * sunrpc/pmap_rmt.c: Likewise.
28368 * sunrpc/rpc/auth.h: Likewise.
28369 * sunrpc/rpc/auth_unix.h: Likewise.
28370 * sunrpc/rpc/clnt.h: Likewise.
28371 * sunrpc/rpc/des_crypt.h: Likewise.
28372 * sunrpc/rpc/key_prot.h: Likewise.
28373 * sunrpc/rpc/netdb.h: Likewise.
28374 * sunrpc/rpc/pmap_clnt.h: Likewise.
28375 * sunrpc/rpc/pmap_prot.h: Likewise.
28376 * sunrpc/rpc/pmap_rmt.h: Likewise.
28377 * sunrpc/rpc/rpc.h: Likewise.
28378 * sunrpc/rpc/rpc_des.h: Likewise.
28379 * sunrpc/rpc/rpc_msg.h: Likewise.
28380 * sunrpc/rpc/svc.h: Likewise.
28381 * sunrpc/rpc/svc_auth.h: Likewise.
28382 * sunrpc/rpc/types.h: Likewise.
28383 * sunrpc/rpc/xdr.h: Likewise.
28384 * sunrpc/rpc_clntout.c: Likewise.
28385 * sunrpc/rpc_cmsg.c: Likewise.
28386 * sunrpc/rpc_common.c: Likewise.
28387 * sunrpc/rpc_cout.c: Likewise.
28388 * sunrpc/rpc_dtable.c: Likewise.
28389 * sunrpc/rpc_hout.c: Likewise.
28390 * sunrpc/rpc_main.c: Likewise.
28391 * sunrpc/rpc_parse.c: Likewise.
28392 * sunrpc/rpc_parse.h: Likewise.
28393 * sunrpc/rpc_prot.c: Likewise.
28394 * sunrpc/rpc_sample.c: Likewise.
28395 * sunrpc/rpc_scan.c: Likewise.
28396 * sunrpc/rpc_scan.h: Likewise.
28397 * sunrpc/rpc_svcout.c: Likewise.
28398 * sunrpc/rpc_tblout.c: Likewise.
28399 * sunrpc/rpc_util.c: Likewise.
28400 * sunrpc/rpc_util.h: Likewise.
28401 * sunrpc/rpcinfo.c: Likewise.
28402 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28403 * sunrpc/rpcsvc/key_prot.x: Likewise.
28404 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28405 * sunrpc/rpcsvc/mount.x: Likewise.
28406 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28407 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28408 * sunrpc/rpcsvc/rex.x: Likewise.
28409 * sunrpc/rpcsvc/rstat.x: Likewise.
28410 * sunrpc/rpcsvc/rusers.x: Likewise.
28411 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28412 * sunrpc/rpcsvc/spray.x: Likewise.
28413 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28414 * sunrpc/rtime.c: Likewise.
28415 * sunrpc/svc.c: Likewise.
28416 * sunrpc/svc_auth.c: Likewise.
28417 * sunrpc/svc_authux.c: Likewise.
28418 * sunrpc/svc_raw.c: Likewise.
28419 * sunrpc/svc_run.c: Likewise.
28420 * sunrpc/svc_simple.c: Likewise.
28421 * sunrpc/svc_tcp.c: Likewise.
28422 * sunrpc/svc_udp.c: Likewise.
28423 * sunrpc/svc_unix.c: Likewise.
28424 * sunrpc/svcauth_des.c: Likewise.
28425 * sunrpc/xcrypt.c: Likewise.
28426 * sunrpc/xdr.c: Likewise.
28427 * sunrpc/xdr_array.c: Likewise.
28428 * sunrpc/xdr_float.c: Likewise.
28429 * sunrpc/xdr_mem.c: Likewise.
28430 * sunrpc/xdr_rec.c: Likewise.
28431 * sunrpc/xdr_ref.c: Likewise.
28432 * sunrpc/xdr_sizeof.c: Likewise.
28433 * sunrpc/xdr_stdio.c: Likewise.
28435 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28438 2010-08-19 Andreas Schwab <schwab@redhat.com>
28440 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28442 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
28444 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28445 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28446 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28447 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28448 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28449 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28450 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28451 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28452 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28453 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28454 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28455 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28456 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28457 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28459 2010-07-26 Anton Blanchard <anton@samba.org>
28461 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28462 * malloc/arena.c (heap_trim): Likewise.
28464 2010-08-16 Ulrich Drepper <drepper@redhat.com>
28466 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28468 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28469 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28471 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28473 * sysdeps/i386/elf/Makefile: New file.
28475 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28477 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28478 from fanotify_init.
28479 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28480 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28482 2010-08-15 Ulrich Drepper <drepper@redhat.com>
28484 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28486 * sysdeps/multiarch/strcmp.S: Likewise.
28488 2010-08-14 Ulrich Drepper <drepper@redhat.com>
28490 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28491 strncase_l-nonascii.
28492 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28493 Add strncase_l-ssse3.
28494 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28495 * sysdeps/x86_64/strcmp.S: Likewise.
28496 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28497 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28498 * sysdeps/x86_64/strncase.S: New file.
28499 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28500 * sysdeps/x86_64/strncase_l.S: New file.
28501 * string/Makefile (strop-tests): Add strncasecmp.
28502 * string/test-strncasecmp.c: New file.
28504 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28507 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28508 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28510 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28512 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28514 2010-08-12 Ulrich Drepper <drepper@redhat.com>
28516 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28517 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28518 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28520 2010-05-01 Alan Modra <amodra@gmail.com>
28522 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28523 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28524 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28525 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28526 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28527 tidying. Don't tail-call __sigjmp_save for static lib.
28528 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28530 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28531 (CALL_MCOUNT): Add eh info, and nop after bl.
28532 (TAIL_CALL_SYSCALL_ERROR): New macro.
28533 (PSEUDO_RET): Use it.
28534 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28535 Correct save location of integer regs and cr.
28536 (_dl_profile_resolve): Correct cr save location. Delete nops
28537 after bl when SHARED. Reduce cfi size a little by better
28538 placement of cfi directives.
28539 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28540 make a stack frame. Instead use parm save area as a temp.
28541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28542 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28544 Don't make a stack frame for parent, use parm save area.
28545 Increase child stack frame to 112 bytes. Don't save unused reg,
28546 and adjust reg usage. Set up cfi on error recovery and
28547 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28549 (__makecontext): Add dummy nop after jump to exit.
28550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28551 Use correct parm save area and cr save, reduce stack frame.
28552 Correct cfi for possible PSEUDO_RET frame setup.
28553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28554 Branch to local label emitted by PSEUDO_RET rather than
28557 2010-08-12 Andreas Schwab <schwab@redhat.com>
28560 * locale/programs/locale.c (print_assignment): New function.
28561 (show_locale_vars): Use it.
28563 2010-08-11 Ulrich Drepper <drepper@redhat.com>
28565 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28567 (struct statfs64): Likewise.
28568 (_STATFS_F_FLAGS): Define.
28569 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28570 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28571 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28572 (ST_VALID): Define locally.
28573 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28574 __statvfs_getflags, use the provided value.
28575 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28576 __ASSUME_STATFS_F_FLAGS.
28578 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28580 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28581 Add sys/fanotify.h.
28582 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28583 fanotify_mask for GLIBC_2.13.
28584 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28585 fanotify_init and fanotify_mark.
28586 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28587 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28589 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28591 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28592 prlimit64 for GLIBC_2.13.
28593 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28595 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28598 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28599 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28600 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28603 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28606 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28607 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28609 * nss/Makefile: Add rules to build and run tst-nss-test1.
28610 * shlib-versions: Add entry for libnss_test1.
28611 * nss/nss_test1.c: New file.
28612 * nss/tst-nss-test1.c: New file.
28614 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28615 (__nss_configure_lookup): Set appropriate entry in
28616 __nss_configure_lookup to true.
28617 * nss/nsswitch.h: Define enum with indeces of databases in
28618 databases and __nss_database_custom arrays. Declare
28619 __nss_database_custom.
28620 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28621 to avoid using nscd when custom rules are installed.
28622 * nss/getXXbyYY_r.c: Likewise.
28623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28625 * nss/nss_files/files-parse.c: Whitespace fixes.
28627 2010-08-09 Ulrich Drepper <drepper@redhat.com>
28630 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28631 * posix/fnmatch_loop.c: Likewise.
28633 2010-07-17 Andi Kleen <ak@linux.intel.com>
28635 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28636 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28637 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28638 * Versions.def [GLIBC_2.13]: Add.
28640 2010-08-06 Ulrich Drepper <drepper@redhat.com>
28642 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28643 Also fail if tpwd after pwuid call is NULL.
28645 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28647 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28648 when converting to ms.
28650 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28652 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28653 EOPNOTSUPP errors with ENOTTY.
28654 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28655 EOPNOTSUPP errors with ENOTTY.
28657 2010-07-31 Ulrich Drepper <drepper@redhat.com>
28659 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28660 Add strcasecmp_l-ssse3.
28661 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28663 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28664 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28665 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28667 2010-07-30 Ulrich Drepper <drepper@redhat.com>
28669 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28671 * string/Makefile (strop-tests): Add strcasecmp.
28672 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28673 strcasecmp_l-nonascii.
28674 (gen-as-const-headers): Add locale-defines.sym.
28675 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28676 * sysdeps/x86_64/strcasecmp.S: New file.
28677 * sysdeps/x86_64/strcasecmp_l.S: New file.
28678 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28679 * sysdeps/x86_64/locale-defines.sym: New file.
28680 * string/test-strcasecmp.c: New file.
28682 * string/test-strcasestr.c: Test both ends of the range of characters.
28683 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28685 2010-07-29 Roland McGrath <roland@redhat.com>
28688 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28690 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28692 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28695 2010-07-27 Andreas Schwab <schwab@redhat.com>
28697 * manual/memory.texi (Malloc Tunable Parameters): Document
28700 2010-07-26 Roland McGrath <roland@redhat.com>
28703 * configure.in (-fgnu89-inline check): Set and substitute
28704 gnu89_inline, not libc_cv_gnu89_inline.
28705 * configure: Regenerated.
28706 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28708 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28710 * string/test-strnlen.c: New file.
28711 * string/Makefile (strop-tests): Add strnlen.
28712 * string/tester.c (test_strnlen): Add a few more test cases.
28713 * string/tst-strlen.c: Better error reporting.
28715 * sysdeps/x86_64/strnlen.S: New file.
28717 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28719 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28720 lower-latency instructions.
28722 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28724 * string/test-strcasestr.c: New file.
28725 * string/test-strstr.c: New file.
28726 * string/Makefile (strop-tests): Add strstr and strcasestr.
28727 * string/str-two-way.h: Don't undefine MAX.
28728 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28730 2010-07-21 Andreas Schwab <schwab@redhat.com>
28732 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28733 strcasestr-nonascii.
28734 (CFLAGS-strcasestr-nonascii.c): Define.
28735 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28736 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28737 Remove unused attribute.
28739 2010-07-20 Roland McGrath <roland@redhat.com>
28741 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28742 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28743 ld.so.cache was broken. With it, there is no way to disable dsocaps
28744 like LD_HWCAP_MASK can disable hwcaps.
28746 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28748 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28750 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28752 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28753 call in strcasestr.
28754 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28755 __strcasestr_sse42_nonascii.
28756 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28757 strcasestr-nonascii.c.
28758 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28760 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28762 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28763 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28764 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28765 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28767 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28769 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28772 2010-07-06 Andreas Schwab <schwab@redhat.com>
28775 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28778 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28780 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28781 _PC_PIPE_BUF using F_GETPIPE_SZ.
28783 2010-07-05 Roland McGrath <roland@redhat.com>
28785 * manual/arith.texi (Rounding Functions): Fix rint description
28786 implicit in round description.
28788 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28790 * elf/Makefile: Fix linking for a few tests to make recent linker
28793 2010-06-30 Andreas Schwab <schwab@redhat.com>
28795 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28796 $(common-objpfx)libc_nonshared.a.
28798 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28800 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28801 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28802 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28803 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28804 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28805 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28806 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28807 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28822 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28823 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28824 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28825 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28826 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28827 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28828 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28829 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28830 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28831 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28832 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28833 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28849 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28851 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28852 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28853 * string/memmove.c (memmove): Renamed to ...
28854 (MEMMOVE): ...this. Default to memmove.
28855 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28856 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28858 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28859 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28860 mempcpy-ssse3-back memmove-ssse3-back.
28861 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28862 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28863 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28864 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28865 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28866 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28867 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28868 * sysdeps/x86_64/multiarch/memmove.c: New file.
28869 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28870 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28871 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28872 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28873 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28874 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28876 (index_Fast_Copy_Backward): Define.
28877 (HAS_ARCH_FEATURE): Define.
28878 (HAS_FAST_REP_STRING): Define.
28879 (HAS_FAST_COPY_BACKWARD): Define.
28881 2010-06-21 Andreas Schwab <schwab@redhat.com>
28883 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28884 Restore proper fallback handling.
28886 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28889 * posix/group_member.c (__group_member): Correct checking loop.
28891 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28892 OOM in getpwuid_r correctly. Return error number when the caller
28893 should return, otherwise -1.
28894 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28895 call returning > 0 value.
28896 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28898 2010-06-07 Andreas Schwab <schwab@redhat.com>
28900 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28901 libc_nonshared.a from targets in modules-names.
28903 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28905 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28908 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28910 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28911 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28912 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28913 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28915 2010-06-02 Andreas Schwab <schwab@redhat.com>
28917 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28919 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28921 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28923 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28924 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28925 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28927 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28928 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28930 2010-06-14 Roland McGrath <roland@redhat.com>
28932 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28934 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28936 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28937 __REDIRECT followed by __THROW.
28938 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28939 * posix/getopt.h (getopt): Likewise.
28941 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28943 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28944 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28945 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28947 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28948 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28950 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
28952 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28954 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28957 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28958 Properly check family and model.
28960 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28962 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28964 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
28966 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28968 2010-05-21 Ulrich Drepper <drepper@redhat.com>
28970 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28973 2010-05-19 Andreas Schwab <schwab@redhat.com>
28975 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28978 2010-05-21 Andreas Schwab <schwab@redhat.com>
28980 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28981 and internal_recvmmsg.
28982 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28983 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28984 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28985 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28987 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28988 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28989 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28991 2010-05-20 Andreas Schwab <schwab@redhat.com>
28993 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28995 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
28997 POWER7 optimizations.
28998 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28999 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29001 2010-05-19 Ulrich Drepper <drepper@redhat.com>
29003 * version.h: Update for 2.13 development version.
29005 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
29007 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29008 exceptions. Return 0.
29010 2010-05-07 Roland McGrath <roland@redhat.com>
29012 * elf/ldconfig.c (main): Add a const.
29014 2010-05-06 Ulrich Drepper <drepper@redhat.com>
29016 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29017 (args_options): Add no-idn option.
29018 (ahosts_keys_int): Add idn_flags to ai_flags.
29019 (parse_option): Handle 'i' option to clear idn_flags.
29021 * malloc/malloc.c (_int_free): Possible race in the most recently
29022 added check. Only act on the data if no current modification
29025 See ChangeLog.17 for earlier changes.