1 2013-05-14 Joseph Myers <joseph@codesourcery.com>
3 * math/libm-test.inc (test_ffI_f1_data): New type.
4 (RUN_TEST_LOOP_ffI_f1): New macro.
5 (remquo_test_data): New variable.
6 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
8 * setjmp/tst-setjmp-fp.c: New file.
9 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10 (link-libm): New variable.
11 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13 * math/libm-test.inc (struct test_f_i_data): New type.
14 (RUN_TEST_LOOP_f_i): New macro.
15 (RUN_TEST_LOOP_f_i_tg): Likewise.
16 (fpclassify_test_data): New variable.
17 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18 (ilogb_test_data): New variable.
19 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
21 * math/libm-test.inc (scalbln_test): Correct function name in END
24 * math/libm-test.inc (struct test_f_f1_data): Add comment.
25 (RUN_TEST_LOOP_fI_f1): New macro.
26 (frexp_test_data): New variable.
27 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29 * math/libm-test.inc (struct test_fF_f1_data): New type.
30 (RUN_TEST_LOOP_fF_f1): New macro.
31 (modf_test_data): New variable.
32 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
34 * math/libm-test.inc (struct test_f_f1_data): New type.
35 (RUN_TEST_LOOP_f_f1): New macro.
36 (gamma_test_data): New variable.
37 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
38 (lgamma_test_data): New variable.
39 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
41 2013-05-13 Carlos O'Donell <carlos@redhat.com>
43 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
44 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
45 (main): Comment "tls" pseudo-hwcap.
47 2013-05-13 Joseph Myers <joseph@codesourcery.com>
49 * math/libm-test.inc (struct test_fl_f_data): New type.
50 (RUN_TEST_LOOP_fl_f): New variable.
51 (scalbln_test_data): New variable.
52 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
54 * math/libm-test.inc (struct test_fi_f_data): New type.
55 (RUN_TEST_LOOP_fi_f): New macro.
56 (ldexp_test_data): New variable.
57 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
58 (scalbn_test_data): New variable.
59 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
61 * math/libm-test.inc (struct test_c_f_data): New type.
62 (RUN_TEST_LOOP_c_f): New macro.
63 (cabs_test_data): New variable.
64 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
65 (carg_test_data): New variable.
66 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67 (cimag_test_data): New variable.
68 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
69 (creal_test_data): New variable.
70 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
72 * math/libm-test.inc (struct test_if_f_data): New type.
73 (RUN_TEST_LOOP_if_f): New macro.
74 (jn_test_data): New variable.
75 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
76 (yn_test_data): New variable.
77 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
79 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
81 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
83 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
84 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
86 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
88 * benchtests/Makefile (CPPFLAGS-nonlib): Add
89 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
90 (bench-deps): Add bench-timing.h.
91 * benchtests-bench-skeleton.c: Include bench-timing.h.
92 (main): Use TIMING_* macros instead of clock_gettime.
93 * benchtests/bench-timing.h: New file.
96 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
97 Renamed from _LIB_VERSION.
98 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
100 2013-05-12 Joseph Myers <joseph@codesourcery.com>
102 * math/libm-test.inc (struct test_fff_f_data): New type.
103 (RUN_TEST_LOOP_fff_f): New macro.
104 (fma_test_data): New variable.
105 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
106 (fma_towardzero_test_data): New variable.
107 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
108 (fma_downward_test_data): New variable.
109 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
110 (fma_upward_test_data): New variable.
111 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
113 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
114 (struct test_c_c_data): New type.
115 (RUN_TEST_LOOP_c_c): New macro.
116 (cacos_test_data): New variable.
117 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
118 (cacosh_test_data): New variable.
119 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
120 (casin_test_data): New variable.
121 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
122 (casinh_test_data): New variable.
123 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
124 (catan_test_data): New variable.
125 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
126 (catanh_test_data): New variable.
127 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
128 (ccos_test_data): New variable.
129 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
130 (ccosh_test_data): New variable.
131 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
132 (cexp_test_data): New variable.
133 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
134 (clog_test_data): New variable.
135 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
136 (clog10_test_data): New variable.
137 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
138 (conj_test_data): New variable.
139 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
140 (cproj_test_data): New variable.
141 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
142 (csin_test_data): New variable.
143 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
144 (csinh_test_data): New variable.
145 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
146 (csqrt_test_data): New variable.
147 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
148 (ctan_test_data): New variable.
149 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
150 (ctan_tonearest_test_data): New variable.
151 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
152 (ctan_towardzero_test_data): New variable.
153 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
154 (ctan_downward_test_data): New variable.
155 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
156 (ctan_upward_test_data): New variable.
157 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
158 (ctanh_test_data): New variable.
159 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
160 (ctanh_tonearest_test_data): New variable.
161 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
162 (ctanh_towardzero_test_data): New variable.
163 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
164 (ctanh_downward_test_data): New variable.
165 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
166 (ctanh_upward_test_data): New variable.
167 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
168 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
171 * math/libm-test.inc (struct test_ff_f_data): New type.
172 (struct test_ff_f_data_nexttoward): Likewise.
173 (RUN_TEST_LOOP_2_f): New macro.
174 (RUN_TEST_LOOP_ff_f): Likewise.
175 (atan2_test_data): New variable.
176 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
177 (copysign_test_data): New variable.
178 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
179 (fdim_test_data): New variable.
180 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
181 (fmax_test_data): New variable.
182 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
183 (fmin_test_data): New variable.
184 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
185 (fmod_test_data): New variable.
186 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
187 (hypot_test_data): New variable.
188 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
189 (nextafter_test_data): New variable.
190 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
191 (nexttoward_test_data): New variable.
192 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
193 (pow_test_data): New variable.
194 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
195 (pow_tonearest_test_data): New variable.
196 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
197 (pow_towardzero_test_data): New variable.
198 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
199 (pow_downward_test_data): New variable.
200 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
201 (pow_upward_test_data): New variable.
202 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
203 (remainder_test_data): New variable.
204 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
205 (scalb_test_data): New variable.
206 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
207 * sysdeps/i386/fpu/libm-test-ulps: Update.
209 2013-05-11 Joseph Myers <joseph@codesourcery.com>
211 * math/libm-test.inc (fma_test): Use max_value instead of local
213 (nextafter_test): Likewise.
215 * math/libm-test.inc (acos_towardzero_test_data): New variable.
216 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
217 (acos_downward_test_data): New variable.
218 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
219 (acos_upward_test_data): New variable.
220 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
221 (acosh_test_data): New variable.
222 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
223 (asin_test_data): New variable.
224 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
225 (asin_tonearest_test_data): New variable.
226 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
227 (asin_towardzero_test_data): New variable.
228 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
229 (asin_downward_test_data): New variable.
230 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
231 (asin_upward_test_data): New variable.
232 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
233 (asinh_test_data): New variable.
234 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
235 (atan_test_data): New variable.
236 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
237 (atanh_test_data): New variable.
238 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
239 (cbrt_test_data): New variable.
240 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
241 (ceil_test_data): New variable.
242 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
243 (cos_test_data): New variable.
244 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
245 (cos_tonearest_test_data): New variable.
246 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
247 (cos_towardzero_test_data): New variable.
248 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
249 (cos_downward_test_data): New variable.
250 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
251 (cos_upward_test_data): New variable.
252 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
253 (cosh_test_data): New variable.
254 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
255 (cosh_tonearest_test_data): New variable.
256 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
257 (cosh_towardzero_test_data): New variable.
258 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
259 (cosh_downward_test_data): New variable.
260 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
261 (cosh_upward_test_data): New variable.
262 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
263 (erf_test_data): New variable.
264 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
265 (erfc_test_data): New variable.
266 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
267 (exp_test_data): New variable.
268 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
269 (exp_tonearest_test_data): New variable.
270 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
271 (exp_towardzero_test_data): New variable.
272 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
273 (exp_downward_test_data): New variable.
274 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
275 (exp_upward_test_data): New variable.
276 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
277 (exp10_test_data): New variable.
278 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
279 (exp2_test_data): New variable.
280 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
281 (expm1_test_data): New variable.
282 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
283 (fabs_test_data): New variable.
284 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
285 (floor_test_data): New variable.
286 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
287 (j0_test_data): New variable.
288 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
289 (j1_test_data): New variable.
290 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
291 (log_test_data): New variable.
292 (log_test): Run tests with RUN_TEST_LOOP_f_f.
293 (log10_test_data): New variable.
294 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
295 (log1p_test_data): New variable.
296 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
297 (log2_test_data): New variable.
298 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
299 (logb_test_data): New variable.
300 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
301 (logb_downward_test_data): New variable.
302 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
303 (nearbyint_test_data): New variable.
304 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
305 (rint_test_data): New variable.
306 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
307 (rint_tonearest_test_data): New variable.
308 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
309 (rint_towardzero_test_data): New variable.
310 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
311 (rint_downward_test_data): New variable.
312 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
313 (rint_upward_test_data): New variable.
314 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
315 (round_test_data): New variable.
316 (round_test): Run tests with RUN_TEST_LOOP_f_f.
317 (sin_test_data): New variable.
318 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
319 (sin_tonearest_test_data): New variable.
320 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
321 (sin_towardzero_test_data): New variable.
322 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
323 (sin_downward_test_data): New variable.
324 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
325 (sin_upward_test_data): New variable.
326 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
327 (sinh_test_data): New variable.
328 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
329 (sinh_tonearest_test_data): New variable.
330 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
331 (sinh_towardzero_test_data): New variable.
332 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
333 (sinh_downward_test_data): New variable.
334 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
335 (sinh_upward_test_data): New variable.
336 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
337 (sqrt_test_data): New variable.
338 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
339 (tan_test_data): New variable.
340 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
341 (tan_tonearest_test_data): New variable.
342 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
343 (tan_towardzero_test_data): New variable.
344 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
345 (tan_downward_test_data): New variable.
346 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
347 (tan_upward_test_data): New variable.
348 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
349 (tanh_test_data): New variable.
350 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
351 (tgamma_test_data): New variable.
352 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
353 (trunc_test_data): New variable.
354 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
355 (y0_test_data): New variable.
356 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
357 (y1_test_data): New variable.
358 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
359 (significand_test_data): New variable.
360 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
362 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
365 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
367 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
369 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
371 2013-05-10 Andreas Jaeger <aj@suse.de>
374 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
375 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
377 2013-05-10 Joseph Myers <joseph@codesourcery.com>
379 * math/gen-libm-test.pl (adjust_arg): New function.
380 (special_functions): Handle generating output in both functions
382 (parse_args): Likewise.
383 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
384 $in_func argument to parse_args.
385 * math/libm-test.inc (struct test_f_f_data): New type.
386 (IF_ROUND_INIT_): New macro.
387 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
388 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
389 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
390 (IF_ROUND_INIT_FE_UPWARD): Likewise.
391 (ROUND_RESTORE_): Likewise.
392 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
393 (ROUND_RESTORE_FE_TONEAREST): Likewise.
394 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
395 (ROUND_RESTORE_FE_UPWARD): Likewise.
396 (RUN_TEST_LOOP_f_f): New macro.
397 (acos_test_data): New variable.
398 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
399 (acos_tonearest_test_data): New variable.
400 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
402 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
404 * benchtests/bench-skeleton.c (startup): Fix coding style.
406 2013-05-10 Joseph Myers <joseph@codesourcery.com>
409 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
410 negative infinity argument.
411 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
412 negative infinity argument.
413 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
414 negative infinity argument.
415 * math/libm-test.inc (tgamma_test): Expect errno to be set for
418 2013-05-10 Florian Weimer <fweimer@redhat.com>
420 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
421 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
422 * iconv/iconv_prog.c (main): Likewise.
423 * locale/programs/charmap-dir.c (charmap_readdir)
424 (fopen_uncompressed): Likewise.
425 * locale/programs/locfile.c (siblings_uncached)
426 (write_locale_data): Use lstat64 instead of lstat.
427 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
430 2013-05-10 Andreas Jaeger <aj@suse.de>
433 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
437 2013-05-09 Carlos O'Donell <carlos@redhat.com>
439 * elf/dl-close.c (_dl_close_worker): Add comments.
441 2013-05-09 Joseph Myers <joseph@codesourcery.com>
444 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
446 (__ieee754_rem_pio2l): Update comments.
449 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
451 (__ieee754_rem_pio2l): Update comments.
453 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
454 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
456 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
459 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
460 (M_PI_34_LOG10El): Likewise.
461 (M_PI2_LOG10El): Likewise.
462 (M_PI4_LOG10El): Likewise.
463 (M_PI_LOG10El): Likewise.
465 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
469 2013-05-08 Joseph Myers <joseph@codesourcery.com>
471 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
472 (MINUS_ZERO_INIT): Likewise.
473 (PLUS_INFTY_INIT): Likewise.
474 (MINUS_INFTY_INIT): Likewise.
475 (QNAN_VALUE_INIT): Likewise.
476 (MAX_VALUE_INIT): Likewise.
477 (MIN_VALUE_INIT): Likewise.
478 (MIN_SUBNORM_VALUE_INIT): Likewise.
479 (plus_zero): Initialize with PLUS_ZERO_INIT.
480 (minus_zero): Initialize with MINUS_ZERO_INIT.
481 (plus_infty): Initialize with PLUS_INFTY_INIT.
482 (minus_infty): Initialize with MINUS_INFTY_INIT.
483 (qnan_value): Initialize with QNAN_VALUE_INIT.
484 (max_value): Initialize with MAX_VALUE_INIT.
485 (min_value): Initialize with MIN_VALUE_INIT.
486 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
488 * math/libm-test.inc (RUN_TEST_if_f): New macro.
489 (jn_test): Use TEST_if_f instead of TEST_ff_f.
490 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
491 (yn_test): Use TEST_if_f instead of TEST_ff_f.
493 * math/libm-test.inc (RUN_TEST_f_f): New macro.
494 (RUN_TEST_2_f): Likewise.
495 (RUN_TEST_ff_f): Likewise.
496 (RUN_TEST_fi_f): Likewise.
497 (RUN_TEST_fl_f): Likewise.
498 (RUN_TEST_fff_f): Likewise.
499 (RUN_TEST_c_f): Likewise.
500 (RUN_TEST_f_f1): Likewise.
501 (RUN_TEST_fF_f1): Likewise.
502 (RUN_TEST_fI_f1): Likewise.
503 (RUN_TEST_ffI_f1): Likewise.
504 (RUN_TEST_c_c): Likewise.
505 (RUN_TEST_cc_c): Likewise.
506 (RUN_TEST_f_i): Likewise.
507 (RUN_TEST_f_i_tg): Likewise.
508 (RUN_TEST_ff_i_tg): Likewise.
509 (RUN_TEST_f_b): Likewise.
510 (RUN_TEST_f_b_tg): Likewise.
511 (RUN_TEST_f_l): Likewise.
512 (RUN_TEST_f_L): Likewise.
513 (RUN_TEST_sincos): Likewise.
514 * math/gen-libm-test.pl (new_test): Take new argument to indicate
515 whether to show exceptions. Do not include ");\n" in return
517 (special_functions): Output call to RUN_TEST_sincos instead of
518 check_float calls. Update calls to new_test.
519 (parse_args): Output call to single RUN_TEST_* macro instead of
520 check_* calls and other assignments. Update calls to new_test.
526 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
527 input to result for tgamma overflow.
528 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
529 (gamma_coeff): New variable.
531 (gamma_positive): New function.
532 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
533 underflow here. Use gamma_positive instead of exp (lgamma) for
535 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
536 (gamma_coeff): New variable.
538 (gammaf_positive): New function.
539 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
540 underflow here. Use gamma_positive instead of exp (lgamma) for
542 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
543 (gamma_coeff): New variable.
545 (gammal_positive): New function.
546 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
547 underflow here. Use gamma_positive instead of exp (lgamma) for
549 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
550 (gamma_coeff): New variable.
552 (gammal_positive): New function.
553 (__ieee754_gammal_r): Handle positive infinity, overflow and
554 underflow here. Handle NaN the same as positive infinity. Remove
555 check x < 0xffffffff for negative integers. Use gamma_positive
556 instead of exp (lgamma) for other arguments.
557 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
558 (gamma_coeff): New variable.
560 (gammal_positive): New function.
561 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
562 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
563 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
564 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
565 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
566 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
567 * sysdeps/generic/math_private.h (__gamma_productf): New
569 (__gamma_product): Likewise.
570 (__gamma_productl): Likewise.
571 * math/Makefile (libm-calls): Add gamma_product.
572 * math/libm-test.inc (tgamma_test): Add more tests.
573 * sysdeps/i386/fpu/libm-test-ulps: Update.
574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
576 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
578 * benchtests/bench-skeleton.c (main): Preheat CPU.
580 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
582 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
584 2013-05-07 Roland McGrath <roland@hack.frob.com>
586 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
587 and _dl_skip_args_internal.
589 2013-05-07 Carlos O'Donell <carlos@redhat.com>
591 * manual/message.texi (Message Translation): Talk about users.
592 Message to key mapping impacts design.
594 2013-05-06 Roland McGrath <roland@hack.frob.com>
596 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
598 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
600 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
601 * sysdeps/wordsize-64/glob64.c: ... here.
603 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
604 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
607 * debug/getlogin_r_chk.c: Moved to ...
608 * login/getlogin_r_chk.c: ... here.
609 * debug/Makefile (routines): Move getlogin_r_chk to ...
610 * login/Makefile (routines): ... here.
611 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
612 * login/Versions (libc: GLIBC_2.4): ... here.
614 * io/poll.c (__poll): Renamed from poll.
616 (poll): Define as weak alias.
618 * debug/ptsname_r_chk.c: Moved to ...
619 * login/ptsname_r_chk.c: ... here.
620 * debug/Makefile (routines): Move ptsname_r_chk to ...
621 * login/Makefile (routines): ... here.
622 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
623 * login/Versions (libc: GLIBC_2.4): ... here.
625 * posix/getlogin.c: Moved to ...
626 * login/getlogin.c: ... here.
627 * posix/getlogin_r.c: Moved to ...
628 * login/getlogin_r.c: ... here.
629 * posix/getlogin_r.c: Moved to ...
630 * login/getlogin_r.c: ... here.
631 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
632 * login/Makefile (routines): ... here.
633 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
634 * login/Versions (libc: GLIBC_2.0): ... here.
636 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
637 (setrlimit): Define as weak alias.
639 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
640 Call __ names for open, ftruncate, and close.
641 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
642 (truncate): Define as weak alias.
644 2013-05-06 Joseph Myers <joseph@codesourcery.com>
646 * math/gen-libm-test.pl (parse_args): Initialize x before each
647 test of frexp, modf and remquo.
649 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
652 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
656 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
658 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
660 2013-05-06 Roland McGrath <roland@hack.frob.com>
662 * elf/dl-writev.h: New file.
663 * elf/dl-misc.c: Include it.
664 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
665 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
667 2013-05-04 Joseph Myers <joseph@codesourcery.com>
669 * math/libm-test.inc (noXFails): Remove variable.
670 (noXPasses): Likewise.
671 (BUILD_COMPLEX_INT): Remove macro.
672 (print_screen): Remove xfail argument.
673 (print_screen_max_error): Likewise.
674 (update_stats): Likewise.
675 (print_max_error): Likewise. Update calls to other affected
677 (print_complex_max_error): Likewise.
678 (test_single_exception): Update calls to print_screen.
679 (test_single_errno): Likewise.
680 (check_float_internal): Remove xfail argument. Update calls to
681 other affected functions.
682 (check_float): Likewise.
683 (check_complex): Likewise.
684 (check_int): Likewise.
685 (check_long): Likewise.
686 (check_bool): Likewise.
687 (check_longlong): Likewise.
688 (main): Don't print noXFails and noXPasses.
689 * math/gen-libm-test.pl (top level): Don't mention expected
690 failure handling in comment.
691 (new_test): Don't handle expected failures.
692 (parse_args): Don't mention expected failure handling in comment.
693 (generate_testfile): Don't handle expected failures.
694 (parse_ulps): Likewise.
695 (print_ulps_file): Likewise.
696 (get_failure): Remove function.
697 (output_test): Don't handle expected failures.
698 * make/README.libm-test: Don't mention expected failure handling.
700 * math/libm-test.inc (plus_zero): Make const. Add initializer.
701 (minus_zero): Likewise.
702 (plus_infty): Likewise.
703 (minus_infty): Likewise.
704 (qnan_value): Likewise.
705 (max_value): Likewise.
706 (min_value): Likewise.
707 (min_subnorm_value): Likewise.
708 (initialize): Do not initialize those variables dynamically.
710 2013-05-03 Roland McGrath <roland@hack.frob.com>
712 * io/open.c (__open_2): Moved to ...
713 * io/open_2.c: ... this new file.
714 * io/open64.c (__open64_2): Moved to ...
715 * io/open64_2.c: ... this new file.
716 * io/openat.c (__openat_2): Moved to ...
717 * io/openat_2.c: ... this new file.
718 * io/openat64.c (__openat64_2): Moved to ...
719 * io/openat64_2.c: ... this new file.
720 * io/Makefile (routines): Add them.
721 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
722 * sysdeps/unix/sysv/linux/open_2.c: File removed.
723 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
724 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
725 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
726 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
727 (__openat64): Add hidden_ver.
728 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
729 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
731 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
732 Separately conditionalize setting of GLRO(dl_sysinfo) so
733 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
734 as well, but the actual setting is only under [NEED_DL_SYSINFO].
736 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
738 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
739 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
741 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
742 * sysdeps/unix/sysv/linux/powerpc/init-first.c
743 (_libc_vdso_platform_setup): Add __vdso_time initialization.
744 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
745 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
747 2013-05-03 Joseph Myers <joseph@codesourcery.com>
749 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
752 * math/libm-test.inc (hypot_test): Do not use
753 IGNORE_ZERO_INF_SIGN.
755 2013-05-03 Andreas Jaeger <aj@suse.de>
757 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
759 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
760 (PF_MAX): Adjust for VSOCK change.
762 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
766 2013-05-02 Carlos O'Donell <carlos@redhat.com>
769 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
770 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
771 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
773 2013-05-02 David S. Miller <davem@davemloft.net>
775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
777 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
779 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
781 2013-05-01 Roland McGrath <roland@hack.frob.com>
783 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
785 2013-05-01 Richard Smith <richard@metafoo.co.uk>
788 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
789 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
790 Use __attribute__ ((__gnu_inline__)).
791 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
792 Don't use __attribute__ ((__gnu_inline__)).
794 2013-05-01 Joseph Myers <joseph@codesourcery.com>
797 * math/s_catan.c (__catan): Handle small real or imaginary part of
798 input specially to avoid spurious underflow.
799 * math/s_catanf.c (__catanf): Likewise.
800 * math/s_catanh.c (__catanh): Likewise.
801 * math/s_catanhf.c (__catanhf): Likewise.
802 * math/s_catanhl.c (__catanhl): Likewise.
803 * math/s_catanl.c (__catanl): Likewise.
804 * math/libm-test.inc (catan_test): Add more tests.
805 (catanh_test): Likewise.
806 * sysdeps/i386/fpu/libm-test-ulps: Update.
807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
809 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
813 2013-04-30 Joseph Myers <joseph@codesourcery.com>
816 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
817 accurately for denominator in atan2.
818 * math/s_catanf.c (__catanf): Likewise.
819 * math/s_catanh.c (__catanh): Likewise.
820 * math/s_catanhf.c (__catanhf): Likewise.
821 * math/s_catanhl.c (__catanhl): Likewise.
822 * math/s_catanl.c (__catanl): Likewise.
823 * math/libm-test.inc (catan_test): Add more tests.
824 (catanh_test): Likewise.
825 * sysdeps/i386/fpu/libm-test-ulps: Update.
826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
828 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
830 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
832 * benchtests/Makefile (bench): Remove slow benchmarks.
833 * benchtests/atan-inputs: Add slow benchmark inputs.
834 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
835 (BENCH_FUNC): Accept variant offset.
837 * benchtests/bench-skeleton.c (main): Run benchmark for each
839 * benchtests/cos-inputs: Add slow benchmark inputs.
840 * benchtests/exp-inputs: Likewise.
841 * benchtests/pow-inputs: Likewise.
842 * benchtests/sin-inputs: Likewise.
843 * benchtests/slowatan-inputs: Remove.
844 * benchtests/slowatan.c: Remove.
845 * benchtests/slowcos-inputs: Remove.
846 * benchtests/slowcos.c: Remove.
847 * benchtests/slowexp-inputs: Remove.
848 * benchtests/slowexp.c: Remove.
849 * benchtests/slowpow-inputs: Remove.
850 * benchtests/slowpow.c: Remove.
851 * benchtests/slowsin-inputs: Remove.
852 * benchtests/slowsin.c: Remove.
853 * benchtests/slowtan-inputs: Remove.
854 * benchtests/slowtan.c: Remove.
855 * benchtests/tan-inputs: Add slow benchmark inputs.
856 * scripts/bench.pl: Parse comments and directives.
858 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
860 ($(objpfx)bench-%.c): Remove *-ITER.
861 * benchtests/bench-modf.c: Remove definition of ITER.
862 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
863 (main): Loop for DURATION seconds instead of fixed number of
865 * scripts/bench.pl: Don't expect iterations in parameters.
867 2013-04-29 Roland McGrath <roland@hack.frob.com>
869 * io/fchdir.c (__fchdir): Renamed from fchdir.
870 (fchdir): Define as weak alias.
872 2013-04-29 Joseph Myers <joseph@codesourcery.com>
874 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
875 (ERRNO_EDOM): Likewise.
876 (ERRNO_ERANGE): Likewise.
877 (noErrnoTests): New variable.
878 (init_max_error): Set errno to 0.
879 (test_single_errno): New function.
880 (test_errno): Likewise.
881 (check_float_internal): Call test_errno. Set errno to 0.
882 (check_complex): Refer to errno tests in comment.
883 (check_int): Call test_errno. Set errno to 0.
884 (check_long): Likewise.
885 (check_bool): Likewise.
886 (check_longlong): Likewise.
887 (cos_test): Use ERRNO_* flags for errno tests instead of
889 (expm1_test): Likewise.
890 (fmod_test): Likewise.
891 (ilogb_test): Likewise.
892 (lgamma_test): Likewise.
893 (pow_test): Likewise.
894 (remainder_test): Likewise.
895 (sin_test): Likewise.
896 (tan_test): Likewise.
898 (initialize): Set errno to 0.
899 (main): Print number of errno tests.
900 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
902 2013-04-29 Andreas Jaeger <aj@suse.de>
905 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
909 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
910 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
914 * stdlib/random.c (__initstate): Return NULL if
918 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
919 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
922 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
926 2013-04-29 Joseph Myers <joseph@codesourcery.com>
928 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
930 (casin_test): Likewise.
931 (casinh_test): Likewise.
933 2013-04-27 Joseph Myers <joseph@codesourcery.com>
936 * math/s_catan.c (__catan): Handle arguments with large real or
937 imaginary part separately without squaring.
938 * math/s_catanf.c (__catanf): Likewise.
939 * math/s_catanh.c (__catanh): Likewise.
940 * math/s_catanhf.c (__catanhf): Likewise.
941 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
943 (__catanhl): Handle arguments with large real or imaginary part
944 separately without squaring.
945 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
947 (__catanl): Handle arguments with large real or imaginary part
948 separately without squaring.
949 * math/libm-test.inc (catan_test): Add more tests.
950 (catanh_test): Likewise.
951 * sysdeps/i386/fpu/libm-test-ulps: Update.
952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
954 2013-04-27 Andreas Jaeger <aj@suse.de>
957 * stdlib/stdlib.h: Update guards for qecvt.
958 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
961 2013-04-27 Allan McRae <allan@archlinux.org>
963 * sysdeps/i386/fpu/libm-test-ulps: Update.
965 2013-04-26 Joseph Myers <joseph@codesourcery.com>
968 * math/s_catan.c: Include <float.h>.
969 (__catan): Ensure underflow exception occurs for underflowed
971 * math/s_catanf.c: Include <float.h>.
972 (__catanf): Ensure underflow exception occurs for underflowed
974 * math/s_catanh.c: Include <float.h>.
975 (__catanh): Ensure underflow exception occurs for underflowed
977 * math/s_catanhf.c: Include <float.h>.
978 (__catanhf): Ensure underflow exception occurs for underflowed
980 * math/s_catanhl.c: Include <float.h>.
981 (__catanhl): Ensure underflow exception occurs for underflowed
983 * math/s_catanl.c: Include <float.h>.
984 (__catanl): Ensure underflow exception occurs for underflowed
986 * math/libm-test.inc (catan_test): Add more tests.
987 (catanh_test): Likewise.
990 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
992 * math/s_ccoshf.c (__ccoshf): Likewise.
993 * math/s_ccoshl.c (__ccoshl): Likewise.
994 * math/s_csin.c (__csin): Likewise.
995 * math/s_csinf.c (__csinf): Likewise.
996 * math/s_csinh.c (__csinh): Likewise.
997 * math/s_csinhf.c (__csinhf): Likewise.
998 * math/s_csinhl.c (__csinhl): Likewise.
999 * math/s_csinl.c (__csinl): Likewise.
1000 * math/libm-test.inc (ccos_test): Add more tests.
1001 (ccosh_test): Likewise.
1002 (csin_test): Likewise.
1003 (csinh_test): Likewise.
1005 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1007 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
1008 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
1009 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1010 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1011 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1012 powerpc/power5+/fpu folders.
1013 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1016 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1020 2013-04-25 Joseph Myers <joseph@codesourcery.com>
1022 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1023 additions to variable.
1024 [$(config-machine) = x86_64] (modules-names): Likewise.
1025 ($(objpfx)tst-audit3): Remove dependency.
1026 ($(objpfx)tst-audit3.out): Likewise.
1027 ($(objpfx)tst-audit4): Likewise.
1028 ($(objpfx)tst-audit4.out): Likewise.
1029 ($(objpfx)tst-audit5): Likewise.
1030 ($(objpfx)tst-audit5.out): Likewise.
1031 ($(objpfx)tst-audit6): Likewise.
1032 ($(objpfx)tst-audit6.out): Likewise.
1033 ($(objpfx)tst-audit7): Likewise.
1034 ($(objpfx)tst-audit7.out): Likewise.
1035 (tst-audit3-ENV): Remove variable.
1036 (tst-audit4-ENV): Likewise.
1037 (tst-audit5-ENV): Likewise.
1038 (tst-audit6-ENV): Likewise.
1039 (tst-audit7-ENV): Likewise.
1040 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1041 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1042 addition to variable.
1043 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1044 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1045 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1046 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1047 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1048 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1049 tst-audit3, tst-audit4 and tst-audit5.
1050 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1051 tst-audit6 and tst-audit7.
1052 [$(subdir) = elf] (modules-names): Add audit modules for those
1054 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1055 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1056 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1057 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1058 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1059 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1060 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1061 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1062 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1063 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1064 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1065 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1066 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1067 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1068 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1069 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1071 [$(subdir) = elf && $(config-cflags-avx) = yes]
1072 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1073 [$(subdir) = elf && $(config-cflags-avx) = yes]
1074 (CFLAGS-tst-auditmod4a.c): Likewise.
1075 [$(subdir) = elf && $(config-cflags-avx) = yes]
1076 (CFLAGS-tst-auditmod4b.c): Likewise.
1077 [$(subdir) = elf && $(config-cflags-avx) = yes]
1078 (CFLAGS-tst-auditmod6b.c): Likewise.
1079 [$(subdir) = elf && $(config-cflags-avx) = yes]
1080 (CFLAGS-tst-auditmod6c.c): Likewise.
1081 [$(subdir) = elf && $(config-cflags-avx) = yes]
1082 (CFLAGS-tst-auditmod7b.c): Likewise.
1083 * elf/tst-audit3.c: Move to ...
1084 * sysdeps/x86_64/tst-audit3.c: ... here.
1085 * elf/tst-audit4.c: Move to ...
1086 * sysdeps/x86_64/tst-audit4.c: ... here.
1087 * elf/tst-audit5.c: Move to ...
1088 * sysdeps/x86_64/tst-audit5.c: ... here.
1089 * elf/tst-audit6.c: Move to ...
1090 * sysdeps/x86_64/tst-audit6.c: ... here.
1091 * elf/tst-audit7.c: Move to ...
1092 * sysdeps/x86_64/tst-audit7.c: ... here.
1093 * elf/tst-auditmod3a.c: Move to ...
1094 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1095 * elf/tst-auditmod3b.c: Move to ...
1096 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1097 * elf/tst-auditmod4a.c: Move to ...
1098 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1099 * elf/tst-auditmod4b.c: Move to ...
1100 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1101 * elf/tst-auditmod5a.c: Move to ...
1102 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1103 * elf/tst-auditmod5b.c: Move to ...
1104 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1105 * elf/tst-auditmod6a.c: Move to ...
1106 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1107 * elf/tst-auditmod6b.c: Move to ...
1108 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1109 * elf/tst-auditmod6c.c: Move to ...
1110 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1111 * elf/tst-auditmod7a.c: Move to ...
1112 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1113 * elf/tst-auditmod7b.c: Move to ...
1114 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1116 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1119 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1120 define unconditionally.
1121 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1122 define unconditionally.
1123 (INT8_C, INT16_C, etc.): Likewise.
1125 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1127 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1128 __ehdr_start with hidden visibility.
1130 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1132 2013-04-24 Carlos O'Donell <carlos@redhat.com>
1134 * math/libm-test.inc (cos_test): Use accurate hex constants.
1135 (sincost_test): Likewise.
1137 2013-04-24 Joseph Myers <joseph@codesourcery.com>
1139 * math/libm-test.inc (catan_test): Add more tests.
1140 (catanh_test): Likewise.
1142 * math/s_catanf.c (__catanf): Use suffixed floating-point
1144 * math/s_catanhf.c (__catanhf): Likewise.
1145 * math/s_catanhl.c (__catanhl): Likewise.
1146 * math/s_catanl.c (__catanl): Likewise.
1149 * math/s_catan.c (__catan): Calculate imaginary part of result
1150 with log1p not log unless computing log of number close to 0.
1151 * math/s_catanf.c (__catanf): Likewise.
1152 * math/s_catanl.c (__catanl): Likewise.
1153 * math/s_catanh.c (__catanh): Calculate real part of result with
1154 log1p not log unless computing log of number close to 0.
1155 * math/s_catanhf.c (__catanhf): Likewise.
1156 * math/s_catanhl.c (__catanhl): Likewise.
1157 * math/libm-test.inc (catan_test): Add more tests.
1158 (catanh_test): Likewise.
1159 * sysdeps/i386/fpu/libm-test-ulps: Update.
1160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1162 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1164 * benchtests/Makefile: Mention files in which fast and slow
1165 paths of math functions are implemented.
1167 2013-04-23 Roland McGrath <roland@hack.frob.com>
1169 * sysdeps/posix/timespec_get.c: New file.
1171 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1173 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1175 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1177 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1178 powerpc/power5/fpu folders.
1179 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1180 * benchtests/Makefile: Add modf testcase.
1181 * benchtests/bench-modf.c: New file: Benchmark test for mo
1183 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1186 * time/Makefile (tests): Add tst-strptime-whitespace.
1187 * time/strptime_l.c (get_number): Use ISSPACE.
1188 (__strptime_internal): Likewise.
1189 * time/tst-strptime-whitespace.c: New test case.
1191 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
1193 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1195 (_nss_files_init): Set it here.
1197 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
1199 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1200 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1203 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
1205 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1207 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1209 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1212 2013-04-21 David S. Miller <davem@davemloft.net>
1214 * po/ru.po: Update Russion translation from translation project.
1216 2013-04-17 Adam Conrad <adconrad@0c3.net>
1218 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1221 2013-04-17 Carlos O'Donell <carlos@redhat.com>
1223 * configure.in: Remove i386 configure warning. Remove i386 case.
1224 * configure: Regenerate.
1225 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
1226 Add example to error message.
1227 * sysdeps/i386/configure: Regenerate.
1229 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1231 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1233 * benchtests/cos-inputs: New file.
1234 * benchtests/slowcos-inputs: New file.
1235 * benchtests/slowcos.c: New file.
1236 * benchtests/slowtan-inputs: New file.
1237 * benchtests/slowtan.c: New file.
1238 * benchtests/tan-inputs: New file.
1240 2013-04-16 Roland McGrath <roland@hack.frob.com>
1242 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1245 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1247 * benchtests/Makefile: Include cppflags-iterator.mk to add
1248 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1250 * Makefile.in (bench-clean): New target.
1251 * benchtests/Makefile (bench-clean): Likewise.
1253 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1255 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1257 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1259 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1261 2013-04-15 Andreas Schwab <schwab@suse.de>
1263 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1264 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1265 * nscd/pwdcache.c (cache_addpw): Likewise.
1266 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1269 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1271 * benchtests/Makefile (bench): Write all output to
1272 bench-out.tmp together.
1274 2013-04-15 Andreas Schwab <schwab@suse.de>
1276 * nscd/nscd.c (main): Don't fork again after closing files.
1278 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1280 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1282 * benchtests/Rules (bench-deps): Collect dependencies into a
1283 single variable. Add Makefile to dependencies.
1284 ($(objpfx)bench-%.c): Depend on bench-deps.
1286 2013-04-12 Roland McGrath <roland@hack.frob.com>
1287 Xavier Roche <roche+kml2@exalead.com>
1290 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1291 just that it's a file descriptor.
1292 * manual/llio.texi (Synchronizing AIO Operations): Update description
1293 for EBADF error from aio_fsync.
1295 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1297 * Rules (bench): Move target definition...
1298 * benchtests/Makefile: ... here.
1300 2013-04-11 Carlos O'Donell <carlos@redhat.com>
1302 * math/libm-test.inc (cos_test): Fix PI/2 test.
1303 (sincos_test): Likewise.
1304 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1305 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1307 2013-04-11 Andreas Schwab <schwab@suse.de>
1310 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1311 accept exponent character only when digits were seen.
1312 * stdio-common/Makefile (tests): Add bug26.
1313 * stdio-common/bug26.c: New file.
1316 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1319 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1321 * Makeconfig (rtld-prefix): Define built linker prefix.
1322 * Rules (run-bench): Use it.
1323 * math/Makefile (run-regen-ulps): Likewise.
1325 * Rules (bench): Remove eval.
1327 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1328 Roland McGrath <roland@hack.frob.com>
1329 Ondrej Bilka <neleai@seznam.cz>
1332 * time/getdate.c: Include ctype.h and alloca.h.
1333 (__getdate_r): Trim leading and trailing spaces of input.
1334 * time/tst-getdate.c (tests): Add tests with leading and
1337 2013-04-08 Roland McGrath <roland@hack.frob.com>
1340 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1341 when computing value.
1343 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1345 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1346 Use testrun.sh to run libm tests.
1349 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1351 2013-04-06 Marko Myllynen <myllynen@redhat.com>
1354 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1356 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1358 * Makefile.in (regen-ulps): New target.
1359 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1360 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1361 [ifneq (no,$(PERL)] (regen-ulps): New target.
1362 [ifeq (no,$(PERL)] (regen-ulps): New target.
1363 * math/libm-test.inc (ulps_file_name): Define.
1364 (output_dir): New variable.
1365 (options): Add "output-dir" option.
1366 (parse_opt): Handle 'o' case.
1367 (main): If output_dir is non-NULL use it as a prefix
1369 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1371 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1374 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1375 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1376 fail configure if __sync_val_compare_and_swap is not inlined.
1377 * sysdeps/i386/configure: Regenerate.
1378 * configure.in: Build for i686 when configured for i386.
1379 * configure: Regenerate.
1380 * README: Remove i386 reference.
1382 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1384 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1385 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1387 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1389 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1390 (lmsnanval): New variables.
1391 (F): Add conversion tests.
1392 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1393 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1395 * stdio-common/tstdiomisc.c (F): Properly collect individual
1399 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1400 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1401 Instead, use input NaN values or generate a qNaN by arithmetic
1402 operation. Also fix bugs to comply with the standard.
1403 * math/libm-test.inc (remainder_test): Add more tests.
1406 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1407 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1408 input NaN values or generate a qNaN by arithmetic operation.
1410 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1413 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1416 2013-04-03 Joseph Myers <joseph@codesourcery.com>
1419 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1421 * math/s_cexpf.c (__cexpf): Likewise.
1422 * math/s_cexpl.c (__cexpl): Likewise.
1423 * math/libm-test.inc (cexp_test): Add more tests.
1425 2013-04-03 Andreas Schwab <schwab@suse.de>
1428 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1429 order arrays from heap if bigger than alloca cutoff.
1431 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1433 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1434 (SNAN_TESTS_double): Refer to GCC PR56831.
1435 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1438 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1440 * Rules (bench): Move bench.out after the run is complete.
1442 * Rules (bench): Echo currently running benchmark.
1444 * benchtests/Makefile (bench): Add atan and slowatan.
1445 * benchtests/atan-inputs: New file.
1446 * benchtests/slowatan-inputs: New file.
1447 * benchtests/slowatan.c: New file.
1449 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1450 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1454 * sysdeps/unix/sysv/linux/kernel-features.h
1455 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1456 __ASSUME_XFS_RESTRICTED_CHOWN.
1457 * sysdeps/unix/sysv/linux/pathconf.c
1458 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1459 Save and restore errno.
1461 2013-04-02 Joseph Myers <joseph@codesourcery.com>
1464 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1465 arguments using __kernel_casinh.
1466 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1467 arguments using __kernel_casinhf.
1468 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1469 arguments using __kernel_casinhl.
1470 * math/libm-test.inc (cacosh_test): Add more tests.
1471 * sysdeps/i386/fpu/libm-test-ulps: Update.
1472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1474 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1476 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1477 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1479 * bench/Makefile (bench): Add sin and slowsin.
1480 * benchtests/sin-inputs: New file.
1481 * benchtests/slowsin-inputs: New file.
1482 * benchtests/slowsin.c: New file.
1484 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1485 (bench): Add slowexp and slowpow.
1486 (exp-ITER): Increase iterations.
1487 (pow-ITER): Likewise.
1488 * benchtests/exp-inputs: Change input.
1489 * benchtests/pow-inputs: Likewise.
1490 * benchtests/slowexp-inputs: New file.
1491 * benchtests/slowexp.c: New file.
1492 * benchtests/slowpow-inputs: New file.
1493 * benchtests/slowpow.c: New file.
1495 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1497 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1499 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1500 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1501 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1502 * benchtests/Makefile: Add rint benchtest.
1503 * benchtests/rint-inputs: Input for rint benchtest.
1505 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1507 * Versions.def (libm): Add GLIBC_2.18.
1508 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1509 hidden libm prototypes.
1510 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1511 * math/Makefile (libm-calls): Add s_issignaling.
1512 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1513 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1514 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1516 * math/math.h [__USE_GNU] (issignaling): New macro.
1517 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1518 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1519 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1520 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1521 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1522 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1523 * manual/arith.texi (issignaling): New section.
1524 * manual/libm-err-tab.pl (@all_functions): Update comment.
1525 * math/gen-libm-test.pl (parse_args): Apply special handling for
1527 * math/libm-test.inc (print_float, issignaling_test): New
1529 (check_float_internal): Add issignaling checks.
1530 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1532 * sysdeps/powerpc/math-tests.h: New file.
1533 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1535 * math/test-snan.c (TEST_FUNC): Likewise.
1537 2013-03-30 David S. Miller <davem@davemloft.net>
1539 * po/de.po: Update from translation team.
1541 2013-03-30 Joseph Myers <joseph@codesourcery.com>
1544 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1545 imaginary part less than 1.0 and real part less than 0.5
1547 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1548 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1549 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1550 (cacos_test): Add more tests.
1551 (casin_test): Likewise.
1552 (casinh_test): Likewise.
1553 * sysdeps/i386/fpu/libm-test-ulps: Update.
1554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1556 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1558 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1561 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1562 (__pow_mp): Replace ONE and MONE with their values.
1563 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1564 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1565 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1566 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1567 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1568 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1570 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1572 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1573 (__pow_mp): Replace ZERO and MZERO with their values.
1574 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1575 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1576 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1577 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1578 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1579 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1582 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1584 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1586 2013-03-28 Roland McGrath <roland@hack.frob.com>
1588 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1589 Declare with __attribute__ ((weak)).
1590 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1591 Call __call_tls_dtors only if it's not NULL.
1593 2013-03-28 Roland McGrath <roland@hack.frob.com>
1595 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1596 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1597 magic __ehdr_start linker symbol if it's defined.
1598 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1599 them up here if it was already done.
1601 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1602 (_dl_aux_init): Use const in cast when setting it.
1603 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1604 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1605 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1607 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1609 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1610 * csu/libc-tls.c: Nor here.
1611 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1613 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1614 (__libc_message): Never call vsyslog.
1616 2013-03-28 Alan Modra <amodra@gmail.com>
1618 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1620 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1623 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1626 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1630 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1633 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1634 Don't add gid passed as argument.
1636 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1638 2013-03-27 Joseph Myers <joseph@codesourcery.com>
1641 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1642 imaginary part between 1.0 and 1.5 and real part less than 0.5
1644 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1645 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1646 * math/libm-test.inc (cacos_test): Add more tests.
1647 (casin_test): Likewise.
1648 (casinh_test): Likewise.
1649 * sysdeps/i386/fpu/libm-test-ulps: Update.
1650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1652 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1654 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1658 (__dbl_mp): Likewise.
1659 (add_magnitudes): Likewise.
1660 (sub_magnitudes): Likewise.
1668 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1670 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1671 (__dubcos): Likewise.
1672 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1673 (__ieee754_acos): Likewise.
1674 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1675 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1677 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1678 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1680 (my_log2): Likewise.
1681 (checkint): Likewise.
1682 * sysdeps/ieee754/dbl-64/e_remainder.c
1683 (__ieee754_remainder): Likewise.
1684 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1685 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1687 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1689 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1690 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1691 MANTISSA_STORE_T to store computations on mantissa. Use
1692 macros for rounding and division.
1694 (__dbl_mp): Likewise.
1695 (add_magnitudes): Likewise.
1696 (sub_magnitudes): Likewise.
1699 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1700 powers of two in terms of TWOPOW macro.
1701 (mp_no): Make type of mantissa as MANTISSA_T.
1702 [!RADIXI]: Define RADIXI.
1703 [!TWO52]: Define TWO52.
1704 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1706 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1708 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1709 llroundl symbol when building for PPC32.
1711 2013-03-24 Mark H Weaver <mhw@netris.org>
1713 * manual/arith.texi (Normalization Functions): Fix prototypes for
1714 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1716 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1719 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1720 high value to check if expl overflow.
1721 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1722 to check for underflow and overflow.
1723 * math/libm-test.inc: Add exp test.
1725 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1728 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1731 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1733 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1736 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1738 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1739 wrap blocks consisting of several statements.
1741 * sysdeps/generic/math-tests.h: New file.
1742 * sysdeps/i386/fpu/math-tests.h: Likewise.
1743 * math/test-snan.c: Include it.
1744 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1746 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1749 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1750 (__ieee754_j0l): Do not improve calculations using cos of twice
1751 input for inputs above LDBL_MAX / 2.0L.
1752 (__ieee754_y0l): Likewise.
1753 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1754 (__ieee754_j1l): Do not improve calculations using cos of twice
1755 input for inputs above LDBL_MAX / 2.0L.
1756 (__ieee754_y1l): Likewise.
1757 * math/libm-test.inc (j0_test): Add another test.
1758 (j1_test): Likewise.
1759 (y0_test): Likewise.
1760 (y1_test): Likewise.
1761 * sysdeps/i386/fpu/libm-test-ulps: Update.
1763 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1765 * Rules ($(objpfx)bench-%.c): Include code from a C source
1768 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1771 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1772 imaginary part 1.0 and real part less than 0.5 specially.
1773 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1774 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1775 * math/libm-test.inc (cacos_test): Add more tests.
1776 (casin_test): Likewise.
1777 (casinh_test): Likewise.
1778 * sysdeps/i386/fpu/libm-test-ulps: Update.
1779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1781 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1783 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1784 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1786 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1788 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1789 * config.make.in (config-cflags-sse4): Remove variable.
1790 (config-cflags-avx): Likewise.
1791 (config-cflags-sse2avx): Likewise.
1792 (config-cflags-novzeroupper): Likewise.
1793 (config-asflags-i686): Likewise.
1794 (have-mfma4): Likewise.
1795 (have-as-vis3): Likewise.
1797 * configure.in (MIG): Do not AC_SUBST.
1798 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1799 (libc_cv_cc_sse4): Do not AC_SUBST.
1800 (libc_cv_cc_avx): Likewise.
1801 (libc_cv_cc_sse2avx): Likewise.
1802 (libc_cv_cc_novzeroupper): Likewise.
1803 (libc_cv_cc_fma4): Likewise.
1804 (libc_cv_as_i686): Likewise.
1805 (libc_cv_sparc_as_vis3): Likewise.
1806 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1808 (config-asflags-i686): Likewise.
1809 (config-cflags-avx): Likewise.
1810 (config-cflags-sse2avx): Likewise.
1811 (have-mfma4): Likewise.
1812 (config-cflags-novzeroupper): Likewise.
1813 * sysdeps/mach/configure.in (MIG): Likewise.
1814 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1815 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1817 (config-cflags-avx): Likewise.
1818 (config-cflags-sse2avx): Likewise.
1819 (have-mfma4): Likewise.
1820 (config-cflags-novzeroupper): Likewise.
1821 * configure: Regenerated.
1822 * sysdeps/i386/configure: Likewise.
1823 * sysdeps/mach/configure: Likewise.
1824 * sysdeps/sparc/configure: Likewise.
1825 * sysdeps/x86_64/configure: Likewise.
1827 2013-03-20 Roland McGrath <roland@hack.frob.com>
1830 * locale/programs/localedef.c (options): Put N_ translation marker
1831 on argument names, not just descriptions.
1833 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1835 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1837 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1840 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1842 2013-03-19 Roland McGrath <roland@hack.frob.com>
1844 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1845 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1846 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1847 [!BEFORE_ABORT] (before_abort): New function.
1848 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1849 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1850 (writev_for_fatal): New function.
1851 (WRITEV_FOR_FATAL): New macro; call that.
1852 (backtrace_and_maps): New function.
1853 (BEFORE_ABORT): New macro; call that.
1854 (struct str_list): Type removed.
1855 (__libc_message, __libc_fatal): Functions removed.
1856 Include <sysdeps/posix/libc_fatal.c> instead.
1858 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1860 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1862 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1865 2013-03-19 Andreas Schwab <schwab@suse.de>
1867 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1868 * sysdeps/gnu/configure: Regenerate.
1870 * configure.in: Substitute libc_cv_rtlddir.
1871 * configure: Regenerate.
1872 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1873 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1874 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1875 * elf/Makefile (install-others, CFLAGS-interp.c)
1876 (ldso_install, common-ldd-rewrite): Likewise.
1877 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1878 $(inst_slibdir)/$(rtld-installed-name).
1879 * scripts/rellns-sh: Add -p option.
1880 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1883 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1885 * manual/nptl.texi: Renamed to ...
1886 * manual/threads.texi: ... this.
1887 * manual/Makefile (chapters): Update.
1889 2013-03-18 Roland McGrath <roland@hack.frob.com>
1892 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1893 on argument names, not just descriptions.
1894 * malloc/memusagestat.c (options): Likewise.
1895 * nss/getent.c (options): Likewise.
1897 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1900 * iconv/iconv_prog.c (options): Put N_ translation marker
1901 on argument names, not just descriptions.
1902 * iconv/iconvconfig.c (options): Likewise.
1904 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1906 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1907 implementation which is faster on all x86_64 architectures.
1908 Tested on AMD, Intel Nehalem, SNB, IVB.
1909 * sysdeps/x86_64/strnlen.S: Likewise.
1911 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1912 Remove all multiarch strlen and strnlen versions.
1913 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1914 Remove strlen and strnlen related parts.
1916 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1918 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1920 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1921 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1922 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1923 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1924 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1925 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1927 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1929 * manual/memory.texi (Malloc Tunable Parameters):
1930 Sort parameters alphabetically. Add comments for missing entries.
1932 2013-03-17 David S. Miller <davem@davemloft.net>
1934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1936 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1939 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1940 for arguments at most half maximum finite value.
1941 * math/libm-test.inc (j0_test): Add more tests.
1942 (j1_test): Likewise.
1943 (y0_test): Likewise.
1944 (y1_test): Likewise.
1945 * sysdeps/i386/fpu/libm-test-ulps: Update.
1946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1949 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1950 1 / x and functions P and Q for arguments above 0x1p256L.
1951 (__ieee754_y0l): Likewise.
1952 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1953 (__ieee754_y1l): Likewise.
1954 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1955 (j1_test): Likewise.
1956 (y0_test): Likewise.
1957 (y1_test): Likewise.
1959 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1961 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1964 2013-03-15 Roland McGrath <roland@hack.frob.com>
1966 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1967 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1968 zero since it's initialized to EXEC_PAGESIZE.
1970 * sysdeps/unix/sysv/linux/ldsodefs.h
1971 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1972 * sysdeps/generic/ldsodefs.h: ... here.
1974 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1976 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1978 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1980 * math/test-snan.c: Renamed from
1981 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1982 * math/Makefile (tests): Add test-snan.
1983 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1986 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1987 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1989 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1990 __builtin_nan family of functions.
1991 * math/libm-test.inc (initialize): Initialize qnan_value with
1992 __builtin_nan family of functions.
1993 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1995 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1997 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1998 storage class. Initialize qNaN_var and sNaN_var with
1999 __builtin_nan and __builtin_nans families of functions,
2002 * math/libm-test.inc (acosh_test): Also test with qNaN input.
2003 (sqrt_test): Remove duplicate test with qNaN input.
2004 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
2005 (round_test, signbit_test, significand_test): Note missing +/-Inf
2006 as well as qNaN tests.
2008 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
2009 qNaN_var. Fix a few strings, too.
2010 * math/libm-test.inc (nan_value): Rename to qnan_value.
2011 * math/gen-libm-test.pl (%beautify): Adjust to that.
2012 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2013 * math/test-misc.c (main): Likewise.
2014 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2015 to __qnan_bytes, and __qnan_union, respectively.
2016 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2018 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2019 and lqnanval, respectively.
2020 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2021 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2022 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2023 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2025 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2026 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2029 * math/test-misc.c (main): Fix copy'n'pastos.
2030 * misc/tst-efgcvt.c (special): Likewise.
2032 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2033 Remove declarations.
2035 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2037 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2038 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2039 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2040 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2042 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2044 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2045 macro to return vdso values correctly in IFUNC implementations.
2046 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2047 Optimization by using IFUNC.
2049 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2050 Richard Henderson <rth@redhat.com>
2051 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2053 * Makefile.in (bench): New target.
2054 * NEWS: Mention the benchmark framework.
2055 * Rules (bench): Likewise.
2056 (binaries-bench): Generate binaries for functions to
2058 * benchtests/Makefile: New makefile for benchmark tests.
2059 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2061 * benchtests/exp-inputs: New input file for EXP function.
2062 * benchtests/pow-inputs: New input file for POW function.
2063 * scripts/bench.pl: New script to generate source files for
2066 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2068 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2069 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2070 computations on mantissa. Use macros for rounding and
2073 (__dbl_mp): Likewise.
2074 (add_magnitudes): Likewise.
2075 (sub_magnitudes): Likewise.
2078 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2079 powers of two in terms of TWOPOW macro.
2080 (mp_no): Make type of mantissa as MANTISSA_T.
2081 [!RADIXI]: Define RADIXI.
2082 [!TWO52]: Define TWO52.
2083 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2085 * manual/nptl.texi (cindex): Modify threads to pthreads.
2087 2013-03-15 Joseph Myers <joseph@codesourcery.com>
2089 * sysdeps/x86_64/preconfigure: Regenerated.
2091 2013-03-14 Joseph Myers <joseph@codesourcery.com>
2094 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2096 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2097 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2099 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2100 * math/libm-test.inc (j0_test): Do not allow one spurious
2101 underflow exception.
2102 (y1_test): Likewise.
2104 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2106 * manual/Makefile (chapters): Add nptl.
2107 * manual/debug.texi (Debugging Support): Add link to Threads
2109 * manual/nptl.texi: New file.
2111 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2113 2013-03-14 Petr Baudis <pasky@ucw.cz>
2115 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2116 for non-NULL pointer before the memory validity test. Pointed
2117 out by Holger Brunck <holger.brunck@keymile.com>.
2119 2013-03-13 Andreas Schwab <schwab@suse.de>
2121 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2124 2013-03-13 Joseph Myers <joseph@codesourcery.com>
2126 * timezone/zic.c: Update from tzcode 2013b.
2128 2013-03-12 Carlos O'Donell <carlos@redhat.com>
2130 * manual/install.texi (Configuring and compiling):
2131 Mention i686 and i586.
2132 * INSTALL: Regenerate.
2134 2013-03-12 Roland McGrath <roland@hack.frob.com>
2136 * sysdeps/init_array/elf-init.c: New file.
2138 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2139 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2141 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2142 __gmon_start__ as global, but as static with a .preinit_array pointer.
2143 * sysdeps/init_array/gmon-start.c: New file. Use that.
2144 * sysdeps/init_array/crti.S: New file, empty except for comments.
2145 * sysdeps/init_array/crtn.S: Likewise.
2147 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
2149 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2151 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2152 Remove Prefer_SSE_for_memop.
2153 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2154 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2155 HAS_PREFER_SSE_FOR_MEMOP.
2156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2158 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2159 Remove bzero, memset ifunc support.
2160 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2161 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2162 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2163 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2165 2013-03-11 Andreas Schwab <schwab@suse.de>
2168 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2171 (GLIBC_2.16): Remove pthread_atfork.
2173 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2175 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2176 (ptestcases.h): Likewise.
2178 2013-03-08 Roland McGrath <roland@hack.frob.com>
2180 * Makeconfig ($(common-objpfx)config.status): Depend on
2181 sysdeps/*/preconfigure{,.in} too.
2183 2013-03-08 Joseph Myers <joseph@codesourcery.com>
2185 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2186 (__free_hook): Use void * instead of __malloc_ptr_t.
2187 (__malloc_hook): Likewise.
2188 (__realloc_hook): Likewise.
2189 (__memalign_hook): Likewise.
2190 (__after_morecore_hook): Likewise.
2191 * malloc/arena.c (save_malloc_hook): Likewise.
2192 (save_free_hook): Likewise.
2193 * malloc/hooks.c (malloc_hook_ini): Likewise.
2194 (realloc_hook_ini): Likewise.
2195 (memalign_hook_ini): Likewise.
2196 * malloc/malloc.c (malloc_hook_ini): Likewise.
2197 (realloc_hook_ini): Likewise.
2198 (memalign_hook_ini): Likewise.
2199 (__free_hook): Likewise.
2200 (__malloc_hook): Likewise.
2201 (__realloc_hook): Likewise.
2202 (__memalign_hook): Likewise.
2203 (__libc_malloc): Likewise.
2204 (__libc_free): Likewise.
2205 (__libc_realloc): Likewise.
2206 (__libc_memalign): Likewise.
2207 (__libc_valloc): Likewise.
2208 (__libc_pvalloc): Likewise.
2209 (__libc_calloc): Likewise.
2210 (__posix_memalign): Likewise.
2211 * malloc/morecore.c (__sbrk): Likewise.
2212 (__default_morecore): Likewise.
2214 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2216 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2217 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2220 * malloc/malloc.h (__malloc_size_t): Remove macro.
2221 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2223 (old_memalign_hook): Likewise.
2224 (old_realloc_hook): Likewise.
2225 (struct hdr): Likewise.
2227 (mallochook): Likewise.
2228 (memalignhook): Likewise.
2229 (reallochook): Likewise.
2230 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2231 (tr_old_realloc_hook): Likewise.
2232 (tr_old_memalign_hook): Likewise.
2233 (tr_mallochook): Likewise.
2234 (tr_reallochook): Likewise.
2235 (tr_memalignhook): Likewise.
2237 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2239 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2240 default_ldbl_pack and using as default implementation.
2241 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2243 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2244 redundant definition.
2245 (ldbl_insert_mantissa): Likewise.
2246 (ldbl_canonicalize): Likewise.
2247 (ldbl_nearbyint): Likewise.
2248 (ldbl_pack): Rename to ldbl_pack_ppc.
2249 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2250 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2251 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2253 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2255 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2256 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2257 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2258 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2260 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2261 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2262 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2264 2013-03-07 Andreas Jaeger <aj@suse.de>
2266 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2269 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2271 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2272 Include mpa.h and declare __MPEXP.
2273 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2274 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2275 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2276 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2277 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2278 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2279 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2281 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2282 (__slowpow): Use long double EXPL and LOGL functions to
2284 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2285 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2286 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2287 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2288 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2289 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2292 intermediate variable to calculate exponent.
2294 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2298 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2299 [!NO__SQR]: Define __sqr.
2300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2301 and NO__SQR. Remove all code except __mul and __sqr. Include
2302 sysdeps/ieee754/dbl-64/mpa.c.
2303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2306 * posix/Makefile (tests): Add tst-pathconf.
2307 * posix/tst-pathconf.c: New test case.
2308 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2310 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2312 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
2314 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2316 2013-03-06 Andreas Jaeger <aj@suse.de>
2318 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2319 definition via __MAP_ANONYMOUS.
2321 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2322 it's not part of Linux headers.
2324 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2325 (MAP_HUGE_MASK): Define.
2327 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2329 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2330 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2332 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2333 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2335 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2336 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2338 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2340 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2341 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2342 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2343 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2344 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2345 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2347 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2350 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2351 Handle f2fs and efivarfs.
2353 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2356 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2357 (EFIVARFS_MAGIC): Add.
2358 (F2FS_LINK_MAX): Add.
2360 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2362 * stdio-common/vfprintf.c: Replace __builtin_expect with
2365 2013-03-06 Joseph Myers <joseph@codesourcery.com>
2368 * sysdeps/generic/bp-sym.h: Remove file.
2369 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2370 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2371 <bp-sym.h> and <bp-asm.h>.
2372 (__longjmp): Don't use BP_SYM.
2373 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2375 (memcpy): Don't use BP_SYM.
2376 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2377 <bp-sym.h> and <bp-asm.h>.
2378 (memcpy): Don't use BP_SYM.
2379 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2381 (memcpy): Don't use BP_SYM.
2382 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2384 (memset): Don't use BP_SYM.
2385 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2386 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2387 (__bzero): Don't use BP_SYM.
2388 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2389 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2390 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2391 <bp-sym.h> and <bp-asm.h>.
2392 (memcmp): Don't use BP_SYM. Remove comment about bounded
2394 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2395 <bp-sym.h> and <bp-asm.h>.
2396 (memcpy): Don't use BP_SYM.
2397 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2398 <bp-sym.h> and <bp-asm.h>.
2399 (memset): Don't use BP_SYM.
2400 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2401 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2402 (__bzero): Don't use BP_SYM.
2403 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2404 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2405 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2406 <bp-sym.h> and <bp-asm.h>.
2407 (strncmp): Don't use BP_SYM. Remove comment about bounded
2409 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2410 <bp-sym.h> and <bp-asm.h>.
2411 (memcpy): Don't use BP_SYM.
2412 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2413 <bp-sym.h> and <bp-asm.h>.
2414 (memset): Don't use BP_SYM.
2415 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2416 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2417 (__bzero): Don't use BP_SYM.
2418 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2419 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2420 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2421 <bp-sym.h> and <bp-asm.h>.
2422 (__memchr): Don't use BP_SYM.
2423 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2424 <bp-sym.h> and <bp-asm.h>.
2425 (memcmp): Don't use BP_SYM. Remove comment about bounded
2427 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2428 <bp-sym.h> and <bp-asm.h>.
2429 (memcpy): Don't use BP_SYM.
2430 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2431 <bp-sym.h> and <bp-asm.h>.
2432 (__mempcpy): Don't use BP_SYM.
2433 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2434 <bp-sym.h> and <bp-asm.h>.
2435 (__memrchr): Don't use BP_SYM.
2436 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2437 <bp-sym.h> and <bp-asm.h>.
2438 (memset): Don't use BP_SYM.
2439 (__bzero): Likewise.
2440 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2441 <bp-sym.h> and <bp-asm.h>.
2442 (__rawmemchr): Don't use BP_SYM.
2443 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2444 <bp-sym.h> and <bp-asm.h>.
2445 (__STRCMP): Don't use BP_SYM.
2446 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2447 <bp-sym.h> and <bp-asm.h>.
2448 (strchr): Don't use BP_SYM.
2449 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2450 <bp-sym.h> and <bp-asm.h>.
2451 (__strchrnul): Don't use BP_SYM.
2452 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2453 <bp-sym.h> and <bp-asm.h>.
2454 (strlen): Don't use BP_SYM.
2455 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2456 <bp-sym.h> and <bp-asm.h>.
2457 (strncmp): Don't use BP_SYM. Remove comment about bounded
2459 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2460 <bp-sym.h> and <bp-asm.h>.
2461 (__strnlen): Don't use BP_SYM.
2462 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2463 <bp-sym.h> and <bp-asm.h>.
2464 (__GI__setjmp): Don't use BP_SYM.
2465 (_setjmp): Likewise.
2466 (__sigsetjmp): Likewise.
2467 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2468 (L(start_addresses)): Don't use BP_SYM.
2470 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2472 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2473 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2474 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2475 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2476 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2478 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2479 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2480 about bounded pointers.
2481 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2482 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2483 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2485 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2486 about bounded pointers. Remove GKM FIXME comments.
2487 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2488 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2490 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2491 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2492 Remove GKM FIXME comments.
2493 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2494 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2495 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2497 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2498 about bounded pointers. Remove GKM FIXME comment.
2499 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2501 (strncmp): Don't use BP_SYM. Remove comment about bounded
2503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2504 <bp-sym.h> and <bp-asm.h>.
2505 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2507 <bp-sym.h> and <bp-asm.h>.
2508 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2511 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2513 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2516 2013-03-05 David S. Miller <davem@davemloft.net>
2518 * po/es.po: Update from translation team.
2520 2013-03-05 Andreas Jaeger <aj@suse.de>
2522 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2523 <bits/mman-linux.h>.
2524 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2526 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2527 <bits/mman-linux.h> to end of file.
2528 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2530 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2531 <bits/mman-linux.h> to end of file.
2532 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2534 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2535 <bits/mman-linux.h> to end of file.
2537 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2538 (MCL_CURRENT, MCL_FUTURE): Define here.
2540 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2543 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2545 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2547 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2549 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2550 fourth parameter needed for rt_sigprocmask syscall.
2551 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2552 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2553 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2554 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2555 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2556 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2558 2013-03-04 Joseph Myers <joseph@codesourcery.com>
2561 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2562 comment about bounded pointers.
2563 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2564 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2566 2013-03-04 Andreas Jaeger <aj@suse.de>
2568 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2571 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2572 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2573 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2574 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2575 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2576 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2578 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2581 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2582 __ieee754_sqrl instead of __sqrl.
2584 2013-03-01 Joseph Myers <joseph@codesourcery.com>
2586 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2587 * sysdeps/powerpc/fpu_control.h: ... here.
2588 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2589 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2590 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2591 * sysdeps/powerpc/bits/mathinline.h: ... here.
2593 2013-03-01 Roland McGrath <roland@hack.frob.com>
2595 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2596 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2597 to just [NEED_DL_SYSINFO_DSO].
2598 * elf/dl-support.c: Likewise.
2599 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2600 * elf/rtld.c (dl_main): Likewise.
2601 * elf/setup-vdso.h (setup_vdso): Likewise.
2602 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2603 * sysdeps/unix/sysv/linux/dl-sysdep.c
2604 (_dl_discover_osversion): Likewise.
2606 2013-03-01 Carlos O'Donell <carlos@redhat.com>
2608 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2609 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2611 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2613 * NEWS: Mention libm performance improvements and non-x86 PI
2616 * csu/libc-start.c (__pthread_initialize_minimal): Change
2618 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2620 2013-02-28 Joseph Myers <joseph@codesourcery.com>
2623 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2624 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2625 <bp-sym.h> and <bp-asm.h>.
2626 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2627 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2629 (memcpy): Don't use BP_SYM.
2630 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2632 (__mpn_add_n): Don't use BP_SYM.
2633 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2634 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2636 (__mpn_addmul_1): Don't use BP_SYM.
2637 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2638 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2640 (_setjmp): Don't use BP_SYM.
2641 (__novmx_setjmp): Likewise.
2642 (__GI__setjmp): Likewise.
2643 (__vmx_setjmp): Likewise.
2644 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2646 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2647 (__bzero): Don't use BP_SYM.
2648 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2649 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2650 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2651 <bp-sym.h> and <bp-asm.h>.
2652 (memcpy): Don't use BP_SYM.
2653 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2654 <bp-sym.h> and <bp-asm.h>.
2655 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2656 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2657 <bp-sym.h> and <bp-asm.h>.
2658 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2659 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2661 (__mpn_lshift): Don't use BP_SYM.
2662 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2663 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2665 (memset): Don't use BP_SYM.
2666 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2667 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2668 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2670 (__mpn_mul_1): Don't use BP_SYM.
2671 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2672 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2673 <bp-sym.h> and <bp-asm.h>.
2674 (memcmp): Don't use BP_SYM.
2675 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2676 <bp-sym.h> and <bp-asm.h>.
2677 (memcpy): Don't use BP_SYM.
2678 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2679 <bp-sym.h> and <bp-asm.h>.
2680 (memset): Don't use BP_SYM.
2681 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2682 <bp-sym.h> and <bp-asm.h>.
2683 (strncmp): Don't use BP_SYM.
2684 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2685 <bp-sym.h> and <bp-asm.h>.
2686 (memcpy): Don't use BP_SYM.
2687 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2688 <bp-sym.h> and <bp-asm.h>.
2689 (memset): Don't use BP_SYM.
2690 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2691 <bp-sym.h> and <bp-asm.h>.
2692 (__memchr): Don't use BP_SYM.
2693 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2694 <bp-sym.h> and <bp-asm.h>.
2695 (memcmp): Don't use BP_SYM.
2696 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2697 <bp-sym.h> and <bp-asm.h>.
2698 (memcpy): Don't use BP_SYM.
2699 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2700 <bp-sym.h> and <bp-asm.h>.
2701 (__mempcpy): Don't use BP_SYM.
2702 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2703 <bp-sym.h> and <bp-asm.h>.
2704 (__memrchr): Don't use BP_SYM.
2705 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2706 <bp-sym.h> and <bp-asm.h>.
2707 (memset): Don't use BP_SYM.
2708 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2709 <bp-sym.h> and <bp-asm.h>.
2710 (__rawmemchr): Don't use BP_SYM.
2711 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2712 <bp-sym.h> and <bp-asm.h>.
2713 (__STRCMP): Don't use BP_SYM.
2714 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2715 <bp-sym.h> and <bp-asm.h>.
2716 (strchr): Don't use BP_SYM.
2717 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2718 <bp-sym.h> and <bp-asm.h>.
2719 (__strchrnul): Don't use BP_SYM.
2720 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2721 <bp-sym.h> and <bp-asm.h>.
2722 (strlen): Don't use BP_SYM.
2723 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2724 <bp-sym.h> and <bp-asm.h>.
2725 (strncmp): Don't use BP_SYM.
2726 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2727 <bp-sym.h> and <bp-asm.h>.
2728 (__strnlen): Don't use BP_SYM.
2729 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2731 (__mpn_rshift): Don't use BP_SYM.
2732 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2733 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2734 <bp-sym.h> and <bp-asm.h>.
2735 (__sigsetjmp): Don't use BP_SYM.
2736 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2737 (L(start_addresses)): Don't use BP_SYM.
2739 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2741 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2742 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2743 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2744 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2746 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2747 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2748 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2749 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2751 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2753 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2754 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2756 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2758 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2759 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2760 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2762 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2764 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2766 (strncmp): Don't use BP_SYM,
2767 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2769 (__mpn_sub_n): Don't use BP_SYM.
2770 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2771 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2773 (__mpn_submul_1): Don't use BP_SYM.
2774 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2776 <bp-sym.h> and <bp-asm.h>.
2777 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2779 <bp-sym.h> and <bp-asm.h>.
2780 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2783 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2786 Use ZK to minimize writes to Z.
2787 (sub_magnitudes): Simplify code a bit.
2788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2789 Use ZK to minimize writes to Z.
2790 (sub_magnitudes): Simplify code a bit.
2792 2013-02-27 Roland McGrath <roland@hack.frob.com>
2794 * csu/gmon-start.c: Add special exception to license text.
2796 2013-02-27 Richard Henderson <rth@redhat.com>
2798 * scripts/config.guess: Update from config.git.
2799 * scripts/config.sub: Likewise.
2801 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2803 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2805 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2807 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2809 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2811 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2813 2013-02-26 Roland McGrath <roland@hack.frob.com>
2815 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2816 [$(build-shared = yes].
2818 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2820 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2821 (__mul): Reduce iterations for calculating mantissa.
2823 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2825 (__mpranred): Likewise.
2828 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2829 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2831 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2833 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2834 Define __attribute__.
2836 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2838 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2840 * posix/regex_internal.h (__attribute): Remove.
2841 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2842 (re_string_context_at): Likewise.
2843 (bitset_not): Use __attribute__ and mark function as possibly
2845 (bitset_merge): Likewise.
2846 (bitset_mask): Likewise.
2847 (re_string_char_size_at): Likewise.
2848 (re_string_wchar_at): Likewise.
2849 (re_string_elem_size_at): Likewise.
2851 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2853 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2857 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2862 (__dbl_mp): Likewise.
2863 (add_magnitudes): Likewise.
2864 (sub_magnitudes): Likewise.
2868 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2871 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2874 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2878 up changes with default code.
2879 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2882 2013-02-24 Allan McRae <allan@archlinux.org>
2884 * manual/socket.texi (The Internet Namespace): Order menu items
2885 to match that in the file.
2887 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2888 node listing of the info page menu.
2890 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2893 * sysdeps/i386/bp-asm.h: Remove file.
2894 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2895 (PARMS): Do not use macros from bp-asm.h.
2899 (__mpn_add_n): Do not use BP_SYM
2900 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2902 (PARMS): Do not use macros from bp-asm.h.
2905 (__mpn_addmul_1): Do not use BP_SYM
2906 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2908 (PARMS): Do not use macros from bp-asm.h.
2910 (_setjmp): Likewise. Do not use BP_SYM.
2911 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2913 (PARMS): Do not use macros from bp-asm.h.
2915 (setjmp): Likewise. Do not use BP_SYM.
2916 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2918 (PARMS): Do not use macros from bp-asm.h.
2919 (__frexp): Do not use BP_SYM.
2921 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2923 (PARMS): Do not use macros from bp-asm.h.
2924 (__frexpf): Do not use BP_SYM.
2926 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2928 (PARMS): Do not use macros from bp-asm.h.
2929 (__frexpl): Do not use BP_SYM.
2931 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2933 (PARMS): Do not use macros from bp-asm.h.
2934 (__remquo): Do not use BP_SYM.
2936 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2938 (PARMS): Do not use macros from bp-asm.h.
2939 (__remquof): Do not use BP_SYM.
2940 (remquof): Likewise.
2941 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2943 (PARMS): Do not use macros from bp-asm.h.
2944 (__remquol): Do not use BP_SYM.
2945 (remquol): Likewise.
2946 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2948 (PARMS): Do not use macros from bp-asm.h.
2951 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2952 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2954 (PARMS): Do not use macros from bp-asm.h.
2955 (strlen): Do not use BP_SYM.
2956 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2958 (PARMS): Do not use macros from bp-asm.h.
2962 (__mpn_add_n): Do not use BP_SYM.
2963 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2965 (PARMS): Do not use macros from bp-asm.h.
2968 (__mpn_addmul_1): Do not use BP_SYM.
2969 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2972 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2974 (PARMS): Do not use macros from bp-asm.h.
2977 (__mpn_lshift): Do not use BP_SYM.
2978 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2980 (PARMS): Do not use macros from bp-asm.h.
2984 (memcpy): Likewise. Do not use BP_SYM.
2985 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2986 libc_hidden_def and weak_alias.
2987 (mempcpy): Do not use BP_SYM in weak_alias.
2988 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2990 (PARMS): Do not use macros from bp-asm.h.
2993 [!BZERO_P] (CHR): Likewise.
2994 (memset): Likewise. Do not use BP_SYM.
2995 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2997 (PARMS): Do not use macros from bp-asm.h.
3000 (__mpn_mul_1): Do not use BP_SYM.
3001 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
3003 (PARMS): Do not use macros from bp-asm.h.
3006 (__mpn_rshift): Do not use BP_SYM.
3007 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
3009 (PARMS): Do not use macros from bp-asm.h.
3012 (strchr): Likewise. Do not use BP_SYM.
3013 (index): Do not use BP_SYM in weak_alias.
3014 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3016 (PARMS): Do not use macros from bp-asm.h.
3019 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
3020 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3022 (PARMS): Do not use macros from bp-asm.h.
3023 (strlen): Do not use BP_SYM.
3024 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3026 (PARMS): Do not use macros from bp-asm.h.
3030 (__mpn_sub_n): Do not use BP_SYM.
3031 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3033 (PARMS): Do not use macros from bp-asm.h.
3036 (__mpn_submul_1): Do not use BP_SYM.
3037 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3039 (PARMS): Do not use macros from bp-asm.h.
3043 (__mpn_add_n): Do not use BP_SYM.
3044 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3047 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3049 (PARMS): Do not use macros from bp-asm.h.
3052 (memcmp): Do not use BP_SYM.
3053 (bcmp): Do not use BP_SYM in weak_alias.
3054 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3056 (PARMS): Do not use macros from bp-asm.h.
3060 (memcpy): Likewise. Do not use BP_SYM.
3061 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3063 (PARMS): Do not use macros from bp-asm.h.
3067 (memmove): Likewise. Do not use BP_SYM.
3068 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3070 (PARMS): Do not use macros from bp-asm.h.
3074 (__mempcpy): Likewise. Do not use BP_SYM.
3075 (mempcpy): Do not use BP_SYM in weak_alias.
3076 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3078 (PARMS): Do not use macros from bp-asm.h.
3081 [!BZERO_P] (CHR): Likewise.
3082 (memset): Likewise. Do not use BP_SYM.
3083 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3085 (PARMS): Do not use macros from bp-asm.h.
3087 (strcmp): Do not use BP_SYM.
3088 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3090 (PARMS): Do not use macros from bp-asm.h.
3093 [USE_AS_STRTOK_R] (SAVE): Likewise.
3094 (FUNCTION): Likewise. Do not use BP_SYM.
3095 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3097 (strtok_r): Likewise.
3098 (__GI___strtok_r): Likewise.
3099 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3100 (PARMS): Do not use macros from bp-asm.h.
3103 (__mpn_lshift): Do not use BP_SYM.
3104 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3105 (PARMS): Do not use macros from bp-asm.h.
3108 (__memchr): Do not use BP_SYM.
3109 (memchr): Do not use BP_SYM in weak_alias.
3110 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3111 (PARMS): Do not use macros from bp-asm.h.
3114 (memcmp): Do not use BP_SYM.
3115 (bcmp): Do not use BP_SYM in weak_alias.
3116 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3117 (PARMS): Do not use macros from bp-asm.h.
3120 (__mpn_mul_1): Do not use BP_SYM.
3121 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3123 (PARMS): Do not use macros from bp-asm.h.
3126 (__rawmemchr): Do not use BP_SYM.
3127 (rawmemchr): Do not use BP_SYM in weak_alias.
3128 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3129 (PARMS): Do not use macros from bp-asm.h.
3132 (__mpn_rshift): Do not use BP_SYM.
3133 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3134 (PARMS): Do not use macros from bp-asm.h.
3136 (__sigsetjmp): Likewise. Do not use BP_SYM.
3137 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3138 (_start): Do not use BP_SYM.
3139 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3140 (PARMS): Do not use macros from bp-asm.h.
3143 (__stpcpy): Likewise. Do not use BP_SYM.
3144 (stpcpy): Do not use BP_SYM in weak_alias.
3145 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3147 (PARMS): Do not use macros from bp-asm.h.
3151 (__stpncpy): Likewise. Do not use BP_SYM.
3152 (stpncpy): Do not use BP_SYM in weak_alias.
3153 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3154 (PARMS): Do not use macros from bp-asm.h.
3157 (strchr): Likewise. Do not use BP_SYM.
3158 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3160 (PARMS): Do not use macros from bp-asm.h.
3163 (__strchrnul): Likewise. Do not use BP_SYM.
3164 (strchrnul): Do not use BP_SYM in weak_alias.
3165 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3167 (PARMS): Do not use macros from bp-asm.h.
3169 (strcspn): Do not use BP_SYM.
3170 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3172 (PARMS): Do not use macros from bp-asm.h.
3175 (strpbrk): Likewise. Do not use BP_SYM.
3176 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3178 (PARMS): Do not use macros from bp-asm.h.
3181 (strrchr): Likewise. Do not use BP_SYM.
3182 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3183 (PARMS): Do not use macros from bp-asm.h.
3185 (strspn): Do not use BP_SYM.
3186 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3187 (PARMS): Do not use macros from bp-asm.h.
3191 (FUNCTION): Likewise. Do not use BP_SYM.
3192 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3194 (strtok_r): Likewise.
3195 (__GI___strtok_r): Likewise.
3196 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3197 (PARMS): Do not use macros from bp-asm.h.
3201 (__mpn_sub_n): Do not use BP_SYM.
3202 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3204 (PARMS): Do not use macros from bp-asm.h.
3207 (__mpn_submul_1): Do not use BP_SYM.
3208 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3210 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3212 (PARMS): Do not use macros from bp-asm.h.
3217 (__clone): Do not use BP_SYM.
3218 (clone): Do not use BP_SYM in weak_alias.
3219 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3221 (PARMS): Do not use macros from bp-asm.h.
3223 (__mmap64): Do not use BP_SYM.
3224 (mmap64): Do not use BP_SYM in weak_alias.
3225 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3226 <bp-sym.h> and <bp-asm.h>.
3227 (PARMS): Do not use macros from bp-asm.h.
3228 (__posix_fadvise64_l64): Do not use BP_SYM.
3229 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3230 (PARMS): Do not use macros from bp-asm.h.
3232 (semtimedop): Do not use BP_SYM.
3233 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3236 2013-02-21 Allan McRae <allan@archlinux.org>
3238 * manual/message.texi (Charset conversion in gettext):
3239 Move @end statement to beginning of line.
3241 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3248 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3253 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3255 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3256 tail-call to the resolved function if pltexit isn't needed.
3258 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3261 or Y being zero as being unlikely.
3262 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3265 2013-02-20 Carlos O'Donell <carlos@redhat.com>
3267 * manual/nss.texi (System Databases and Name Service Switch):
3268 Remove frobnicate @pxref.
3270 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3272 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3273 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3275 2013-02-20 Petr Machata <pmachata@redhat.com>
3277 * elf/elf.h (R_ARM_TARGET1): New macro.
3278 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3279 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3280 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3281 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3282 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3283 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3284 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3285 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3286 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3287 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3288 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3289 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3290 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3291 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3292 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3293 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3294 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3295 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3296 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3297 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3298 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3299 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3300 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3301 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3302 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3303 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3304 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3305 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3306 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3307 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3308 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3309 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3310 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3311 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3312 (R_ARM_THM_GOT_BREL12): Likewise.
3313 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3314 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3315 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3316 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3317 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3318 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3319 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3320 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3321 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3323 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3325 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3326 __attribute_used__ to __attribute__ ((unused)).
3328 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3330 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3336 2013-02-19 Joseph Myers <joseph@codesourcery.com>
3339 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3341 (ENTER): Remove both macro definitions.
3343 (CHECK_BOUNDS_LOW): Likewise.
3344 (CHECK_BOUNDS_HIGH): Likewise.
3345 (CHECK_BOUNDS_BOTH): Likewise.
3346 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3347 (RETURN_BOUNDED_POINTER): Likewise.
3348 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3349 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3350 (POP_ERRNO_LOCATION_RETURN): Likewise.
3351 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3352 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3353 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3355 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3356 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3357 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3358 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3359 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3360 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3361 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3362 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3363 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3364 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3365 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3366 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3367 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3368 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3370 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3371 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3373 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3374 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3375 * sysdeps/i386/i586/memset.S (memset): Likewise.
3376 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3377 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3378 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3380 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3381 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3382 Change uses of L(2) to L(out).
3383 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3384 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3385 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3386 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3387 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3389 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3390 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3392 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3393 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3394 (RETURN): Do not use macro LEAVE.
3395 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3396 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3397 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3398 * sysdeps/i386/i686/memset.S (memset): Likewise.
3399 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3400 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3401 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3402 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3404 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3405 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3406 L(1_2) and L(1_3) into L(1).
3407 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3408 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3409 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3410 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3411 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3412 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3413 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3414 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3415 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3417 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3418 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3419 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3420 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3421 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3422 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3423 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3424 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3425 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3426 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3427 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3428 * sysdeps/i386/strspn.S (strspn): Likewise.
3429 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3431 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3432 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3433 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3434 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3436 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3437 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3438 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3440 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3442 2013-02-19 Jakub Jelinek <jakub@redhat.com>
3444 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3447 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3449 * math/atest-exp.c (exp_mpn): Remove ROUND.
3450 * math/atest-exp2.c (exp_mpn): Likewise.
3451 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3453 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3454 * stdlib/tst-tls-atexit-lib.c: Likewise.
3455 * stdlib/tst-tls-atexit.c: Likewise.
3457 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3459 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3460 and __attribute_alloc_size__.
3462 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3464 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3465 __attribute_alloc_size__.
3466 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3467 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3469 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3471 * include/programs/xmalloc.h: New file.
3472 * catgets/gencat.c: Include it.
3473 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3474 * elf/pldd.c: Likewise.
3475 * iconv/iconv_charmap.c: Likewise.
3476 * iconv/iconvconfig.c: Likewise.
3477 * iconv/strtab.c: Likewise.
3478 * locale/programs/locale.c: Likewise.
3479 * locale/programs/localedef.h: Likewise.
3480 * locale/programs/simple-hash.c: Likewise.
3481 * nscd/nscd.h: Likewise.
3482 * nss/makedb.c: Likewise.
3483 * sysdeps/generic/ldconfig.h: Likewise.
3485 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3487 * Versions.def: Add GLIBC_2.18.
3488 * include/link.h (struct link_map): New member l_tls_dtor_count.
3489 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3490 (__call_tls_dtors): Likewise.
3491 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3492 __cxa_thread_atexit_impl.
3493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3501 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3509 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3510 (tests): Add test case tst-tls-atexit.
3511 (modules-names): Add shared library for tst-tls-atexit.
3512 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3513 (GLIBC_PRIVATE): Add __call_tls_dtors.
3514 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3516 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3517 * stdlib/tst-tls-atexit.c: New test case.
3518 * stdlib/tst-tls-atexit-lib.c: New test case.
3520 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
3522 * elf/Versions (ld): Add _dl_find_dso_for_object.
3523 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3524 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3525 (dl_open_worker): Use _dl_find_dso_for_object.
3526 * elf/dl-sym.c (do_sym): Likewise.
3527 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3529 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3531 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3532 Syntactic changes only.
3533 (_dl_runtime_profile): Do a tail-call to the resolved function.
3535 2013-02-17 Joseph Myers <joseph@codesourcery.com>
3538 * sysdeps/x86_64/bp-asm.h: Remove file.
3539 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3540 <bp-sym.h> and <bp-asm.h>.
3541 (__clone): Do not use BP_SYM.
3542 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3543 <bp-sym.h> and <bp-asm.h>.
3544 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3545 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3547 (_setjmp): Do not use BP_SYM.
3548 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3550 (setjmp): Do not use BP_SYM.
3551 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3553 (mempcpy): Do not use BP_SYM in weak_alias.
3554 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3556 (strchr): Do not use BP_SYM.
3557 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3559 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3560 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3561 (_start): Do not use BP_SYM.
3562 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3564 (strcat): Do not use BP_SYM.
3565 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3567 (STRCMP): Do not use BP_SYM.
3568 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3570 (STRCPY): Do not use BP_SYM.
3571 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3573 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3575 (FUNCTION): Do not use BP_SYM.
3576 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3578 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3580 2013-02-17 Andreas Jaeger <aj@suse.de>
3582 * time/Versions: Sort entries.
3583 * string/Versions: Likewise.
3584 * resolv/Versions: Likewise.
3585 * posix/Versions: Likewise.
3586 * iconv/Versions: Likewise.
3587 * elf/Versions: Likewise.
3588 * wcsmbs/Versions: Likewise.
3590 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3592 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3593 loop termination condition.
3595 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3596 variable to calculate EZ.
3599 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3600 the lower precision input.
3602 2013-02-15 Joseph Myers <joseph@codesourcery.com>
3605 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3606 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3607 (run-via-rtld-prefix): Do not handle %-bp tests.
3608 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3609 (all-object-suffixes): Remove .ob.
3610 (bppfx): Remove variable.
3611 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3612 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3613 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3614 [$(build-bounded) = yes] (libtype.ob): Likewise.
3615 * Makerules (elide-routines.ob): Remove variable.
3616 (do-tests-clean): Do not handle *-bp.out.
3617 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3618 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3619 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3620 (tests): Do not include $(tests-bp.out).
3621 (xtests): Do not include $(xtests-bp.out).
3622 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3623 [$(build-bounded) = yes] ($(addprefix
3624 $(objpfx),$(binaries-bounded))): Remove rule.
3625 ($(objpfx)%-bp.out): Remove rule.
3626 * config.make.in (build-bounded): Remove variable.
3627 * crypt/Makefile [$(build-bounded) = yes]
3628 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3629 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3631 [$(build-bounded) = yes] (install-lib): Likewise.
3632 [$(build-bounded) = yes] (generated): Likewise.
3633 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3635 * intl/Makefile [$(build-bounded) = yes]
3636 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3637 * math/Makefile [$(build-bounded) = yes]
3638 ($(tests:%=$(objpfx)%-bp): Likewise.
3639 * misc/Makefile [$(build-bounded) = yes]
3640 ($(objpfx)tst-tsearch-bp): Likewise.
3641 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3642 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3644 * string/Makefile (o-objects.ob): Remove variable.
3645 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3646 (CFLAGS-.ob): Remove variable.
3647 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3648 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3649 both definitions of variable.
3650 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3651 (ASFLAGS-.ob): Remove variable.
3653 2013-02-14 Joseph Myers <joseph@codesourcery.com>
3656 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3657 Remove __BOUNDED_POINTERS__ from condition.
3658 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3659 * string/bits/string2.h [!__NO_STRING_INLINES &&
3660 !__BOUNDED_POINTERS__]: Likewise.
3661 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3663 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3664 Remove conditional code.
3665 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3666 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3667 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3671 * csu/libc-start.c: Do not include <bp-sym.h>.
3672 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3673 * elf/dl-open.c: Do not include <bp-sym.h>.
3674 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3675 * math/fegetenv.c: Do not include <bp-sym.h>.
3676 (fegetenv): Do not use BP_SYM in versioned symbols.
3677 * nptl/sysdeps/pthread/bits/libc-lockP.h
3678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3681 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3683 (__pthread_mutex_destroy): Likewise.
3684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3685 (__pthread_mutex_lock): Likewise.
3686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3687 (__pthread_mutex_trylock): Likewise.
3688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3689 (__pthread_mutex_unlock): Likewise.
3690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3691 (__pthread_mutexattr_init): Likewise.
3692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3693 (__pthread_mutexattr_destroy): Likewise.
3694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3695 (__pthread_mutexattr_settype): Likewise.
3696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3697 (__pthread_rwlock_init): Likewise.
3698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3699 (__pthread_rwlock_destroy): Likewise.
3700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3701 (__pthread_rwlock_rdlock): Likewise.
3702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3703 (__pthread_rwlock_tryrdlock): Likewise.
3704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3705 (__pthread_rwlock_wrlock): Likewise.
3706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3707 (__pthread_rwlock_trywrlock): Likewise.
3708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3709 (__pthread_rwlock_unlock): Likewise.
3710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3711 (__pthread_key_create): Likewise.
3712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3713 (__pthread_setspecific): Likewise.
3714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3715 (__pthread_getspecific): Likewise.
3716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3719 (_pthread_cleanup_push_defer): Likewise.
3720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3721 (_pthread_cleanup_pop_restore): Likewise.
3722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3723 (pthread_setcancelstate): Likewise.
3724 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3726 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3727 (memchr): Do not use BP_SYM in weak_alias.
3728 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3729 (fegetenv): Do not use BP_SYM in versioned symbols.
3730 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3731 (fesetenv): Do not use BP_SYM in versioned symbols.
3732 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3733 (feupdateenv): Do not use BP_SYM in versioned symbols.
3734 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3735 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3736 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3737 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3738 (open64): Do not use BP_SYM in weak_alias.
3739 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3740 (fegetenv): Do not use BP_SYM in versioned symbols.
3741 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3742 (fesetenv): Do not use BP_SYM in versioned symbols.
3743 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3744 (feupdateenv): Do not use BP_SYM in versioned symbols.
3745 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3746 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3747 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3748 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3749 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3750 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3751 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3753 (__libc_start_main): Do not use BP_SYM.
3755 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3758 redundant return line.
3762 (sub_magnitudes): Likewise.
3768 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3772 (sub_magnitudes): Likewise.
3779 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3781 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3782 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3785 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3786 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3787 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3788 of __mul for squares.
3789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3793 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3794 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3796 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3799 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3801 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3802 prototype or function definition. Rename ubp_* variables and
3803 parameters. Remove argv definitions conditional on
3804 [__BOUNDED_POINTERS__].
3805 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3806 * elf/dl-runtime.c (_dl_fixup): Likewise.
3807 * include/set-hooks.h (RUN_HOOK): Likewise.
3808 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3810 * string/strcpy.c (strcpy): Do not use __unbounded.
3811 * sysdeps/generic/frame.h (struct layout): Likewise.
3812 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3813 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3814 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3815 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3816 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3817 (__backtrace): Likewise.
3818 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3820 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3821 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3822 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3824 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3825 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3826 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3827 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3828 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3829 Do not use __unbounded.
3830 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3831 Rename __unboundedrlimits parameter to rlimits in prototype.
3832 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3833 Do not use __unbounded.
3834 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3836 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3837 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3838 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3839 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3840 __ptrvalue or __unbounded.
3841 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3842 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3844 (__new_msgctl): Do not use __ptrvalue.
3845 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3847 (__libc_msgrcv): Do not use __ptrvalue.
3848 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3849 startup_info): Do not use __unbounded.
3850 (__libc_start_main): Likewise. Rename ubp_* variables and
3851 parameters. Remove argv definitions conditional on
3852 [__BOUNDED_POINTERS__].
3853 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3855 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3857 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3859 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3861 (__new_shmctl): Do not use __ptrvalue.
3862 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3863 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3865 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3866 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3867 (__libc_sigaction): Likewise.
3868 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3869 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3871 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3873 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3875 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3877 * string/mempcpy.c: Implement by calling memcpy.
3879 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3881 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3883 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3886 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3887 values in the mantissa.
3889 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3890 minimize writes to Z.
3891 (sub_magnitudes): Simplify code a bit.
3893 2013-02-12 Roland McGrath <roland@hack.frob.com>
3895 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3896 from the message. The linker prefixes all warnings with that already.
3898 2013-02-12 Andreas Schwab <schwab@suse.de>
3901 * posix/regexec.c (extend_buffers): Add parameter min_len.
3902 (check_matching): Pass minimum needed length.
3903 (clean_state_log_if_needed): Likewise.
3904 (get_subexp): Likewise.
3905 * posix/Makefile (tests): Add bug-regex34.
3906 (bug-regex34-ENV): Define.
3907 * posix/bug-regex34.c: New file.
3910 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3911 elements compare against the byte sequence of it, not its name.
3912 * posix/Makefile (tests): Add bug-regex35.
3913 (bug-regex35-ENV): Define.
3914 * posix/bug-regex35.c: New file.
3916 2013-02-11 Tom de Vries <tom@codesourcery.com>
3918 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3920 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3921 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3922 (CHECK_EOL): Add undef.
3924 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3926 * bits/stdlib-bsearch.h: New file.
3927 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3928 * stdlib/stdlib.h: Likewise.
3930 2013-02-11 Roland McGrath <roland@hack.frob.com>
3932 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3933 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3935 * manual/search.texi (Array Search Function): Add missing const in
3937 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3938 declaration to use rlim_t.
3939 (Basic Scheduling Functions): Remove erroneous const from
3940 sched_getparam prototype. Remove erroneous * from
3941 sched_get_priority_max and sched_get_priority_min prototypes.
3942 (Resource Usage): Fix summary @comment on vtimes to refer to
3943 sys/vtimes.h rather than vtimes.h.
3944 Add missing *s in vtimes prototype.
3945 (Limits on Resources): Fix ulimit prototype to return long int.
3946 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3947 prototypes to use long int rather than double.
3948 (BSD Random): Fix initstate and setstate to use char *, not void *.
3949 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3950 prototype to make second argument 'struct aiocb64 *const[]'.
3951 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3952 (Status of AIO Operations): Remove erroneous const in aio_return and
3953 aio_return64 prototypes.
3954 (Synchronizing I/O): Fix sync prototype to return void.
3955 * manual/startup.texi (Suboptions): Remove an erroneous const in
3956 getsubopt prototype.
3957 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3958 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3959 use size_t rather than int.
3960 (Scanning All Users): Likewise for getpwent_r.
3961 (Setting Groups): Add missing const to setgroups prototype.
3962 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3963 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3964 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3965 'const void *' rather than 'const char *'.
3966 (Host Address Functions): Likewise for inet_ntop.
3967 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3968 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3969 ssize_t for return value.
3970 (Sending Data): Likewise for send, sendto, sendmsg.
3971 (Socket Option Functions): Add a missing const in setsockopt prototype.
3972 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3973 use wchar_t for the argument.
3974 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3975 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3977 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3978 double/float/long double for second argument.
3979 Fix return types of significand, significandf, significandl.
3980 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3981 argument in fchmod prototype.
3982 (File Owner): Use uid_t and gid_t in fchown prototype.
3983 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3984 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3985 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3986 use 'const struct dirent **' as argument types to CMP function pointer
3988 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3989 (File Times): Fix summary magic @comment for struct utimbuf and utime
3990 to refer to utime.h, not time.h.
3991 * manual/string.texi (Argz Functions): Add missing const in
3992 argz_extract and argz_next prototypes.
3993 (Finding Tokens in a String): Likewise for basename.
3994 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3995 (Copying and Concatenation): Fix typo in wmemmove prototype.
3996 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3997 (Signal Stack): Remove erroneous const in sigstack prototype.
3998 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
4000 (Simple Calendar Time): Likewise for stime.
4001 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
4003 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
4004 say sys/sysctl.h instead.
4005 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
4006 and vsyslog prototypes.
4008 2013-02-11 Tom de Vries <tom@codesourcery.com>
4010 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4013 2013-02-11 Roland McGrath <roland@hack.frob.com>
4015 * misc/sys/mman.h: Fix typo in mremap comment.
4017 2013-02-08 Roland McGrath <roland@hack.frob.com>
4019 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4020 the '\0' terminator.
4022 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4025 * debug/segfault.c: Don't include <bp-checks.h>.
4026 * sysdeps/generic/bp-checks.h: Remove file.
4027 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4028 (__GETDENTS): Don't use CHECK_N.
4029 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4030 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4031 (__getgroups): Don't use CHECK_N.
4032 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4033 (setgroups): Don't use CHECK_N.
4034 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4035 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4036 (__libc_msgrcv): Don't use CHECK_N.
4037 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4038 (__libc_msgsnd): Don't use CHECK_N.
4039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4041 (__libc_pread): Don't use CHECK_N.
4042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4043 include <bp-checks.h>.
4044 (__libc_pread64): Don't use CHECK_N.
4045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4046 include <bp-checks.h>.
4047 (__libc_pwrite): Don't use CHECK_N.
4048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4049 include <bp-checks.h>.
4050 (__libc_pwrite64): Don't use CHECK_N.
4051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4053 (__libc_pread): Don't use CHECK_N.
4054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4055 include <bp-checks.h>.
4056 (__libc_pread64): Don't use CHECK_N.
4057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4058 include <bp-checks.h>.
4059 (__libc_pwrite): Don't use CHECK_N.
4060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4061 include <bp-checks.h>.
4062 (__libc_pwrite64): Don't use CHECK_N.
4063 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4064 (do_pread): Don't use CHECK_N.
4065 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4066 (do_pread64): Don't use CHECK_N.
4067 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4068 (do_pwrite): Don't use CHECK_N.
4069 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4070 (do_pwrite64): Don't use CHECK_N.
4071 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4072 (__libc_readv): Don't use CHECK_N.
4073 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4074 (semop): Don't use CHECK_N.
4075 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4077 (semtimedop): Don't use CHECK_N.
4078 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4079 (__libc_pread): Don't use CHECK_N.
4080 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4082 (__libc_pread64): Don't use CHECK_N.
4083 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4085 (__libc_pwrite): Don't use CHECK_N.
4086 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4088 (__libc_pwrite64): Don't use CHECK_N.
4089 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4091 (__libc_msgrcv): Don't use CHECK_N.
4092 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4093 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4094 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4095 (__libc_writev): Don't use CHECK_N.
4097 2013-02-08 Roland McGrath <roland@hack.frob.com>
4099 * string/strcpy.c: Removed unused variable.
4101 * Makeconfig (+sysdep-includes): Define with := rather than =.
4102 Use an existing include/ subdir of each sysdeps dir before it.
4104 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4106 * nscd/connection.c (register_traced_file): Comment function.
4107 [HAVE_INOTIFY] (union __inev): Define.
4108 [HAVE_INOTIFY] (inotify_check_files): New function.
4109 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4110 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4112 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4114 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4116 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4117 loaded if not already and that a failure is permanent.
4119 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4122 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4123 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4125 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4128 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4129 (CHECK_1_NULL_OK): Likewise.
4130 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4131 (__fxstat): Do not use CHECK_1.
4132 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4134 (___fxstat64): Do not use CHECK_1.
4135 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4137 (__fxstatat): Do not use CHECK_1.
4138 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4140 (__fxstatat64): Do not use CHECK_1.
4141 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4143 (__fxstat): Do not use CHECK_1.
4144 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4146 (__fxstatat): Do not use CHECK_1.
4147 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4149 (__getresgid): Do not use CHECK_1.
4150 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4152 (__getresuid): Do not use CHECK_1.
4153 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4155 (__lxstat): Do not use CHECK_1.
4156 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4158 (__old_msgctl): Do not use CHECK_1.
4159 (__new_msgctl): Likewise.
4160 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4162 (__new_setrlimit): Do not use CHECK_1.
4163 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4165 (__old_shmctl): Do not use CHECK_1.
4166 (__new_shmctl): Likewise.
4167 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4169 (__xstat): Do not use CHECK_1.
4170 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4171 (__lxstat): Do not use CHECK_1.
4172 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4174 (___lxstat64): Do not use CHECK_1.
4175 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4176 (__old_msgctl): Do not use CHECK_1.
4177 (__new_msgctl): Likewise.
4178 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4180 (__gettimeofday): Do not use CHECK_1.
4181 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4182 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4183 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4185 (__gettimeofday): Do not use CHECK_1.
4186 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4187 (__old_shmctl): Do not use CHECK_1_NULL_OK.
4188 (__new_shmctl): Do not use CHECK_1.
4189 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4191 (do_sigtimedwait): Do not use CHECK_1.
4192 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4194 (do_sigwaitinfo): Do not use CHECK_1.
4195 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4197 (msgctl): Do not use CHECK_1.
4198 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4200 (shmctl): Do not use CHECK_1.
4201 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4202 (ustat): Do not use CHECK_1.
4203 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4205 (__fxstat): Do not use CHECK_1.
4206 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4208 (__fxstatat): Do not use CHECK_1.
4209 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4211 (__lxstat): Do not use CHECK_1.
4212 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4214 (__xstat): Do not use CHECK_1.
4215 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4216 (__xstat): Do not use CHECK_1.
4217 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4218 (___xstat64): Do not use CHECK_1.
4221 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4223 (CHECK_BOUNDS_HIGH): Likewise.
4224 * string/strcpy.c: Do not include <bp-checks.h>.
4225 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4227 2013-02-07 Roland McGrath <roland@hack.frob.com>
4229 * nscd/nscd-client.h (__nscd_drop_map_ref):
4230 Add __attribute__ ((unused)).
4231 * nis/nss-nisplus.h (niserr2nss): Likewise.
4233 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4234 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4236 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4237 Remove inline keyword.
4238 * include/rounding-mode.h (round_away): Likewise.
4239 * libio/wfileops.c (adjust_wide_data): Likewise.
4240 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4241 (__m128i_strloadu_tolower): Likewise.
4242 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4243 (__m128i_strloadu_tolower): Likewise.
4244 * time/mktime.c (ydhms_diff): Likewise.
4245 * locale/elem-hash.h (elem_hash): Likewise.
4246 * locale/setlocale.c (setdata): Likewise.
4247 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4248 (re_string_wchar_at): Likewise.
4249 (bitset_not, bitset_merge, bitset_mask): Likewise.
4250 [!(__GNUC__ > 3)] (inline): Remove macro.
4251 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4252 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4253 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4254 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4255 * string/memcmp.c (memcmp_bytes): Likewise.
4256 * locale/programs/locarchive.c (compute_hashval): Likewise.
4257 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4258 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4259 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4260 * nss/getent.c (print_rpc, print_protocols): Likewise.
4261 (print_passwd, print_group, print_aliases): Likewise.
4262 * nis/nss-nisplus.h (niserr2nss): Likewise.
4263 * nscd/connections.c (restart_p): Likewise.
4264 Change return type to bool.
4266 2013-02-05 Roland McGrath <roland@hack.frob.com>
4268 * Makeconfig (all-Depend-files): Add existing
4269 $(sorted-subdirs:=/Depend) files.
4270 (all-subdirs): Remove nss.
4271 * sysdeps/unix/inet/Subdirs: Add it here instead.
4272 * hesiod/Depend: New file.
4274 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4275 instead of calling alloca.
4277 * io/lseek.c (__lseek): Rename to __libc_lseek.
4278 Define __lseek as an alias.
4280 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4282 2013-02-04 Carlos O'Donell <carlos@redhat.com>
4284 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4285 else clause and remove check for non-standard endianness.
4287 2013-02-04 David S. Miller <davem@davemloft.net>
4289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4291 2013-02-04 Joseph Myers <joseph@codesourcery.com>
4294 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4295 (__ubp_memchr): Remove prototype.
4296 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4297 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4298 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4299 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4300 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4302 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4303 (__ubp_memchr): Likewise.
4304 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4305 (__ubp_memchr): Likewise.
4306 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4307 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4308 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4309 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4311 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4312 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4313 (__getcwd): Do not use CHECK_STRING.
4314 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4316 (__real_chown): Do not use CHECK_STRING.
4317 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4319 (fchownat): Do not use CHECK_STRING.
4320 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4322 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4324 (__lchown): Do not use CHECK_STRING.
4325 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4326 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4327 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4328 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4330 include <bp-checks.h>.
4331 (truncate64): Do not use CHECK_STRING.
4332 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4334 (__real_chown): Do not use CHECK_STRING.
4335 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4337 (__lchown): Do not use CHECK_STRING.
4338 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4340 (__chown): Do not use CHECK_STRING.
4341 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4343 (truncate64): Do not use CHECK_STRING.
4344 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4346 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4347 (__xmknod): Do not use CHECK_STRING.
4348 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4350 (__xmknodat): Do not use CHECK_STRING.
4351 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4352 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4354 2013-02-04 Andreas Schwab <schwab@suse.de>
4357 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4358 * include/netdb.h: Likewise for h_errno.
4359 * elf/tst-stackguard1.c: Include <tls.h>.
4361 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4363 * elf/link.h (struct link_map): Extend the l_addr comment.
4364 * include/link.h (struct link_map): Likewise.
4366 2013-02-01 Joseph Myers <joseph@codesourcery.com>
4369 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4370 (BOUNDED_1): Remove macro.
4371 * debug/backtrace.c: Don't include <bp-checks.h>.
4372 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4373 (__backtrace): Likewise.
4374 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4376 (__backtrace): Don't use BOUNDED_1.
4377 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4379 (__backtrace): Don't use BOUNDED_1.
4380 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4381 (__backtrace): Don't use BOUNDED_1.
4382 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4383 (shmat): Don't use BOUNDED_N.
4385 2013-01-31 Joseph Myers <joseph@codesourcery.com>
4388 * sysdeps/generic/bp-start.h: Remove file.
4389 * csu/libc-start.c: Don't include <bp-start.h>.
4390 (LIBC_START_MAIN): Set up __environ directly instead of using
4391 INIT_ARGV_and_ENVIRON.
4392 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4396 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4398 (CHECK_FCNTL): Likewise.
4399 (CHECK_N_PAGES): Likewise.
4402 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4404 (CHECK_SIGSET_NULL_OK): Likewise.
4405 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4407 (sigpending): Don't use CHECK_SIGSET.
4408 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4410 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4411 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4413 (do_sigsuspend): Don't use CHECK_SIGSET.
4414 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4416 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4417 (do_sigwait): Don't use CHECK_SIGSET.
4418 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4420 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4421 include <bp-checks.h>.
4422 (sigpending): Don't use CHECK_SIGSET.
4423 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4424 include <bp-checks.h>.
4425 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4426 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4428 (sigpending): Don't use CHECK_SIGSET.
4429 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4431 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4434 * sysdeps/generic/bp-semctl.h: Remove file.
4435 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4436 <bp-checks.h> and <bp-semctl.h>.
4437 (__old_semctl): Don't use CHECK_SEMCTL.
4438 (__new_semctl): Likewise.
4439 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4441 (__old_semctl): Don't use CHECK_SEMCTL.
4442 (__new_semctl): Likewise.
4443 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4444 <bp-checks.h> and <bp-semctl.h>.
4445 (__old_semctl): Don't use CHECK_SEMCTL.
4446 (__new_semctl): Likewise.
4447 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4448 <bp-checks.h> and <bp-semctl.h>.
4449 (semctl): Don't use CHECK_SEMCTL.
4452 * Makerules (elide-bp-thunks): Remove variable.
4453 (elide-routines.oS): Don't use $(elide-bp-thunks).
4454 (elide-routines.os): Likewise.
4455 (elide-routines.o): Likewise.
4456 (elide-routines.op): Likewise.
4457 (elide-routines.og): Likewise.
4458 (objects): Don't use $(bp-thunks).
4459 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4461 (common-generated): Do not add s-proto-bp.d.
4462 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4465 Do not generate makefile rules for bounded-pointer thunks.
4466 * sysdeps/generic/bp-thunks.h: Remove file.
4467 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4468 * sysdeps/unix/s-proto-bp.S: Likewise.
4471 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4472 parts of result separately when argument is not close to line from
4473 -i to i and one part of argument is small.
4474 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4475 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4476 * math/libm-test.inc (cacos_test): Add more tests.
4477 (casin_test): Likewise.
4478 (casinh_test): Likewise.
4479 * sysdeps/i386/fpu/libm-test-ulps: Update.
4480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4482 2013-01-31 David S. Miller <davem@davemloft.net>
4484 * po/de.po: Update from translation team.
4486 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4488 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4490 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4492 * configure.in (_AC_PROG_CC_C89): New definition.
4493 * configure: Regenerate.
4495 * configure.in (AC_PROG_CPP): New definition.
4496 * configure: Regenerate.
4498 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4500 * debug/tst-backtrace.h: New file.
4501 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4502 (ret): Remove variable.
4504 (FAIL): Remove macro.
4505 (NO_INLINE): Likewise.
4506 (fn1): Use match function instead of strstr.
4507 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4508 (ret): Remove variable.
4510 (FAIL): Remove macro.
4511 (NO_INLINE): Likewise.
4512 (fn): Use match function instead of strstr.
4513 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4514 (ret): Remove variable.
4516 (FAIL): Remove macro.
4517 (NO_INLINE): Likewise.
4518 (handle_signal): Use match function instead of strstr.
4519 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4520 (ret): Remove variable.
4522 (FAIL): Remove macro.
4523 (NO_INLINE): Likewise.
4524 (handle_signal): Use match function instead of strstr.
4526 2013-01-23 Roland McGrath <roland@hack.frob.com>
4528 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4530 2013-01-23 David S. Miller <davem@davemloft.net>
4532 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4533 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4534 argument of CAS if possible.
4535 * sysdeps/sparc/sparc64/bits/atomic.h
4536 (__arch_compare_and_exchange_val_32_acq): Likewise.
4537 (__arch_compare_and_exchange_val_64_acq): Likewise.
4539 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4541 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4542 * sysdeps/posix/ulimit.c: ... this.
4544 * sysdeps/unix/bsd/ulimit.c: Remove file.
4546 2013-01-23 Adam Conrad <adconrad@0c3.net>
4548 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4549 (LDFLAGS-tst-array5): Likewise.
4551 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4554 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4555 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4556 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4557 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4559 2013-01-21 David S. Miller <davem@davemloft.net>
4561 * sysdeps/sparc/backtrace.c: New file.
4562 * sysdeps/sparc/sparc32/backtrace.h: New file.
4563 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4564 * sysdeps/sparc/sparc64/backtrace.h: New file.
4565 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4566 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4569 2013-01-21 Andreas Schwab <schwab@suse.de>
4572 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4575 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4581 2013-01-18 Joseph Myers <joseph@codesourcery.com>
4582 Mark Mitchell <mark@codesourcery.com>
4583 Tom de Vries <tom@codesourcery.com>
4584 Paul Pluzhnikov <ppluzhnikov@google.com>
4586 * debug/tst-backtrace2.c: New file.
4587 * debug/tst-backtrace3.c: Likewise.
4588 * debug/tst-backtrace4.c: Likewise.
4589 * debug/tst-backtrace5.c: Likewise.
4590 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4591 (CFLAGS-tst-backtrace3.c): Likewise.
4592 (CFLAGS-tst-backtrace4.c): Likewise.
4593 (CFLAGS-tst-backtrace5.c): Likewise.
4594 (LDFLAGS-tst-backtrace2): Likewise.
4595 (LDFLAGS-tst-backtrace3): Likewise.
4596 (LDFLAGS-tst-backtrace4): Likewise.
4597 (LDFLAGS-tst-backtrace5): Likewise.
4598 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4599 tst-backtrace4 and tst-backtrace5.
4601 2013-01-18 Anton Blanchard <anton@samba.org>
4602 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4604 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4605 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4606 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4607 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4609 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4610 "+r" and remove output regs list as redundant. Add explicit inline
4611 asm to specify register of return val to work around compiler codegen
4612 bug. Remove (int) cast on return value. Add return type parameter to
4613 use in macro so that this macro does not truncate return value for
4615 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4616 pass to INTERNAL_VSYSCALL_NCS.
4617 (INLINE_VSYSCALL): Add 'long int' as return type to
4618 INTERNAL_VSYSCALL_NCS macro invocation.
4619 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4620 INTERNAL_VSYSCALL_NCS macro invocation.
4621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4623 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4626 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4627 Fix application of SIMD FP exception mask.
4629 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4630 mp_no from a power of two.
4631 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4632 __mpexp_twomm1. Use __pow_mp.
4634 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4637 2013-01-17 David S. Miller <davem@davemloft.net>
4639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4641 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4644 * include/complex.h: Condition contents on [!_COMPLEX_H].
4645 (__kernel_casinhf): New prototype.
4646 (__kernel_casinh): Likewise.
4647 (__kernel_casinhl): Likewise.
4648 * math/Makefile (libm_calls): Add k_casinh.
4649 * math/k_casinh.c: New file.
4650 * math/k_casinhf.c: Likewise.
4651 * math/k_casinhl.c: Likewise.
4652 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4653 finite nonzero arguments.
4654 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4655 finite nonzero arguments.
4656 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4657 finite nonzero arguments.
4658 * math/s_casinh.c: Do not include <float.h>.
4659 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4660 * math/s_casinhf.c: Do not include <float.h>.
4661 (__casinhf): Move code for finite nonzero arguments to
4663 * math/s_casinhl.c: Do not include <float.h>.
4664 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4666 (__casinhl): Move code for finite nonzero arguments to
4668 * math/libm-test.inc (cacos_test): Add more tests.
4669 * sysdeps/i386/fpu/libm-test-ulps: Update.
4670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4672 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4674 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4675 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4676 [!HAVE_MREMAP]: Remove [defined linux] case.
4677 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4679 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4681 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4683 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
4685 * elf/elf.h (R_386_SIZE32): New relocation.
4686 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4688 (elf_machine_rela): Likewise.
4689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4690 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4692 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4694 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4695 (FP_FAST_FMA): Do not define.
4696 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4697 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4698 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4699 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4700 !_SOFT_FLOAT]: Likewise.
4701 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4702 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4704 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4705 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4706 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4707 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4708 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4709 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4712 2013-01-16 Andreas Schwab <schwab@suse.de>
4715 * include/stdlib.h (__mktemp): Add declaration.
4716 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4717 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4719 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4721 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4723 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4724 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4725 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4727 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4728 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4730 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4732 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4733 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4734 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4736 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4737 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4739 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4741 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4743 2013-01-15 David S. Miller <davem@davemloft.net>
4745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4746 trunc{,f} to libm-sysdep_routes.
4747 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4757 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4758 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4759 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4760 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4761 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4762 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4765 nearbyint{,f} to libm-sysdep_routes.
4766 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4777 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4779 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4780 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4782 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4783 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4784 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4786 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4787 libc_feholdexcept and libc_fesetenv.
4789 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4791 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4793 2013-01-14 David S. Miller <davem@davemloft.net>
4795 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4796 (SPARC_ASM_VIS2_IFUNC): Likewise.
4797 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4799 use of 'siam' instruction.
4800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4806 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4808 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4818 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4819 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4820 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4821 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4828 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4829 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4833 routines to libm-sysdep_routines.
4834 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4837 fdim/fdimf to libm-sysdep_routines.
4838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4846 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4847 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4848 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4849 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4851 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4853 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4856 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4860 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4861 local variable MPTWO.
4862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4865 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4867 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4870 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4872 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4874 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4876 * manual/pattern.texi (glob_t): Document gl_flags.
4877 (glob64_t): Likewise.
4879 2013-01-11 David S. Miller <davem@davemloft.net>
4881 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4882 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4883 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4884 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4885 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4886 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4887 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4888 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4889 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4890 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4891 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4892 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4893 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4895 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4896 sparc V9 rather than using V8 code.
4897 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4898 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4900 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4902 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4905 2013-01-11 Roland McGrath <roland@hack.frob.com>
4907 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4908 not in the main loop.
4909 * configure: Regenerated.
4911 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4913 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4914 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4916 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4917 [!__GLIBC_HAVE_LONG_LONG] case.
4918 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4919 condition to just #else.
4920 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4921 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4922 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4923 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4925 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4926 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4927 #elif condition to just #else.
4928 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4929 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4930 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4931 #elif condition to just #else.
4933 2013-01-11 Steve Ellcey <sellcey@mips.com>
4935 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4936 (EF_MIPS_ARCH_64): Fix value.
4937 (EF_MIPS_ARCH_32R2): New.
4938 (EF_MIPS_ARCH_64R2): New.
4940 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4942 * Makeconfig (+link-pie-before-libc): New.
4943 (+link-pie-after-libc): Likewise.
4944 (+link-pie-tests): Likewise.
4945 (+link-pie): Rewritten.
4946 (link-before-libc): Remove $(config-LDFLAGS).
4947 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4948 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4949 (config-LDFLAGS): Renamed to ...
4950 (rtld-LDFLAGS): This.
4951 (rtld-tests-LDFLAGS): New macro.
4952 (link-libc-rpath-link): Likewise.
4953 (link-libc-tests-rpath-link): Likewise.
4954 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4955 (link-libc): Prepand $(link-libc-rpath-link).
4956 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4957 (test-program-prefix): New macro.
4958 (test-via-rtld-prefix): Likewise.
4959 (test-program-cmd): Likewise.
4960 (host-test-program-cmd): Likewise.
4961 * Makefile ($(common-objpfx)testrun.sh): Replace
4962 $(run-program-prefix) with $(test-program-prefix).
4963 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4965 ($(common-objpfx)shlib.lds): Likewise.
4966 (build-module-helper): Likewise.
4967 ($(common-objpfx)format.lds): Likewise.
4968 * Rules (binaries-pie-tests): New.
4969 (binaries-pie-notests): Likewise.
4970 (binaries-pie): Rewritten.
4971 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4972 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4973 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4974 (make-test-out): Replace $(host-built-program-cmd) with
4975 $(host-test-program-cmd).
4976 * config.make.in (build-hardcoded-path-in-tests): New variable.
4977 * configure.in (--enable-hardcoded-path-in-tests): New configure
4979 (hardcoded_path_in_tests): New AC_SUBST.
4980 * configure: Regenerated.
4981 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4982 $(built-program-cmd) with $(test-program-cmd).
4983 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4984 (test_program_cmd): This.
4985 * elf/Makefile ($(objpfx)order.out): Run test with
4986 $(test-program-prefix).
4987 ($(objpfx)order2.out): Likewise.
4988 ($(objpfx)tst-initorder.out): Likewise.
4989 ($(objpfx)tst-initorder2.out): Likewise.
4990 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4991 $(test-program-cmd).
4992 ($(objpfx)tst-array1-static.out): Likewise.
4993 ($(objpfx)tst-array2.out): Likewise.
4994 ($(objpfx)tst-array3.out): Likewise.
4995 ($(objpfx)tst-array4.out): Likewise.
4996 ($(objpfx)tst-array5.out): Likewise.
4997 ($(objpfx)tst-array5-static.out): Likewise.
4998 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4999 $(test-program-cmd).
5000 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
5001 $(run-program-prefix) with $(test-program-prefix).
5002 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
5003 (test_program_prefix): This.
5004 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
5005 $(run-program-prefix) with $(test-program-prefix).
5006 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
5007 (test_program_prefix): This.
5008 * iconvdata/tst-tables.sh: Likewise.
5009 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5010 $(run-program-prefix) with $(test-program-prefix).
5011 ($(objpfx)tst-translit.out): Likewise.
5012 ($(objpfx)tst-gettext2.out): Likewise.
5013 ($(objpfx)tst-gettext4.out): Likewise.
5014 ($(objpfx)tst-gettext6.out): Likewise.
5015 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5016 (test_program_prefix): This.
5017 * intl/tst-gettext2.sh: Likewise.
5018 * intl/tst-gettext4.sh Likewise.
5019 * intl/tst-gettext6.sh: Likewise.
5020 * intl/tst-translit.sh: Likewise.
5021 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5022 with $(test-program-cmd).
5023 * libio/Makefile ($(objpfx)test-freopen.out): Replace
5024 $(run-program-prefix) with $(test-program-prefix).
5025 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5026 (test_program_prefix): This.
5027 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5028 $(run-program-prefix) with $(test-program-prefix).
5029 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5030 (test_program_prefix): This.
5031 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5032 * posix/Makefile ($(objpfx)globtest.out): Replace
5033 $(run-via-rtld-prefix) and $(test-wrapper) with
5034 $(test-program-prefix) and $(test-via-rtld-prefix).
5035 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5036 $(test-program-prefix).
5037 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5038 $(host-test-program-cmd).
5039 (tst-spawn-ARGS): Likewise.
5040 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5041 $(test-program-prefix).
5042 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5043 (test_via_rtld_prefix): This.
5044 (test_wrapper): Renamed to ...
5045 (test_program_prefix): This.
5046 (run_program_prefix): Replaced by test_program_prefix.
5047 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5048 (test_program_prefix): This.
5049 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5050 with $(host-test-program-cmd).
5051 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5052 $(run-program-prefix) with $(test-program-prefix).
5053 ($(objpfx)tst-printf.out): Likewise.
5054 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5055 $(test-program-cmd).
5056 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5057 (test_program_prefix): This.
5058 * stdio-common/tst-unbputc.sh: Likewise.
5059 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5060 $(run-program-prefix) with $(test-program-prefix).
5061 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5062 (test_program_prefix): This.
5063 * string/Makefile ($(objpfx)tst-svc.out): Replace
5064 $(built-program-cmd) with $(test-program-cmd).
5066 2013-01-11 Andreas Jaeger <aj@suse.de>
5069 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5070 value. Sync with Linux 3.7.
5072 2013-01-10 David S. Miller <davem@davemloft.net>
5074 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5075 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5076 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5078 2013-01-10 Roland McGrath <roland@hack.frob.com>
5080 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5082 * configure: Regenerated.
5084 2013-01-10 David S. Miller <davem@davemloft.net>
5086 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5087 sparc V9 rather than using V8 code.
5088 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5089 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5091 2013-01-10 Roland McGrath <roland@hack.frob.com>
5093 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5094 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5095 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5096 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5097 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5098 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5099 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5100 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5101 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5102 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5103 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5104 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5105 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5106 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5107 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5108 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5109 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5110 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5111 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5112 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5113 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5114 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5115 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5116 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5117 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5118 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5119 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5121 2013-01-10 David S. Miller <davem@davemloft.net>
5123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5125 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5127 * posix/Makefile (tests-static): New variable.
5128 (tests): Add $(tests-static).
5129 (tst-exec-static-ARGS): New variable.
5130 (tst-spawn-static-ARGS): Likewise.
5131 * posix/tst-exec-static.c: New file.
5132 * posix/tst-spawn-static.c: Likewise.
5133 * posix/tst-exec.c: Support run directly.
5134 * posix/tst-spawn.c: Likewise.
5136 2013-01-10 Joseph Myers <joseph@codesourcery.com>
5138 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5140 * math/bits/mathcalls.h (llrint): Likewise.
5141 (llround): Likewise.
5142 * stdlib/stdlib.h (struct drand48_data): Likewise.
5143 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5144 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5145 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5147 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5149 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5150 (elf_greg_t): Likewise.
5151 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5152 (__jmp_buf): Likewise.
5153 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5155 (llrint): Likewise, for all definitions.
5156 (llrintl): Likewise.
5158 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5159 Remove [__GNUC__] condition.
5160 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5161 condition to just [__USE_ISOC99].
5162 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5164 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5167 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5168 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5170 (_POSIX_V6_ILP32_OFF32): Likewise.
5171 (_XBS5_ILP32_OFF32): Likewise.
5172 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5173 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5175 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5177 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5179 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5180 doubles __mpexp_twomm1. Adjust usage.
5181 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5184 2013-01-10 Andreas Schwab <schwab@suse.de>
5187 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5188 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5190 2013-01-09 David S. Miller <davem@davemloft.net>
5193 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5194 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5195 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5196 TCP_FASTOPEN): Define.
5197 (tcp_repair_opt): New structure.
5198 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5200 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5201 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5202 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5203 (tcp_cookie_transactions): New structure.
5205 2013-01-09 Anton Blanchard <anton@samba.org>
5207 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5208 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5209 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5210 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5212 2013-01-09 Joseph Myers <joseph@codesourcery.com>
5214 * include/features.h (__USE_ANSI): Remove.
5216 2013-01-09 Roland McGrath <roland@hack.frob.com>
5218 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5220 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5222 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5224 * sysdeps/s390/fpu/libm-test-ulps: Update.
5226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5228 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5233 (__mp_dbl): Likewise.
5234 (__dbl_mp): Likewise.
5235 (add_magnitudes): Likewise.
5236 (sub_magnitudes): Likewise.
5242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5247 (__mp_dbl): Likewise.
5248 (__dbl_mp): Likewise.
5249 (add_magnitudes): Likewise.
5250 (sub_magnitudes): Likewise.
5256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5261 (__mp_dbl): Likewise.
5262 (__dbl_mp): Likewise.
5263 (add_magnitudes): Likewise.
5264 (sub_magnitudes): Likewise.
5271 2013-01-08 Joseph Myers <joseph@codesourcery.com>
5273 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5274 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5275 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5276 2 && __USE_EXTERN_INLINES]: Likewise.
5278 2013-01-08 Andreas Jaeger <aj@suse.de>
5281 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5283 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5284 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5286 2013-01-07 Anton Blanchard <anton@samba.org>
5288 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5289 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5290 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5291 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5292 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5293 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5294 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5295 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5296 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5297 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5298 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5299 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5300 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5301 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5302 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5303 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5304 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5305 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5306 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5307 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5308 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5309 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5310 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5311 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5312 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5313 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5314 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5315 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5316 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5317 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5318 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5320 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5321 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5322 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5323 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5324 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5325 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5326 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5327 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5328 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5329 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5330 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5332 2013-01-07 Joseph Myers <joseph@codesourcery.com>
5334 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5335 (__MALLOC_PMT): Likewise.
5336 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5337 [__GNUC__], only on [_LIBC].
5338 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5339 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5340 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5341 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5342 forward declaration.
5343 (realloc_hook_ini): Likewise.
5344 (memalign_hook_ini): Likewise.
5345 (__libc_memalign): Do not use __MALLOC_PMT in variable
5347 (__libc_valloc): Likewise.
5348 (__libc_pvalloc): Likewise.
5349 (__libc_calloc): Likewise.
5350 (__posix_memalign): Likewise.
5353 * math/s_casinh.c: Include <float.h>.
5354 (__casinh): Do not do computation with squaring and square root
5355 for large arguments.
5356 * math/s_casinhf.c: Include <float.h>.
5357 (__casinhf): Do not do computation with squaring and square root
5358 for large arguments.
5359 * math/s_casinhl.c: Include <float.h>.
5360 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5361 (__casinhl): Do not do computation with squaring and square root
5362 for large arguments.
5363 * math/libm-test.inc (casin_test): Add more tests.
5364 (casinh_test): Likewise.
5365 * sysdeps/i386/fpu/libm-test-ulps: Update.
5366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5368 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5370 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5371 (__x86_64_raw_data_cache_size): Likewise.
5372 (__x86_64_data_cache_size_half): Likewise.
5373 (__x86_64_raw_data_cache_size_half): Likewise.
5374 (__x86_64_shared_cache_size): Likewise.
5375 (__x86_64_raw_shared_cache_size): Likewise.
5376 (__x86_64_shared_cache_size_half): Likewise.
5377 (__x86_64_raw_shared_cache_size_half): Likewise.
5378 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5380 (__x86_data_cache_size): This.
5381 (__x86_64_raw_data_cache_size): Renamed to ...
5382 (__x86_raw_data_cache_size): This.
5383 (__x86_64_data_cache_size_half): Renamed to ...
5384 (__x86_data_cache_size_half): This.
5385 (__x86_64_raw_data_cache_size_half): Renamed to ...
5386 (__x86_raw_data_cache_size_half): This.
5387 (__x86_64_shared_cache_size): Renamed to ...
5388 (__x86_shared_cache_size): This.
5389 (__x86_64_raw_shared_cache_size): Renamed to ...
5390 (__x86_raw_shared_cache_size): This.
5391 (__x86_64_shared_cache_size_half): Renamed to ...
5392 (__x86_shared_cache_size_half): This.
5393 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5394 (__x86_raw_shared_cache_size_half): This.
5395 * sysdeps/x86_64/memcpy.S: Updated.
5396 * sysdeps/x86_64/memset.S: Likewise.
5397 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5398 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5399 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5401 2013-01-04 David S. Miller <davem@davemloft.net>
5403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5405 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5407 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5408 1 to avoid redefinition warning.
5409 (__USE_GNU): Don't define.
5410 (init_signaling_nan): Protoize.
5412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5414 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5416 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5418 (__cpymn): Likewise.
5419 (norm): Remove commented code.
5421 (__mp_dbl): Likewise.
5423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5424 (__cpymn): Likewise.
5425 (norm): Remove commented code.
5427 (__mp_dbl): Likewise.
5430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5431 mp_no value for 1.0 and 2.0.
5432 (norm): Use RADIXI instead of radixi.d.
5434 (__mul): Use 0.0 instead of zero.d.
5435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5436 mp_no value for 1.0 and 2.0.
5437 (norm): Use RADIXI instead of radixi.d.
5439 (__mul): Use 0.0 instead of zero.d.
5441 2013-01-04 Joseph Myers <joseph@codesourcery.com>
5444 * math/s_casinh.c (__casinh): Reduce finite argument to first
5445 quadrant then set signs of results at the end.
5446 * math/s_casinhf.c (__casinhf): Likewise.
5447 * math/s_casinhl.c (__casinhl): Likewise.
5448 * math/libm-test.inc (casin_test): Add more tests.
5449 (casinh_test): Likewise.
5450 * sysdeps/i386/fpu/libm-test-ulps: Update.
5451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5453 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5455 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5457 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5459 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5462 (__mp_dbl): Likewise.
5465 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5466 and adjust the header comment.
5468 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5469 variable name from declaration.
5471 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5474 Initialize COMMON_CPUID_INDEX_7 element.
5475 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5476 (CPUID_RTM): Likewise.
5477 (HAS_RTM): Likewise.
5478 (COMMON_CPUID_INDEX_7): New enum.
5480 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5483 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5484 size is zero, record memory as freed.
5486 2013-01-03 Andreas Jaeger <aj@suse.de>
5488 * po/ia.po: Add new Interlingua translation.
5490 2012-01-03 Allan McRae <allan@archlinux.org>
5492 * locale/programs/localedef.c: Fix description of '--posix' flag.
5494 2013-01-02 Joseph Myers <joseph@codesourcery.com>
5496 * NEWS: Update dates in second copyright notice.
5497 * README: Update copyright dates in example.
5498 * manual/libc.texinfo: Update copyright dates.
5499 * scripts/test-installation.pl: Update copyright date in --version
5502 * hurd/ctty-input.c: Fix copyright notice formatting.
5503 * hurd/ctty-output.c: Likewise.
5504 * hurd/dtable.c: Likewise.
5505 * hurd/hurd-raise.c: Likewise.
5506 * hurd/hurdprio.c: Likewise.
5507 * hurd/msgportdemux.c: Likewise.
5508 * misc/sys/file.h: Likewise.
5509 * misc/sys/ioctl.h: Likewise.
5510 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5511 * sysdeps/mach/hurd/chdir.c: Likewise.
5512 * sysdeps/mach/hurd/fchdir.c: Likewise.
5513 * sysdeps/mach/hurd/rename.c: Likewise.
5514 * sysdeps/mach/hurd/rmdir.c: Likewise.
5515 * sysdeps/mach/hurd/seekdir.c: Likewise.
5516 * sysdeps/mach/hurd/setsid.c: Likewise.
5517 * sysdeps/posix/wait3.c: Likewise.
5519 * All files with FSF copyright notices: Update copyright dates
5520 using scripts/update-copyrights.
5521 * intl/plural.c: Regenerated.
5522 * locale/programs/charmap-kw.h: Likewise.
5523 * locale/programs/locfile-kw.h: Likewise.
5525 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5527 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5530 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5531 calculation loop and add branch prediction.
5533 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5534 check access beyond bounds of m1np.
5536 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5538 (__inv): Remove local variable MPTWO to use the global
5540 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5541 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5543 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5544 MP3HALFS static const.
5546 2013-01-01 David S. Miller <davem@davemloft.net>
5548 * po/ca.po: Update from translation team.
5550 2013-01-01 Joseph Myers <joseph@codesourcery.com>
5552 * scripts/update-copyrights: New file.
5553 * Makeconfig: Reformat copyright notice.
5554 * ctype/ctype.h: Likewise.
5555 * debug/swprintf_chk.c: Likewise.
5556 * elf/dl-cache.c: Likewise.
5557 * elf/dl-debug.c: Likewise.
5558 * elf/dl-object.c: Likewise.
5559 * grp/initgroups.c: Likewise.
5560 * hurd/Makefile: Likewise.
5561 * hurd/hurd/signal.h: Likewise.
5562 * hurd/hurdfault.c: Likewise.
5563 * hurd/hurdioctl.c: Likewise.
5564 * hurd/hurdlookup.c: Likewise.
5565 * hurd/intr-msg.c: Likewise.
5566 * iconv/gconv_open.c: Likewise.
5567 * libio/swprintf.c: Likewise.
5568 * locale/lc-ctype.c: Likewise.
5569 * locale/nl_langinfo.c: Likewise.
5570 * mach/Machrules: Likewise.
5571 * mach/Makefile: Likewise.
5572 * malloc/obstack.h: Likewise.
5573 * manual/Makefile: Likewise.
5574 * manual/tsort.awk: Likewise.
5575 * misc/bits/stab.def: Likewise.
5576 * nis/nis_print_group_entry.c: Likewise.
5577 * nis/nis_table.c: Likewise.
5578 * nis/nss_compat/compat-pwd.c: Likewise.
5579 * nis/nss_compat/compat-spwd.c: Likewise.
5580 * po/Makefile: Likewise.
5581 * posix/fnmatch.c: Likewise.
5582 * posix/regex.h: Likewise.
5583 * resolv/Makefile: Likewise.
5584 * resolv/nss_dns/dns-network.c: Likewise.
5585 * resolv/res_hconf.c: Likewise.
5586 * scripts/gen-sorted.awk: Likewise.
5587 * soft-fp/soft-fp.h: Likewise.
5588 * stdio-common/printf.h: Likewise.
5589 * stdlib/monetary.h: Likewise.
5590 * stdlib/random.c: Likewise.
5591 * stdlib/random_r.c: Likewise.
5592 * sysdeps/generic/Makefile: Likewise.
5593 * sysdeps/gnu/Makefile: Likewise.
5594 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5595 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5596 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5597 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5598 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5599 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5600 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5601 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5602 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5603 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5604 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5605 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5606 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5607 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5608 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5609 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5610 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5611 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5612 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5613 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5614 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5615 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5616 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5617 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5618 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5619 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5620 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5621 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5622 * sysdeps/mach/hurd/errnos.awk: Likewise.
5623 * sysdeps/mach/hurd/fork.c: Likewise.
5624 * sysdeps/mach/hurd/getcwd.c: Likewise.
5625 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5626 * sysdeps/mach/hurd/mmap.c: Likewise.
5627 * sysdeps/mach/hurd/utimes.c: Likewise.
5628 * sysdeps/mach/hurd/xmknod.c: Likewise.
5629 * sysdeps/posix/profil.c: Likewise.
5630 * sysdeps/posix/readdir_r.c: Likewise.
5631 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5632 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5633 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5634 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5636 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5637 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5638 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5639 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5640 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5641 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5642 * sysdeps/pthread/lio_listio.c: Likewise.
5643 * sysdeps/sparc/dl-procinfo.h: Likewise.
5644 * sysdeps/unix/i386/sysdep.S: Likewise.
5645 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5646 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5647 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5648 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5650 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5651 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5652 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5653 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5654 * sysdeps/wordsize-32/divdi3.c: Likewise.
5655 * time/sys/time.h: Likewise.
5656 * wcsmbs/Makefile: Likewise.
5658 2013-01-01 David S. Miller <davem@davemloft.net>
5660 * po/fr.po: Update from translation team.
5662 * catgets/gencat.c: Update copyright year.
5663 * csu/version.c: Likewise.
5664 * debug/catchsegv.sh: Likewise.
5665 * debug/pcprofiledump.c: Likewise.
5666 * debug/xtrace.sh: Likewise.
5667 * elf/ldconfig.c: Likewise.
5668 * elf/ldd.bash.in: Likewise.
5669 * elf/pldd.c: Likewise.
5670 * elf/sotruss.ksh: Likewise.
5671 * elf/sprof.c: Likewise.
5672 * iconv/iconv_prog.c: Likewise.
5673 * iconv/iconvconfig.c: Likewise.
5674 * locale/programs/locale.c: Likewise.
5675 * locale/programs/localedef.c: Likewise.
5676 * login/programs/pt_chown.c: Likewise.
5677 * malloc/memusage.sh: Likewise.
5678 * malloc/memusagestat.c: Likewise.
5679 * malloc/mtrace.pl: Likewise.
5680 * nscd/nscd.c: Likewise.
5681 * nss/getent.c: Likewise.
5682 * nss/makedb.c: Likewise.
5683 * posix/getconf.c: Likewise.
5685 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5687 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5690 2012-12-30 Mike Frysinger <vapier@gentoo.org>
5692 * math/bits/mathcalls.h (modf): Use __nonnull.
5694 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5696 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5697 (split): Use macro CN instead of the bare value.
5698 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5700 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5701 instead of the bare value.
5704 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5706 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5708 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5710 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5712 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5713 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5714 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5715 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5717 2012-12-28 Andreas Jaeger <aj@suse.de>
5719 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5720 values are from Linux 3.7.
5722 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5723 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5725 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5727 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5730 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5732 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5733 variables with preprocessor constants.
5734 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5735 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5736 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5738 2012-12-27 Bruno Haible <bruno@clisp.org>
5741 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5744 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5746 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5747 and use variable directly.
5748 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5750 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5752 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5753 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5755 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5756 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5757 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5758 include directive. Remove local variable MPONE.
5759 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5760 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5761 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5763 2012-12-25 David S. Miller <davem@davemloft.net>
5765 * version.h (RELEASE): Set to "development".
5766 (VERSION): Set to "2.17.90".
5767 * NEWS: Add 2.18 section.
5769 2012-12-21 David S. Miller <davem@davemloft.net>
5771 * po/hr.po: Update from translation team.
5773 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5775 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5777 2012-12-19 Steve Ellcey <sellcey@mips.com>
5779 * NEWS: Mention new memcpy for MIPS.
5781 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5783 * manual/contrib.texi (Contributors): Spelling correction.
5785 2012-12-15 David S. Miller <davem@davemloft.net>
5787 * po/ru.po: Update from translation team.
5789 2012-12-13 David S. Miller <davem@davemloft.net>
5791 * NEWS: Mention IFUNC testsuite enhancements.
5793 * po/pl.po: Update from translation team.
5794 * po/bg.po: Likewise.
5796 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5797 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5799 2012-12-11 David S. Miller <davem@davemloft.net>
5801 * po/sv.po: Update from translation team.
5803 * po/vi.po: Update from translation team.
5805 * po/cs.po: Update from translation team.
5807 * po/de.po: Update from translation team.
5808 * po/eo.po: Likewise.
5809 * po/nl.po: Likewise.
5811 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5814 * manual/argp.texi (Argp Helper Functions): Move node to follow
5818 * manual/conf.texi (Limits on File System Capacity): Mention if
5819 terminating null is included in the max size.
5821 2012-12-10 Andreas Jaeger <aj@suse.de>
5823 * po/cs.po: Update from translation team.
5825 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5827 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5828 void pointer and cast to uintptr_t.
5829 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5831 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5832 * sysdeps/s390/s390-64/memset.S: Likewise.
5834 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5837 * menual/message.texi (Message Translation): Fix typos.
5838 (Helper programs for gettext): Likewise.
5840 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5843 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5846 2012-12-07 David S. Miller <davem@davemloft.net>
5848 * po/libc.pot: Update.
5850 2012-12-07 Richard Henderson <rth@redhat.com>
5853 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5854 normal/normal case to before the switch.
5855 (_FP_DIV): Likewise.
5857 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5858 Mike Frysinger <vapier@gentoo.org>
5860 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5861 check for __NR_fadvise64_64.
5863 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5865 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5866 0, not just to plain "0" as a statement.
5867 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5870 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5872 * NEWS: Use sourceware.org in Bugzilla URL.
5874 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5877 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5879 * stdio-common/tst-put-error.c (do_test): Add newline to the
5880 padded test to ensure flush.
5882 2012-12-05 Jeff Law <law@redhat.com>
5884 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5886 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5888 * README: Don't refer to ports add-on as distributed separately.
5889 Mention AArch64 in list of systems supported in the ports add-on.
5891 * LICENSES: Add more non-FSF copyright and license notices.
5893 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5896 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5898 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5899 10000 as width of padded output.
5901 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5903 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5905 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5906 variable LX with __attribute__ ((unused)).
5907 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5909 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5910 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5911 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5912 with __attribute__ ((unused)).
5914 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5916 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5918 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5920 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5921 (CFLAGS-nldbl-acos.c): New variable.
5922 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5923 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5924 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5925 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5926 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5927 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5928 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5929 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5930 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5931 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5932 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5933 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5934 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5935 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5936 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5937 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5938 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5939 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5940 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5941 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5942 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5943 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5944 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5945 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5946 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5947 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5948 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5949 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5950 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5951 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5952 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5953 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5954 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5955 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5956 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5957 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5958 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5959 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5960 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5961 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5962 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5963 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5964 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5965 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5966 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5967 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5968 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5969 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5970 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5971 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5972 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5973 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5974 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5975 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5976 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5977 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5978 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5979 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5980 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5981 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5982 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5983 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5984 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5985 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5986 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5987 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5988 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5989 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5990 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5991 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5992 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5993 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5994 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5995 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5996 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5997 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5998 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5999 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
6000 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
6001 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
6002 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
6003 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
6004 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
6005 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
6006 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
6007 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
6008 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
6009 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6010 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6011 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6012 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6013 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6014 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6015 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6016 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6017 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6018 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6021 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6024 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6025 whole low double instead of just low 47 bits when splitting values
6028 2012-12-03 Allan McRae <allan@archlinux.org>
6030 * manual/stdio.texi (Predefined Printf Handlers): Remove
6031 @hsep and @vsep usage.
6033 2012-12-03 Mike Frysinger <vapier@gentoo.org>
6035 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6036 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6038 2012-12-03 Jeff Law <law@redhat.com>
6040 * time/sys/time.h (settimeofday): Do not mark TV argument
6043 2012-12-01 Mike Frysinger <vapier@gentoo.org>
6045 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6046 when currently writing and seek to current position when not.
6047 * libio/Makefile (tests): Remove bug-fclose1.
6048 * libio/bug-fclose1.c: Delete.
6050 2012-12-01 Joseph Myers <joseph@codesourcery.com>
6052 * manual/arith.texi (feenableexcept): Fix typo.
6053 (fedisableexcept): Likewise.
6055 2012-11-30 Roland McGrath <roland@hack.frob.com>
6057 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6058 second, differently-typed declaration, rather than a cast.
6060 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6062 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6063 * include/rpc/svc.h: ... here.
6065 2012-11-30 Aurelien Jarno <aurel32@debian.org>
6068 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6069 depending n and resplen2 to catch cases where answer
6072 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6074 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6075 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6077 2012-11-29 Mike Frysinger <vapier@gentoo.org>
6079 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6081 2012-11-29 Roland McGrath <roland@hack.frob.com>
6083 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6085 2012-11-28 Jeff Law <law@redhat.com>
6088 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6089 dataset_temporary. Track alloca usage into alloca_used.
6090 If dataset is large allocate and release it via malloc/free.
6092 2012-06-04 Florian Weimer <fweimer@redhat.com>
6095 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6097 2012-11-28 David S. Miller <davem@davemloft.net>
6099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6101 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6104 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6105 of pi/2 rounded to nearest to 64 bits.
6106 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6108 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6111 2012-11-28 Jeff Law <law@redhat.com>
6112 Martin Osvald <mosvald@redhat.com>
6115 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6116 * sunrpc/svc.c: Include time.h.
6117 (__svc_accept_failed): New function.
6118 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6119 any reason other than EINTR, call __svc_accept_failed.
6120 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6121 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6123 2012-11-28 Andreas Schwab <schwab@suse.de>
6125 * scripts/abilist.awk: Also handle indirect functions in .opd
6128 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6131 * sysdeps/x86/fpu/powl_helper.c: New file.
6132 * sysdeps/x86/fpu/Makefile: Likewise.
6133 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6135 (__ieee754_powl): Use __powl_helper for finite arguments except
6136 integer exponents below 8.
6137 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6139 (__ieee754_powl): Use __powl_helper for finite arguments except
6140 integer exponents below 8.
6141 * math/libm-test.inc (pow_test): Add more tests and enable some
6142 previously disabled tests.
6143 * sysdeps/i386/fpu/libm-test-ulps: Update.
6144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6146 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6147 Carlos O'Donell <carlos_odonell@mentor.com>
6149 * nss/makedb.c (is_prime): Assert that input is odd and greater
6150 than 4. Note that fact in a comment too.
6151 (next_prime): Add 4 to input.
6153 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6156 * libio/Makefile (tests): Add test case tst-fwrite-error.
6157 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6158 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6159 * libio/tst-fwrite-error.c: New test case.
6161 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6163 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6164 before casting to void *.
6165 * include/libc-internal.h (__pointer_type): New macro.
6166 (__integer_if_pointer_type_sub): Likewise.
6167 (__integer_if_pointer_type): Likewise.
6168 (cast_to_integer): Likewise.
6169 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6170 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6171 before casting to atomic64_t.
6172 (atomic_exchange_acq): Likewise.
6173 (__arch_exchange_and_add_body): Likewise.
6174 (__arch_add_body): Likewise.
6175 (atomic_add_negative): Likewise.
6176 (atomic_add_zero): Likewise.
6178 2012-11-26 Joseph Myers <joseph@codesourcery.com>
6180 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6181 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6182 (add_fdes): Likewise.
6183 (linear_search_fdes): Likewise.
6184 (binary_search_unencoded_fdes): Likewise.
6186 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
6188 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6190 2012-11-24 Adam Conrad <adconrad@0c3.net>
6192 * configure.in: Autodetect C++ header directories.
6193 * configure: Regenerated.
6195 2012-11-23 Mike Frysinger <vapier@gentoo.org>
6197 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6199 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
6201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6203 2012-11-22 Joseph Myers <joseph@codesourcery.com>
6205 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6206 LDBL_MANT_DIG == 106]: Disable some tests.
6207 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6209 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6213 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6214 input for small inputs. Return +/- pi/2 for large inputs.
6215 * math/libm-test.inc (atan_test): Add more tests.
6217 * sysdeps/generic/unwind-dw2-fde-glibc.c
6218 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6219 __attribute__ ((unused)).
6222 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6223 x * y if x and y are nonzero and z is zero.
6226 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6227 nonzero exponents with absolute value below 0x1p-117 to +/-
6231 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6232 up arguments below 2**-450, not just those below 2**-500.
6233 * math/libm-test.inc (hypot_test): Add another test.
6236 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6237 Return a+b for ratio over 2**120, not 2**60.
6238 * math/libm-test.inc (hypot_test): Add another test.
6240 * math/libm-test.inc (clog_test): Use
6241 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6242 (clog10_test): Likewise.
6245 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6247 2012-11-22 Andreas Schwab <schwab@suse.de>
6249 * sysdeps/i386/fpu/libm-test-ulps: Update.
6251 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6253 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6254 printf output with newline.
6256 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6259 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6260 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6261 -z nodlopen, -z initfirst and -z execstack support.
6262 * configure: Regenerated.
6264 * elf/elf.h (DF_1_NODIRECT): New macro.
6265 (DF_1_IGNMULDEF): Likewise.
6266 (DF_1_NOKSYMS): Likewise.
6267 (DF_1_NOHDR): Likewise.
6268 (DF_1_EDITED): Likewise.
6269 (DF_1_NORELOC): Likewise.
6270 (DF_1_SYMINTPOSE): Likewise.
6271 (DF_1_GLOBAUDIT): Likewise.
6272 (DF_1_SINGLETON): Likewise.
6273 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6274 DT_1_SUPPORTED_MASK bits.
6275 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6277 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6279 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6281 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6283 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6286 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6287 (sendmmsg): Move declarations...
6288 * socket/sys/socket.h: ... here.
6289 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6290 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6292 * socket/recvmmsg.c: ... this new file.
6293 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6294 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6295 definition of __sendmmsg hidden.
6296 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6297 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6298 Move ENOSYS stub into and include it from...
6299 * socket/sendmmsg.c: ... this new file.
6300 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6301 (sysdep_routines): Move recvmmsg and sendmmsg...
6302 * socket/Makefile (routines): ... here.
6303 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6304 (GLIBC_PRIVATE): Add __sendmmsg.
6305 * include/sys/socket.h (__sendmmsg): Add declarations.
6306 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6309 2012-11-20 Joseph Myers <joseph@codesourcery.com>
6311 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6312 variable I1 with __attribute__ ((unused)).
6313 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6315 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6317 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6318 DUMMY variables with __attribute__ ((unused)).
6320 * bits/byteswap.h: Include <bits/types.h>.
6321 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6323 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6325 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6326 string_t. Do not manually set errno.
6327 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6328 length with __strnlen. Make sure to both set errno and return it on
6331 2012-11-19 David S. Miller <davem@davemloft.net>
6333 With help from Joseph Myers.
6334 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6335 very large arguments properly.
6336 * math/libm-test.inc (atan_test): New tests.
6337 (atan2_test): New tests.
6338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6339 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6341 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6344 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6347 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6348 [POSIX] (EADDRNOTAVAIL): Likewise.
6349 [POSIX] (EAFNOSUPPORT): Likewise.
6350 [POSIX] (EALREADY): Likewise.
6351 [POSIX] (ECONNABORTED): Likewise.
6352 [POSIX] (ECONNREFUSED): Likewise.
6353 [POSIX] (ECONNRESET): Likewise.
6354 [POSIX] (EDESTADDRREQ): Likewise.
6355 [POSIX] (EDQUOT): Likewise.
6356 [POSIX] (EHOSTUNREACH): Likewise.
6357 [POSIX] (EIDRM): Likewise.
6358 [POSIX] (EISCONN): Likewise.
6359 [POSIX] (ELOOP): Likewise.
6360 [POSIX] (EMULTIHOP): Likewise.
6361 [POSIX] (ENETDOWN): Likewise.
6362 [POSIX] (ENETUNREACH): Likewise.
6363 [POSIX] (ENOBUFS): Likewise.
6364 [POSIX] (ENODATA): Likewise.
6365 [POSIX] (ENOLINK): Likewise.
6366 [POSIX] (ENOMSG): Likewise.
6367 [POSIX] (ENOPROTOOPT): Likewise.
6368 [POSIX] (ENOSR): Likewise.
6369 [POSIX] (ENOSTR): Likewise.
6370 [POSIX] (ENOTCONN): Likewise.
6371 [POSIX] (ENOTSOCK): Likewise.
6372 [POSIX] (EOPNOTSUPP): Likewise.
6373 [POSIX] (EOVERFLOW): Likewise.
6374 [POSIX] (EPROTO): Likewise.
6375 [POSIX] (EPROTONOSUPPORT): Likewise.
6376 [POSIX] (EPROTOTYPE): Likewise.
6377 [POSIX] (ESTALE): Likewise.
6378 [POSIX] (ETIME): Likewise.
6379 [POSIX] (ETXTBSY): Likewise.
6380 [POSIX] (EWOULDBLOCK): Likewise.
6381 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6382 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6383 [POSIX] (SEEK_CUR): Likewise.
6384 [POSIX] (SEEK_END): Likewise.
6385 [POSIX || UNIX98] (mode_t): Do not require.
6386 [POSIX] (off_t): Likewise.
6387 [POSIX] (pid_t): Likewise.
6388 [POSIX] (sys/stat.h): Do not allow header.
6389 [POSIX] (unistd.h): Likewise.
6390 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6391 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6392 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6393 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6395 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6396 sigevent): Specify elements.
6397 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6399 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6400 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6402 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6403 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6404 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6405 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6406 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6407 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6408 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6409 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6410 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6411 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6412 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6413 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6414 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6415 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6417 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6419 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6421 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6423 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6424 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6425 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6426 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6427 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6428 Specify lower bound on value.
6429 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6430 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6431 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6432 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6433 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6434 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6435 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6436 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6438 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6440 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6441 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6442 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6443 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6444 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6445 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6446 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6447 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6448 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6449 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6450 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6451 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6452 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6453 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6454 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6455 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6457 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6459 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6460 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6461 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6462 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6463 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6464 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6466 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6467 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6468 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6469 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6470 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6471 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6472 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6474 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6475 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6476 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6477 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6478 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6479 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6480 specify as optional.
6481 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6482 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6483 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6484 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6485 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6486 [XPG3] (NL_LANGMAX): Likewise.
6487 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6488 [POSIX || XPG3] (NL_NMAX): Likewise.
6489 [POSIX || XPG3] (NL_SETMAX): Likewise.
6490 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6491 [XPG3] (NZERO): Likewise.
6492 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6493 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6494 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6495 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6496 (REG_ERANGE): Expect.
6497 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6499 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6500 Use (void) in prototype.
6501 [POSIX] (*_t): Allow.
6502 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6503 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6504 (WRDE_BADVAL): Expect.
6506 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6508 [XPG3 || XPG4] (O_RSYNC): Likewise.
6509 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6511 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6512 [XPG3 || XPG4] (sigqueue): Likewise.
6513 [XPG3 || XPG4] (sigtimedwait): Likewise.
6514 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6515 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6516 [XPG3 || XPG4] (vsnprintf): Likewise.
6517 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6519 [XPG3 || XPG4] (blksize_t): Likewise.
6520 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6522 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6523 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6524 [XPG3 || XPG4] (struct itimerspec): Likewise.
6525 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6526 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6527 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6528 [XPG3 || XPG4] (clockid_t): Likewise.
6529 [XPG3 || XPG4] (timer_t): Likewise.
6530 [XPG3 || XPG4] (clock_getres): Likewise.
6531 [XPG3 || XPG4] (clock_gettime): Likewise.
6532 [XPG3 || XPG4] (clock_settime): Likewise.
6533 [XPG3 || XPG4] (nanosleep): Likewise.
6534 [XPG3 || XPG4] (timer_create): Likewise.
6535 [XPG3 || XPG4] (timer_delete): Likewise.
6536 [XPG3 || XPG4] (timer_gettime): Likewise.
6537 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6538 [XPG3 || XPG4] (timer_settime): Likewise.
6539 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6540 [XPG3 || XPG4] (getlogin_r): Likewise.
6541 [XPG3 || XPG4] (pread): Likewise.
6542 [XPG3 || XPG4] (pthread_atfork): Likewise.
6543 [XPG3 || XPG4] (pwrite): Likewise.
6546 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6549 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6551 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6552 finalizing MALLSTREAM.
6554 * sysdeps/mach/hurd/syncfs.c: New file.
6556 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6559 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6560 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6561 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6562 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6563 (_nss_dns_gethostbyname4_r): Likewise.
6564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6565 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6567 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6570 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6572 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6574 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6575 * elf/cache.c (print_entry): Print ",AArch64" for
6578 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6579 * elf/cache.c (print_entry): Print ",hard-float" for
6582 2012-11-18 David S. Miller <davem@davemloft.net>
6584 With help from Joseph Myers.
6585 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6587 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6589 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6590 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6592 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6593 * math/libm-test.inc (y0_test): New tests.
6594 (y1_test): New tests.
6595 * sysdeps/i386/fpu/libm-test-ulps: Update.
6596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6599 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6601 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6603 * configure: Regenerated.
6605 2012-11-17 David S. Miller <davem@davemloft.net>
6608 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6609 nonzero exponents with absolute value below 0x1p-128 to +/-
6612 2012-11-17 Joseph Myers <joseph@codesourcery.com>
6614 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6616 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6618 * posix/getconf-speclist.c: New file.
6619 * posix/posix-envs.def: Likewise.
6620 * posix/confstr.c (START_ENV_GROUP): New macro.
6621 (END_ENV_GROUP): Likewise.
6622 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6623 (KNOWN_PRESENT_ENV_STRING): Likewise.
6624 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6625 (UNKNOWN_ENVIRONMENT): Likewise.
6626 (confstr): Include posix-envs.def instead of handling
6627 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6628 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6629 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6630 (END_ENV_GROUP): Likewise.
6631 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6632 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6633 (UNKNOWN_ENVIRONMENT): Likewise.
6634 (__sysconf): Include posix-envs.def instead of handling associated
6635 cases directly here.
6636 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6637 preprocessing getconf-speclist.c rather than running getconf or
6638 generating empty file.
6640 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6642 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6644 2012-11-16 Andrej Lajovic <natrij@gmail.com>
6647 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6649 2012-11-16 David S. Miller <davem@davemloft.net>
6651 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6652 smaller than LDBL_EPSILON/2.0L, just return xm1.
6654 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6656 * elf/tst-array1.c (init): Set constructor priority to 1000.
6657 (fini): Set destructor priority to 1000.
6658 * elf/tst-array2dep.c: Likewise.
6660 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6663 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6664 (_IO_new_file_xsputn): Also return EOF if none of the input
6665 data was written when overflow failed.
6666 * libio/iopadn.c (_IO_padn): Likewise.
6667 * libio/iowpadn.c (_IO_wpadn): Likewise.
6668 * stdio-common/tst-put-error.c: Add copyright notice.
6669 (do_test): Add case for printing padded string.
6670 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6671 _IO_padn returned error.
6672 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6673 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6676 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6678 * libio/libioP.h: Add comment note that the references to C++
6679 bits are now obsolete.
6681 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6683 * math/libm-test.inc (check_complex): Use asprintf.
6685 2012-11-14 Joseph Myers <joseph@codesourcery.com>
6687 * debug/pcprofiledump.c (print_version): Update copyright year.
6688 * malloc/memusagestat.c (print_version): Likewise.
6690 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6693 * elf/Makefile (tests): Add tst-audit8.
6694 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6695 ($(objpfx)tst-audit8.out): New target.
6696 (tst-audit8-ENV): New variable.
6697 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6698 audit if l_reloc_result is NULL.
6699 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6700 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6701 * elf/tst-audit8.c: New file.
6703 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6705 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6706 * misc/Makefile (CFLAGS-select.c): Define.
6707 * posix/Makefile (CFLAGS-pause.c): Define.
6709 2012-11-13 David S. Miller <davem@davemloft.net>
6711 * crypt/Makefile: Move test targets after toplevel Rules
6712 inclusion. Grab any necessary sysdep routines when linking.
6713 * crypt/md5.c (md5_process_block): Remove define, we will always
6714 name it __md5_process_block.
6715 (md5_finish_ctx): Update md5_process_block call.
6716 (md5_stream): Likewise.
6717 (md5_process_bytes): Likewise.
6718 (md5_process_block): Rename to __md5_process_block and move to ...
6719 * crypt/md5-block.c: ... here.
6720 * crypt/sha256.c (sha256_process_block): Move to ...
6721 * crypt/sha256-block.c: ... here.
6722 * crypt/sha512.c (sha512_process_block): Move to ...
6723 * crypt/sha512-block.c: ... here.
6724 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6726 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6727 * sysdeps/sparc/sparc64/multiarch/Makefile
6728 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6730 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6731 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6733 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6734 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6735 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6736 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6737 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6738 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6739 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6740 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6741 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6743 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6744 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6746 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6748 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6750 * timezone/tzselect.ksh: Update from tzcode git revision
6751 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6752 * timezone/zdump.c: Likewise.
6753 * timezone/zic.c: Likewise.
6754 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6755 in TZVERSION setting, not $(PKGVERSION).
6756 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6757 REPORT_BUGS_TO settings.
6760 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6763 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6765 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6766 detection to immediately after _FP_ROUND().
6767 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6770 2012-11-11 David S. Miller <davem@davemloft.net>
6772 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6774 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6775 __close rather than their public counterparts.
6777 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6779 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6781 [UNIX98] (sem_timedwait): Do not expect.
6782 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6783 [XPG4 || UNIX98] (sockatmark): Do not expect.
6784 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6785 (clock_getcpuclockid): Do not expect.
6786 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6787 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6789 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6790 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6791 [UNIX98] (vwscanf): Likewise.
6792 [UNIX98] (vswscanf): Likewise.
6794 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6796 * timezone/version.h: Remove file.
6797 * timezone/README: Do not refer to version.h.
6798 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6800 ($(objpfx)zdump.o): Likewise.
6801 ($(objpfx)version.h): New target.
6803 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6805 * timezone/README: Don't mention modification to tzselect.ksh.
6806 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6807 work on unmodified tzselect.ksh. Substitute version numbers in
6810 * Makefile (format-me): Remove.
6811 (INSTALL): Adjust indentation. Use commands directly instead of
6814 * aclocal.m4 (ACX_PKGVERSION): New macro.
6815 (ACX_BUGURL): Likewise.
6816 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6817 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6818 (REPORT_BUGS_TO): Likewise.
6819 * configure: Regenerated.
6820 * config.h.in (PKGVERSION): New macro.
6821 (REPORT_BUGS_TO): Likewise.
6822 * config.make.in (PKGVERSION): New variable.
6823 (PKGVERSION_TEXI): Likewise.
6824 (REPORT_BUGS_TO): Likewise.
6825 (REPORT_BUGS_TEXI): Likewise.
6826 * Makefile (format-me): Use -I$(common-objpfx)manual.
6827 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6828 ($(common-objpfx)manual/%): New target.
6829 (manual/%): Remove target.
6830 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6831 (print_version): Use PKGVERSION.
6832 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6833 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6835 ($(objpfx)xtrace): Likewise.
6836 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6837 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6838 (print_version): Use PKGVERSION.
6839 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6840 (do_version): Use PKGVERSION.
6841 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6843 (common-ldd-rewrite): Likewise.
6844 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6845 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6846 (print_version): Use PKGVERSION.
6847 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6848 * elf/pldd.c (argp_program_bug_address): Remove variable.
6849 (more_help): New function.
6850 (argp): Use more_help.
6851 (print_version): Use PKGVERSION.
6852 * elf/sln.c (main): Use PKGVERSION.
6853 (usage): Use REPORT_BUGS_TO.
6854 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6855 (top level): Use PKGVERSION.
6856 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6857 (print_version): Use PKGVERSION.
6858 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6859 (print_version): Use PKGVERSION.
6860 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6861 (print_version): Use PKGVERSION.
6862 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6863 (print_version): Use PKGVERSION.
6864 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6865 (print_version): Use PKGVERSION.
6866 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6867 (print_version): Use PKGVERSION.
6868 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6870 ($(objpfx)memusage): Likewise.
6871 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6872 (do_version): Use PKGVERSION.
6873 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6874 (print_version): Use PKGVERSION.
6875 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6876 ($PKGVERSION): New variable.
6877 ($REPORT_BUGS_TO): Likewise.
6878 (usage): Use $REPORT_BUGS_TO.
6879 (top level): Use $PKGVERSION.
6880 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6881 ($(objpfx)pkgvers.texi): New rule.
6882 ($(objpfx)stamp-pkgvers): Likewise.
6883 * manual/install.texi: Include pkgvers.texi.
6884 (--with-pkgversion): Document new configure option.
6885 (--with-bugurl): Likewise.
6886 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6887 than necessarily for this particular distribution. Use
6888 REPORT_BUGS_TO for where to report bugs.
6889 * INSTALL: Regenerated.
6890 * manual/libc.texinfo: Include pkgvers.texi.
6891 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6892 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6893 (print_version): Use PKGVERSION.
6894 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6895 (print_version): Use PKGVERSION.
6896 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6897 (print_version): Use PKGVERSION.
6898 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6899 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6901 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6902 (print_version): Use PKGVERSION.
6903 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6904 (print_version): Use PKGVERSION.
6905 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6908 * timezone/checktab.awk: Update from tzcode 2012i.
6909 * timezone/ialloc.c: Likewise.
6910 * timezone/private.h: Likewise.
6911 * timezone/scheck.c: Likewise.
6912 * timezone/tzfile.h: Likewise.
6913 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6914 (TZVERSION): Hardcode tzcode version number.
6915 * timezone/zdump.c: Update from tzcode 2012i.
6916 * timezone/zic.c: Likewise.
6917 * timezone/version.h: New file.
6918 * timezone/README: Describe version.h. Update upstream location.
6921 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6922 (mktemp): Enable declaration.
6923 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6924 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6925 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6926 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6928 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6930 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6932 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6934 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6936 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6940 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6941 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6942 for copies of such integer values.
6943 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6944 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6946 2012-11-09 Andreas Jaeger <aj@suse.de>
6948 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6949 definitions and declarations that are provided by
6950 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6952 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6954 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6955 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6956 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6959 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6961 * elf/elf.h: Update comment before AArch64 relocations.
6963 2012-11-07 David S. Miller <davem@davemloft.net>
6965 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6966 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6967 (__start_context): Declare.
6968 (__makecontext_ret): Delete.
6969 (__makecontext): Hook up __start_context instead of
6971 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6972 (sysdep_routines): Add __start_context when in stdlib.
6974 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6976 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6977 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6978 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6980 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6981 (READELF): New variable. Use it instead of hardcoded "readelf".
6983 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6985 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6986 * sysdeps/x86/Makefile: Here.
6987 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6988 * sysdeps/x86/tst-xmmymm.sh: This.
6990 2012-11-07 Joseph Myers <joseph@codesourcery.com>
6992 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6994 [UNIX98] (pthread_barrier_t): Do not expect.
6995 [UNIX98] (pthread_barrierattr_t): Likewise.
6996 [UNIX98] (pthread_spinlock_t): Likewise.
6997 [UNIX98] (pthread_barrier_destroy): Likewise.
6998 [UNIX98] (pthread_barrier_init): Likewise.
6999 [UNIX98] (pthread_barrier_wait): Likewise.
7000 [UNIX98] (pthread_barrierattr_destroy): Likewise.
7001 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
7002 [UNIX98] (pthread_barrierattr_init): Likewise.
7003 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
7004 [UNIX98] (pthread_getcpuclockid): Likewise.
7005 [UNIX98] (pthread_mutex_timedlock): Likewise.
7006 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
7007 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
7008 [UNIX98] (pthread_sigmask): Likewise.
7009 [UNIX98] (pthread_spin_destroy): Likewise.
7010 [UNIX98] (pthread_spin_init): Likewise.
7011 [UNIX98] (pthread_spin_lock): Likewise.
7012 [UNIX98] (pthread_spin_trylock): Likewise.
7013 [UNIX98] (pthread_spin_unlock): Likewise.
7014 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7016 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7017 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7018 [XPG3 || XPG4] (pthread_cond_t): Likewise.
7019 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7020 [XPG3 || XPG4] (pthread_key_t): Likewise.
7021 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7022 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7023 [XPG3 || XPG4] (pthread_once_t): Likewise.
7024 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7025 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7026 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7027 [XPG3 || XPG4] (pthread_t): Likewise.
7029 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7031 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7033 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7034 Change function return type to int.
7036 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7037 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7038 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7039 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7040 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7041 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7042 [!POSIX] (posix_madvise): Likewise.
7043 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7045 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7046 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7048 (posix_mem_offset): Likewise.
7049 (posix_typed_mem_get_info): Likewise.
7050 (posix_typed_mem_open): Likewise.
7052 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7053 Change condition to [XOPEN2K8].
7055 * conform/conformtest.pl: Preprocess allow-header data with -x c
7056 instead of from stdin.
7057 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7058 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7059 [C99-based standards] (cerfc): Likewise.
7060 [C99-based standards] (cexp2): Likewise.
7061 [C99-based standards] (cexpm1): Likewise.
7062 [C99-based standards] (clog10): Likewise.
7063 [C99-based standards] (clog1p): Likewise.
7064 [C99-based standards] (clog2): Likewise.
7065 [C99-based standards] (clgamma): Likewise.
7066 [C99-based standards] (ctgamma): Likewise.
7067 [C99-based standards] (cerff): Likewise.
7068 [C99-based standards] (cerfcf): Likewise.
7069 [C99-based standards] (cexp2f): Likewise.
7070 [C99-based standards] (cexpm1f): Likewise.
7071 [C99-based standards] (clog10f): Likewise.
7072 [C99-based standards] (clog1pf): Likewise.
7073 [C99-based standards] (clog2f): Likewise.
7074 [C99-based standards] (clgammaf): Likewise.
7075 [C99-based standards] (ctgammaf): Likewise.
7076 [C99-based standards] (cerfl): Likewise.
7077 [C99-based standards] (cerfcl): Likewise.
7078 [C99-based standards] (cexp2l): Likewise.
7079 [C99-based standards] (cexpm1l): Likewise.
7080 [C99-based standards] (clog10l): Likewise.
7081 [C99-based standards] (clog1pl): Likewise.
7082 [C99-based standards] (clog2l): Likewise.
7083 [C99-based standards] (clgammal): Likewise.
7084 [C99-based standards] (ctgammal): Likewise.
7085 * conform/data/inttypes.h-data [C99-based standards]: Include
7086 stdint.h-data. Remove all expectations for stdint.h contents.
7087 [C99-based standards] (PRI*): Do not allow.
7088 [C99-based standards] (SCN*): Likewise.
7089 [C99-based standards] (*_t): Likewise.
7090 [C99-based-standards] (PRId8): Expect macro.
7091 [C99-based-standards] (PRIi8): Likewise.
7092 [C99-based-standards] (PRIo8): Likewise.
7093 [C99-based-standards] (PRIu8): Likewise.
7094 [C99-based-standards] (PRIx8): Likewise.
7095 [C99-based-standards] (PRIX8): Likewise.
7096 [C99-based-standards] (SCNd8): Likewise.
7097 [C99-based-standards] (SCNi8): Likewise.
7098 [C99-based-standards] (SCNo8): Likewise.
7099 [C99-based-standards] (SCNu8): Likewise.
7100 [C99-based-standards] (SCNx8): Likewise.
7101 [C99-based-standards] (PRIdLEAST8): Likewise.
7102 [C99-based-standards] (PRIiLEAST8): Likewise.
7103 [C99-based-standards] (PRIoLEAST8): Likewise.
7104 [C99-based-standards] (PRIuLEAST8): Likewise.
7105 [C99-based-standards] (PRIxLEAST8): Likewise.
7106 [C99-based-standards] (PRIXLEAST8): Likewise.
7107 [C99-based-standards] (SCNdLEAST8): Likewise.
7108 [C99-based-standards] (SCNiLEAST8): Likewise.
7109 [C99-based-standards] (SCNoLEAST8): Likewise.
7110 [C99-based-standards] (SCNuLEAST8): Likewise.
7111 [C99-based-standards] (SCNxLEAST8): Likewise.
7112 [C99-based-standards] (PRIdFAST8): Likewise.
7113 [C99-based-standards] (PRIiFAST8): Likewise.
7114 [C99-based-standards] (PRIoFAST8): Likewise.
7115 [C99-based-standards] (PRIuFAST8): Likewise.
7116 [C99-based-standards] (PRIxFAST8): Likewise.
7117 [C99-based-standards] (PRIXFAST8): Likewise.
7118 [C99-based-standards] (SCNdFAST8): Likewise.
7119 [C99-based-standards] (SCNiFAST8): Likewise.
7120 [C99-based-standards] (SCNoFAST8): Likewise.
7121 [C99-based-standards] (SCNuFAST8): Likewise.
7122 [C99-based-standards] (SCNxFAST8): Likewise.
7123 [C99-based-standards] (PRId16): Likewise.
7124 [C99-based-standards] (PRIi16): Likewise.
7125 [C99-based-standards] (PRIo16): Likewise.
7126 [C99-based-standards] (PRIu16): Likewise.
7127 [C99-based-standards] (PRIx16): Likewise.
7128 [C99-based-standards] (PRIX16): Likewise.
7129 [C99-based-standards] (SCNd16): Likewise.
7130 [C99-based-standards] (SCNi16): Likewise.
7131 [C99-based-standards] (SCNo16): Likewise.
7132 [C99-based-standards] (SCNu16): Likewise.
7133 [C99-based-standards] (SCNx16): Likewise.
7134 [C99-based-standards] (PRIdLEAST16): Likewise.
7135 [C99-based-standards] (PRIiLEAST16): Likewise.
7136 [C99-based-standards] (PRIoLEAST16): Likewise.
7137 [C99-based-standards] (PRIuLEAST16): Likewise.
7138 [C99-based-standards] (PRIxLEAST16): Likewise.
7139 [C99-based-standards] (PRIXLEAST16): Likewise.
7140 [C99-based-standards] (SCNdLEAST16): Likewise.
7141 [C99-based-standards] (SCNiLEAST16): Likewise.
7142 [C99-based-standards] (SCNoLEAST16): Likewise.
7143 [C99-based-standards] (SCNuLEAST16): Likewise.
7144 [C99-based-standards] (SCNxLEAST16): Likewise.
7145 [C99-based-standards] (PRIdFAST16): Likewise.
7146 [C99-based-standards] (PRIiFAST16): Likewise.
7147 [C99-based-standards] (PRIoFAST16): Likewise.
7148 [C99-based-standards] (PRIuFAST16): Likewise.
7149 [C99-based-standards] (PRIxFAST16): Likewise.
7150 [C99-based-standards] (PRIXFAST16): Likewise.
7151 [C99-based-standards] (SCNdFAST16): Likewise.
7152 [C99-based-standards] (SCNiFAST16): Likewise.
7153 [C99-based-standards] (SCNoFAST16): Likewise.
7154 [C99-based-standards] (SCNuFAST16): Likewise.
7155 [C99-based-standards] (SCNxFAST16): Likewise.
7156 [C99-based-standards] (PRId32): Likewise.
7157 [C99-based-standards] (PRIi32): Likewise.
7158 [C99-based-standards] (PRIo32): Likewise.
7159 [C99-based-standards] (PRIu32): Likewise.
7160 [C99-based-standards] (PRIx32): Likewise.
7161 [C99-based-standards] (PRIX32): Likewise.
7162 [C99-based-standards] (SCNd32): Likewise.
7163 [C99-based-standards] (SCNi32): Likewise.
7164 [C99-based-standards] (SCNo32): Likewise.
7165 [C99-based-standards] (SCNu32): Likewise.
7166 [C99-based-standards] (SCNx32): Likewise.
7167 [C99-based-standards] (PRIdLEAST32): Likewise.
7168 [C99-based-standards] (PRIiLEAST32): Likewise.
7169 [C99-based-standards] (PRIoLEAST32): Likewise.
7170 [C99-based-standards] (PRIuLEAST32): Likewise.
7171 [C99-based-standards] (PRIxLEAST32): Likewise.
7172 [C99-based-standards] (PRIXLEAST32): Likewise.
7173 [C99-based-standards] (SCNdLEAST32): Likewise.
7174 [C99-based-standards] (SCNiLEAST32): Likewise.
7175 [C99-based-standards] (SCNoLEAST32): Likewise.
7176 [C99-based-standards] (SCNuLEAST32): Likewise.
7177 [C99-based-standards] (SCNxLEAST32): Likewise.
7178 [C99-based-standards] (PRIdFAST32): Likewise.
7179 [C99-based-standards] (PRIiFAST32): Likewise.
7180 [C99-based-standards] (PRIoFAST32): Likewise.
7181 [C99-based-standards] (PRIuFAST32): Likewise.
7182 [C99-based-standards] (PRIxFAST32): Likewise.
7183 [C99-based-standards] (PRIXFAST32): Likewise.
7184 [C99-based-standards] (SCNdFAST32): Likewise.
7185 [C99-based-standards] (SCNiFAST32): Likewise.
7186 [C99-based-standards] (SCNoFAST32): Likewise.
7187 [C99-based-standards] (SCNuFAST32): Likewise.
7188 [C99-based-standards] (SCNxFAST32): Likewise.
7189 [C99-based-standards] (PRId64): Likewise.
7190 [C99-based-standards] (PRIi64): Likewise.
7191 [C99-based-standards] (PRIo64): Likewise.
7192 [C99-based-standards] (PRIu64): Likewise.
7193 [C99-based-standards] (PRIx64): Likewise.
7194 [C99-based-standards] (PRIX64): Likewise.
7195 [C99-based-standards] (SCNd64): Likewise.
7196 [C99-based-standards] (SCNi64): Likewise.
7197 [C99-based-standards] (SCNo64): Likewise.
7198 [C99-based-standards] (SCNu64): Likewise.
7199 [C99-based-standards] (SCNx64): Likewise.
7200 [C99-based-standards] (PRIdLEAST64): Likewise.
7201 [C99-based-standards] (PRIiLEAST64): Likewise.
7202 [C99-based-standards] (PRIoLEAST64): Likewise.
7203 [C99-based-standards] (PRIuLEAST64): Likewise.
7204 [C99-based-standards] (PRIxLEAST64): Likewise.
7205 [C99-based-standards] (PRIXLEAST64): Likewise.
7206 [C99-based-standards] (SCNdLEAST64): Likewise.
7207 [C99-based-standards] (SCNiLEAST64): Likewise.
7208 [C99-based-standards] (SCNoLEAST64): Likewise.
7209 [C99-based-standards] (SCNuLEAST64): Likewise.
7210 [C99-based-standards] (SCNxLEAST64): Likewise.
7211 [C99-based-standards] (PRIdFAST64): Likewise.
7212 [C99-based-standards] (PRIiFAST64): Likewise.
7213 [C99-based-standards] (PRIoFAST64): Likewise.
7214 [C99-based-standards] (PRIuFAST64): Likewise.
7215 [C99-based-standards] (PRIxFAST64): Likewise.
7216 [C99-based-standards] (PRIXFAST64): Likewise.
7217 [C99-based-standards] (SCNdFAST64): Likewise.
7218 [C99-based-standards] (SCNiFAST64): Likewise.
7219 [C99-based-standards] (SCNoFAST64): Likewise.
7220 [C99-based-standards] (SCNuFAST64): Likewise.
7221 [C99-based-standards] (SCNxFAST64): Likewise.
7222 [C99-based-standards] (PRIdMAX): Likewise.
7223 [C99-based-standards] (PRIiMAX): Likewise.
7224 [C99-based-standards] (PRIoMAX): Likewise.
7225 [C99-based-standards] (PRIuMAX): Likewise.
7226 [C99-based-standards] (PRIxMAX): Likewise.
7227 [C99-based-standards] (PRIXMAX): Likewise.
7228 [C99-based-standards] (SCNdMAX): Likewise.
7229 [C99-based-standards] (SCNiMAX): Likewise.
7230 [C99-based-standards] (SCNoMAX): Likewise.
7231 [C99-based-standards] (SCNuMAX): Likewise.
7232 [C99-based-standards] (SCNxMAX): Likewise.
7233 [C99-based-standards] (PRIdPTR): Likewise.
7234 [C99-based-standards] (PRIiPTR): Likewise.
7235 [C99-based-standards] (PRIoPTR): Likewise.
7236 [C99-based-standards] (PRIuPTR): Likewise.
7237 [C99-based-standards] (PRIxPTR): Likewise.
7238 [C99-based-standards] (PRIXPTR): Likewise.
7239 [C99-based-standards] (SCNdPTR): Likewise.
7240 [C99-based-standards] (SCNiPTR): Likewise.
7241 [C99-based-standards] (SCNoPTR): Likewise.
7242 [C99-based-standards] (SCNuPTR): Likewise.
7243 [C99-based-standards] (SCNxPTR): Likewise.
7244 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7246 * conform/data/stdint.h-data: Update comments to clarify
7248 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7250 [C99-based standards] (INT8_MAX): Likewise.
7251 [C99-based standards] (INT16_MIN): Likewise.
7252 [C99-based standards] (INT16_MAX): Likewise.
7253 [C99-based standards] (INT32_MIN): Likewise.
7254 [C99-based standards] (INT32_MAX): Likewise.
7255 [C99-based standards] (INT64_MIN): Likewise.
7256 [C99-based standards] (INT64_MAX): Likewise.
7257 [C99-based standards] (UINT8_MAX): Likewise.
7258 [C99-based standards] (UINT16_MAX): Likewise.
7259 [C99-based standards] (UINT32_MAX): Likewise.
7260 [C99-based standards] (UINT64_MAX): Likewise.
7261 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7262 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7263 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7264 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7265 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7266 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7267 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7268 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7269 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7270 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7271 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7272 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7273 [C99-based standards] (INT_FAST8_MIN): Likewise.
7274 [C99-based standards] (INT_FAST8_MAX): Likewise.
7275 [C99-based standards] (INT_FAST16_MIN): Likewise.
7276 [C99-based standards] (INT_FAST16_MAX): Likewise.
7277 [C99-based standards] (INT_FAST32_MIN): Likewise.
7278 [C99-based standards] (INT_FAST32_MAX): Likewise.
7279 [C99-based standards] (INT_FAST64_MIN): Likewise.
7280 [C99-based standards] (INT_FAST64_MAX): Likewise.
7281 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7282 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7283 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7284 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7285 [C99-based standards] (INTPTR_MIN): Likewise.
7286 [C99-based standards] (INTPTR_MAX): Likewise.
7287 [C99-based standards] (UINTPTR_MAX): Likewise.
7288 [C99-based standards] (INTMAX_MIN): Likewise.
7289 [C99-based standards] (INTMAX_MAX): Likewise.
7290 [C99-based standards] (UINTMAX_MAX): Likewise.
7291 [C99-based standards] (PTRDIFF_MIN): Likewise.
7292 [C99-based standards] (PTRDIFF_MAX): Likewise.
7293 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7294 [C99-based standards] (SIZE_MAX): Likewise.
7295 [C99-based standards] (WCHAR_MAX): Likewise.
7296 [C99-based standards] (WINT_MAX): Likewise.
7297 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7298 constraint on value.
7299 [C99-based standards] (WCHAR_MIN): Likewise.
7300 [C99-based standards] (WINT_MIN): Likewise.
7301 [C99-based standards] (*_t): Allow.
7302 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7303 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7304 Include math.h-data and complex.h-data. Remove all expectations
7305 of math.h and complex.h contents.
7306 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7308 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7309 (struct tm): Expect tag.
7310 [C99-based-standards] (wcstof): Expect function.
7311 [C99-based-standards] (wcstold): Likewise.
7312 [C99-based-standards] (wcstoll): Likewise.
7313 [C99-based-standards] (wcstoull): Likewise.
7314 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7315 macro-int-constant. Specify type.
7316 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7317 constraint on value.
7318 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7320 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7322 [ISO C standards]: Do not allow headers.
7323 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7324 wcs[abcdefghijklmnopqrstuvwxyz]*.
7325 [ISO C standards] (*_t): Do not allow.
7326 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7328 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7329 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7331 [ISO C standards]: Do not allow headers.
7332 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7333 is[abcdefghijklmnopqrstuvwxyz]*.
7334 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7335 to[abcdefghijklmnopqrstuvwxyz]*.
7336 [ISO C standards] (*_t): Do not allow.
7337 * conform/data/stdalign.h-data: New file.
7338 * conform/data/stdbool.h-data: Likewise.
7339 * conform/data/stdnoreturn.h-data: Likewise.
7341 2012-11-07 Roland McGrath <roland@hack.frob.com>
7344 * manual/filesys.texi (Directory Entries): Typo fix.
7345 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7347 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7349 * elf/elf.h (EM_AARCH64): New macro.
7350 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7351 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7352 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7353 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7354 (R_AARCH64_TLSDESC): Likewise.
7355 (NT_ARM_TLS): Likewise.
7356 (NT_ARM_HW_BREAK): Likewise.
7357 (NT_ARM_HW_WATCH): Likewise.
7359 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7362 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7363 (__ieee754_powl): Saturate nonzero exponents with absolute value
7364 below 0x1p-79 to +/- 0x1p-79.
7365 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7366 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7367 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7368 nonzero exponents with absolute value below 0x1p-32 to +/-
7370 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7371 (__ieee754_powl): Saturate nonzero exponents with absolute value
7372 below 0x1p-79 to +/- 0x1p-79.
7373 * math/libm-test.inc (pow_test): Add more tests.
7375 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7377 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7378 _dl_s390_cap_flags with kernel. Increase string length.
7379 (_dl_s390_platforms): Add z196 and zEC12.
7381 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7383 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7384 Change XOPEN21K to XOPEN2K.
7386 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7388 * string/memmove.c: Use memcpy when possible.
7390 2012-11-06 Andreas Jaeger <aj@suse.de>
7392 * po/eo.po: Update from translation team.
7394 2012-11-06 Joseph Myers <joseph@codesourcery.com>
7397 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7398 exponent and small x and y exponents, scale x or y up. Increase
7399 by 2 the exponent used in scaling up.
7400 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7401 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7402 * math/libm-test.inc (fma_test): Add more tests.
7403 (fma_test_towardzero): Likewise.
7404 (fma_test_downward): Likewise.
7405 (fma_test_upward): Likewise.
7407 2012-11-05 Joseph Myers <joseph@codesourcery.com>
7410 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7414 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7415 namespace for names of struct fields.
7416 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7418 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7419 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7421 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7424 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7426 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7428 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7432 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7435 2012-11-04 Joseph Myers <joseph@codesourcery.com>
7438 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7439 definitely overflow as x * y not x * y + z.
7440 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7441 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7442 * math/libm-test.inc (fma_test): Add more tests.
7443 (fma_test_towardzero): Likewise.
7444 (fma_test_downward): Likewise.
7445 (fma_test_upward): Likewise.
7447 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7451 * include/stub-tag.h: Remove file.
7452 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7454 * manual/maint.texi (Porting): Don't reference it.
7455 * Makerules ($(objpfx)stubs): Likewise.
7456 * dirent/closedir.c: Don't include <stub-tag.h>.
7457 * dirent/dirfd.c: Likewise.
7458 * dirent/fdopendir.c: Likewise.
7459 * dirent/getdents.c: Likewise.
7460 * dirent/getdents64.c: Likewise.
7461 * dirent/opendir.c: Likewise.
7462 * dirent/readdir.c: Likewise.
7463 * dirent/readdir64.c: Likewise.
7464 * dirent/readdir64_r.c: Likewise.
7465 * dirent/readdir_r.c: Likewise.
7466 * dirent/rewinddir.c: Likewise.
7467 * dirent/seekdir.c: Likewise.
7468 * dirent/telldir.c: Likewise.
7469 * gmon/profil.c: Likewise.
7470 * grp/setgroups.c: Likewise.
7471 * inet/if_index.c: Likewise.
7472 * io/access.c: Likewise.
7473 * io/chdir.c: Likewise.
7474 * io/chmod.c: Likewise.
7475 * io/chown.c: Likewise.
7476 * io/close.c: Likewise.
7477 * io/dup.c: Likewise.
7478 * io/dup2.c: Likewise.
7479 * io/dup3.c: Likewise.
7480 * io/euidaccess.c: Likewise.
7481 * io/faccessat.c: Likewise.
7482 * io/fchdir.c: Likewise.
7483 * io/fchmod.c: Likewise.
7484 * io/fchmodat.c: Likewise.
7485 * io/fchown.c: Likewise.
7486 * io/fchownat.c: Likewise.
7487 * io/fcntl.c: Likewise.
7488 * io/flock.c: Likewise.
7489 * io/fstatfs.c: Likewise.
7490 * io/fstatfs64.c: Likewise.
7491 * io/fstatvfs.c: Likewise.
7492 * io/fstatvfs64.c: Likewise.
7493 * io/futimens.c: Likewise.
7494 * io/fxstat.c: Likewise.
7495 * io/fxstat64.c: Likewise.
7496 * io/fxstatat.c: Likewise.
7497 * io/fxstatat64.c: Likewise.
7498 * io/getcwd.c: Likewise.
7499 * io/isatty.c: Likewise.
7500 * io/lchmod.c: Likewise.
7501 * io/lchown.c: Likewise.
7502 * io/link.c: Likewise.
7503 * io/linkat.c: Likewise.
7504 * io/lseek.c: Likewise.
7505 * io/lseek64.c: Likewise.
7506 * io/lxstat64.c: Likewise.
7507 * io/mkdir.c: Likewise.
7508 * io/mkdirat.c: Likewise.
7509 * io/mkfifo.c: Likewise.
7510 * io/mkfifoat.c: Likewise.
7511 * io/open.c: Likewise.
7512 * io/open64.c: Likewise.
7513 * io/openat.c: Likewise.
7514 * io/openat64.c: Likewise.
7515 * io/pipe.c: Likewise.
7516 * io/pipe2.c: Likewise.
7517 * io/poll.c: Likewise.
7518 * io/posix_fadvise.c: Likewise.
7519 * io/posix_fadvise64.c: Likewise.
7520 * io/posix_fallocate.c: Likewise.
7521 * io/posix_fallocate64.c: Likewise.
7522 * io/read.c: Likewise.
7523 * io/readlink.c: Likewise.
7524 * io/readlinkat.c: Likewise.
7525 * io/rmdir.c: Likewise.
7526 * io/sendfile.c: Likewise.
7527 * io/sendfile64.c: Likewise.
7528 * io/statfs.c: Likewise.
7529 * io/statfs64.c: Likewise.
7530 * io/statvfs.c: Likewise.
7531 * io/statvfs64.c: Likewise.
7532 * io/symlink.c: Likewise.
7533 * io/symlinkat.c: Likewise.
7534 * io/ttyname.c: Likewise.
7535 * io/ttyname_r.c: Likewise.
7536 * io/umask.c: Likewise.
7537 * io/unlink.c: Likewise.
7538 * io/unlinkat.c: Likewise.
7539 * io/utime.c: Likewise.
7540 * io/utimensat.c: Likewise.
7541 * io/write.c: Likewise.
7542 * io/xmknod.c: Likewise.
7543 * io/xmknodat.c: Likewise.
7544 * io/xstat.c: Likewise.
7545 * io/xstat64.c: Likewise.
7546 * login/getpt.c: Likewise.
7547 * login/grantpt.c: Likewise.
7548 * login/unlockpt.c: Likewise.
7549 * math/e_acoshl.c: Likewise.
7550 * math/e_acosl.c: Likewise.
7551 * math/e_asinl.c: Likewise.
7552 * math/e_atan2l.c: Likewise.
7553 * math/e_atanhl.c: Likewise.
7554 * math/e_coshl.c: Likewise.
7555 * math/e_expl.c: Likewise.
7556 * math/e_fmodl.c: Likewise.
7557 * math/e_gammal_r.c: Likewise.
7558 * math/e_hypotl.c: Likewise.
7559 * math/e_j0l.c: Likewise.
7560 * math/e_j1l.c: Likewise.
7561 * math/e_jnl.c: Likewise.
7562 * math/e_lgammal_r.c: Likewise.
7563 * math/e_log10l.c: Likewise.
7564 * math/e_log2l.c: Likewise.
7565 * math/e_logl.c: Likewise.
7566 * math/e_powl.c: Likewise.
7567 * math/e_rem_pio2l.c: Likewise.
7568 * math/e_sinhl.c: Likewise.
7569 * math/e_sqrtl.c: Likewise.
7570 * math/fclrexcpt.c: Likewise.
7571 * math/fedisblxcpt.c: Likewise.
7572 * math/feenablxcpt.c: Likewise.
7573 * math/fegetenv.c: Likewise.
7574 * math/fegetexcept.c: Likewise.
7575 * math/fegetround.c: Likewise.
7576 * math/feholdexcpt.c: Likewise.
7577 * math/fesetenv.c: Likewise.
7578 * math/fesetround.c: Likewise.
7579 * math/feupdateenv.c: Likewise.
7580 * math/fgetexcptflg.c: Likewise.
7581 * math/fraiseexcpt.c: Likewise.
7582 * math/fsetexcptflg.c: Likewise.
7583 * math/ftestexcept.c: Likewise.
7584 * math/k_cosl.c: Likewise.
7585 * math/k_rem_pio2l.c: Likewise.
7586 * math/k_sinl.c: Likewise.
7587 * math/k_tanl.c: Likewise.
7588 * math/s_asinhl.c: Likewise.
7589 * math/s_atanl.c: Likewise.
7590 * math/s_cbrtl.c: Likewise.
7591 * math/s_erfl.c: Likewise.
7592 * math/s_expm1l.c: Likewise.
7593 * math/s_log1pl.c: Likewise.
7594 * math/s_tanhl.c: Likewise.
7595 * misc/acct.c: Likewise.
7596 * misc/brk.c: Likewise.
7597 * misc/chflags.c: Likewise.
7598 * misc/chroot.c: Likewise.
7599 * misc/fchflags.c: Likewise.
7600 * misc/fgetxattr.c: Likewise.
7601 * misc/flistxattr.c: Likewise.
7602 * misc/fremovexattr.c: Likewise.
7603 * misc/fsetxattr.c: Likewise.
7604 * misc/fsync.c: Likewise.
7605 * misc/ftruncate.c: Likewise.
7606 * misc/futimes.c: Likewise.
7607 * misc/futimesat.c: Likewise.
7608 * misc/getdomain.c: Likewise.
7609 * misc/getdtsz.c: Likewise.
7610 * misc/gethostid.c: Likewise.
7611 * misc/gethostname.c: Likewise.
7612 * misc/getloadavg.c: Likewise.
7613 * misc/getpagesize.c: Likewise.
7614 * misc/getsysstats.c: Likewise.
7615 * misc/getxattr.c: Likewise.
7616 * misc/gtty.c: Likewise.
7617 * misc/ioctl.c: Likewise.
7618 * misc/lgetxattr.c: Likewise.
7619 * misc/listxattr.c: Likewise.
7620 * misc/llistxattr.c: Likewise.
7621 * misc/lremovexattr.c: Likewise.
7622 * misc/lsetxattr.c: Likewise.
7623 * misc/lutimes.c: Likewise.
7624 * misc/madvise.c: Likewise.
7625 * misc/mincore.c: Likewise.
7626 * misc/mlock.c: Likewise.
7627 * misc/mlockall.c: Likewise.
7628 * misc/mmap.c: Likewise.
7629 * misc/mprotect.c: Likewise.
7630 * misc/msync.c: Likewise.
7631 * misc/munlock.c: Likewise.
7632 * misc/munlockall.c: Likewise.
7633 * misc/munmap.c: Likewise.
7634 * misc/preadv.c: Likewise.
7635 * misc/preadv64.c: Likewise.
7636 * misc/ptrace.c: Likewise.
7637 * misc/pwritev.c: Likewise.
7638 * misc/pwritev64.c: Likewise.
7639 * misc/readv.c: Likewise.
7640 * misc/reboot.c: Likewise.
7641 * misc/remap_file_pages.c: Likewise.
7642 * misc/removexattr.c: Likewise.
7643 * misc/revoke.c: Likewise.
7644 * misc/select.c: Likewise.
7645 * misc/setdomain.c: Likewise.
7646 * misc/setegid.c: Likewise.
7647 * misc/seteuid.c: Likewise.
7648 * misc/sethostid.c: Likewise.
7649 * misc/sethostname.c: Likewise.
7650 * misc/setregid.c: Likewise.
7651 * misc/setreuid.c: Likewise.
7652 * misc/setxattr.c: Likewise.
7653 * misc/sstk.c: Likewise.
7654 * misc/stty.c: Likewise.
7655 * misc/swapoff.c: Likewise.
7656 * misc/swapon.c: Likewise.
7657 * misc/sync.c: Likewise.
7658 * misc/syncfs.c: Likewise.
7659 * misc/syscall.c: Likewise.
7660 * misc/truncate.c: Likewise.
7661 * misc/ualarm.c: Likewise.
7662 * misc/usleep.c: Likewise.
7663 * misc/ustat.c: Likewise.
7664 * misc/utimes.c: Likewise.
7665 * misc/vhangup.c: Likewise.
7666 * misc/writev.c: Likewise.
7667 * posix/_exit.c: Likewise.
7668 * posix/alarm.c: Likewise.
7669 * posix/execve.c: Likewise.
7670 * posix/fexecve.c: Likewise.
7671 * posix/fork.c: Likewise.
7672 * posix/fpathconf.c: Likewise.
7673 * posix/getaddrinfo.c: Likewise.
7674 * posix/getegid.c: Likewise.
7675 * posix/geteuid.c: Likewise.
7676 * posix/getgid.c: Likewise.
7677 * posix/getgroups.c: Likewise.
7678 * posix/getlogin.c: Likewise.
7679 * posix/getlogin_r.c: Likewise.
7680 * posix/getpgid.c: Likewise.
7681 * posix/getpid.c: Likewise.
7682 * posix/getppid.c: Likewise.
7683 * posix/getresgid.c: Likewise.
7684 * posix/getresuid.c: Likewise.
7685 * posix/getsid.c: Likewise.
7686 * posix/getuid.c: Likewise.
7687 * posix/glob64.c: Likewise.
7688 * posix/nanosleep.c: Likewise.
7689 * posix/pathconf.c: Likewise.
7690 * posix/pause.c: Likewise.
7691 * posix/posix_madvise.c: Likewise.
7692 * posix/pread.c: Likewise.
7693 * posix/pread64.c: Likewise.
7694 * posix/pwrite.c: Likewise.
7695 * posix/pwrite64.c: Likewise.
7696 * posix/sched_getaffinity.c: Likewise.
7697 * posix/sched_getp.c: Likewise.
7698 * posix/sched_gets.c: Likewise.
7699 * posix/sched_primax.c: Likewise.
7700 * posix/sched_primin.c: Likewise.
7701 * posix/sched_rr_gi.c: Likewise.
7702 * posix/sched_setaffinity.c: Likewise.
7703 * posix/sched_setp.c: Likewise.
7704 * posix/sched_sets.c: Likewise.
7705 * posix/sched_yield.c: Likewise.
7706 * posix/setgid.c: Likewise.
7707 * posix/setlogin.c: Likewise.
7708 * posix/setpgid.c: Likewise.
7709 * posix/setresgid.c: Likewise.
7710 * posix/setresuid.c: Likewise.
7711 * posix/setsid.c: Likewise.
7712 * posix/setuid.c: Likewise.
7713 * posix/sleep.c: Likewise.
7714 * posix/spawni.c: Likewise.
7715 * posix/sysconf.c: Likewise.
7716 * posix/times.c: Likewise.
7717 * posix/wait.c: Likewise.
7718 * posix/wait3.c: Likewise.
7719 * posix/wait4.c: Likewise.
7720 * posix/waitpid.c: Likewise.
7721 * resolv/gai_sigqueue.c: Likewise.
7722 * resource/getpriority.c: Likewise.
7723 * resource/getrlimit.c: Likewise.
7724 * resource/getrusage.c: Likewise.
7725 * resource/nice.c: Likewise.
7726 * resource/setpriority.c: Likewise.
7727 * resource/setrlimit.c: Likewise.
7728 * resource/ulimit.c: Likewise.
7729 * rt/aio_cancel.c: Likewise.
7730 * rt/aio_fsync.c: Likewise.
7731 * rt/aio_read.c: Likewise.
7732 * rt/aio_sigqueue.c: Likewise.
7733 * rt/aio_suspend.c: Likewise.
7734 * rt/aio_write.c: Likewise.
7735 * rt/clock_getres.c: Likewise.
7736 * rt/clock_gettime.c: Likewise.
7737 * rt/clock_nanosleep.c: Likewise.
7738 * rt/clock_settime.c: Likewise.
7739 * rt/lio_listio.c: Likewise.
7740 * rt/mq_close.c: Likewise.
7741 * rt/mq_getattr.c: Likewise.
7742 * rt/mq_notify.c: Likewise.
7743 * rt/mq_open.c: Likewise.
7744 * rt/mq_receive.c: Likewise.
7745 * rt/mq_send.c: Likewise.
7746 * rt/mq_setattr.c: Likewise.
7747 * rt/mq_timedreceive.c: Likewise.
7748 * rt/mq_timedsend.c: Likewise.
7749 * rt/mq_unlink.c: Likewise.
7750 * rt/shm_open.c: Likewise.
7751 * rt/shm_unlink.c: Likewise.
7752 * rt/timer_create.c: Likewise.
7753 * rt/timer_delete.c: Likewise.
7754 * rt/timer_getoverr.c: Likewise.
7755 * rt/timer_gettime.c: Likewise.
7756 * rt/timer_settime.c: Likewise.
7757 * setjmp/__longjmp.c: Likewise.
7758 * setjmp/setjmp.c: Likewise.
7759 * signal/kill.c: Likewise.
7760 * signal/killpg.c: Likewise.
7761 * signal/raise.c: Likewise.
7762 * signal/sigaction.c: Likewise.
7763 * signal/sigaltstack.c: Likewise.
7764 * signal/sigblock.c: Likewise.
7765 * signal/sigignore.c: Likewise.
7766 * signal/sigintr.c: Likewise.
7767 * signal/signal.c: Likewise.
7768 * signal/sigpause.c: Likewise.
7769 * signal/sigpending.c: Likewise.
7770 * signal/sigqueue.c: Likewise.
7771 * signal/sigreturn.c: Likewise.
7772 * signal/sigset.c: Likewise.
7773 * signal/sigsetmask.c: Likewise.
7774 * signal/sigstack.c: Likewise.
7775 * signal/sigsuspend.c: Likewise.
7776 * signal/sigtimedwait.c: Likewise.
7777 * signal/sigvec.c: Likewise.
7778 * signal/sigwait.c: Likewise.
7779 * signal/sigwaitinfo.c: Likewise.
7780 * signal/sysv_signal.c: Likewise.
7781 * socket/accept.c: Likewise.
7782 * socket/accept4.c: Likewise.
7783 * socket/bind.c: Likewise.
7784 * socket/connect.c: Likewise.
7785 * socket/getpeername.c: Likewise.
7786 * socket/getsockname.c: Likewise.
7787 * socket/getsockopt.c: Likewise.
7788 * socket/isfdtype.c: Likewise.
7789 * socket/listen.c: Likewise.
7790 * socket/recv.c: Likewise.
7791 * socket/recvfrom.c: Likewise.
7792 * socket/recvmsg.c: Likewise.
7793 * socket/send.c: Likewise.
7794 * socket/sendmsg.c: Likewise.
7795 * socket/sendto.c: Likewise.
7796 * socket/setsockopt.c: Likewise.
7797 * socket/shutdown.c: Likewise.
7798 * socket/sockatmark.c: Likewise.
7799 * socket/socket.c: Likewise.
7800 * socket/socketpair.c: Likewise.
7801 * stdio-common/ctermid.c: Likewise.
7802 * stdio-common/cuserid.c: Likewise.
7803 * stdio-common/remove.c: Likewise.
7804 * stdio-common/rename.c: Likewise.
7805 * stdio-common/renameat.c: Likewise.
7806 * stdio-common/tempname.c: Likewise.
7807 * stdlib/getcontext.c: Likewise.
7808 * stdlib/makecontext.c: Likewise.
7809 * stdlib/setcontext.c: Likewise.
7810 * stdlib/swapcontext.c: Likewise.
7811 * stdlib/system.c: Likewise.
7812 * streams/fattach.c: Likewise.
7813 * streams/fdetach.c: Likewise.
7814 * streams/getmsg.c: Likewise.
7815 * streams/getpmsg.c: Likewise.
7816 * streams/putmsg.c: Likewise.
7817 * streams/putpmsg.c: Likewise.
7818 * sysdeps/unix/bsd/getpt.c: Likewise.
7819 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7820 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7821 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7824 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7825 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7826 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7827 * sysvipc/msgctl.c: Likewise.
7828 * sysvipc/msgget.c: Likewise.
7829 * sysvipc/msgrcv.c: Likewise.
7830 * sysvipc/msgsnd.c: Likewise.
7831 * sysvipc/semctl.c: Likewise.
7832 * sysvipc/semget.c: Likewise.
7833 * sysvipc/semop.c: Likewise.
7834 * sysvipc/semtimedop.c: Likewise.
7835 * sysvipc/shmat.c: Likewise.
7836 * sysvipc/shmctl.c: Likewise.
7837 * sysvipc/shmdt.c: Likewise.
7838 * sysvipc/shmget.c: Likewise.
7839 * termios/tcdrain.c: Likewise.
7840 * termios/tcflow.c: Likewise.
7841 * termios/tcflush.c: Likewise.
7842 * termios/tcgetattr.c: Likewise.
7843 * termios/tcgetpgrp.c: Likewise.
7844 * termios/tcsendbrk.c: Likewise.
7845 * termios/tcsetattr.c: Likewise.
7846 * termios/tcsetpgrp.c: Likewise.
7847 * time/adjtime.c: Likewise.
7848 * time/clock.c: Likewise.
7849 * time/getitimer.c: Likewise.
7850 * time/gettimeofday.c: Likewise.
7851 * time/setitimer.c: Likewise.
7852 * time/settimeofday.c: Likewise.
7853 * time/stime.c: Likewise.
7854 * time/time.c: Likewise.
7856 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7858 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7861 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7863 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7865 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7869 FE_TONEAREST before applying Dekker multiplication and Knuth
7870 addition. Clear inexact exceptions and check for exact zero
7872 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7873 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7874 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7875 * math/libm-test.inc (fma_test): Add more tests.
7876 (fma_test_towardzero): Likewise.
7877 (fma_test_downward): Likewise.
7878 (fma_test_upward): Likewise.
7879 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7881 (libc_fesetround): New macro.
7882 (libc_fesetroundf): Likewise.
7883 (libc_fesetroundl): Likewise.
7884 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7886 (libc_fesetround_387): Likewise.
7887 (libc_fesetroundf): New macro.
7888 (libc_fesetround): Likewise.
7889 (libc_fesetroundl): Likewise.
7890 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7892 (libc_fesetroundf): New macro.
7893 (libc_fesetround): Likewise.
7894 (libc_fesetroundl): Likewise.
7895 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7896 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7897 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7899 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7900 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7902 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7903 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7905 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7909 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7910 integer constant usable in #if and use that to give value to enum
7912 (FE_DIVBYZERO): Likewise.
7913 (FE_UNDERFLOW): Likewise.
7914 (FE_OVERFLOW): Likewise.
7915 (FE_INVALID): Likewise.
7916 (FE_INVALID_SNAN): Likewise.
7917 (FE_INVALID_ISI): Likewise.
7918 (FE_INVALID_IDI): Likewise.
7919 (FE_INVALID_ZDZ): Likewise.
7920 (FE_INVALID_IMZ): Likewise.
7921 (FE_INVALID_COMPARE): Likewise.
7922 (FE_INVALID_SOFTWARE): Likewise.
7923 (FE_INVALID_SQRT): Likewise.
7924 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7925 (FE_TONEAREST): Likewise.
7926 (FE_TOWARDZERO): Likewise.
7927 (FE_UPWARD): Likewise.
7928 (FE_DOWNWARD): Likewise.
7929 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7930 (FE_DIVBYZERO): Likewise.
7931 (FE_OVERFLOW): Likewise.
7932 (FE_UNDERFLOW): Likewise.
7933 (FE_INEXACT): Likewise.
7934 (FE_TONEAREST): Likewise.
7935 (FE_DOWNWARD): Likewise.
7936 (FE_UPWARD): Likewise.
7937 (FE_TOWARDZERO): Likewise.
7938 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7939 (FE_UNDERFLOW): Likewise.
7940 (FE_OVERFLOW): Likewise.
7941 (FE_DIVBYZERO): Likewise.
7942 (FE_INVALID): Likewise.
7943 (FE_TONEAREST): Likewise.
7944 (FE_TOWARDZERO): Likewise.
7945 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7946 (FE_OVERFLOW): Likewise.
7947 (FE_UNDERFLOW): Likewise.
7948 (FE_DIVBYZERO): Likewise.
7949 (FE_INEXACT): Likewise.
7950 (FE_TONEAREST): Likewise.
7951 (FE_TOWARDZERO): Likewise.
7952 (FE_UPWARD): Likewise.
7953 (FE_DOWNWARD): Likewise.
7954 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7955 (FE_DIVBYZERO): Likewise.
7956 (FE_OVERFLOW): Likewise.
7957 (FE_UNDERFLOW): Likewise.
7958 (FE_INEXACT): Likewise.
7959 (FE_TONEAREST): Likewise.
7960 (FE_DOWNWARD): Likewise.
7961 (FE_UPWARD): Likewise.
7962 (FE_TOWARDZERO): Likewise.
7964 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7966 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7968 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7970 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7971 commands. Quote $PWD.
7972 (blacklist_exports): Don't use remove_newlines. Replace "declare
7974 (remove_newlines): Remove.
7976 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7978 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7979 * stdlib/stdlib.h (atof): Moved to ...
7980 * include/bits/stdlib-float.h: Here. New file.
7981 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7982 * stdlib/bits/stdlib-float.h: New file.
7983 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7985 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7988 2012-11-02 Joseph Myers <joseph@codesourcery.com>
7990 * conform/conformtest.pl (@headers): Add fenv.h.
7991 * conform/data/fenv.h-data: New file.
7992 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7993 include of <math/fenv.h>.
7995 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7996 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7997 && !UNIX98]. Enables tests for XOPEN2K8.
7998 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7999 POSIX2008]: Likewise.
8001 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
8002 (struct rusage): Do not expect type or its members.
8005 * math/math.h (FP_NAN): Define macro to integer constant usable in
8006 #if and use that to give value to enum constant.
8007 (FP_INFINITE): Likewise.
8008 (FP_ZERO): Likewise.
8009 (FP_SUBNORMAL): Likewise.
8010 (FP_NORMAL): Likewise.
8012 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
8014 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8015 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8018 2012-11-02 Roland McGrath <roland@hack.frob.com>
8020 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8021 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8022 autoconf-time if not.
8023 * configure.in: Remove AC_PREREQ.
8025 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8027 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8028 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8029 of the internal implementation.
8031 2012-11-02 Joseph Myers <joseph@codesourcery.com>
8033 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8034 except include of <misc/sys/syslog.h>.
8036 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8039 function returns with a NULL context exit with zero.
8041 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8043 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8045 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8047 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8048 (run_program_cmd): This.
8049 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8050 (tst_langinfo): New variable. Use it.
8052 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8054 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8055 floating point opcodes.
8057 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8059 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8062 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8064 * sysdeps/mach/hurd/powerpc: Remove directory.
8065 * sysdeps/mach/powerpc: Likewise.
8067 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8069 * scripts/check-local-headers.sh: Ignore c++ headers.
8071 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8073 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8074 __libc_cleanup_region_start argument.
8076 2012-11-01 Joseph Myers <joseph@codesourcery.com>
8080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8081 x * y using scaling, not as x * y + z.
8082 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8083 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8084 * math/libm-test.inc (fma_test): Add more tests.
8085 (fma_test_towardzero): Likewise.
8086 (fma_test_downward): Likewise.
8087 (fma_test_upward): Likewise.
8089 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8091 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8093 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8095 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8098 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8100 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8102 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8109 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8112 Fix the order of the list for glibc 2.17.
8113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8116 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8120 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8123 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8124 for low part of x being zero before using __atanl (y).
8125 * math/libm-test.inc (atan2_test): Add another test.
8127 * manual/install.texi (Configuring and compiling): Document
8128 general use of test-wrapper and test-wrapper-env.
8129 * INSTALL: Regenerated.
8131 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8132 (__fma): Do not extract and scale down low bits on after-rounding
8133 systems when result rounded to normal precision would have normal
8135 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8136 (__fmal): Do not extract and scale down low bits on after-rounding
8137 systems when result rounded to normal precision would have normal
8139 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8140 (__fmal): Do not extract and scale down low bits on after-rounding
8141 systems when result rounded to normal precision would have normal
8143 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8145 (fma_test): Add more tests.
8146 (fma_test_towardzero): Likewise.
8147 (fma_test_downward): Likewise.
8148 (fma_test_upward): Likewise.
8150 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8152 * sysdeps/i386/tininess.h: Renamed to ...
8153 * sysdeps/x86/tininess.h: This.
8154 * sysdeps/x86_64/tininess.h: Removed.
8156 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8158 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8159 input. Use $(build-program-cmd).
8160 ($(objpfx)tst-array1-static.out): Likewise.
8161 ($(objpfx)tst-array2.out): Likewise.
8162 ($(objpfx)tst-array3.out): Likewise.
8163 ($(objpfx)tst-array4.out): Likewise.
8164 ($(objpfx)tst-array5.out): Likewise.
8165 ($(objpfx)tst-array5-static.out): Likewise.
8167 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8169 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8172 * nss/nsswitch.h (nss_interface_function): Provide new
8173 macro for use with NSS functions.
8174 * grp/initgroups.c: Use new macro.
8175 * nss/getXXbyYY.c: Likewise.
8176 * nss/getXXbyYY_r.c: Likewise.
8177 * nss/getXXent.c: Likewise.
8178 * nss/getXXent_r.c: Likewise.
8179 * sysdeps/posix/getaddrinfo.c: Likewise.
8181 2012-10-30 Andreas Jaeger <aj@suse.de>
8183 * po/ru.po: Update Russion translation from translation project.
8185 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8190 result and shift together with sticky bit instead of replicating
8191 round-to-nearest rounding.
8192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8193 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8194 * math/libm-test.inc (fma_test): Add more tests. Do not permit
8195 missing underflow exceptions.
8196 (fma_test_towardzero): Add more tests.
8197 (fma_test_downward): Likewise.
8198 (fma_test_upward): Likewise.
8201 * sysdeps/generic/tininess.h: New file.
8202 * sysdeps/i386/tininess.h: Likewise.
8203 * sysdeps/sh/tininess.h: Likewise.
8204 * sysdeps/x86_64/tininess.h: Likewise.
8205 * stdlib/tst-strtod-underflow.c: Likewise.
8206 * stdlib/tst-tininess.c: Likewise.
8207 * stdlib/strtod_l.c: Include <tininess.h>.
8208 (round_and_return): Do not set errno for exact underflow cases.
8209 Force an underflow exception when setting errno for underflow.
8210 Determine underflow based on rounding to normal precision if
8211 TININESS_AFTER_ROUNDING.
8212 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8213 ERANGE for exact underflow cases.
8214 * stdlib/Makefile (tests): Add tst-tininess and
8215 tst-strtod-underflow.
8216 ($(objpfx)tst-tininess): Use $(link-libm).
8217 ($(objpfx)tst-strtod-underflow): Likewise.
8219 2012-10-30 Andreas Jaeger <aj@suse.de>
8222 * elf/Makefile (tests): Remove conditional for have-initfini-array
8223 since this is now always required and the variable does not exist
8225 (tests-static): Likewise.
8226 (modules-names): Likewise.
8228 * po/eo.po: Add Esperanto translation from translation project.
8230 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8231 merged with constructor/destructor.
8232 (init_array): Likewise.
8233 * elf/tst-array2dep.c (fini_array): Likewise.
8234 (init_array): Likewise.
8236 2012-10-29 Mike Frysinger <vapier@gentoo.org>
8238 * manual/message.texi: Delete @cartouche tags.
8240 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8242 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8244 * sysdeps/mach/hurd/fsync.c: Likewise.
8246 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8247 [_POSIX_REALTIME_SIGNALS]: Change condition to
8248 [_POSIX_REALTIME_SIGNALS > 0].
8250 2012-10-27 Andreas Jaeger <aj@suse.de>
8252 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8253 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8254 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8255 [__WORDSIZE != 64]: Likewise.
8257 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8259 * iconvdata/tst-table.sh: Remove ${SHELL}.
8260 * iconvdata/tst-tables.sh: Likewise.
8262 2012-10-25 David S. Miller <davem@davemloft.net>
8264 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8265 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8268 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8270 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8271 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8272 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8275 2012-10-25 Roland McGrath <roland@hack.frob.com>
8277 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8278 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8281 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8282 Jim Blandy <jimb@codesourcery.com>
8284 * scripts/cross-test-ssh.sh: New file.
8285 * manual/install.texi (Configuring and compiling): Document use of
8287 * INSTALL: Regenerated.
8289 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8291 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8294 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8296 * Makeconfig (run-program-prefix): Fix comment.
8298 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8299 Jim Blandy <jimb@codesourcery.com>
8301 * Makeconfig (test-wrapper): New variable,
8302 (test-wrapper-env): Likewise.
8303 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8304 (run-built-tests): Define to yes.
8305 (run-program-prefix): Use $(test-wrapper).
8306 (built-program-cmd): Likewise.
8307 * Rules (make-test-out): Use $(test-wrapper-env) and
8308 $(host-built-program-cmd).
8309 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8310 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8312 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8313 $(test-wrapper-env) to tst-rtld-load-self.sh.
8314 ($(objpfx)order2.out): Use $(test-wrapper).
8315 ($(objpfx)tst-initorder.out): Likewise.
8316 ($(objpfx)tst-initorder2.out): Likewise.
8317 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8318 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8319 (test_wrapper_env): New variable. Use it to run ld.so.
8320 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8321 Use it to run ld.so.
8322 (test_wrapper_env): Likewise.
8323 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8324 $(test-wrapper) to run-iconv-test.sh.
8325 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8326 (ICONV): Use $test_wrapper.
8327 * posix/Makefile ($(objpfx)globtest.out): Pass
8328 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8329 globtest.sh, not $(run-program-prefix).
8330 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8331 (test_wrapper): Likewise.
8332 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8333 set together with run_via_rtld_prefix.
8334 (run_program_prefix): Define in terms of test_wrapper and
8335 run_via_rtld_prefix.
8337 2012-10-24 Roland McGrath <roland@hack.frob.com>
8339 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8340 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8344 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8345 Declare __clock_getres, __clock_gettime, __clock_settime,
8346 __clock_nanosleep, and __clock_getcpuclockid.
8347 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8348 Remove librt_hidden_def (clock_gettime).
8349 * sysdeps/unix/clock_gettime.c: Likewise.
8350 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8351 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8352 * rt/clock_getres.c: Define __clock_getres as an alias.
8353 * sysdeps/posix/clock_getres.c: Likewise.
8354 * rt/clock_settime.c: Define __clock_settime as an alias.
8355 * sysdeps/unix/clock_settime.c: Likewise.
8356 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8357 * sysdeps/unix/clock_nanosleep.c: Likewise.
8358 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8359 * rt/clock-compat.c: New file.
8360 * rt/Makefile (librt-routines): Add clock-compat and move
8361 $(clock-routines) to ...
8362 (routines): ... here, new variable.
8363 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8364 Don't add get_clockfreq here.
8365 * rt/Versions (libc: GLIBC_2.17): New version set.
8366 Add clock_* symbols here.
8367 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8368 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8369 (GLIBC_2.17): Add clock_* symbols.
8370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8372 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8381 * NEWS: Mention the move.
8383 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8384 Use __open, __read, __close rather than their public counterparts.
8385 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8386 (__get_clockfreq_via_cpuinfo): Likewise.
8387 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8388 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8390 * config.h.in (HAVE_IFUNC): New #undef.
8391 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8393 * configure: Regenerated.
8395 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8397 * configure.in: Move READELF check to start of file.
8398 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8399 libc_cv_asm_gnu_indirect_function in the process.
8400 * configure: Regenerated.
8402 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8404 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8405 send the output to /dev/null.
8406 (libc_cv_cc_with_libunwind): Likewise.
8407 (libc_cv_as_noexecstack): Likewise.
8408 * configure: Regenerate.
8410 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8412 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8414 * posix/globtest.sh (TMPDIR): Do not set.
8415 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8416 (testout): Likewise.
8418 2012-10-24 Andreas Jaeger <aj@suse.de>
8420 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8421 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8422 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8423 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8424 posix_fadvise64, posix_fallocate64.
8426 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8427 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8428 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8430 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8432 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8434 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8435 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8436 <bits/fcntl-linux.h>.
8437 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8439 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8440 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8441 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8442 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8443 [__WORDSIZE != 64]: Likewise.
8445 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8447 * Makeconfig (run-built-tests): New variable.
8448 * Rules [$(cross-compiling) = yes]: Change condition to
8449 [$(run-built-tests) = no].
8450 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8451 to [$(run-built-tests) = yes].
8452 * elf/Makefile [$(cross-compiling) = no]: Likewise
8453 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8454 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8455 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8456 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8457 * io/Makefile [$(cross-compiling) = no]: Likewise.
8458 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8459 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8460 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8461 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8462 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8463 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8464 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8465 * string/Makefile [$(cross-compiling) = no]: Likewise.
8467 * posix/Makefile ($(objpfx)globtest.out): Pass
8468 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8469 $(rtld-installed-name).
8470 * posix/globtest.sh (elf_objpfx): Remove variable.
8471 (rtld_installed_name): Likewise.
8472 (library_path): Likewise.
8473 (run_program_prefix): New variable. Use for running globtest
8476 2012-10-23 Jim Blandy <jimb@codesourcery.com>
8477 Joseph Myers <joseph@codesourcery.com>
8479 * Makeconfig (host-built-program-cmd): New variable.
8480 * elf/Makefile (tst-stackguard1-ARGS): Use
8481 $(host-built-program-cmd).
8482 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8483 (tst-spawn-ARGS): Likewise.
8484 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8486 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8487 Jim Blandy <jimb@codesourcery.com>
8489 * Makeconfig (run-via-rtld-prefix): New variable.
8490 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8491 (built-program-cmd): Likewise.
8493 2012-10-22 Andreas Jaeger <aj@suse.de>
8495 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8496 __O_RSYNC if it exists, otherwise to O_SYNC.
8498 2012-10-22 Jim Blandy <jimb@codesourcery.com>
8499 Joseph Myers <joseph@codesourcery.com>
8501 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8503 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8505 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8508 2012-10-22 Andreas Jaeger <aj@suse.de>
8510 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8512 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8514 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8517 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8518 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8520 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8522 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8525 2012-10-21 Jim Blandy <jimb@codesourcery.com>
8526 Joseph Myers <joseph@codesourcery.com>
8528 * config.make.in (NM): New variable.
8530 2012-10-21 Andreas Jaeger <aj@suse.de>
8532 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8533 definitions and declarations that are provided by
8534 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8536 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8539 * elf/Makefile (tests-static): Add tst-leaks1-static.
8540 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8541 ($(objpfx)tst-leaks1-static): New rule.
8542 ($(objpfx)tst-leaks1-static-mem): Likewise.
8543 (tst-leaks1-static-ENV): New macro.
8544 * elf/dl-open.c (dl_open_worker): Check the main application
8545 only if SHARED is defined.
8546 * elf/tst-leaks1-static.c: New file.
8548 2012-10-20 Andreas Jaeger <aj@suse.de>
8550 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8551 generic values for Linux.
8552 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8553 and declarations that are provided by <bits/fcntl-linux.h> and
8554 include <bits/fcntl-linux.h>.
8555 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8556 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8558 2012-10-20 Roland McGrath <roland@hack.frob.com>
8560 * io/fcntl.h: Move include of <bits/types.h> to the top and
8561 include it unconditionally.
8563 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8565 * wcsmbs/Makefile (tests-ifunc): New variable.
8566 (tests): Add $(tests-ifunc).
8567 * wcsmbs/test-wcschr-ifunc.c: New file.
8568 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8569 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8570 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8571 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8572 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8574 * string/Makefile (tests-ifunc): New variable.
8575 (tests): Add $(tests-ifunc).
8576 * string/test-memccpy.c (TEST_NAME): New macro.
8577 * string/test-memchr.c (TEST_NAME): Likewise.
8578 * string/test-memcmp.c (TEST_NAME): Likewise.
8579 * string/test-memcpy.c (TEST_NAME): Likewise.
8580 * string/test-memmem.c (TEST_NAME): Likewise.
8581 * string/test-memmove.c (TEST_NAME): Likewise.
8582 * string/test-memset.c (TEST_NAME): Likewise.
8583 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8584 * string/test-stpcpy.c (TEST_NAME): Likewise.
8585 * string/test-stpncpy.c (TEST_NAME): Likewise.
8586 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8587 * string/test-strcasestr.c (TEST_NAME): Likewise.
8588 * string/test-strcat.c (TEST_NAME): Likewise.
8589 * string/test-strchr.c (TEST_NAME): Likewise.
8590 * string/test-strcmp.c(TEST_NAME): Likewise.
8591 * string/test-strcpy.c (TEST_NAME): Likewise.
8592 * string/test-strcspn.c (TEST_NAME): Likewise.
8593 * string/test-strlen.c (TEST_NAME): Likewise.
8594 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8595 * string/test-strncmp.c (TEST_NAME): Likewise.
8596 * string/test-strncpy.c (TEST_NAME): Likewise.
8597 * string/test-strnlen.c (TEST_NAME): Likewise.
8598 * string/test-strpbrk.c (TEST_NAME): Likewise.
8599 * string/test-strrchr.c (TEST_NAME): Likewise.
8600 * string/test-strspn.c (TEST_NAME): Likewise.
8601 * string/test-strstr.c (TEST_NAME): Likewise.
8602 * string/test-bcopy-ifunc.c: New file.
8603 * string/test-bzero-ifunc.c: Likewise.
8604 * string/test-memccpy-ifunc.c: Likewise.
8605 * string/test-memchr-ifunc.c: Likewise.
8606 * string/test-memcmp-ifunc.c: Likewise.
8607 * string/test-memcpy-ifunc.c: Likewise.
8608 * string/test-memmem-ifunc.c: Likewise.
8609 * string/test-memmove-ifunc.c: Likewise.
8610 * string/test-mempcpy-ifunc.c: Likewise.
8611 * string/test-memset-ifunc.c: Likewise.
8612 * string/test-rawmemchr-ifunc.c: Likewise.
8613 * string/test-stpcpy-ifunc.c: Likewise.
8614 * string/test-stpncpy-ifunc.c: Likewise.
8615 * string/test-strcasecmp-ifunc.c: Likewise.
8616 * string/test-strcasestr-ifunc.c: Likewise.
8617 * string/test-strcat-ifunc.c: Likewise.
8618 * string/test-strchr-ifunc.c: Likewise.
8619 * string/test-strchrnul-ifunc.c: Likewise.
8620 * string/test-strcmp-ifunc.c: Likewise.
8621 * string/test-strcpy-ifunc.c: Likewise.
8622 * string/test-strcspn-ifunc.c: Likewise.
8623 * string/test-strlen-ifunc.c: Likewise.
8624 * string/test-strncasecmp-ifunc.c: Likewise.
8625 * string/test-strncat-ifunc.c: Likewise.
8626 * string/test-strncmp-ifunc.c: Likewise.
8627 * string/test-strncpy-ifunc.c: Likewise.
8628 * string/test-strnlen-ifunc.c: Likewise.
8629 * string/test-strpbrk-ifunc.c: Likewise.
8630 * string/test-strrchr-ifunc.c: Likewise.
8631 * string/test-strspn-ifunc.c: Likewise.
8632 * string/test-strstr-ifunc.c: Likewise.
8634 * debug/Makefile (tests-ifunc): New variable.
8635 (tests): Add $(tests-ifunc).
8636 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8637 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8638 * debug/test-stpcpy_chk-ifunc.c: New file.
8639 * debug/test-strcpy_chk-ifunc.c: Likewise.
8641 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8644 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8645 header is not read in.
8647 2012-10-19 Joseph Myers <joseph@codesourcery.com>
8649 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8650 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8651 directly. Pass built executable to script as
8652 $(built-program-cmd).
8653 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8654 $testprogram without using LD_LIBRARY_PATH and $ldso.
8656 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8657 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8658 $(rtld-installed-name).
8659 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8660 (rtld_installed_name): Likewise.
8661 (library_path): Likewise.
8662 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8663 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8664 $(run-program-prefix) to tst-tables.sh.
8665 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8666 it to run tst-table-from and tst-table-to.
8667 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8668 Pass it to tst-table.sh.
8669 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8670 $(run-program-prefix) to tst-gettext.sh.
8671 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8673 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8675 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8677 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8678 to run tst-gettext2.
8679 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8680 to run tst-translit.
8681 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8682 $(run-program-prefix) to tst-mtrace.sh.
8683 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8685 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8686 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8687 $(rtld-installed-name).
8688 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8689 (rtld_installed_name): Likewise.
8690 (run_program_prefix): New variable. Use it to run wordexp-test.
8692 * Makeconfig (ARCH): Remove all definitions.
8693 (machine): Likewise.
8694 [ARCH]: Remove conditional code.
8695 [!objdir]: Give error.
8696 [!objdir] (objpfx): Remove.
8697 [!objdir] (common-objpfx): Likewise.
8698 [!objdir] (common-objdir): Likewise.
8699 * configure.in (config_makefile): Remove. Hardcode Makefile in
8700 AC_CONFIG_FILES call.
8701 * configure: Regenerated.
8704 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8706 (testout): Likewise.
8708 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8709 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8710 $(rtld-installed-name).
8711 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8712 (rtld_installed_name): Likwise.
8713 (runit): Remove function.
8714 (run_getconf): New variable, Use it for running getconf binary.
8716 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8719 * string/test-memmem.c (check_result): New function.
8720 (do_one_test): Use it.
8721 (check1): New function.
8722 (test_main): Use it.
8724 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8726 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8728 2012-10-18 Joseph Myers <joseph@codesourcery.com>
8730 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8731 (_G_LSEEK64): Likewise.
8732 (_G_MMAP64): Likewise.
8733 (_G_FSTAT64): Likewise.
8734 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8735 (_G_LSEEK64): Likewise.
8736 (_G_MMAP64): Likewise.
8737 (_G_FSTAT64): Likewise.
8738 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8739 unconditional. Call __mmap64 directly.
8740 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8741 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8743 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8744 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8746 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8747 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8749 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8750 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8752 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8753 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8755 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8756 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8757 __fxstat64 directly.
8758 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8759 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8761 (freopen64) [!_G_OPEN64]: Remove conditional code.
8762 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8764 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8765 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8767 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8768 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8770 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8771 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8773 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8774 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8776 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8777 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8779 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8780 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8782 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8784 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8787 * manual/memory.texi (Malloc Tunable Parameters): Add note
8788 about free list pointers overwriting some perturb bytes.
8789 Wording suggested by Roland McGrath.
8791 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8793 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8794 (lgamma_test): Likewise.
8795 (tgamma_test): Likewise.
8797 2012-10-16 Florian Weimer <fweimer@redhat.com>
8800 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8801 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8803 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8805 * NEWS: Mention BZ #14716.
8806 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8807 when removing AVAILABLE1_USES_J macro.
8809 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8811 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8812 (__bswap_64): __uint64_t for unsigned 64-bit int.
8814 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8816 * include/string.h (memmem): Declare libc hidden alias.
8817 * string/memmem.c (memmem): Define libc hidden alias.
8818 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8819 __read, __close instead of open, read, close.
8821 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8823 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8824 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8826 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8827 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8828 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8830 (__rawmemchr_sse2): Likewise.
8831 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8832 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8833 (__strchr_sse2): Likewise.
8834 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8835 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8836 (__strcasecmp_sse2): Likewise.
8837 (__strncasecmp_sse2): Likewise.
8838 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8839 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8840 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8841 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8842 (__strrchr_sse2): Likewise.
8843 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8845 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8846 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8847 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8848 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8849 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8850 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8851 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8852 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8853 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8854 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8855 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8856 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8857 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8858 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8859 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8860 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8861 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8862 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8863 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8864 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8865 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8866 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8867 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8868 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8869 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8870 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8871 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8872 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8873 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8874 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8876 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8878 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8879 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8880 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8881 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8883 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8885 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8886 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8887 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8888 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8890 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8891 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8892 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8893 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8894 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8895 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8896 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8897 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8898 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8899 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8900 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8901 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8902 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8903 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8904 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8905 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8906 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8907 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8908 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8909 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8910 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8911 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8912 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8913 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8914 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8915 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8916 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8917 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8918 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8919 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8920 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8921 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8922 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8923 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8924 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8925 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8926 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8927 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8928 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8929 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8930 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8932 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8933 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8934 * include/ifunc-impl-list.h: New file.
8935 * misc/ifunc-impl-list.c: Likewise.
8936 * misc/Makefile (routines): Add ifunc-impl-list.
8937 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8938 * string/test-string.h: Include <ifunc-impl-list.h>.
8939 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8940 impl_array): New variables.
8941 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8943 (test_init): Call __libc_ifunc_impl_list to initialize
8944 func_list if TEST_IFUNC and TEST_NAME are defined.
8946 * string/Makefile (strop-tests): Add bcopy and bzero.
8947 * string/test-bcopy.c: New file.
8948 * string/test-bzero.c: Likewise.
8949 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8951 * string/test-memset.c: Support bzero test if TEST_BZERO is
8953 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8955 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8957 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8960 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8962 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8963 * configure: Regenerated.
8965 * Makeconfig (+link-static-before-libc): Don't include
8966 $(link-static-libc).
8968 * libio/libio.h (_IO_pos_t): Remove.
8970 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8972 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8975 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8977 * crypt/crypt-entry.c: Include fips-private.h.
8978 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8979 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8980 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8981 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8983 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8985 * crypt/crypt-private.h: Include stdbool.h.
8986 (_ufc_setup_salt_r): Return bool.
8987 * crypt/crypt-entry.c: Include errno.h.
8988 (__crypt_r): Return NULL with EINVAL for bad salt.
8989 * crypt/crypt_util.c (bad_for_salt): New.
8990 (_ufc_setup_salt_r): Check that salt is long enough and within
8991 the specified alphabet.
8992 * crypt/badsalttest.c: New file.
8993 * crypt/Makefile (tests): Add it.
8994 ($(objpfx)badsalttest): New.
8996 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8998 * NEWS: Add entry for BZ #14602.
9000 2012-10-09 Joseph Myers <joseph@codesourcery.com>
9002 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
9004 * math/libm-test.inc: Update comment listing what functions and
9006 (isgreater_test): New function.
9007 (isgreaterequal_test): Likewise.
9008 (isless_test): Likewise.
9009 (islessequal_test): Likewise.
9010 (islessgreater_test): Likewise.
9011 (isunordered_test): Likewise.
9012 (main): Call the new functions.
9014 2012-10-09 Roland McGrath <roland@hack.frob.com>
9016 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9017 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9018 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9019 * sysdeps/i386/configure: Regenerated.
9020 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9021 * sysdeps/mach/configure: Regenerated.
9022 * sysdeps/mach/hurd/configure: Regenerated.
9023 * sysdeps/powerpc/configure: Regenerated.
9024 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9025 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9026 * sysdeps/s390/s390-32/configure: Regenerated.
9027 * sysdeps/s390/s390-64/configure: Regenerated.
9028 * sysdeps/sh/configure: Regenerated.
9029 * sysdeps/sparc/configure: Regenerated.
9030 * sysdeps/unix/sysv/linux/configure: Regenerated.
9031 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9032 * sysdeps/x86_64/configure: Regenerated.
9034 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9035 defined. Don't check if MAP is NULL.
9037 2012-10-09 Joseph Myers <joseph@codesourcery.com>
9039 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9040 (_G_stat64): Likewise.
9041 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9042 (_G_stat64): Likewise.
9043 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9044 instead of struct _G_stat64.
9045 * libio/fileops.c (mmap_remap_check): Likewise.
9046 (decide_maybe_mmap): Likewise.
9047 (_IO_new_file_seekoff): Likewise.
9048 (_IO_file_stat): Likewise.
9049 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9051 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9052 instead of struct _G_stat64.
9053 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9055 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9058 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9060 (CHECK_EOL): New macro.
9061 (two_way_short_needle): Check beginning of haystack for EOL. Use
9063 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9064 Replace with CHECK_EOL.
9065 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9066 Replace with CHECK_EOL.
9068 2012-10-08 Joseph Myers <joseph@codesourcery.com>
9070 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9072 * math/libm-test.inc: Update comment listing what functions and
9074 (finite_test): New function.
9075 (isinf_test): Likewise.
9076 (isnan_test): Likewise.
9077 (fpclassify_test): Test subnormal input.
9078 (isfinite_test): Likewise.
9079 (isnormal_test): Likewise.
9080 (main): Call the new functions.
9082 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9085 * Makerules (%.dynsym): Force C locale when running
9086 $(OBJDUMP) --dynamic-syms.
9088 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9090 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9093 2012-10-06 David S. Miller <davem@davemloft.net>
9095 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9096 upper 32-bits of the length value in %o2 since we use branch-on-register
9097 tests which consider the entire 64-bit register.
9099 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9101 * string/test-strstr.c (check2): Add a test for page boundary.
9103 2012-10-05 David S. Miller <davem@davemloft.net>
9105 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9106 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9108 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9110 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9111 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9112 and bzero when HWCAP_SPARC_CRYPTO is present.
9114 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9117 * string/test-strstr.c (check2): New function.
9118 (test_main): Call check2.
9120 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9122 * string/bug-strcasestr1.c (do_test): Moved to ...
9123 * string/test-strcasestr.c (check1): Here. New function.
9124 (do_one_test): Break out result checking code into ...
9125 (check_result): This. New function.
9126 (do_one_test): Call check_result.
9127 (test_main): Call check1.
9128 * string/bug-strchr1.c (do_test): Moved to ...
9129 * string/test-strchr.c (check1): Here. New function.
9130 (do_one_test): Break out result checking code into ...
9131 (check_result): This. New function.
9132 (do_one_test): Call check_result.
9133 (test_main): Call check1.
9134 * string/bug-strstr1.c (main): Moved to ...
9135 * string/test-strstr.c (check1): Here. New function.
9136 (do_one_test): Break out result checking code into ...
9137 (check_result): This. New function.
9138 (do_one_test): Call check_result.
9139 (test_main): Call check1.
9140 * string/bug-strcasestr1.c: Removed.
9141 * string/bug-strchr1.c: Likewise.
9142 * string/bug-strstr1.c: Likewise.
9144 * elf/Makefile (dl-routines): Add hwcaps.
9145 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9146 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9147 (_dl_important_hwcaps): Moved to ...
9148 * elf/dl-hwcaps.c: Here. New file.
9149 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9152 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9153 if IS_IN_rtld isn't defined.
9155 * elf/dl-support.c (_dl_sysinfo_map): New.
9156 Include "get-dynamic-info.h" and "setup-vdso.h".
9157 (_dl_non_dynamic_init): Call setup_vdso.
9158 * elf/dynamic-link.h: Don't include <assert.h>.
9159 (elf_get_dynamic_info): Moved to ...
9160 * elf/get-dynamic-info.h: Here. New file.
9161 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9162 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9163 * elf/setup-vdso.h: Here. New file.
9164 * elf/rtld.c: Include "setup-vdso.h".
9165 (dl_main): Call setup_vdso.
9167 2012-10-05 Joseph Myers <joseph@codesourcery.com>
9169 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9170 creal in comment listing functions tested. List finite, isinf,
9171 isnan, isless, islessequal, isgreater, isgreaterequal,
9172 islessgreater, isunordered, lgamma_r and pow10 as functions and
9173 macros not tested. Mention which functions not tested are aliases
9174 for other functions. Fix typo. Note that signs of NaNs are not
9177 * scripts/config.guess: Update from config.git.
9178 * scripts/config.sub: Likewise.
9180 2012-10-04 Roland McGrath <roland@hack.frob.com>
9182 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9183 * misc/madvise.c (madvise): Renamed to __madvise.
9184 Make madvise a weak alias.
9185 * include/sys/mman.h: Declare __madvise.
9186 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9187 * sysdeps/unix/syscalls.list
9188 (madvise): Make __madvise the strong name, and madvise a weak alias.
9189 * sysdeps/unix/sysv/linux/syscalls.list
9190 (madvise, mmap): Remove redundant entries.
9191 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9192 * malloc/malloc.c (mtrim): Likewise.
9193 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9195 2012-10-03 Roland McGrath <roland@hack.frob.com>
9197 * sysdeps/mach/hurd/dl-cache.c: File removed.
9198 * config.h.in (USE_LDCONFIG): New #undef.
9199 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9200 * configure: Regenerated.
9201 * elf/Makefile (dl-routines): Add dl-cache only under
9202 [$(use-ldconfig) = yes].
9203 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9204 cache on [USE_LDCONFIG].
9205 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9207 * elf/rtld.c (dl_main): Likewise.
9209 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9211 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9212 _SC_LEVEL4_CACHE_LINESIZE.
9214 2012-10-03 Roland McGrath <roland@hack.frob.com>
9216 * sysdeps/unix/bsd/confstr.h: File removed.
9218 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
9220 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9223 2012-10-02 Roland McGrath <roland@hack.frob.com>
9225 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9226 Make 'mapoff' field ElfW(Off) rather than off_t.
9228 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9230 * nscd/Makefile: Remove nscd-cflags and all its users.
9231 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9232 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9235 * malloc.c (malloc_printerr): Clarify error message.
9237 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9241 Set bit_FMA_Usable if FMA is supported.
9242 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9244 (bit_FMA4_Usable): Updated.
9245 (index_FMA_Usable): New macro.
9246 (CPUID_FMA): Likewise
9247 (HAS_FMA): Defined with bit_FMA_Usable.
9249 2012-10-01 Roland McGrath <roland@hack.frob.com>
9251 * bits/types.h (__swblk_t): Type removed.
9252 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9253 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9254 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9255 (__SWBLK_T_TYPE): Likewise.
9256 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9257 (__SWBLK_T_TYPE): Likewise.
9258 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9259 (__SWBLK_T_TYPE): Likewise.
9260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9261 (__SWBLK_T_TYPE): Likewise.
9263 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
9264 Honza Horak <hhorak@redhat.com>
9266 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9267 (xdr_mapname): Use YPMAXMAP as maxsize.
9268 (xdr_peername): Use YPMAXPEER as maxsize.
9269 (xdr_keydat): Use YPAXRECORD as maxsize.
9270 (xdr_valdat): Use YPMAXRECORD as maxsize.
9272 2012-10-01 Roland McGrath <roland@hack.frob.com>
9274 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9276 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9277 * csu/init-first.c: ... here.
9278 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9279 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9280 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9281 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9282 * sysdeps/i386/init-first.c: File removed.
9283 * sysdeps/sh/init-first.c: File removed.
9285 2012-10-01 Joseph Myers <joseph@codesourcery.com>
9288 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9289 if x * y might underflow to zero and z is zero.
9290 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9291 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9292 * math/libm-test.inc (min_subnorm_value): New variable.
9293 (fma_test): Add more tests.
9294 (fma_test_towardzero): Likewise.
9295 (fma_test_downward): Likewise
9296 (fma_test_upward): Likewise.
9297 (initialize): Set min_subnorm_value.
9299 2012-09-29 Joseph Myers <joseph@codesourcery.com>
9302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9304 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9305 mode for addition resulting in exact zero.
9306 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9307 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9309 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9310 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9311 * math/libm-test.inc (fma_test): Add more tests.
9312 (fma_test_towardzero): New function.
9313 (fma_test_downward): Likewise.
9314 (fma_test_upward): Likewise.
9315 (main): Call the new functions.
9317 2012-09-28 David S. Miller <davem@davemloft.net>
9319 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9321 2012-09-28 Roland McGrath <roland@hack.frob.com>
9323 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9326 * sysdeps/gnu/_G_config.h: Moved to ...
9327 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9328 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9329 * sysdeps/generic/_G_config.h: ... here.
9331 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9333 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9335 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9336 Conditionalize target on [libnss_test1.so-version].
9338 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9340 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9341 (elfobjdir): Move out of conditionals.
9343 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9344 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9345 (__nss_lookup_function): Conditionalize label remove_from_tree on
9346 [!DO_STATIC_NSS || SHARED], matching its only use.
9348 2012-09-28 David S. Miller <davem@davemloft.net>
9350 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9351 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9353 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9355 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9356 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9357 when HWCAP_SPARC_CRYPTO is present.
9359 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9361 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9363 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9366 * stdio-common/vfprintf.c (process_string_arg): Revert
9369 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9371 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9373 * stdio-common/tst-sprintf.c: Include <locale.h>
9374 (main): Test sprintf's handling of incomplete multibyte
9377 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9379 * elf/dl-runtime.c (VERSYMIDX): Removed.
9380 * elf/dl-version.c (VERSYMIDX): Likewise.
9381 * elf/do-rel.h (VERSYMIDX): Likewise.
9383 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9384 * elf/rtld.c (VALIDX): Likewise.
9385 (ADDRIDX): Likewise.
9386 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9387 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9388 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9389 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9391 (ADDRIDX): Likewise.
9393 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9395 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9397 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9400 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9402 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9403 addresses are in the same scope as 192.0.2/24.
9404 * posix/gai.conf: Document new scope table defaults.
9406 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9409 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9410 for ftell. Compute offsets from write pointers instead.
9411 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9413 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9416 * libio/Makefile (tests): New test case tst-fseek.
9417 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9418 combination works in wide mode.
9419 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9420 state when the external buffer state changes.
9422 2012-09-27 David S. Miller <davem@davemloft.net>
9425 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9426 pass reloc->r_addend in as the 'high' argument to
9427 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9431 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9433 * rt/tst-aio2.c: Include <pthread.h>.
9434 * rt/tst-aio3.c: Likewise.
9436 2012-09-27 Steve Ellcey <sellcey@mips.com>
9438 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9440 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9442 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9443 contents on [SHARED].
9445 2012-09-26 Marek Polacek <polacek@redhat.com>
9449 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9450 for C++ and GCC <4.3 as well as for non GCC compilers.
9452 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9456 2012-09-25 Roland McGrath <roland@hack.frob.com>
9458 * Makefile.in (all, install): Declare with .PHONY.
9459 Reported by Michael Hope <michael.hope@linaro.org>.
9461 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9463 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9464 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9466 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9468 (sydep_routines): Add the new and the internal functions.
9469 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9470 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9472 (GLIBC_2.17): Add the new function.
9473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9474 (GLIBC_2.17): Likewise.
9475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9476 (GLIBC_2.17): Likewise.
9477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9478 (GLIBC_2.17): Likewise.
9479 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9481 2012-09-25 Alan Modra <amodra@gmail.com>
9483 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9484 Add release barrier before setting once_control to say
9485 initialisation is done. Add hints on lwarx. Use macro in
9487 (clear_once_control): Add release barrier.
9489 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9492 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9494 * math/s_clog10.c (__clog10): Likewise.
9495 * math/s_clog10f.c (__clog10f): Likewise.
9496 * math/s_clog10l.c (__clog10l): Likewise.
9497 * math/s_clogf.c (__clogf): Likewise.
9498 * math/s_clogl.c (__clogl): Likewise.
9499 * math/Makefile (libm-calls): Add x2y2m1.
9500 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9501 (__x2y2m1): Likewise.
9502 (__x2y2m1l): Likewise.
9503 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9504 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9507 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9508 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9509 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9510 * sysdeps/i386/fpu/libm-test-ulps: Update.
9511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9514 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9515 int as type of variable DEPTH.
9516 (glob): Use size_t instead of int as type of variables NEWCOUNT
9519 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9521 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9523 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9524 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9525 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9526 macros for using routine as __sincosf_ia32.
9527 Use macro for function declaration and weak_alias.
9528 * sysdeps/i386/fpu/libm-test-ulps: Update.
9530 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9533 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
9535 * math/s_cexpf.c (__cexpf): Likewise.
9536 * math/s_csinf.c (__csinf): Likewise.
9537 * math/s_csinhf.c (__csinhf): Likewise.
9538 * math/s_ctanf.c (__ctanf): Likewise.
9539 * math/s_ctanhf.c (__ctanhf): Likewise.
9540 * math/s_ccosh.c (__ccoshf): Likewise.
9541 * math/s_cexp.c (__cexpl): Likewise.
9542 * math/s_csin.c (__csin): Likewise.
9543 * math/s_csinh.c (__csinh): Likewise.
9544 * math/s_ctan.c (__ctan): Likewise.
9545 * math/s_ctanh.c (ctanh): Likewise.
9546 * math/s_ccoshl.c (__ccoshl): Likewise.
9547 * math/s_cexpl.c (__cexpl): Likewise.
9548 * math/s_csinl.c (__csinl): Likewise.
9549 * math/s_csinhl.c (__csinhl): Likewise.
9550 * math/s_ctanl.c (__ctanl): Likewise.
9551 * math/s_ctanhl.c (__ctanhl): Likewise.
9553 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9555 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9556 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9557 (_IO_off_t): Define to __off_t, not _G_off_t.
9558 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9559 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9560 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9561 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9562 type of __dummy and __dummy2 fields.
9563 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9564 (_G_ssize_t): Likewise.
9565 (_G_off_t): Likewise.
9566 (_G_pid_t): Likewise.
9567 (_G_uid_t): Likewise.
9568 (_G_wchar_t): Likewise.
9569 (_G_wint_t): Likewise.
9570 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9571 (_G_ssize_t): Likewise.
9572 (_G_off_t): Likewise.
9573 (_G_pid_t): Likewise.
9574 (_G_uid_t): Likewise.
9575 (_G_wchar_t): Likewise.
9576 (_G_wint_t): Likewise.
9577 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9578 (_G_ssize_t): Likewise.
9579 (_G_off_t): Likewise.
9580 (_G_pid_t): Likewise.
9581 (_G_uid_t): Likewise.
9582 (_G_wchar_t): Likewise.
9583 (_G_wint_t): Likewise.
9585 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9587 * malloc/arena.c: Include malloc-sysdep.h.
9588 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9589 is sufficient to shrink the heap or an unmap is needed.
9590 * sysdeps/generic/malloc-sysdep.h: New file. Define
9591 new function check_may_shrink_heap.
9592 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9593 new function check_may_shrink_heap.
9595 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9597 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9600 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9602 * catgets/test-gencat.sh: Add "set -e".
9603 * elf/tst-pathopt.sh: Likewise.
9604 * grp/tst_fgetgrent.sh: Likewise.
9605 * iconvdata/run-iconv-test.sh: Likewise.
9606 * intl/tst-gettext.sh: Likewise.
9607 * intl/tst-gettext2.sh: Likewise.
9608 * intl/tst-gettext4.sh: Likewise.
9609 * intl/tst-gettext6.sh: Likewise.
9610 * intl/tst-translit.sh: Likewise.
9611 * io/ftwtest-sh: Likewise.
9612 * libio/test-freopen.sh: Likewise.
9613 * malloc/tst-mtrace.sh: Likewise.
9614 * posix/globtest.sh: Likewise.
9615 * posix/tst-getconf.sh: Likewise.
9616 * posix/wordexp-tst.sh: Likewise.
9617 * stdio-common/tst-printf.sh: Likewise.
9618 * stdio-common/tst-unbputc.sh: Likewise.
9619 * stdlib/tst-fmtmsg.sh: Likewise.
9620 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9621 * catgets/Makefile: Do not specify -e option when running
9622 testsuite shell scripts.
9623 * elf/Makefile: Likewise.
9624 * grp/Makefile: Likewise.
9625 * iconvdata/Makefile: Likewise.
9626 * intl/Makefile: Likewise.
9627 * io/Makefile: Likewise.
9628 * libio/Makefile: Likewise.
9629 * malloc/Makefile: Likewise.
9630 * posix/Makefile: Likewise.
9631 * stdio-common/Makefile: Likewise.
9632 * stdlib/Makefile: Likewise.
9633 * sysdeps/x86_64/Makefile: Likewise.
9635 * io/ftwtest-sh: Add copyright header.
9636 * posix/globtest.sh: Likewise.
9637 * posix/tst-getconf.sh: Likewise.
9638 * posix/wordexp-tst.sh: Likewise.
9639 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9641 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9644 * Makeconfig (+link): Defined as $(+link-static) if
9645 $(build-shared) isn't yes.
9646 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9648 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9650 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9653 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9654 new chunk size with MALLOC_ALIGN_MASK.
9656 2012-09-24 Joseph Myers <joseph@codesourcery.com>
9659 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9661 (__printf_fphex): Determine rounding using get_rounding_mode and
9663 * stdio-common/tst-printf-round.c (struct hex_test): New
9665 (hex_tests): New variable.
9666 (test_hex_in_one_mode): New function.
9667 (do_test): Also run tests for hex float output.
9669 2012-09-21 Joseph Myers <joseph@codesourcery.com>
9671 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9672 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9673 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9674 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9675 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9676 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9677 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9678 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9680 2012-09-20 Joseph Myers <joseph@codesourcery.com>
9682 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9683 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9684 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9685 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9687 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9690 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9692 * elf/tst-rtld-load-self.sh: New test.
9693 * elf/Makefile: Run it.
9695 2012-09-18 Joseph Myers <joseph@codesourcery.com>
9697 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9698 (tst-writev-ENV): Remove.
9699 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9701 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9703 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9705 2012-09-17 Joseph Myers <joseph@codesourcery.com>
9707 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9709 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9711 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9712 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9713 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9716 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9719 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9720 * config.make.in (have-cpp-asm-debuginfo): Removed.
9721 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9722 * configure: Regenerated.
9724 2012-09-14 Joseph Myers <joseph@codesourcery.com>
9727 * stdio-common/printf_fp.c: Include <stdbool.h> and
9729 (___printf_fp): Determine rounding using get_rounding_mode and
9731 * stdio-common/tst-printf-round.c: New file.
9732 * stdio-common/Makefile (tests): Add tst-printf-round.
9733 (link-libm): New variable.
9734 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9736 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9739 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9740 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9742 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9745 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9747 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9748 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9749 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9750 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9752 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9755 * include/rounding-mode.h: New file.
9756 * sysdeps/generic/get-rounding-mode.h: Likewise.
9757 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9758 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9759 (MAX_VALUE): New macro.
9760 (MIN_VALUE): Likewise.
9761 (overflow_value): New function.
9762 (underflow_value): Likewise.
9763 (round_and_return): Use overflow_value and underflow_value to
9764 determine return values in overflow and underflow cases. Use
9765 round_away to determine rounding depending on rounding mode.
9766 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9767 determine return values in overflow and underflow cases.
9768 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9769 (struct test_results): New structure.
9770 (struct test): Use struct test_results to store expected results
9771 for all rounding modes.
9772 (TEST): Include expected results for all rounding modes.
9773 (test_in_one_mode): New function.
9774 (do_test): Use test_in_one_mode to compute and check results.
9775 Check results for all rounding modes.
9776 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9779 2012-12-09 Allan McRae <allan@archlinux.org>
9781 * sysdeps/i386/fpu/libm-test-ulps: Update
9783 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9785 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9786 (_G_int32_t): Likewise.
9787 (_G_uint16_t): Likewise.
9788 (_G_uint32_t): Likewise.
9789 (_G_HAVE_BOOL): Likewise.
9790 (_G_HAVE_ATEXIT): Likewise.
9791 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9792 (_G_HAVE_IO_FILE_OPEN): Likewise.
9793 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9794 (_G_int32_t): Likewise.
9795 (_G_uint16_t): Likewise.
9796 (_G_uint32_t): Likewise.
9797 (_G_HAVE_BOOL): Likewise.
9798 (_G_HAVE_ATEXIT): Likewise.
9799 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9800 (_G_HAVE_IO_FILE_OPEN): Likewise.
9801 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9802 (_G_int32_t): Likewise.
9803 (_G_uint16_t): Likewise.
9804 (_G_uint32_t): Likewise.
9805 (_G_HAVE_BOOL): Likewise.
9806 (_G_HAVE_ATEXIT): Likewise.
9807 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9808 (_G_HAVE_IO_FILE_OPEN): Likewise.
9810 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9812 * csu/libc-tls.c: Update copyright years.
9814 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9816 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9817 [!_G_USING_THUNKS]: Remove conditional code.
9818 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9819 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9821 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9822 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9823 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9824 (_G_VTABLE_LABEL_PREFIX): Likewise.
9825 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9826 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9827 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9828 (_G_VTABLE_LABEL_PREFIX): Likewise.
9829 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9830 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9831 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9832 (_G_VTABLE_LABEL_PREFIX): Likewise.
9833 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9835 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9837 * libio/Makefile: Include ../Makeconfig before tests.
9838 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9839 only if $(build-shared) is yes.
9841 * iconv/gconv_db.c: Update copyright years.
9843 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9845 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9846 unwind info if defined PIC. Fix special cases description.
9847 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9849 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9851 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9853 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9855 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9857 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9860 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9861 (LDLIBS-tst-chk4): This.
9862 (LDFLAGS-tst-chk5): Renamed to ...
9863 (LDLIBS-tst-chk5): This.
9864 (LDFLAGS-tst-chk6): Renamed to ...
9865 (LDLIBS-tst-chk6): This.
9866 (LDFLAGS-tst-lfschk4): Renamed to ...
9867 (LDLIBS-tst-lfschk4): This.
9868 (LDFLAGS-tst-lfschk5): Renamed to ...
9869 (LDLIBS-tst-lfschk5): This.
9870 (LDFLAGS-tst-lfschk6): Renamed to ...
9871 (LDLIBS-tst-lfschk6): This.
9873 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9874 on $(common-objpfx)soversions.mk.
9876 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9879 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9882 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9884 * malloc/arena.c (arena_get_retry): New function that gets
9885 another arena for the caller to try its request on.
9886 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9887 current arena cannot fulfill the request.
9888 (__libc_memalign): Likewise.
9889 (__libc_memalign): Likewise.
9890 (__libc_pvalloc): Likewise.
9891 (__libc_calloc): Likewise.
9893 2012-09-05 John Tobey <john.tobey@gmail.com>
9896 * manual/arith.texi (Operations on Complex): Fix description
9899 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9902 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9906 * manual/memory.texi (Memory): Make order of menu items match
9909 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9911 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9912 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9913 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9915 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9917 * csu/libc-tls.c (static_dtv): Renamed to ...
9918 (_dl_static_dtv): This. Make it global.
9919 (_dl_initial_dtv): Removed.
9920 (__libc_setup_tls): Updated.
9921 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9922 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9925 2012-09-06 Petr Machata <pmachata@redhat.com>
9927 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9928 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9929 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9930 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9932 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9935 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9936 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9939 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9942 * Makeconfig (link-static-before-libc): Replace $(+prector)
9944 (link-static-after-libc): Replace $(+postctor) with
9946 (link-bounded): Replace $(+prector)/$(+postctor) with
9947 $(+prectorT)/$(+postctorT).
9948 (+prectorT): New macro.
9949 (+postctorT): Likewise.
9951 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9953 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9954 (round_str): Handle values above the maximum for IBM long double
9956 * stdlib/tst-strtod-round.c (tests): Regenerated.
9958 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9960 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9962 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9963 zarch_nohighgprs around the zarch optimized routines.
9964 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9965 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9966 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9969 2012-09-05 David S. Miller <davem@davemloft.net>
9971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9973 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9974 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9975 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9976 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9979 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9981 * malloc/arena.c: Fold copyright years.
9982 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9984 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9986 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9988 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9990 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9992 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9994 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9995 change internal state upon failure.
9997 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
9999 * malloc/mcheck.c (mcheck_check_all): Fix typo.
10000 * malloc/memusage.c (mmap): Likewise.
10001 (mmap64, mremap): Likewise. Adjust name in comment.
10003 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10005 * libio/fileops.c: Fix typos in comments.
10006 * libio/oldfileops.c: Likewise.
10007 * libio/wfileops.c: Likewise.
10009 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10012 * malloc/Makefile (tests): Add tst-malloc-usable test case.
10013 (tst-malloc-usable-ENV): Set environment for test case.
10014 * malloc/hooks.c (malloc_check_get_size): New function to get
10016 * malloc/malloc.c (musable): Use malloc_check_get_size.
10017 * malloc/tst-malloc-usable.c: New test case.
10019 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10021 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10023 2012-09-05 Allan McRae <allan@archlinux.org>
10026 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10027 determine header location.
10028 * configure: Regenerated.
10030 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10032 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10034 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
10035 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10037 (test): Regenerate.
10039 2012-09-04 David S. Miller <davem@davemloft.net>
10041 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10042 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10043 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10045 2012-09-04 Florian Weimer <fweimer@redhat.com>
10047 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10050 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10052 2012-09-04 Joseph Myers <joseph@codesourcery.com>
10055 * libio/iogetdelim.c: Include <limits.h>.
10056 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10057 + len + 1 would overflow.
10059 2012-09-03 Andreas Jaeger <aj@suse.de>
10061 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10062 * sysdeps/i386/fpu/libm-test-ulps: Update.
10064 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10066 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10067 Add s_sinf-sse2, s_conf-sse2.
10069 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10070 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10071 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10072 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10074 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10075 for using routine as __sinf_ia32.
10076 Use macro for function declaration and weak_alias.
10077 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10078 for using routine as __cosf_ia32.
10079 Use macro for function declaration and weak_alias.
10081 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10082 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10084 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10085 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10088 * math/libm-test.inc (cos_test): Add more test cases.
10089 (sin_test): Likewise.
10090 (sincos_test): Likewise.
10092 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10094 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10095 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10097 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10099 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10102 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10103 first element of the GOT.
10104 (elf_machine_load_address): Return the difference between
10105 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10107 2012-09-01 Allan McRae <allan@archlinux.org>
10110 * configure.in (AWK): Require gawk version 3.0 or later.
10111 * configure: Regenerated.
10113 2012-09-01 Joseph Myers <joseph@codesourcery.com>
10115 * sysdeps/unix/sysv/linux/kernel-features.h
10116 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10117 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10118 [__NR_clock_getres]: Make code unconditional.
10119 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10120 (clock_getcpuclockid): Remove code left unreachable by removal of
10122 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10123 code unconditional.
10124 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10125 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10126 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10127 Make code unconditional.
10128 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10129 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10130 * sysdeps/unix/sysv/linux/clock_settime.c
10131 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10133 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10134 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10136 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10139 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10140 scripts/test-installation.pl.
10142 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10143 and $ld_so_version if it is set.
10145 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10148 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10149 failure if reading from procfs failed.
10150 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10152 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10154 * sysdeps/unix/sysv/linux/kernel-features.h
10155 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10156 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10157 Remove conditional code.
10158 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10159 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10160 Remove conditional code.
10161 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10162 * sysdeps/unix/sysv/linux/i386/fxstat.c
10163 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10164 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10165 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10166 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10167 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10168 * sysdeps/unix/sysv/linux/i386/lxstat.c
10169 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10170 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10171 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10172 Remove conditional code.
10173 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10174 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10175 Remove conditional code.
10176 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10177 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10178 <kernel-features.h>.
10179 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10181 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10182 Remove conditional code.
10183 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10184 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10185 Remove conditional.
10187 2012-08-27 Mike Frysinger <vapier@gentoo.org>
10190 * NEWS: Add fixed bug number.
10192 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10195 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10196 underflowing exponent in case of negative sign.
10197 * stdlib/tst-strtod-round-data: Add more tests.
10198 * stdlib/tst-strtod-round.c (tests): Regenerated.
10201 * stdlib/strtod_l.c (NDIG): Remove.
10202 (HEXNDIG): Likewise.
10203 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10204 smallest representable value.
10205 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10206 lie within an exact representation of 1/2 ulp of the result.
10207 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10209 (TENS_P9_IDX): Define unconditionally.
10210 (TENS_P9_SIZE): Likewise.
10211 (TENS_P10_IDX): Likewise.
10212 (TENS_P10_SIZE): Likewise.
10213 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10214 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10215 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10216 entries for 10^2^13 and 10^2^14.
10217 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10218 (TENS_P13_IDX): Define.
10219 (TENS_P13_SIZE): Likewise.
10220 (TENS_P14_IDX): Likewise.
10221 (TENS_P14_SIZE): Likewise.
10222 (_fpioconst_pow10): Change array size to
10223 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10225 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10226 1024]: Add entries for 10^2^13 and 10^2^14.
10227 [LAST_POW10 > _LAST_POW10]: Remove #error.
10228 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10229 (_fpioconst_pow10): Change array size to
10230 FPIOCONST_POW10_ARRAY_SIZE.
10231 * stdlib/gen-fpioconst.c: New file.
10232 * stdlib/gen-tst-strtod-round.c: Likewise.
10233 * stdlib/tst-strtod-round-data: Likewise.
10234 * stdlib/tst-strtod-round.c: Likewise.
10235 * stdlib/Makefile (tests): Add tst-strtod-round.
10238 * stdlib/strtod_l.c: Include <stdint.h>.
10239 (NDEBUG): Do not define.
10240 (round_and_return): Change EXPONENT parameter to type intmax_t.
10241 Rearrange calculations to avoid internal overflow possibilities.
10242 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10243 Rearrange calculations to avoid internal overflow possibilities.
10244 Assert that number fits inside MPNSIZE limbs.
10245 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10246 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10247 calculations and add assertions to avoid internal overflow
10248 possibilities. Add casts to avoid signed/unsigned operations.
10249 * stdlib/tst-strtod-overflow.c: New file.
10250 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10252 2012-08-25 Marek Polacek <polacek@redhat.com>
10254 * time/time.h: Fix some typos in comments.
10256 2012-08-23 Roland McGrath <roland@hack.frob.com>
10258 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10259 * posix/tst-rfc3484-2.c: Likewise.
10260 * posix/tst-rfc3484-3.c: Likewise.
10262 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10264 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10265 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10267 2012-08-23 Joseph Myers <joseph@codesourcery.com>
10269 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10270 #include of fxstatat64.c.
10272 2012-08-22 Roland McGrath <roland@hack.frob.com>
10274 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10275 * shadow/getspent_r.c: Likewise.
10276 * shadow/getspnam.c: Likewise.
10277 * shadow/getspnam_r.c: Likewise.
10278 * gshadow/getsgent.c: Likewise.
10279 * gshadow/getsgent_r.c: Likewise.
10280 * gshadow/getsgnam.c: Likewise.
10281 * gshadow/getsgnam_r.c: Likewise.
10282 * inet/getnetbyad.c: Likewise.
10283 * inet/getnetbyad_r.c: Likewise.
10284 * inet/getnetbynm.c: Likewise.
10285 * inet/getnetbynm_r.c: Likewise.
10286 * inet/getnetent.c: Likewise.
10287 * inet/getnetent_r.c: Likewise.
10288 * inet/getproto.c: Likewise.
10289 * inet/getproto_r.c: Likewise.
10290 * inet/getprtent.c: Likewise.
10291 * inet/getprtent_r.c: Likewise.
10292 * inet/getprtname.c: Likewise.
10293 * inet/getprtname_r.c: Likewise.
10294 * inet/getrpcbyname.c: Likewise.
10295 * inet/getrpcbyname_r.c: Likewise.
10296 * inet/getrpcbynumber.c: Likewise.
10297 * inet/getrpcbynumber_r.c: Likewise.
10298 * inet/getrpcent.c: Likewise.
10299 * inet/getrpcent_r.c: Likewise.
10300 * inet/getaliasent.c: Likewise.
10301 * inet/getaliasent_r.c: Likewise.
10302 * inet/getaliasname.c: Likewise.
10303 * inet/getaliasname_r.c: Likewise.
10304 * nscd/getgrgid_r.c: Likewise.
10305 * nscd/getgrnam_r.c: Likewise.
10306 * nscd/gethstbyad_r.c: Likewise.
10307 * nscd/gethstbynm3_r.c: Likewise.
10308 * nscd/getpwnam_r.c: Likewise.
10309 * nscd/getpwuid_r.c: Likewise.
10310 * nscd/getsrvbynm_r.c: Likewise.
10311 * nscd/getsrvbypt_r.c: Likewise.
10312 * nscd/gai.c: Likewise.
10314 * configure.in (build_nscd): New substituted variable, set
10315 by --disable-build-nscd and defaults to $use_nscd.
10316 * configure: Regenerated.
10317 * config.make.in (build-nscd): New substituted variable.
10318 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10319 Change conditional to require [$(build-nscd) = yes] as well.
10320 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10323 * configure.in (use_nscd): New substituted variable, set by
10324 --disable-nscd. If enabled, define USE_NSCD.
10325 * configure: Regenerated.
10326 * config.h.in: Add USE_NSCD.
10327 * config.make.in (use-nscd): New substituted variable.
10328 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10329 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10330 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10331 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10332 (CFLAGS-getgrnam_r.c): Likewise.
10333 (CFLAGS-initgroups.c): Likewise.
10334 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10335 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10337 * inet/getnetgrent_r.c
10338 (nscd_setnetgrent): New function, broken out of ...
10339 (setnetgrent): ... here. Call it.
10340 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10341 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10342 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10343 * nscd/Makefile (routines, aux): Move definitions after include of
10344 Makeconfig. Conditionalize on [$(use-nscd) != no].
10345 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10346 Conditionalize on [USE_NSCD].
10347 (is_nscd, nscd_init_cb): Likewise.
10348 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10349 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10350 * nss/nss_db/db-init.c: Likewise.
10351 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10353 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10354 (make_request): Use it.
10355 (cache_valid_p): New function.
10356 (__check_pf): Use it.
10357 * NEWS: Add item for --disable-nscd.
10359 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10361 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10362 to support sed >= 4.2.1-20-ga9bf076.
10363 * configure: Regenerated.
10365 2012-08-22 Roland McGrath <roland@hack.frob.com>
10367 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10368 Conditionalize whole body on [IREL].
10370 2012-08-22 Jeff Law <law@redhat.com>
10373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10374 if the family is PF_UNSPEC.
10376 2012-08-22 Mike Frysinger <vapier@gentoo.org>
10378 * Makerules (lib-version): Rename from V.
10379 (install-lib-nosubdir): Change V to lib-version.
10381 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10384 * powerpc32/power6/wcschr.c: New file.
10385 * powerpc32/power6/wcscpy.c: New file.
10386 * powerpc32/power6/wcsrchr.c: New file.
10387 * powerpc64/power6/wcschr.c: New file.
10388 * powerpc64/power6/wcscpy.c: New file.
10389 * powerpc64/power6/wcsrchr.c: New file.
10391 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10393 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10394 (two_way_short_needle): Use it.
10395 * string/strstr.c (AVAILABLE1_USES_J): Define.
10396 * string/strcasestr.c: Likewise.
10398 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10400 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10403 * NEWS: Add an entry.
10404 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10405 define their defaults.
10406 (two_way_short_needle): Detect end-of-string on-the-fly.
10407 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10408 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10409 * string/bug-strcasestr1.c: New test.
10410 * string/Makefile: Run it.
10412 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10415 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10416 the first character.
10418 2012-08-21 Roland McGrath <roland@hack.frob.com>
10420 * csu/elf-init.c (__libc_csu_irel): Function removed.
10421 * csu/libc-start.c (apply_irel): New function.
10422 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10424 2012-08-21 Joseph Myers <joseph@codesourcery.com>
10426 * sysdeps/unix/sysv/linux/kernel-features.h
10427 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10428 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10429 <kernel-features.h>.
10430 [__NR_fadvise64_64]: Make code unconditional.
10431 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10432 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10433 !__NR_fadvise64_64)]: Likewise.
10434 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10435 !__NR_fadvise64_64))]: Likewise.
10436 [__NR_fadvise64]: Make code unconditional.
10437 [!__NR_fadvise64]: Remove conditional code.
10438 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10439 <kernel-features.h>.
10440 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10442 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10445 not include <kernel-features.h>.
10446 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10448 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10450 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10451 include <kernel-features.h>.
10452 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10454 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10457 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10459 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10460 slight instruction rearrangements per scrollpipe analysis.
10461 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10463 2012-08-20 Roland McGrath <roland@hack.frob.com>
10465 * manual/syslog.texi (syslog; vsyslog, closelog):
10466 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10467 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10469 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10470 DSOCAPS to match condition on defining it.
10472 2012-08-20 Joseph Myers <joseph@codesourcery.com>
10474 * sysdeps/unix/sysv/linux/kernel-features.h
10475 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10477 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10478 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10480 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10481 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10483 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10484 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10486 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10487 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10489 * sysdeps/unix/sysv/linux/kernel-features.h
10490 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10491 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10493 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10494 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10495 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10496 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10497 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10498 Make code unconditional.
10499 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10500 (__mmap64) [!__NR_mmap2]: Likewise.
10501 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10502 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10503 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10504 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10505 [__NR_mmap2]: Make code unconditional.
10506 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10507 (__mmap64) [!__NR_mmap2]: Likewise.
10509 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10511 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10513 2012-08-18 Andreas Jaeger <aj@suse.de>
10515 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10517 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10519 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10520 * include/unistd.h (__have_sock_cloexec): Likewise.
10521 (__have_pipe2): Likewise.
10522 (__have_dup3): Likewise.
10524 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10527 * include/unistd.h (__have_pipe2): Change define into an extern int.
10528 (__have_dup3): Likewise.
10529 * socket/have_sock_cloexec.c: Include fcntl.h.
10530 (__have_pipe2): New variable.
10531 (__have_dup3): Likewise.
10533 2012-08-17 Mike Frysinger <vapier@gentoo.org>
10535 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10537 2012-08-17 Marek Polacek <polacek@redhat.com>
10539 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10540 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10542 2012-08-17 Roland McGrath <roland@hack.frob.com>
10544 * configure.in: Add AC_SUBST for sysheaders.
10545 * configure: Regenerated.
10546 * config.make.in (sysheaders): New substituted variable.
10548 * sysdeps/unix/mkfifo.c: Moved ...
10549 * sysdeps/posix/mkfifo.c: ... here.
10550 * sysdeps/unix/mkfifoat.c: Moved ...
10551 * sysdeps/posix/mkfifoat.c: ... here.
10553 * sysdeps/unix/utime.c: Moved ...
10554 * sysdeps/posix/utime.c: ... here.
10556 * sysdeps/unix/time.c: Moved ...
10557 * sysdeps/posix/time.c: ... here.
10558 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10559 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
10561 * sysdeps/unix/nice.c: Moved ...
10562 * sysdeps/posix/nice.c: ... here.
10564 * sysdeps/unix/alarm.c: Moved ...
10565 * sysdeps/posix/alarm.c: ... here.
10567 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10569 2012-08-17 Jeff Law <law@redhat.com>
10571 * intl/Makefile (codeset_mo): New variable.
10572 ($(codeset_mo)): New target.
10573 (tst-codeset.out): Depend on that. Remove explicit rule.
10574 (tst-gettext3.out, tst-gettext5.out): Likewise.
10575 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10576 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10577 * intl/tst-codeset.sh: Remove.
10578 * intl/tst-gettext3.sh: Likewise.
10579 * intl/tst-gettext5.sh: Likewise.
10581 2012-08-17 Roland McGrath <roland@hack.frob.com>
10583 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10584 * sysdeps/unix/syscalls.list: ... here.
10586 * sysdeps/posix/getaddrinfo.c
10587 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10588 (gaiconf_init, gaiconf_reload): Use them.
10589 [!_STATBUF_ST_NSEC]
10590 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10591 Define using time_t rather than struct timespec.
10593 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10594 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10596 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10598 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10599 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10602 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10603 __libc_cleanup_push argument.
10605 * bits/param.h: New file.
10606 * misc/sys/param.h: New file.
10607 * include/sys/param.h: New file.
10608 * misc/Makefile (headers): Add bits/param.h.
10609 * sysdeps/generic/sys/param.h: File removed.
10610 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10611 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10612 * sysdeps/mach/hurd/bits/param.h: New file.
10613 * sysdeps/mach/hurd/sys/param.h: File removed.
10615 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10618 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10620 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10621 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10624 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10625 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10626 rather than -D_IO_MTSAFE_IO conditionally.
10627 * stdio-common/Makefile (CPPFLAGS): Likewise.
10628 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10629 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10630 Use $(libio-mtsafe).
10631 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10632 of -D_IO_MTSAFE_IO.
10633 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10634 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10635 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10636 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10637 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10638 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10639 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10640 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10641 (CFLAGS-fread_u_chk.c): Likewise.
10642 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10643 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10644 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10645 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10646 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10647 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10648 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10649 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10650 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10652 * libio/Makefile: Test [$(libc-reentrant) = yes]
10653 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10656 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10657 * sysdeps/pthread/configure: File removed.
10658 * sysdeps/pthread/Makeconfig: New file.
10659 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10660 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10662 2012-08-16 Gary Benson <gbenson@redhat.com>
10664 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10665 unmapping the first object in a namespace.
10667 2012-08-16 Roland McGrath <roland@hack.frob.com>
10669 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10670 (__internal_setnetgrent): ... this. Add internal_function to
10671 definition. Add libc_hidden_def.
10672 (setnetgrent): Update caller.
10673 (internal_endnetgrent): Renamed to ...
10674 (__internal_endnetgrent): ... this. Add internal_function to
10675 definition. Add libc_hidden_def.
10676 (endnetgrent): Update caller.
10677 (internal_getnetgrent_r): Renamed to ...
10678 (__internal_getnetgrent_r): ... this. Add internal_function to
10679 definition. Add libc_hidden_def.
10680 (__getnetgrent_r): Update caller.
10681 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10683 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10685 * stdlib/longlong.h: Update from GCC.
10687 2012-08-16 Roland McGrath <roland@hack.frob.com>
10689 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10690 on _QL, which is set by umul_ppmm but never used.
10691 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10692 variables, which are set by GMP macros but never used.
10693 * stdio-common/_itowa.c (_itowa): Likewise.
10694 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10695 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10697 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10699 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10700 struct La_sh_regs is not constant.
10701 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10702 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10703 and struct La_sparc64_regs are not constant.
10705 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10707 * sysdeps/unix/sysv/linux/kernel-features.h
10708 (__ASSUME_POSIX_TIMERS): Remove.
10709 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10710 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10711 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10712 Make code unconditional.
10713 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10714 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10715 Make code unconditional.
10716 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10717 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10718 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10719 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10720 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10721 Make code unconditional.
10722 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10723 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10724 (__libc_missing_posix_timers): Remove.
10726 2012-08-15 Roland McGrath <roland@hack.frob.com>
10728 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10729 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10731 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10733 * elf/dl-sym.c: Include <stdlib.h>.
10735 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10736 constants, which avoids warnings in 32-bit builds.
10738 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10739 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10741 * misc/lseek.c: File moved to ...
10742 * io/lseek.c: ... here.
10744 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10746 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10747 shifting LEN more than 31 bits at once.
10749 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10752 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10753 segmentation fault for a case of two empty input strings.
10754 * string/test-strncasecmp.c (check1): Renamed to...
10755 (bz12205): ...this.
10756 (bz14195): Add new testcase for two empty input strings and N > 0.
10757 (test_main): Call new testcase, adapt for renamed function.
10759 2012-08-15 Andreas Jaeger <aj@suse.de>
10762 * crypt/md5test2.c: New test, based on test supplied by Serge
10763 Belyshev <belyshev@depni.sinp.msu.ru>.
10764 * crypt/Makefile (xtests): Add md5test-giant..
10765 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10767 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10770 * crypt/md5.c (md5_process_block): Don't assume the buffer
10771 length is less than 2**32.
10772 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10773 length is less than 2**64.
10775 2012-08-15 Roland McGrath <roland@hack.frob.com>
10777 * string/str-two-way.h: Include <sys/param.h>.
10778 (MAX): Macro removed.
10780 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10781 Move #define and #undef of memmove to just before and after
10782 including <string.h>.
10784 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10785 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10786 and after including <string.h>. Move declarations of
10787 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10788 to before #include "string/memmove.c".
10790 * include/dirent.h: Declare __getdirentries.
10792 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10793 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10795 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10797 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10798 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10799 * sysdeps/i386/configure: Regenerated.
10800 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10801 STABS_CURRENT_FILE, and STABS_FUN.
10802 (END): Remove call to STABS_FUN_END.
10803 (STABS_CURRENT_FILE1): Delete.
10804 (STABS_CURRENT_FILE): Likewise.
10805 (STABS_FUN): Likewise.
10806 (STABS_FUN_END): Likewise.
10807 (STABS_FUN2): Likewise.
10808 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10809 * sysdeps/x86_64/configure: Regenerated.
10811 2012-08-14 Roland McGrath <roland@hack.frob.com>
10813 * elf/dl-open.c: Include <atomic.h>.
10814 * elf/dl-lookup.c: Likewise.
10816 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10818 * sysdeps/unix/sysv/linux/kernel-features.h
10819 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10820 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10822 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10824 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10825 condition on __ASSUME_CLONE_THREAD_FLAGS.
10827 2012-08-14 Andreas Jaeger <aj@suse.de>
10829 * sysdeps/i386/fpu/libm-test-ulps: Update.
10831 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10833 * include/atomic.h (atomic_exchange_and_add): Split into ...
10834 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10837 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10841 2012-08-13 Jeff Law <law@redhat.com>
10843 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10844 null byte in the output string.
10846 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10848 * sysdeps/unix/sysv/linux/kernel-features.h
10849 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10850 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10851 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10852 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10853 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10854 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10855 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10857 2012-08-09 Jeff Law <law@redhat.com>
10860 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10861 When avoid_arena is set, don't retry in the that arena. Pick the
10862 next one, whatever it might be.
10863 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10864 (arena_lock): Pass in new parameter to arena_get2.
10865 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10867 (__libc_malloc): Unify retrying after main arena failure with
10868 __libc_memalign version.
10869 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10871 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10874 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10875 to __redirect_strstr.
10876 (__strstr_sse42): Use typeof __redirect_strstr.
10877 (__strstr_ia32): Likewise.
10878 (__libc_strstr): New prototype.
10879 (strstr): Renamed to ...
10880 (__libc_strstr): This.
10881 (strstr): New strong alias of __libc_strstr.
10882 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10883 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10886 (__libc_time): New prototype.
10887 (time_ifunc): Replace time with __libc_time.
10888 (time): New strong alias and hidden definition of __libc_time.
10889 (__GI_time): Remove strong alias.
10890 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10891 Include <stddef.h>.
10892 (memmove): Redefined to __redirect_memmove.
10893 (__memmove_sse2): Use typeof __redirect_memmove.
10894 (__memmove_ssse3): Likewise.
10895 (__memmove_ssse3_back): Likewise.
10896 (__libc_memmove): New prototype.
10897 (memmove): Renamed to ...
10898 (__libc_memmove): This.
10899 (memmove): New strong alias of __libc_memmove.
10901 2012-08-08 Mark Salter <msalter@redhat.com>
10904 (R_MN10300_TLS_GD): Define.
10905 (R_MN10300_TLS_LD): Likewise.
10906 (R_MN10300_TLS_LDO): Likewise.
10907 (R_MN10300_TLS_GOTIE): Likewise.
10908 (R_MN10300_TLS_IE): Likewise.
10909 (R_MN10300_TLS_LE): Likewise.
10910 (R_MN10300_TLS_DTPMOD): Likewise.
10911 (R_MN10300_TLS_DTPOFF): Likewise.
10912 (R_MN10300_TLS_TPOFF): Likewise.
10913 (R_MN10300_SYM_DIFF): Likewise.
10914 (R_MN10300_ALIGN): Likewise.
10915 (R_MN10300_NUM): Update.
10917 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10919 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10922 2012-08-08 Roland McGrath <roland@hack.frob.com>
10924 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10926 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10927 sysdeps/unix -> sysdeps/posix move.
10928 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10930 2012-08-07 Allan McRae <allan@archlinux.org>
10933 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10934 (SUNOS_CPP): Likewise.
10935 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10937 (open_input): Call CPP using execvp.
10939 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10941 * sysdeps/unix/sysv/linux/kernel-features.h
10942 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10943 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10944 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10945 (__ASSUME_WAITID_SYSCALL): Likewise.
10946 * sysdeps/unix/sysv/linux/dl-execstack.c
10947 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10948 code unconditional.
10949 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10951 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10952 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10953 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10955 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10957 [__ASSUME_WAITID_SYSCALL]: Likewise.
10958 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10960 2012-08-07 Roland McGrath <roland@hack.frob.com>
10962 * sysdeps/unix/closedir.c: Renamed to ...
10963 * sysdeps/posix/closedir.c: ... here.
10964 * sysdeps/unix/dirfd.c: Renamed to ...
10965 * sysdeps/posix/dirfd.c: ... here.
10966 * sysdeps/unix/dirstream.h: Renamed to ...
10967 * sysdeps/posix/dirstream.h: ... here.
10968 * sysdeps/unix/fdopendir.c: Renamed to ...
10969 * sysdeps/posix/fdopendir.c: ... here.
10970 * sysdeps/unix/opendir.c: Renamed to ...
10971 * sysdeps/posix/opendir.c: ... here.
10972 * sysdeps/unix/readdir.c: Renamed to ...
10973 * sysdeps/posix/readdir.c: ... here.
10974 * sysdeps/unix/readdir_r.c: Renamed to ...
10975 * sysdeps/posix/readdir_r.c: ... here.
10976 * sysdeps/unix/rewinddir.c: Renamed to ...
10977 * sysdeps/posix/rewinddir.c: ... here.
10978 * sysdeps/unix/seekdir.c: Renamed to ...
10979 * sysdeps/posix/seekdir.c: ... here.
10980 * sysdeps/unix/telldir.c: Renamed to ...
10981 * sysdeps/posix/telldir.c: ... here.
10982 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10983 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10984 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10985 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10987 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10988 * bits/fcntl.h: ... here.
10990 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10992 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10993 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10994 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10995 (struct flock): Move l_start, l_len to the beginning.
10996 Use __pid_t for l_pid.
10997 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10998 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10999 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
11000 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
11001 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
11002 [__USE_LARGEFILE64] (struct flock64): New type.
11003 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
11005 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
11006 * bits/dirent.h: ... here.
11008 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
11009 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11011 2012-08-07 Joseph Myers <joseph@codesourcery.com>
11013 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11014 Change from 2.6.0 to 2.6.16.
11015 * sysdeps/unix/sysv/linux/configure: Regenerated.
11016 * sysdeps/unix/sysv/linux/kernel-features.h
11017 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11018 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11020 (__ASSUME_UTIMES): Likewise.
11021 (__ASSUME_CLONE_STOPPED): Remove.
11022 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11023 architectures, not kernel version.
11024 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11025 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11026 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11027 (__ASSUME_WAITID_SYSCALL): Likewise.
11028 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11029 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11030 * README: State 2.6.16 as minimum Linux kernel version. Do not
11031 refer to older versions.
11033 2012-08-06 Roland McGrath <roland@hack.frob.com>
11035 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11036 Define alphasort64 as an alias.
11037 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11038 Define versionsort64 as an alias.
11039 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11040 Define scandir64 as an alias.
11041 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11042 Define scandirat64 as an alias.
11043 * dirent/alphasort64.c (alphasort64):
11044 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11045 * dirent/versionsort64.c: Likewise.
11046 * dirent/scandir64.c: Likewise.
11047 * dirent/scandirat64.c: Likewise.
11048 * sysdeps/wordsize-64/alphasort.c: File removed.
11049 * sysdeps/wordsize-64/alphasort64.c: File removed.
11050 * sysdeps/wordsize-64/scandir.c: File removed.
11051 * sysdeps/wordsize-64/scandir64.c: File removed.
11052 * sysdeps/wordsize-64/scandirat.c: File removed.
11053 * sysdeps/wordsize-64/scandirat64.c: File removed.
11054 * sysdeps/wordsize-64/versionsort.c: File removed.
11055 * sysdeps/wordsize-64/versionsort64.c: File removed.
11056 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11057 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11058 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11059 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11060 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11061 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11062 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11063 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11065 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11066 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11067 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11068 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11069 [defined __arch64__ || defined __sparcv9]
11070 (__INO_T_MATCHES_INO64_T): New macro.
11071 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11072 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11073 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11074 * sysdeps/unix/sysv/linux/bits/dirent.h
11075 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11076 (_DIRENT_MATCHES_DIRENT64): New macro.
11078 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11079 Define lockf64 as an alias.
11080 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11081 Define fseeko64 as an alias.
11082 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11083 Define ftello64 as an alias.
11084 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11085 Define _IO_fgetpos64 and fgetpos64 as aliases.
11086 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11087 Define _IO_fsetpos64 and fsetpos64 as aliases.
11088 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11089 Conditionalize body on this.
11090 * libio/fseeko64.c: Likewise.
11091 * libio/ftello64.c: Likewise.
11092 * libio/iofgetpos64.c: Likewise.
11093 * libio/iofsetpos64.c: Likewise.
11094 * sysdeps/wordsize-64/lockf.c: File removed.
11095 * sysdeps/wordsize-64/lockf64.c: File removed.
11096 * sysdeps/wordsize-64/fseeko.c: File removed.
11097 * sysdeps/wordsize-64/fseeko64.c: File removed.
11098 * sysdeps/wordsize-64/ftello.c: File removed.
11099 * sysdeps/wordsize-64/ftello64.c: File removed.
11100 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11101 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11102 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11103 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11104 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11105 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11106 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11107 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11108 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11109 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11110 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11111 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11112 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11113 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11115 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11116 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11117 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11118 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11119 [defined __arch64__ || defined __sparcv9]
11120 (__OFF_T_MATCHES_OFF64_T): New macro.
11121 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11122 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11123 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11124 (__OFF_T_MATCHES_OFF64_T): New macro.
11126 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11128 * stdlib/secure-getenv.c (__secure_getenv): Replace
11129 GLIBC_2_16 with GLIBC_2_17.
11131 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11133 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11134 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11136 2012-08-03 David S. Miller <davem@davemloft.net>
11138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11140 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11142 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11144 (__ASSUME_CORRECT_SI_PID): Likewise.
11145 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11146 (__ASSUME_TMPFS_NAME): Likewise.
11147 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11148 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11149 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11150 (HAVE_AUX_SECURE): Make definition unconditional.
11151 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11152 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11154 2012-08-03 Roland McGrath <roland@hack.frob.com>
11156 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11157 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11158 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11159 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11160 __eloop_threshold instead of SYMLOOP_MAX.
11162 * sysdeps/generic/eloop-threshold.h: New file.
11163 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11165 * elf/chroot_canon.c (chroot_canon): Likewise.
11167 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11170 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11171 Change to 2.6.0 everywhere.
11172 * sysdeps/unix/sysv/linux/configure: Regenerated.
11173 * sysdeps/unix/sysv/linux/kernel-features.h
11174 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11175 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11177 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11178 (__ASSUME_FUTEX_REQUEUE): Remove.
11179 (__ASSUME_STATFS64): Define unconditionally.
11180 (__ASSUME_AT_SECURE): Likewise.
11181 (__ASSUME_CORRECT_SI_PID): Likewise.
11182 (__ASSUME_TGKILL): Define without depending on kernel version for
11184 (__ASSUME_UTIMES): Likewise.
11185 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11187 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11188 (__ASSUME_TMPFS_NAME): Likewise.
11189 * README: Update reference to Linux kernel versions.
11191 2012-08-02 Marek Polacek <polacek@redhat.com>
11194 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
11195 libc_cv_asm_type_prefix with %.
11196 * configure: Regenerated.
11197 * include/libc-symbols.h: Remove comment about
11198 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11199 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11200 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11201 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11202 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11203 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11204 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11205 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11206 * elf/tst-unique2mod1.c: Likewise.
11207 * elf/tst-unique1mod2.c: Likewise.
11208 * elf/tst-unique1mod1.c: Likewise.
11209 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11210 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11211 Replace ASM_TYPE_DIRECTIVE with .type.
11212 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11213 * sysdeps/i386/sysdep.h: Likewise.
11214 * sysdeps/x86_64/sysdep.h: Likewise.
11215 * sysdeps/sh/sysdep.h: Likewise.
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11217 Do not define ASM_TYPE_DIRECTIVE.
11218 * sysdeps/powerpc/sysdep.h: Likewise.
11219 * sysdeps/powerpc/powerpc32/sysdep.h:
11220 Replace ASM_TYPE_DIRECTIVE with .type.
11221 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11222 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11223 * sysdeps/i386/fpu/e_powf.S: Likewise.
11224 * sysdeps/i386/fpu/e_expl.S: Likewise.
11225 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11226 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11227 * sysdeps/i386/fpu/e_pow.S: Likewise.
11228 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11229 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11230 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11231 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11232 * sysdeps/i386/fpu/e_log2.S: Likewise.
11233 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11234 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11235 * sysdeps/i386/fpu/e_powl.S: Likewise.
11236 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11237 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11238 * sysdeps/i386/fpu/e_logl.S: Likewise.
11239 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11240 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11241 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11242 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11243 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11244 * sysdeps/i386/fpu/e_log.S: Likewise.
11245 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11246 * sysdeps/i386/fpu/e_logf.S: Likewise.
11247 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11248 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11249 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11250 * sysdeps/i386/fpu/e_log10.S: Likewise.
11251 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11252 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11253 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11254 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11255 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11256 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11257 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11258 * sysdeps/i386/i686/strtok.S: Likewise.
11259 * sysdeps/i386/i386-mcount.S: Likewise.
11260 * sysdeps/i386/strtok.S: Likewise.
11261 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11262 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11263 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11264 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11265 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11266 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11267 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11268 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11269 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11270 * sysdeps/x86_64/_mcount.S: Likewise.
11271 * sysdeps/x86_64/strtok.S: Likewise.
11272 * sysdeps/sh/_mcount.S: Likewise.
11274 2012-08-01 Roland McGrath <roland@hack.frob.com>
11276 * libio/iofopen.c: Include <fcntl.h>.
11277 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11278 (_IO_fopen64, fopen64): Define as aliases.
11279 * libio/iofopen64.c: Include <fcntl.h>.
11280 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11281 Conditionalize body on this.
11282 * sysdeps/wordsize-64/iofopen.c: File removed.
11283 * sysdeps/wordsize-64/iofopen64.c: File removed.
11285 2012-08-01 Marek Polacek <polacek@redhat.com>
11287 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11288 Use dlfcn directly instead of a variable.
11289 (binfmt-subdir): Do not define.
11292 2012-08-01 Joseph Myers <joseph@codesourcery.com>
11294 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11295 Remove all definitions.
11296 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11297 <kernel-features.h>.
11298 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11299 (miss_F_GETOWN_EX): Remove all definitions.
11300 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11302 [!__ASSUME_FCNTL64]: Remove conditional code.
11303 [__ASSUME_FCNTL64]: Make code unconditional.
11304 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11305 <kernel-features.h>.
11306 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11307 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11308 (lockf64) [__NR_fcntl64]: Make code unconditional.
11309 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11311 * sysdeps/unix/sysv/linux/kernel-features.h
11312 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11313 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11314 Make code unconditional.
11315 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11316 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11318 [__NR_vfork]: Make code unconditional.
11319 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11320 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11322 [__NR_vfork]: Make code unconditional.
11323 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11324 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11326 2012-08-01 Roland McGrath <roland@hack.frob.com>
11328 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11329 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11331 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11332 Define mkstemp64 as an alias.
11333 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11334 Define mkstemps64 as an alias.
11335 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11336 Define mkostemp64 as an alias.
11337 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11338 Define mkostemps64 as an alias.
11339 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11340 Conditionalize body on this.
11341 * misc/mkostemp64.c: Likewise.
11342 * misc/mkostemps64.c: Likewise.
11343 * misc/mkstemps64.c: Likewise.
11344 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11345 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11346 * sysdeps/wordsize-64/mkostemp.c: File removed.
11347 * sysdeps/wordsize-64/mkstemp.c: File removed.
11348 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11349 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11350 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11351 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11354 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11355 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11356 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11357 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11359 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11360 compat_symbol macros from <shlib-compat.h> rather than the underlying
11361 default_symbol_version and symbol_version macros, so that DEFAULT
11362 lines in shlib-versions are respected.
11363 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11365 2012-08-01 Florian Weimer <fweimer@redhat.com>
11367 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11368 Declare with warn_unused_result.
11369 (setgid, setregid, setegid, setresgid): Likewise.
11370 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11372 * WUR-REPORT: Remove set*id functions.
11374 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11376 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11378 2012-07-31 Roland McGrath <roland@hack.frob.com>
11381 * include/sys/socket.h (__libc_accept, __libc_accept4):
11382 Add attribute_hidden.
11383 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11385 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11387 * inet/getnetgrent_r.c (setup): Likewise.
11389 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11391 2012-07-31 David S. Miller <davem@davemloft.net>
11393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11395 2012-07-31 Joseph Myers <joseph@codesourcery.com>
11398 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11399 value between 1.0 and 2.0 and smaller part has absolute value less
11401 * math/s_clog10.c (__clog10): Likewise.
11402 * math/s_clog10f.c (__clog10f): Likewise.
11403 * math/s_clog10l.c (__clog10l): Likewise.
11404 * math/s_clogf.c (__clogf): Likewise.
11405 * math/s_clogl.c (__clogl): Likewise.
11406 * math/libm-test.inc (clog_test): Add more tests.
11407 (clog10_test): Likewise.
11408 * sysdeps/i386/fpu/libm-test-ulps: Update.
11409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11411 2012-07-31 Florian Weimer <fweimer@redhat.com>
11413 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11414 Exit with zero in case no suitable GID is found, and write a
11415 message to standard error.
11417 2012-07-30 Roland McGrath <roland@hack.frob.com>
11419 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11421 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11422 (MAXPATHLEN): Removed.
11423 (NOGROUP, NODEV): New macros.
11424 (setbit, clrbit, isset, isclr): New macros.
11425 (howmany, roundup, powerof2): New macros.
11426 (DEV_BSIZE): New macro.
11428 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11429 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11431 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11432 definition on [!__NO_LONG_DOUBLE_MATH].
11434 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11435 PTR_MANGLE and PTR_DEMANGLE.
11437 * socket/accept4.c (accept4): Rename to __libc_accept4.
11438 Define accept4 as a weak alias.
11440 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11441 on [_DIRENT_HAVE_D_TYPE].
11442 * io/ftw.c (ftw_dir): Likewise.
11444 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11446 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11448 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11449 Use the BSD numbers rather than the arbitrary ones we had.
11450 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11451 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11452 (SIGXCPU, SIGXFSZ): New macros.
11455 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11456 initializer on [_LIBC_REENTRANT].
11458 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11459 definitions inside [_POSIX_MAPPED_FILES].
11461 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11463 * dirent/opendir.c: Include <fcntl.h>.
11465 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11466 (__libc_getspecific): Likewise.
11467 (__libc_key_create): Likewise.
11469 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11470 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11471 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11472 (tmpfile64): Define as alias.
11473 * sysdeps/wordsize-64/tmpfile.c: File removed.
11474 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11475 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11476 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11478 * stdio-common/vfscanf.c: Include <stdbool.h>.
11479 * nss/makedb.c: Likewise.
11480 * stdio-common/_i18n_number.h: Likewise.
11481 * argp/argp-help.c: Likewise.
11482 * posix/wordexp.c: Likewise.
11483 * sysdeps/posix/spawni.c: Likewise.
11484 * nss/nss_files/files-initgroups.c: Likewise.
11485 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11486 * nss/nss_files/files-initgroups.c: Likewise.
11487 * nss/nss_db/db-netgrp.c: Likewise.
11488 * nss/nss_db/db-initgroups.c: Likewise.
11489 * io/fchmodat.c: Include <sys/stat.h>.
11491 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11492 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11494 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11497 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11498 Add multiple inclusion protection.
11500 2012-07-27 David S. Miller <davem@davemloft.net>
11502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11504 2012-07-27 Gary Benson <gbenson@redhat.com>
11507 * elf/rtld.c: Include <stap-probe.h>.
11508 (dl_main): Added static probes "init_start" and "init_complete".
11509 * elf/dl-load.c: Include <stap-probe.h>.
11510 (lose): Take new parameter "nsid".
11511 Added static probe "map_failed".
11512 (_dl_map_object_from_fd): Pass namespace id to lose.
11513 Added static probe "map_start".
11514 (open_verify): Pass namespace id to lose.
11515 * elf/dl-open.c: Include <stap-probe.h>.
11516 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11517 and "reloc_complete".
11518 * elf/dl-close.c: Include <stap-probe.h>.
11519 (_dl_close_worker): Added static probes "unmap_start" and
11521 * elf/rtld-debugger-interface.txt: New file documenting the above.
11523 2012-07-26 Roland McGrath <roland@hack.frob.com>
11525 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11526 rather than a string variable.
11527 * sunrpc/rpc_main.c (h_output): Likewise.
11528 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11530 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11532 * inet/check_native.c: New file.
11534 2012-07-26 Joseph Myers <joseph@codesourcery.com>
11537 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11538 if larger part has absolute value 1.0.
11539 * math/s_clog10.c (__clog10): Likewise.
11540 * math/s_clog10f.c (__clog10f): Likewise.
11541 * math/s_clog10l.c (__clog10l): Likewise.
11542 * math/s_clogf.c (__clogf): Likewise.
11543 * math/s_clogl.c (__clogl): Likewise.
11544 * math/libm-test.inc (clog_test): Add more tests.
11545 (clog10_test): Likewise.
11546 * sysdeps/i386/fpu/libm-test-ulps: Update.
11547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11549 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11550 (pltexit): Likewise.
11551 (La_regs): Likewise.
11552 (La_retval): Likewise.
11553 (int_retval): Likewise.
11554 Update #error for removed macros to refer only to definitions in
11556 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11558 (pltexit): Likewise.
11559 (La_regs): Likewise.
11560 (La_retval): Likewise.
11561 (int_retval): Likewise.
11562 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11564 (pltexit): Likewise.
11565 (La_regs): Likewise.
11566 (La_retval): Likewise.
11567 (int_retval): Likewise.
11568 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11570 (pltexit): Likewise.
11571 (La_regs): Likewise.
11572 (La_retval): Likewise.
11573 (int_retval): Likewise.
11574 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11576 (pltexit): Likewise.
11577 (La_regs): Likewise.
11578 (La_retval): Likewise.
11579 (int_retval): Likewise.
11580 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11582 (pltexit): Likewise.
11583 (La_regs): Likewise.
11584 (La_retval): Likewise.
11585 (int_retval): Likewise.
11586 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11588 (pltexit): Likewise.
11589 (La_regs): Likewise.
11590 (La_retval): Likewise.
11591 (int_retval): Likewise.
11592 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11593 macro definitions in tst-audit.h.
11594 * sysdeps/i386/tst-audit.h: New file.
11595 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11596 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11597 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11598 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11599 * sysdeps/sh/tst-audit.h: Likewise.
11600 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11601 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11602 * sysdeps/x86_64/tst-audit.h: Likewise.
11604 2012-07-26 Andreas Jaeger <aj@suse.de>
11606 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11609 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11610 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11611 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11613 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11614 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11615 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11617 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11620 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11622 (si_call_addr, si_syscall, si_arch): Define new macro.
11623 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11625 (si_call_addr, si_syscall, si_arch): Define new marcro.
11626 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11628 (si_call_addr, si_syscall, si_arch): Define new macro.
11629 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11631 (si_call_addr, si_syscall, si_arch): Define new macro.
11633 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11636 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11637 Change to 2.4.21 where previously 2.4.1.
11638 * sysdeps/unix/sysv/linux/configure: Regenerated.
11639 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11640 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11641 Linux kernel version.
11642 (__ASSUME_STD_AUXV): Remove.
11643 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11645 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11646 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11647 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11648 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11649 (__ASSUME_NETLINK_SUPPORT): Likewise.
11650 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11651 (__no_netlink_support): Remove conditional definition.
11652 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11654 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11655 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11656 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11657 (if_nameindex_ioctl): Remove.
11658 (if_nameindex_netlink): Do not handle __no_netlink_support.
11659 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11661 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11662 Remove conditional code.
11663 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11665 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11667 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11668 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11669 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11671 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11672 [!__ASSUME_STD_AUXV]: Remove conditional code.
11673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11674 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11675 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11677 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11678 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11680 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11682 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11683 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11685 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11687 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11690 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11693 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11694 code unconditional.
11695 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11697 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11699 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11702 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11704 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11707 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11708 code unconditional.
11709 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11711 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11713 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11716 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11717 code unconditional.
11718 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11720 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11722 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11725 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11727 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11728 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11729 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11730 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11731 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11732 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11733 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11734 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11735 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11736 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11737 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11738 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11739 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11740 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11741 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11742 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11743 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11744 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11745 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11746 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11747 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11748 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11749 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11751 2012-07-25 Florian Weimer <fweimer@redhat.com>
11753 * Versions.def: Add GLIBC_2.17.
11754 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11755 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11756 Introduce __libc_secure_getenv.
11757 * stdlib/Versions (2.17): Add secure_getenv
11758 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11759 * stdlib/secure-getenv.c: Rename __secure_getenv to
11760 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11761 symbol __secure_getenv for GLIBC_2.0.
11762 * stdlib/tst-secure-getenv.c: New.
11763 * stdlib/Makefile (tests): Add testcase.
11764 * manual/startup.texi (Environment Access): Document
11766 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11767 __libc_secure_getenv.
11768 * inet/ruserpass.c (ruserpass): Likewise.
11769 * malloc/mtrace.c (mtrace): Likewise.
11770 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11771 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11772 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11773 * sysdeps/posix/tempname.c: Likewise. Evaluate
11774 HAVE_SECURE_GETENV.
11775 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11776 __secure_getenv to __libc_secure_getenv.
11777 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11784 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11790 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11792 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11793 (struct La_i86_retval): Likewise.
11794 (struct La_x86_64_regs): Likewise.
11795 (struct La_x86_64_retval): Likewise.
11796 (struct La_x32_regs): Likewise.
11797 (struct La_x32_retval): Likewise.
11798 (struct La_ppc32_regs): Likewise.
11799 (struct La_ppc32_retval): Likewise.
11800 (struct La_ppc64_regs): Likewise.
11801 (struct La_ppc64_retval): Likewise.
11802 (struct La_sh_regs): Likewise.
11803 (struct La_sh_retval): Likewise.
11804 (struct La_s390_32_regs): Likewise.
11805 (struct La_s390_32_retval): Likewise.
11806 (struct La_s390_64_regs): Likewise.
11807 (struct La_s390_64_retval): Likewise.
11808 (struct La_sparc32_regs): Likewise.
11809 (struct La_sparc32_retval): Likewise.
11810 (struct La_sparc64_regs): Likewise.
11811 (struct La_sparc64_retval): Likewise.
11812 (struct audit_ifaces): Remove architecture-specific pltenter and
11814 * sysdeps/i386/ldsodefs.h: New file.
11815 * sysdeps/powerpc/ldsodefs.h: Likewise.
11816 * sysdeps/s390/ldsodefs.h: Likewise.
11817 * sysdeps/sh/ldsodefs.h: Likewise.
11818 * sysdeps/sparc/ldsodefs.h: Likewise.
11819 * sysdeps/x86_64/ldsodefs.h: Likewise.
11821 2012-07-25 Marek Polacek <polacek@redhat.com>
11824 * math/libm-test.inc (yn_test): Add another test.
11825 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11826 to ERANGE when the result is +-Inf.
11827 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11828 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11829 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11830 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11832 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11834 * conform/data/time.h-data (NULL): Use macro-constant. Require
11836 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11838 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11840 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11842 * configure.in <sysdeps resolving>: Correct printing
11844 * configure: Regenerate.
11846 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11848 * math/w_ilogb.c: Include <limits.h>.
11849 * math/w_ilogbl.c: Likewise.
11851 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11853 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11854 va_copy. Document allowing for unavailable va_copy only as
11855 pre-C99 compatibility.
11856 * manual/string.texi (Copying and Concatenation): Use va_copy
11857 instead of __va_copy in concat example.
11859 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11861 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11862 (__sendto): Use create_address_port. Initialize APORT and deallocate
11865 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11866 with O_NOLINK passed to __file_name_lookup.
11868 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11869 with O_NOLINK passed to __file_name_lookup.
11871 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11872 negative N or less than NGIDS.
11874 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11875 type to string_t. Set ERANGE as errno and return it if NAME is not big
11876 enough. Use memcpy instead of strncpy.
11878 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11880 * elf/Makefile (check-data): Remove.
11881 (localplt.data): New vpath directive.
11882 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11883 instead of $(check-data).
11884 * scripts/data/localplt-generic.data: Move to ...
11885 * sysdeps/generic/localplt.data: ... here.
11886 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11887 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11888 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11891 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11894 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11897 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11900 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11903 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11907 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11909 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11910 PPC32 and PPC64 files.
11911 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11912 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11914 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11916 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11917 __makecontext_ret to ...
11918 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11919 ... here and call exit if uc_link is NULL. New file.
11920 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11921 __makecontext_ret.S.
11922 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11923 __makecontext_ret to ...
11924 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11925 ... here and call exit if uc_link is NULL. New file.
11926 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11927 __makecontext_ret.S.
11929 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11931 * elf/elf.h (R_390_IRELATIVE): New definition.
11932 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11933 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11934 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11935 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11936 (elf_machine_lazy_rel): Likewise.
11937 * sysdeps/s390/dl-irel.h: New file.
11938 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11939 * sysdeps/s390/s390-64/memset.S: New asm code.
11940 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11941 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11942 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11943 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11944 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11945 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11946 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11947 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11948 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11949 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11950 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11951 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11952 * sysdeps/s390/s390-32/memset.S: New asm code.
11953 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11955 2012-07-17 Marek Polacek <polacek@redhat.com>
11958 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11959 * sysdeps/s390/s390-64/configure.in: Likewise.
11960 * sysdeps/sparc/configure.in: Likewise.
11961 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11962 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11963 * sysdeps/i386/configure.in: Likewise.
11964 * sysdeps/x86_64/configure.in: Likewise.
11965 * sysdeps/sh/configure.in: Likewise.
11966 * sysdeps/s390/s390-32/configure: Regenerated.
11967 * sysdeps/s390/s390-64/configure: Likewise.
11968 * sysdeps/x86_64/configure: Likewise.
11969 * sysdeps/sh/configure: Likewise.
11970 * sysdeps/powerpc/powerpc64/configure: Likewise.
11971 * sysdeps/powerpc/powerpc32/configure: Likewise.
11972 * sysdeps/sparc/configure: Likwise.
11973 * sysdeps/i386/configure: Likewise.
11975 * elf/dl-open.c: Comment fixes.
11977 2012-07-17 Joseph Myers <joseph@codesourcery.com>
11979 * Makefile [CXX] (check-data): Remove.
11980 [CXX] (c++-types.data): New vpath directive.
11981 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11982 vpath. Do not allow for C++ type data being missing.
11983 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11984 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11985 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11986 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11987 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11988 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11989 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11992 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11995 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11998 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
12001 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
12002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
12004 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
12005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
12007 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
12008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
12010 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12013 * elf/tls-macros.h (TLS_LE): Move architecture-specific
12014 definitions to architecture-specific files.
12015 (TLS_IE): Likewise.
12016 (TLS_LD): Likewise.
12017 (TLS_GD): Likewise.
12018 * sysdeps/i386/tls-macros.h: New file.
12019 * sysdeps/powerpc/tls-macros.h: Likewise.
12020 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12021 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12022 * sysdeps/sh/tls-macros.h: Likewise.
12023 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12024 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12025 * sysdeps/x86_64/tls-macros.h: Likewise.
12027 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12029 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12030 zero value for regular exit case.
12032 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12033 (__start_context): Preserve zero value for regular exit case.
12035 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12036 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12038 * manual/setjmp.texi (setcontext): Clarify normal process
12039 termination when uc_link is the null pointer.
12040 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12043 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12045 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12046 preprocessor. Test for each exception mask separately.
12048 2012-07-16 Andreas Jaeger <aj@suse.de>
12050 * po/ru.po: Update from translation team.
12052 2012-07-15 Joseph Myers <joseph@codesourcery.com>
12054 * conform/data/string.h-data (NULL): Use macro-constant. Require
12056 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12057 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12058 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12059 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12060 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12062 2012-07-13 Andreas Jaeger <aj@suse.de>
12064 * po/fr.po: Update from translation team.
12066 2012-07-12 Marek Polacek <polacek@redhat.com>
12069 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12070 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12073 2012-07-12 Joseph Myers <joseph@codesourcery.com>
12076 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12077 Change to 2.4.1 where previously 2.4.0.
12078 * sysdeps/unix/sysv/linux/configure: Regenerated.
12079 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12080 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12082 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12083 (__ASSUME_AT_CLKTCK): Remove.
12084 (__ASSUME_AT_PAGESIZE): Likewise.
12085 (__ASSUME_AT_XID): Likewise.
12086 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12087 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12088 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12090 (HAVE_AUX_PAGESIZE): Likewise.
12091 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12092 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12093 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12095 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12099 the temporary buffer used to invoke __gethostbyname2_r,
12100 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12101 host_data / struct gaih_addrtuple.
12102 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12103 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12104 header file nss/nsswitch.h.
12105 * nss/nsswitch.h (global scope): Add definition of implementation
12106 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12107 resolv/nss_dns/dns-host.c).
12109 2012-07-11 Andreas Jaeger <aj@suse.de>
12111 * po/fr.po: Update from translation team.
12113 * po/sv.po: Update from translation team
12114 * po/fr.po: Another update from translation team.
12116 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12118 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12119 for subnormals or multiply small sinh result by itself.
12120 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12123 2012-07-11 David S. Miller <davem@davemloft.net>
12125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12127 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12130 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12131 (INTERNAL_MARK): Shift it here.
12133 2012-07-10 Marek Polacek <polacek@redhat.com>
12136 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12137 libc_cv_asm_global_directive with .globl.
12138 * configure: Regenerated.
12139 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12141 * sysdeps/i386/configure: Regenerated.
12142 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12144 * sysdeps/x86_64/configure: Regenerated.
12145 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12146 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12147 * elf/tst-unique2mod2.c: Likewise.
12148 * elf/tst-unique2mod1.c: Likewise.
12149 * elf/tst-unique1mod2.c: Likewise.
12150 * elf/tst-unique1mod1.c: Likewise.
12151 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12152 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12153 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12154 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12155 * sysdeps/mach/sysdep.h: Likewise.
12156 * sysdeps/i386/sysdep.h: Likewise.
12157 * sysdeps/i386/i386-mcount.S: Likewise.
12158 * sysdeps/x86_64/_mcount.S: Likewise.
12159 * sysdeps/x86_64/sysdep.h: Likewise.
12160 * sysdeps/sh/_mcount.S: Likewise.
12161 * sysdeps/sh/sysdep.h: Likewise.
12162 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12163 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12164 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12165 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12166 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12167 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12168 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12169 * locale/localeinfo.h: Likewise.
12170 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12171 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12173 2012-07-09 Roland McGrath <roland@hack.frob.com>
12176 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12178 * manual/message.texi (The Uniforum approach): Likewise.
12179 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12180 (glibc iconv Implementation): Likewise.
12182 2012-07-09 Joseph Myers <joseph@codesourcery.com>
12185 * math/s_clog.c (__clog): Avoid scaling a value down where that
12186 could result in underflow.
12187 * math/s_clog10.c (__clog10): Likewise.
12188 * math/s_clog10f.c (__clog10f): Likewise.
12189 * math/s_clog10l.c (__clog10l): Likewise.
12190 * math/s_clogf.c (__clogf): Likewise.
12191 * math/s_clogl.c (__clogl): Likewise.
12192 * math/libm-test.inc (clog_test): Add more tests.
12193 (clog10_test): Likewise.
12194 * sysdeps/i386/fpu/libm-test-ulps: Update.
12195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12197 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12200 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12201 by 7 not 8 to examine high bit of fractional part.
12204 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12205 for call to __mcount_internal.
12206 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12207 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12208 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12210 2012-07-06 Joseph Myers <joseph@codesourcery.com>
12213 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12214 approximation for values within 0x1p-13f of an odd multiple of
12216 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12217 exception. Add more tests.
12218 * sysdeps/i386/fpu/libm-test-ulps: Update.
12221 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12222 inputs and return -1 for them. Do not check for +Inf in case not
12223 reachable for +Inf.
12224 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12225 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12226 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12227 and return -1 for them. Do not check for +Inf in case not
12228 reachable for +Inf.
12229 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12231 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12232 and return -1 for them. Do not check for +Inf in case not
12233 reachable for +Inf.
12234 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12235 spurious underflow.
12236 * sysdeps/i386/fpu/libm-test-ulps: Update.
12237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12239 2012-07-06 Mike Frysinger <vapier@gentoo.org>
12241 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12243 2012-07-05 Joseph Myers <joseph@codesourcery.com>
12247 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12248 could result in spurious underflow. Scale down values above
12249 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12250 * math/s_csqrtf.c (__csqrtf): Likewise.
12251 * math/s_csqrtl.c (__csqrtl): Likewise.
12252 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12253 spurious underflow.
12254 * sysdeps/i386/fpu/libm-test-ulps: Update.
12255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12257 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12259 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12261 * catgets/xopen-msg.awk: New file.
12262 * catgets/xopen-msg.sed: Removed.
12264 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12266 * intl/po2test.awk: New file.
12267 * intl/po2test.sed: Removed.
12269 2012-07-04 Joseph Myers <joseph@codesourcery.com>
12272 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12273 or multiply small sinh result by itself.
12274 * math/s_ctanf.c (__ctanf): Likewise.
12275 * math/s_ctanh.c (__ctanh): Likewise.
12276 * math/s_ctanhf.c (__ctanhf): Likewise.
12277 * math/s_ctanhl.c (__ctanhl): Likewise.
12278 * math/s_ctanl.c (__ctanl): Likewise.
12279 * math/libm-test.inc (ctan_test_tonearest): New function.
12280 (ctan_test_towardzero): Likewise.
12281 (ctan_test_downward): Likewise.
12282 (ctan_test_upward): Likewise.
12283 (ctanh_test_tonearest): Likewise.
12284 (ctanh_test_towardzero): Likewise.
12285 (ctanh_test_downward): Likewise.
12286 (ctanh_test_upward): Likewise.
12287 (main): Call these new functions.
12288 * sysdeps/i386/fpu/libm-test-ulps: Update.
12289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12291 2012-07-03 Mike Frysinger <vapier@gentoo.org>
12293 * .gitignore: Delete /ports entry.
12295 2012-07-03 Andreas Jaeger <aj@suse.de>
12297 * po/bg.po: Update from translation team.
12298 * po/cs.po: Likewise.
12299 * po/de.po: Likewise.
12300 * po/hr.po: Likewise.
12301 * po/nl.pl: Likewise.
12302 * po/pl.po: Likewise.
12303 * po/vi.po: Likewise.
12305 2012-07-03 Joseph Myers <joseph@codesourcery.com>
12307 * Makeconfig [!+link] (+link-before-libc): New variable.
12308 [!+link] (+link-after-libc): Likewise.
12309 [!+link] (+link-tests): Likewise.
12310 [!+link] (+link): Define in terms of $(+link-before-libc) and
12311 $(+link-after-libc).
12312 [!+link-static] (+link-static-before-libc): New variable.
12313 [!+link-static] (+link-static-after-libc): Likewise.
12314 [!+link-static] (+link-static-tests): Likewise.
12315 [!+link-static] (+link-static): Define in terms of
12316 $(+link-static-before-libc) and $(+link-static-after-libc).
12317 [build-shared] (link-libc-before-gnulib): New variable.
12318 [build-shared] (link-libc-tests): Likewise.
12319 [build-shared] (link-libc): Define in terms of
12320 $(link-libc-before-gnulib).
12321 [!build-shared] (link-libc-tests): New variable.
12322 (link-libc-static-tests): New variable.
12323 [!gnulib] (gnulib-arch): New variable.
12324 [!gnulib] (gnulib-tests): Likewise.
12325 [!gnulib] (static-gnulib-arch): Likewise.
12326 [!gnulib] (static-gnulib-tests): Likewise.
12327 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12328 Define with "=" instead of ":=".
12329 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12330 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12331 * Rules (binaries-all-notests): New variable.
12332 (binaries-all-tests): Likewise.
12333 (binaries-static-notests): Likewise.
12334 (binaries-static-tests): Likewise.
12335 (binaries-all): Define using $(binaries-all-notests) and
12336 $(binaries-all-tests).
12337 (binaries-static): Define using $(binaries-static-notests) and
12338 $(binaries-static-tests).
12339 (binaries-shared-tests): New variable.
12340 (binaries-shared-notests): Likewise.
12341 (binaries-shared): Remove variable.
12342 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12343 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12344 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12345 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12346 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12347 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12348 * elf/Makefile (sln-modules): New variable.
12349 (extra-objs): Add $(sln-modules:=.o).
12350 (ldconfig-modules): Add static-stubs.
12351 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12352 * elf/static-stubs.c: New file.
12355 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12356 by 7 not 8 to examine high bit of fractional part. Use volatile
12357 variables when splitting into final array of floats if
12358 __FLT_EVAL_METHOD__ != 0.
12359 * math/libm-test.inc (cos_test): Add another test.
12360 (sin_test): Likewise.
12361 * sysdeps/i386/fpu/libm-test-ulps: Update.
12364 * math/libm-test.inc (cosh_test): Add more tests.
12366 * version.h (RELEASE): Set to "development".
12367 (VERSION): Set to "2.16.90".
12369 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12371 * NEWS: Update copyright. Remove last-updated date.
12372 Mention math library bug fixes and timezone data changes.
12373 * README: Mention GNU/Hurd, x32, and HPPA support status.
12375 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12377 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12379 2012-06-27 Andreas Jaeger <aj@suse.de>
12381 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12383 2012-06-25 Andreas Jaeger <aj@suse.de>
12385 * sysdeps/s390/fpu/libm-test-ulps: Update.
12387 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12388 Thomas Schwinge <thomas@codesourcery.com>
12390 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12391 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12392 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12395 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12397 * sysdeps/mach/start.c: Remove file.
12398 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12399 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12400 * sysdeps/sh/init-first.c: Likewise.
12402 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12403 registers for frame unwinding purposes, add CFI directives.
12404 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12405 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12406 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12409 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12410 __fortify_fail returning.
12411 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12413 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12414 sysdeps/sh/____longjmp_chk.S.
12415 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12416 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12417 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12418 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12420 * sysdeps/sh/abort-instr.h: New file.
12421 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12422 process in case exit returns.
12424 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12425 initialize the GOT register before use.
12427 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12428 calculation of ARGC > 4.
12430 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12431 meaningful names to some local labels.
12433 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12434 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12436 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12437 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12438 (__arch_compare_and_exchange_val_16_acq): Likewise.
12439 (__arch_compare_and_exchange_val_32_acq): Likewise.
12440 (atomic_exchange_and_add): Fix gUSA sequence.
12441 (atomic_add): Likewise.
12442 (atomic_add_negative): Likewise.
12443 (atomic_add_zero): Likewise.
12444 (atomic_bit_test_set): Likewise.
12446 2012-06-22 Andreas Schwab <schwab@redhat.com>
12449 * include/link.h (struct link_map): Add l_free_initfini.
12450 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12452 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12453 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12454 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12457 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12459 * configure.in: Use AC_LANG_SOURCE.
12460 * configure: Regenerate.
12462 2012-06-22 Roland McGrath <roland@hack.frob.com>
12464 * configure.in (libc_cv_localstatedir): New substituted variable.
12465 * configure: Regenerated.
12466 * config.make.in (localstatedir): New variable, substituted from
12467 libc_cv_localstatedir.
12468 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12469 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12470 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12471 * sysdeps/gnu/configure: Regenerated.
12473 2012-06-21 Jeff Law <law@redhat.com>
12476 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12477 free. Simplify list management for _LIBC case.
12479 2012-06-21 Joseph Myers <joseph@codesourcery.com>
12482 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12483 Clear sign bit of 64-bit integer value before comparing against
12486 * sysdeps/mach/configure: Regenerated.
12488 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12491 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12493 2012-06-21 Jeff Law <law@redhat.com>
12496 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12497 uint16_t for elements in the "seen" array to avoid char overflows.
12498 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12499 * elf/dl-open.c (dl_open_worker): Likewise.
12501 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12503 * scripts/list-sources.sh: Scan PORTS for translations.
12504 * po/libc.pot: Regenerated.
12506 2012-06-21 Andreas Jaeger <aj@suse.de>
12509 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12511 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12512 * bits/byteswap-16.h (__bswap_16): Likewise.
12513 * bits/byteswap.h (__bswap_constant_16): Likewise.
12515 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12518 * sysdeps/i386/fpu_control.h: Removed.
12519 * sysdeps/x86_64/fpu_control.h: Moved to ...
12520 * sysdeps/x86/fpu_control.h: Here.
12522 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12523 (_FPU_SETCW): Likewise.
12525 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12528 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12529 * sysdeps/x86/fpu/bits/mathinline.h: This.
12530 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12534 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12535 functions if __x86_64__ is defined.
12537 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12539 * string/endian.h: Add !__ASSEMBLER__ condition for including
12540 conversion interfaces.
12542 2012-06-15 Joseph Myers <joseph@codesourcery.com>
12545 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12546 of ABS(x) in calculating zero to negative powers other than odd
12548 * math/libm-test.inc (pow_test): Add more tests.
12550 2012-06-15 Andreas Jaeger <aj@suse.de>
12552 * manual/contrib.texi (Contributors): Update entry of Liubov
12553 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12556 2012-06-15 Cyril Hrubis <metan@ucw.cz>
12558 * string/string.h: Add __wur to GNU version of strerror_r.
12560 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12563 * string/Makefile (tests): Add tst-strtok_r.
12564 * string/tst-strtok_r.c: New file.
12565 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12566 RAX_LP/RDX_LP on SAVE_PTR.
12568 2012-06-14 Roland McGrath <roland@hack.frob.com>
12570 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12572 2012-06-14 Joseph Myers <joseph@codesourcery.com>
12574 * libm_test.inc (csqrt_test): Allow more spurious underflow
12576 (j0_test): Likewise.
12577 (j1_test): Likewise.
12578 (y0_test): Likewise.
12579 (y1_test): Likewise.
12581 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12583 * po/Makefile (libc.pot): Use UTF-8 charset.
12585 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12588 Suppress sign-conversion warning from FD_SET.
12589 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12590 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12591 not unsigned long int.
12592 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12594 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12598 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12599 __extern_always_inline instead of __extern_inline.
12600 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12601 (__signbit): Likewise.
12602 (__signbitl): Support C++ namespace.
12603 (lrintf): New inline function.
12605 (llrintf): Likewise.
12606 (llrint): Likewise.
12616 (floorf): Likewise.
12617 (nearbyint): Likewise.
12618 (nearbyintf): Likewise.
12620 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12622 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12623 non-default versions.
12625 2012-06-11 Roland McGrath <roland@hack.frob.com>
12628 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12630 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12632 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12633 (FE_UPWARD, FE_DOWNWARD): Don't define.
12634 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12635 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12637 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12639 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12640 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12642 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12644 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12645 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12646 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12647 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12649 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12652 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12653 * sysdeps/i386/fpu/Implies: New file.
12654 * sysdeps/x86_64/fpu/Implies: Likewise.
12655 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12656 * sysdeps/x86/fpu/bits/fenv.h: This.
12658 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12661 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12664 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12665 character 0xffff that matches the last element of the
12668 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12670 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12673 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12675 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12676 values higher than 25.6283.
12678 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12680 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12681 subnormal exponent extraction and add some __builtin_expect.
12682 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12683 Fix for subnormal mantissa calculation.
12685 2012-06-04 Mike Frysinger <vapier@gentoo.org>
12687 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12688 cpu2 is -1 and errno is not ENOSYS.
12690 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12693 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12694 * sysdeps/x86/bits/string.h: This.
12695 * sysdeps/x86_64/bits/string.h: Removed.
12697 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12698 if not compiling for x86-64, but compiling for >= i486.
12700 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12701 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12703 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12704 New macro from Linux kernel 3.4.0.
12705 (FP_XSTATE_MAGIC2): Likewise.
12706 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12707 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12708 (struct _fpx_sw_bytes): New struct.
12709 (struct _xsave_hdr): Likewise.
12710 (struct _ymmh_state): Likewise.
12711 (struct _xstate): Likewise.
12713 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12714 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12715 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12716 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12717 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12718 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12720 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12721 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12722 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12723 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12724 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12725 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12727 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12730 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12731 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12732 (sysdep_headers): Include sys/platform/ppc.h.
12733 * sysdeps/powerpc/test-gettimebase.c: Test for
12734 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12735 * manual/Makefile (appendices): Include platform.texi.
12736 * manual/contrib.texi (Contributors): Update @node pointers.
12737 * manual/maint.texi (Maintenance): Likewise.
12738 (Platform): New node.
12739 * manual/platform.texi: New file. Document the new features.
12741 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12742 Jakub Jelinek <jakub@redhat.com>
12745 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12746 where __builtin_expect is unavailable.
12748 2012-06-03 David S. Miller <davem@davemloft.net>
12750 * stdlib/longlong.h: Updated from GCC.
12752 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12755 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12756 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12759 (GLIBC_2.16): Likewise.
12761 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12763 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12765 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12768 (default-abi): New variable.
12769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12770 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12772 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12774 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12776 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12779 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12780 definition. Document in comment.
12782 2012-06-01 David S. Miller <davem@davemloft.net>
12784 * stdlib/longlong.h: Updated from GCC.
12786 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12789 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12790 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12791 sys/debugreg.h sys/io.h here.
12792 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12793 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12795 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12796 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12797 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12798 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12799 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12800 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12802 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12803 Define only if __x86_64__ is defined.
12805 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12808 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12809 Use int64_t for variable i.
12810 * math/libm-test.inc (fmod_test): Add more tests.
12812 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12813 z computation is not scheduled after fetestexcept.
12814 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12815 Use math_force_eval instead of asm to ensure calculation scheduled
12816 before exception test.
12817 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12818 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12820 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12822 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12823 computation is not scheduled after fetestexcept.
12825 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12828 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12829 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12831 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12833 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12834 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12836 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12839 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12841 (__WCHAR_MIN): Support __WORDSIZE == 64.
12842 (__WCHAR_MAX): Likewise.
12844 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12845 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12848 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12849 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12852 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12853 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12855 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12856 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12858 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12859 Defined to 1 if __x86_64__ isn't defined.
12860 (_STAT_VER_LINUX_OLD): New.
12861 (st_atime): Remove duplicate.
12862 (st_mtime): Likewise.
12863 (st_ctime): Likewise.
12865 2012-05-31 David S. Miller <davem@davemloft.net>
12867 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12870 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12872 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12876 * elf/dl-reloc.c: Include <_itoa.h>.
12877 (_dl_reloc_bad_type): Remove use of INTUSE.
12878 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12879 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12880 * stdio-common/psiginfo.c (psiginfo): Likewise.
12881 * stdio-common/psignal.c (psignal): Likewise.
12882 * string/strsignal.c (strsignal): Likewise.
12883 * include/signal.h (_sys_siglist): Declare hidden proto.
12884 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12885 INTVARDEF with libc_hidden_data_def.
12886 * stdio-common/itoa-udigits.c: Likewise.
12887 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12888 (_itoa_lower_digits_internal): Remove declaration.
12889 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12890 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12891 (_sys_sigabbrev_internal): Remove aliases.
12892 (_sys_siglist): Define hidden alias.
12894 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12899 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12902 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12903 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12905 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12906 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12907 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12908 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12909 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12910 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12912 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12913 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12914 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12916 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12924 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12925 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12926 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12928 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12929 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12930 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12931 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12932 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12933 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12935 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12936 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12938 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12939 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12941 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12942 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12943 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12945 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12946 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12948 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12950 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12951 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12952 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12954 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12956 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12958 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12960 * math/math.h (M_El): Use two more decimal places.
12961 (M_LOG2El): Likewise.
12962 (M_LOG10El): Likewise.
12963 (M_LN2l): Likewise.
12964 (M_LN10l): Likewise.
12966 (M_PI_2l): Likewise.
12967 (M_PI_4l): Likewise.
12968 (M_1_PIl): Likewise.
12969 (M_2_PIl): Likewise.
12970 (M_2_SQRTPIl): Likewise.
12971 (M_SQRT2l): Likewise.
12972 (M_SQRT1_2l): Likewise.
12974 2012-05-31 David S. Miller <davem@davemloft.net>
12976 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12977 values between float registers.
12978 * sysdeps/sparc/sparc64/memset.S: Likewise.
12979 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12981 2012-05-31 Mike Frysinger <vapier@gentoo.org>
12983 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12984 -D_FORTIFY_SOURCE=1.
12985 (CPPFLAGS-tst-longjmp_chk.c): Define.
12986 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12987 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12988 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12989 CFLAGS-tst-wchar-h.c.
12991 2012-05-31 Marek Polacek <polacek@redhat.com>
12994 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12995 __endmntent_internal): Remove declaration.
12996 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12997 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12998 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
13000 2012-05-30 David S. Miller <davem@davemloft.net>
13002 * sysdeps/sparc/sparc32/soft-fp/q_util.c
13003 (___Q_simulate_exceptions): Use real FP ops rather than writing
13005 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
13008 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13011 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13012 * sysdeps/x86/bits/xtitypes.h: This.
13014 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13015 * sysdeps/x86/bits/wordsize.h: This.
13017 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13018 * sysdeps/x86/bits/huge_vall.h: This.
13020 * sysdeps/i386/bits/select.h: Removed.
13021 * sysdeps/x86_64/bits/select.h: Renamed to ...
13022 * sysdeps/x86/bits/select.h: This.
13024 * sysdeps/i386/bits/setjmp.h: Removed.
13025 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13026 * sysdeps/x86/bits/setjmp.h: This.
13028 * sysdeps/i386/bits/mathdef.h: Removed.
13029 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13030 * sysdeps/x86/bits/mathdef.h: This.
13032 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13035 * include/sys/socket.h (__connect_internal)
13036 (__libc_sa_len_internal): Remove declaration.
13037 (__connect, __libc_sa_len): Declare hidden_proto.
13038 (SA_LEN): Remove use of INTUSE.
13039 * socket/connect.c: Add libc_hidden_def.
13040 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13041 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13042 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13044 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13045 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13046 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13047 of adding _internal alias.
13049 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13052 * sysdeps/i386/bits/link.h: Removed.
13053 * sysdeps/i386/bits/linkmap.h: Likewise.
13054 * sysdeps/x86_64/bits/link.h: Renamed to ...
13055 * sysdeps/x86/bits/link.h: This.
13056 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13057 * sysdeps/x86/bits/linkmap.h: This.
13059 * sysdeps/i386/bits/endian.h: Removed.
13060 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13061 * sysdeps/x86/bits/endian.h: This.
13063 * sysdeps/i386/bits/byteswap.h: Removed.
13064 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13065 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13066 * sysdeps/x86/bits/byteswap.h: This.
13067 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13068 * sysdeps/x86/bits/byteswap-16.h: This.
13069 * sysdeps/i386/Implies: Add x86.
13070 * sysdeps/x86_64/Implies: Likewise.
13072 2012-05-30 David S. Miller <davem@davemloft.net>
13074 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13075 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13076 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13077 (FP_TRAPPING_EXCEPTIONS): Define.
13078 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13079 (FP_TRAPPING_EXCEPTIONS): Define.
13080 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13081 subnormals only when inexact has been signalled or underflow
13082 exceptions are enabled.
13083 (_FP_PACK_CANONICAL): Likewise.
13085 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13088 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13089 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13091 2012-05-30 Richard Henderson <rth@twiddle.net>
13093 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13094 with #ifndef NOT_IN_libc.
13096 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13097 marked to avoid plt entry.
13099 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13102 * Makeconfig (default-abi): New macro.
13103 (abi-includes): Likewise.
13104 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13105 $(abi-$(default-abi)-lib-soname) for soname if defined.
13106 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13108 * Makefile (installed-stubs): Likewise.
13109 * include/stubs-biarch.h: Removed.
13110 * scripts/lib-names.awk: Only handle one library at a time.
13111 * scripts/soversions.awk: Remove WORDSIZE support.
13112 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13114 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13116 (syscall-list-default-condition): Likewise.
13117 (syscall-list-default-condition): Likewise.
13118 (syscall-list-includes): Likewise.
13119 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13120 syscall-list-* with abi-*. Handle undefined abi-variants.
13121 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13122 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13123 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13124 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13125 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13126 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13128 (syscall-list-32-options): Likewise.
13129 (syscall-list-32-condition): Likewise.
13130 (syscall-list-64-options): Likewise.
13131 (syscall-list-64-condition): Likewise.
13132 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13134 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13137 (abi-64-ld-soname): New macro.
13138 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13139 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13142 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13143 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13145 2012-05-30 Joseph Myers <joseph@codesourcery.com>
13147 * sysdeps/unix/sysv/linux/kernel-features.h
13148 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13149 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13150 include <kernel-features.h>.
13151 [!__NR_ftruncate64]: Remove conditional code.
13152 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13153 [__NR_ftruncate64]: Make code unconditional.
13154 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13155 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13156 include <kernel-features.h>.
13157 [!__NR_ftruncate64]: Remove conditional code.
13158 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13159 [__NR_ftruncate64]: Make code unconditional.
13160 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13162 include <kernel-features.h>.
13163 [!__NR_ftruncate64]: Remove conditional code.
13164 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13165 [__NR_ftruncate64]: Make code unconditional.
13166 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13168 include <kernel-features.h>.
13169 [!__NR_ftruncate64]: Remove conditional code.
13170 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13171 [__NR_ftruncate64]: Make code unconditional.
13172 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13174 * configure.in (libc_cv_fpie): Weaken to a compile test using
13175 LIBC_TRY_CC_OPTION.
13176 * configure: Regenerated.
13178 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13193 2012-05-27 David S. Miller <davem@davemloft.net>
13195 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13197 (__Q_simulate_exceptions): Return void. Change to simulate
13198 exceptions by writing into the %fsr.
13199 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13200 (__Qp_handle_exceptions): Likewise.
13202 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13203 __Qp_handle_exceptions.
13204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13205 __Qp_handle_exceptions.
13206 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13207 as unused and give dummy FP_RND_NEAREST initializer.
13208 (FP_INHIBIT_RESULTS): Define.
13209 (___Q_simulate_exceptions): Update declaration.
13210 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13212 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13213 as unused and give dummy FP_RND_NEAREST initializer.
13214 (__Qp_handle_exceptions): Update declaration.
13215 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13218 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13220 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13221 the temporary FPU control word.
13222 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13223 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13224 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13225 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13226 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13227 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13228 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13229 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13230 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13231 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13232 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13234 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13236 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13239 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13241 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13242 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13243 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13244 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13246 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13247 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13250 2012-05-27 Ulrich Drepper <drepper@gmail.com>
13252 * po/h.po: Update from translation team.
13254 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13256 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13258 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13259 handling of denormals.
13260 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13261 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13262 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13263 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13264 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13265 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13266 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13269 2012-05-26 Marek Polacek <polacek@redhat.com>
13272 * math/libm-test.inc (fma_test): Don't always expect underflow
13275 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13278 * elf/tst-execstack.c: Include stackinfo.h.
13279 (do_test): Adjust test case to ensure that pthread_getattr_np
13280 behaviour remains the same after marking stack executable.
13282 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13284 * sysdeps/unix/sysv/linux/kernel-features.h
13285 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13286 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13288 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13289 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13290 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13292 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13293 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13295 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13297 * configure.in: Define the default includes to being none.
13298 * configure: Regenerated.
13300 2012-05-25 Roland McGrath <roland@hack.frob.com>
13302 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13303 * sysdeps/x86_64/setjmp.S: Likewise.
13304 * sysdeps/i386/bsd-setjmp.S: Likewise.
13305 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13306 * sysdeps/i386/setjmp.S: Likewise.
13307 * sysdeps/i386/__longjmp.S: Likewise.
13308 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13309 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13311 * include/stap-probe.h: New file.
13312 * configure.in: Handle --enable-systemtap.
13313 * configure: Regenerated.
13314 * config.h.in (USE_STAP_PROBE): New #undef.
13315 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13316 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13317 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13319 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13322 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13323 to 2.4.0 where earlier.
13324 * sysdeps/unix/sysv/linux/configure: Regenerated.
13325 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13326 <kernel-features.h>.
13327 [__ASSUME_32BITUIDS]: Make code unconditional.
13328 [!__ASSUME_32BITUIDS]: Remove conditional code.
13329 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
13330 <kernel-features.h>.
13331 [__ASSUME_32BITUIDS]: Make code unconditional.
13332 [!__ASSUME_32BITUIDS]: Remove conditional code.
13333 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
13334 [__ASSUME_32BITUIDS]: Make code unconditional.
13335 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13336 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13337 <kernel-features.h>.
13338 [__ASSUME_32BITUIDS]: Make code unconditional.
13339 [!__ASSUME_32BITUIDS]: Remove conditional code.
13340 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13341 <kernel-features.h>.
13342 [__ASSUME_32BITUIDS]: Make code unconditional.
13343 [!__ASSUME_32BITUIDS]: Remove conditional code.
13344 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13345 <kernel-features.h>.
13346 [__ASSUME_32BITUIDS]: Make code unconditional.
13347 [!__ASSUME_32BITUIDS]: Remove conditional code.
13348 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13349 <kernel-features.h>.
13350 [__ASSUME_32BITUIDS]: Make code unconditional.
13351 [!__ASSUME_32BITUIDS]: Remove conditional code.
13352 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13353 <kernel-features.h>.
13354 [__ASSUME_32BITUIDS]: Make code unconditional.
13355 [!__ASSUME_32BITUIDS]: Remove conditional code.
13356 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13357 <kernel-features.h>.
13358 [__ASSUME_32BITUIDS]: Make code unconditional.
13359 [!__ASSUME_32BITUIDS]: Remove conditional code.
13360 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13361 <kernel-features.h>.
13362 [__ASSUME_32BITUIDS]: Make code unconditional.
13363 [!__ASSUME_32BITUIDS]: Remove conditional code.
13364 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13365 <kernel-features.h>.
13366 [__ASSUME_32BITUIDS]: Make code unconditional.
13367 [!__ASSUME_32BITUIDS]: Remove conditional code.
13368 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13369 <kernel-features.h>.
13370 [__ASSUME_32BITUIDS]: Make code unconditional.
13371 [!__ASSUME_32BITUIDS]: Remove conditional code.
13372 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13373 <kernel-features.h>.
13374 [__ASSUME_32BITUIDS]: Make code unconditional.
13375 [!__ASSUME_32BITUIDS]: Remove conditional code.
13376 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13377 <kernel-features.h>.
13378 [__NR_setresgid] (__setresgid): Do not declare.
13379 [__ASSUME_32BITUIDS]: Make code unconditional.
13380 [!__ASSUME_32BITUIDS]: Remove conditional code.
13381 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13382 <kernel-features.h>.
13383 [__NR_setresuid] (__setresuid): Do not declare.
13384 [__ASSUME_32BITUIDS]: Make code unconditional.
13385 [!__ASSUME_32BITUIDS]: Remove conditional code.
13386 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13387 <kernel-features.h>.
13388 [__ASSUME_32BITUIDS]: Make code unconditional.
13389 [!__ASSUME_32BITUIDS]: Remove conditional code.
13390 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13391 <kernel-features.h>.
13392 [__ASSUME_32BITUIDS]: Make code unconditional.
13393 [!__ASSUME_32BITUIDS]: Remove conditional code.
13394 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13395 <kernel-features.h>.
13396 [__ASSUME_32BITUIDS]: Make code unconditional.
13397 [!__ASSUME_32BITUIDS]: Remove conditional code.
13398 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13399 <kernel-features.h>.
13400 [__ASSUME_32BITUIDS]: Make code unconditional.
13401 [!__ASSUME_32BITUIDS]: Remove conditional code.
13402 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13403 <kernel-features.h>.
13404 [__ASSUME_32BITUIDS]: Make code unconditional.
13405 [!__ASSUME_32BITUIDS]: Remove conditional code.
13406 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13407 <kernel-features.h>.
13408 [__ASSUME_32BITUIDS]: Make code unconditional.
13409 [!__ASSUME_32BITUIDS]: Remove conditional code.
13410 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13411 <kernel-features.h>.
13412 [__ASSUME_32BITUIDS]: Make code unconditional.
13413 [!__ASSUME_32BITUIDS]: Remove conditional code.
13414 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13415 <kernel-features.h>.
13416 [__ASSUME_32BITUIDS]: Make code unconditional.
13417 [!__ASSUME_32BITUIDS]: Remove conditional code.
13418 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13419 <kernel-features.h>.
13420 [__ASSUME_32BITUIDS]: Make code unconditional.
13421 [!__ASSUME_32BITUIDS]: Remove conditional code.
13422 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13423 <kernel-features.h>.
13424 [__ASSUME_32BITUIDS]: Make code unconditional.
13425 [!__ASSUME_32BITUIDS]: Remove conditional code.
13426 * sysdeps/unix/sysv/linux/kernel-features.h
13427 (__ASSUME_SETRESUID_SYSCALL): Remove.
13428 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13429 (__ASSUME_32BITUIDS): Likewise.
13430 (__ASSUME_LDT_WORKS): Likewise.
13431 (__ASSUME_O_DIRECTORY): Likewise.
13432 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13433 architecture but not kernel version.
13434 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13435 (__ASSUME_MMAP2_SYSCALL): Likewise.
13436 (__ASSUME_STAT64_SYSCALL): Likewise.
13437 (__ASSUME_IPC64): Likewise.
13438 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13439 <kernel-features.h>.
13440 [__ASSUME_32BITUIDS]: Make code unconditional.
13441 [!__ASSUME_32BITUIDS]: Remove conditional code.
13442 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13443 <kernel-features.h>.
13444 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13445 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13446 132096]: Remove conditional code.
13447 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13448 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13449 <kernel-features.h>.
13450 [__ASSUME_32BITUIDS]: Make code unconditional.
13451 [!__ASSUME_32BITUIDS]: Remove conditional code.
13452 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13453 <kernel-features.h>.
13454 [__ASSUME_32BITUIDS]: Make code unconditional.
13455 [!__ASSUME_32BITUIDS]: Remove conditional code.
13456 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13457 <kernel-features.h>.
13458 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13460 (__setresgid): Do not declare.
13461 [__ASSUME_32BITUIDS]: Make code unconditional.
13462 [!__ASSUME_32BITUIDS]: Remove conditional code.
13463 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13464 <kernel-features.h>.
13465 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13467 (__setresuid): Do not declare.
13468 [__ASSUME_32BITUIDS]: Make code unconditional.
13469 [!__ASSUME_32BITUIDS]: Remove conditional code.
13470 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13471 <kernel-features.h>.
13472 [__ASSUME_32BITUIDS]: Make code unconditional.
13473 [!__ASSUME_32BITUIDS]: Remove conditional code.
13474 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13475 <kernel-features.h>.
13476 [__ASSUME_32BITUIDS]: Make code unconditional.
13477 [!__ASSUME_32BITUIDS]: Remove conditional code.
13479 2012-05-25 Richard Henderson <rth@twiddle.net>
13481 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13482 dl_hwcap to ifunc resolver.
13483 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13485 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13486 dl_hwcap to ifunc resolver.
13487 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13489 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13492 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13493 for |x| <= 2**-26, not 2**-57.
13494 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13497 2012-05-24 Jeff Law <law@redhat.com>
13499 * stdio-common/Makefile (tests): Add bug25.
13500 * stdio-common/bug25.c: New test.
13502 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13505 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13506 multiple of MALLOC_ALIGNMENT in size.
13507 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13509 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13511 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13513 (FILENAME_MAX): Use macro-int-constant.
13514 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13515 (_IOFBF): Use macro-int-constant.
13516 (_IOLBF): Likewise.
13517 (_IONBF): Likewise.
13518 (SEEK_CUR): Likewise.
13519 (SEEK_END): Likewise.
13520 (SEEK_SET): Likewise.
13521 (TMP_MAX): Likewise.
13522 (EOF): Use macro-int-constant. Require < 0.
13523 (NULL): Use macro-constant. Require == 0.
13524 (stdin): Require type to be FILE *.
13525 (stdout): Likewise.
13526 (stderr): Likewise.
13527 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13528 macro-int-constant.
13529 (EXIT_SUCCESS): Likewise.
13530 (NULL): Use macro-constant. Require == 0.
13531 (RAND_MAX): Use macro-int-constant.
13532 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13533 [C99-based standards] (strtof): Require function.
13534 [C99-based standards] (strtold): Likewise.
13535 [C99-based standards] (strtoll): Likewise.
13536 [C99-based standards] (strtoull): Likewise.
13537 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13538 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13539 [ISO || ISO99 || ISO11] (math.h): Likewise.
13540 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13541 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13542 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13544 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13547 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13548 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13549 * intl/dgettext.c (DCGETTEXT): Likewise.
13550 * intl/gettext.c (DCGETTEXT): Likewise.
13551 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13552 * posix/regex_internal.h (gettext): Likewise.
13553 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13554 Remove declaration.
13555 * include/argz.h (__argz_count_internal)
13556 (__argz_stringify_internal): Remove declaration.
13557 (__argz_count, __argz_stringify): Declare hidden proto.
13558 * intl/dcgettext.c: Remove use of INTDEF.
13559 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13560 * string/argz-stringify.c: Likewise.
13561 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13562 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13563 Declare hidden proto.
13564 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13565 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13566 Declare hidden proto.
13567 * include/stdio.h (__asprintf_internal): Don't declare.
13568 (__asprintf): Don't define as macro. Declare hidden proto.
13569 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13570 (__fsetlocking): Declare hidden proto.
13571 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13572 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13574 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13575 (_IO_setlinebuf): Remove use of INTUSE.
13576 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13577 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13578 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13579 Remove declaration.
13580 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13581 (_IO_do_flush): Remove use of INTUSE.
13582 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13583 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13584 (_IO_adjust_column, _IO_least_wmarker)
13585 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13586 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13587 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13588 (_IO_default_doallocate, _IO_wdefault_doallocate)
13589 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13590 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13591 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13592 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13593 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13594 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13595 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13596 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13597 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13598 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13599 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13600 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13601 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13603 (_IO_flush_all_internal, _IO_adjust_column_internal)
13604 (_IO_default_uflow_internal, _IO_default_finish_internal)
13605 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13606 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13607 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13608 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13609 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13610 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13611 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13612 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13613 (_IO_file_close_internal, _IO_file_close_it_internal)
13614 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13615 (_IO_file_init_internal, _IO_file_attach_internal)
13616 (_IO_file_fopen_internal, _IO_file_read_internal)
13617 (_IO_file_sync_internal, _IO_file_seek_internal)
13618 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13619 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13620 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13621 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13622 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13623 (_IO_list_all_internal, _IO_link_in_internal)
13624 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13625 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13626 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13627 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13628 (_IO_do_write_internal, _IO_padn_internal)
13629 (_IO_getline_info_internal, _IO_getline_internal)
13630 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13631 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13632 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13633 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13634 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13635 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13636 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13637 with libc_hidden_ver, remove use of INTUSE.
13638 * libio/genops.c: Likewise.
13639 * libio/freopen.c: Likewise.
13640 * libio/freopen64.c: Likewise.
13641 * libio/iofclose.c: Likewise.
13642 * libio/iofdopen.c: Likewise.
13643 * libio/iofflush.c: Likewise.
13644 * libio/iofflush_u.c: Likewise.
13645 * libio/iofgets.c: Likewise.
13646 * libio/iofgets_u.c: Likewise.
13647 * libio/iofopen.c: Likewise.
13648 * libio/iofopncook.c: Likewise.
13649 * libio/iofread.c: Likewise.
13650 * libio/iofread_u.c: Likewise.
13651 * libio/ioftell.c: Likewise.
13652 * libio/iofwrite.c: Likewise.
13653 * libio/iogetline.c: Likewise.
13654 * libio/iogets.c: Likewise.
13655 * libio/iogetwline.c: Likewise.
13656 * libio/iopadn.c: Likewise.
13657 * libio/iopopen.c: Likewise.
13658 * libio/ioseekoff.c: Likewise.
13659 * libio/ioseekpos.c: Likewise.
13660 * libio/iosetbuffer.c: Likewise.
13661 * libio/iosetvbuf.c: Likewise.
13662 * libio/ioungetc.c: Likewise.
13663 * libio/ioungetwc.c: Likewise.
13664 * libio/iovdprintf.c: Likewise.
13665 * libio/iovsprintf.c: Likewise.
13666 * libio/iovsscanf.c: Likewise.
13667 * libio/memstream.c: Likewise.
13668 * libio/obprintf.c: Likewise.
13669 * libio/oldfileops.c: Likewise.
13670 * libio/oldiofclose.c: Likewise.
13671 * libio/oldiofdopen.c: Likewise.
13672 * libio/oldiofopen.c: Likewise.
13673 * libio/oldiopopen.c: Likewise.
13674 * libio/oldstdfiles.c: Likewise.
13675 * libio/putc.c: Likewise.
13676 * libio/setbuf.c: Likewise.
13677 * libio/setlinebuf.c: Likewise.
13678 * libio/stdfiles.c: Likewise.
13679 * libio/strops.c: Likewise.
13680 * libio/vasprintf.c: Likewise.
13681 * libio/vscanf.c: Likewise.
13682 * libio/vsnprintf.c: Likewise.
13683 * libio/vswprintf.c: Likewise.
13684 * libio/wfiledoalloc.c: Likewise.
13685 * libio/wfileops.c: Likewise.
13686 * libio/wgenops.c: Likewise.
13687 * libio/wmemstream.c: Likewise.
13688 * libio/wstrops.c: Likewise.
13689 * libio/__fpurge.c: Likewise.
13690 * libio/__fsetlocking.c: Likewise.
13691 * assert/assert.c: Likewise.
13692 * debug/fgets_chk.c: Likewise.
13693 * debug/fgets_u_chk.c: Likewise.
13694 * debug/fread_chk.c: Likewise.
13695 * debug/fread_u_chk.c: Likewise.
13696 * debug/gets_chk.c: Likewise.
13697 * debug/obprintf_chk.c: Likewise.
13698 * debug/vasprintf_chk.c: Likewise.
13699 * debug/vdprintf_chk.c: Likewise.
13700 * debug/vsnprintf_chk.c: Likewise.
13701 * debug/vsprintf_chk.c: Likewise.
13702 * malloc/mtrace.c: Likewise.
13703 * misc/error.c: Likewise.
13704 * misc/syslog.c: Likewise.
13705 * stdio-common/asprintf.c: Likewise.
13706 * stdio-common/fxprintf.c: Likewise.
13707 * stdio-common/getw.c: Likewise.
13708 * stdio-common/isoc99_fscanf.c: Likewise.
13709 * stdio-common/isoc99_scanf.c: Likewise.
13710 * stdio-common/isoc99_vfscanf.c: Likewise.
13711 * stdio-common/isoc99_vscanf.c: Likewise.
13712 * stdio-common/isoc99_vsscanf.c: Likewise.
13713 * stdio-common/printf-prs.c: Likewise.
13714 * stdio-common/printf_fp.c: Likewise.
13715 * stdio-common/printf_fphex.c: Likewise.
13716 * stdio-common/printf_size.c: Likewise.
13717 * stdio-common/putw.c: Likewise.
13718 * stdio-common/scanf.c: Likewise.
13719 * stdio-common/sprintf.c: Likewise.
13720 * stdio-common/tmpfile.c: Likewise.
13721 * stdio-common/vfprintf.c: Likewise.
13722 * stdio-common/vfscanf.c: Likewise.
13723 * stdlib/strfmon_l.c: Likewise.
13724 * sunrpc/openchild.c: Likewise.
13725 * sunrpc/xdr_stdio.c: Likewise.
13726 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13727 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13729 2012-05-24 Roland McGrath <roland@hack.frob.com>
13731 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13733 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13734 in the third column, to generate for the shared library an IFUNC
13735 that uses _dl_vdso_vsym.
13736 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13737 * Makeconfig (object-suffixes-noshared): New variable.
13739 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13740 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13741 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13742 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13745 * include/sys/time.h (__gettimeofday): Remove macro.
13746 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13747 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13749 (__gettimeofday): Add libc_hidden_def.
13750 (gettimeofday): Add libc_hidden_weak.
13751 * sysdeps/mach/gettimeofday.c: Likewise.
13752 * sysdeps/posix/gettimeofday.c: Likewise.
13753 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13754 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13755 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13756 (__gettimeofday_internal): Remove strong_alias.
13757 (__gettimeofday): Add libc_hidden_def.
13758 (gettimeofday): Add libc_hidden_weak.
13759 * sysdeps/unix/syscalls.list (gettimeofday):
13760 Remove __gettimeofday_internal alias.
13762 2012-05-24 Daniel Jacobowitz <drow@false.org>
13763 H.J. Lu <hongjiu.lu@intel.com>
13766 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13767 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13768 (largebin_index_32_big): New.
13769 (largebin_index): Use it for 16-byte alignment.
13770 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13771 correction with front_misalign.
13773 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13801 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13802 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13804 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13808 * math/libm-test.inc (exp_test): Add test from bug 14036.
13809 (pow_test): Add test from bug 10846.
13811 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13813 (special_function): Do not include flags in test name.
13814 (parse_args): Likewise.
13815 * sysdeps/i386/fpu/libm-test-ulps: Update.
13816 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13817 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13818 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13821 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13823 * math/libm-test.inc ("Philosophy"): Update comment about
13825 (UNDERFLOW_EXCEPTION): New macro.
13826 (UNDERFLOW_EXCEPTION_OK): Likewise.
13827 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13828 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13829 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13830 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13831 (INVALID_EXCEPTION_OK): Update value.
13832 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13833 (OVERFLOW_EXCEPTION_OK): Likewise.
13834 (IGNORE_ZERO_INF_SIGN): Likewise.
13835 (test_exceptions): Handle underflow exceptions.
13836 (acos_test): Update for underflow exception expectations.
13837 (cexp_test): Likewise.
13838 (clog_test): Likewise.
13839 (clog10_test): Likewise.
13840 (csqrt_test): Likewise.
13841 (ctan_test): Likewise.
13842 (ctanh_test): Likewise.
13843 (exp_test): Likewise.
13844 (exp10_test): Likewise.
13845 (exp2_test): Likewise.
13846 (expm1_test): Likewise.
13847 (fma_test): Likewise.
13848 (j0_test): Likewise.
13849 (jn_test): Likewise.
13850 (nexttoward_test): Likewise.
13851 (pow_test): Likewise.
13852 (scalbn_test): Likewise.
13853 (scalbln_test): Likewise.
13854 (tan_test): Likewise.
13855 (y1_test): Likewise.
13856 * sysdeps/i386/fpu/libm-test-ulps: Update.
13857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13859 2012-05-23 David S. Miller <davem@davemloft.net>
13861 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13862 (__libc_sigaction): Remove unused local variables.
13864 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13866 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13868 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13870 mktime: avoid signed integer overflow
13871 * time/mktime.c (__mktime_internal): Do not mishandle the case
13872 where diff == INT_MIN.
13874 mktime: simplify computation of average
13875 * time/mktime.c (ranged_convert): Use new time_t_avg function
13876 instead of rolling our own (probably-slower) code.
13878 mktime: do not assume signed right shift propagates sign bit
13879 * time/mktime.c (isdst_differ): New static function.
13880 (__mktime_internal): No need to normalize tm_isdst now.
13881 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13884 mktime: merge another wrapv change from gnulib
13885 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13886 from some compilers.
13888 mktime: remove incorrect attempt at unusual arithmetics
13889 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13890 The code didn't really work on such machines anyway.
13891 (TYPE_MINIMUM): Assume two's complement.
13892 (twos_complement_arithmetic): Verify that long_int and time_t
13893 are two's complement (or unsigned, in the latter case).
13895 mktime: check signed shifts on long_int and time_t, too
13896 * time/mktime.c (SHR): Check that shifts work as desired
13897 on the types long_int and time_t too, as SHR is used on
13900 mktime: do not assume 'long' is wide enough
13901 * time/mktime.c (verify): Move decl up.
13902 (long_int): New type.
13903 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13904 to remove assumption in the code that 'long' is wide enough to
13905 store year values. This assumption is not true on x32 and on
13906 some non-glibc platforms.
13908 mktime: merge wrapv change from gnulib
13909 * time/mktime.c (WRAPV): New macro.
13910 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13911 (guess_time_tm, __mktime_internal): Do not assume that signed
13912 integer overflow wraps around; modern compilers generate code
13913 where this assumption is no longer valid.
13915 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13917 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13918 Replace "jmp L(pseudo_end)" with "ret".
13919 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13922 2012-05-23 Andreas Jaeger <aj@suse.de>
13924 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13925 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13927 2012-05-23 Andreas Jaeger <aj@suse.de>
13928 Maximilian Attems <max@stro.at>
13930 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13933 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13935 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13936 code so that pseudo_end is just ret and the stack pointer is
13937 correct also for static library in error case.
13939 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13941 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13942 move to syscalls.list.
13943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13948 * manual/install.texi (Running make install): Do not mention Linux
13949 kernel version for which pt_chown is not needed.
13950 (Linux): Do not mention problems with nscd with 2.0 kernels.
13951 * INSTALL: Regenerated.
13953 2012-05-23 Andreas Jaeger <aj@suse.de>
13955 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13956 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13958 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13959 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13960 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13961 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13962 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13963 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13964 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13965 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13966 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13967 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13968 * sysdeps/unix/sysv/linux/bits/in.h
13969 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13971 2012-05-22 Roland McGrath <roland@hack.frob.com>
13973 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13974 (PREPARE_VERSION): Just use assert instead, it will be elided
13975 under [NDEBUG] anyway.
13977 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13979 * sysdeps/unix/sysv/linux/Makefile: Include
13980 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
13981 (sysdep_routines): Remove sysctl.
13982 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13983 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13984 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13985 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13986 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13988 2012-05-22 Andreas Jaeger <aj@suse.de>
13990 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13991 that pseudo_end is just ret and the stack pointer is correct also
13992 for static library in error case.
13994 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13997 * nss/nsswitch.c (defconfig_entries): New variable.
13998 (__nss_database_lookup): Don't leak defconfig entries.
13999 (nss_parse_service_list): Don't leak on error paths.
14000 (free_database_entries): New function.
14001 (free_defconfig): New function.
14002 (free_mem): Move common code to free_database_entries.
14004 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14006 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
14008 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
14010 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14011 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14012 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14014 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14015 (INTERNAL_SYSCALL_TYPES): Likewise.
14016 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14017 (LOAD_REGS_TYPES_[1-6]): Likewise.
14018 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14019 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14021 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14023 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14024 copysignl for GLIBC_2_0.
14025 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14026 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14027 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14028 logbl for GLIBC_2_0.
14029 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14030 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14032 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14034 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14035 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14037 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14040 * time/mktime.c: Update copyright years.
14042 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14044 mktime: merge comment-quoting-style change from gnulib
14045 * time/mktime.c: Quote 'like this' in comments.
14046 The GNU coding standards suggest that we no longer quote `like this',
14047 as "`" and "'" are typically rendered asymmetrically nowadays.
14048 The typical gnulib style is to quote 'like this' when quoting
14049 code, and "like this" when quoting English.
14051 * time/mktime.c (compile-command): Add "-I.".
14053 mktime: merge mktime-internal.h change from gnulib
14054 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14056 mktime: merge time_r change from gnulib
14057 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14059 mktime: merge DEBUG change from gnulib
14060 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14061 case system <time.h> has a #define.
14063 mktime: merge <sys/types.h> change from gnulib
14064 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14065 since <time.t> is now guaranteed to define time_t.
14067 mktime: merge HAVE_CONFIG_H change from gnulib
14068 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14070 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14072 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14075 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14077 (struct rusage): Use anonymous union to pad each field to
14080 2012-05-21 David S. Miller <davem@davemloft.net>
14082 * Makefules (o-iterator): Remove .s cases.
14083 (compile-command.s): Delete.
14084 (COMPILE.s): Delete.
14085 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14087 2012-05-21 Joseph Myers <joseph@codesourcery.com>
14089 * configure.in (libc_cv_predef_stack_protector): Only consider
14090 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14091 * configure: Regenerated.
14093 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14095 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14096 New macro. Use R*LP on int and pointer.
14097 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
14098 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14099 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
14100 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14102 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14103 [__WORDSIZE_TIME64_COMPAT32] instead of
14104 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14105 (struct utmp): Likewise.
14106 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14107 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14109 (__WORDSIZE_TIME64_COMPAT32): This.
14110 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14111 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14112 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14113 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14114 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14115 (__WORDSIZE_TIME64_COMPAT32): New macro.
14117 2012-05-21 Andreas Jaeger <aj@suse.de>
14119 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14120 only if [SHARED]. Add prototype for __wcschr_ia32.
14122 2012-05-21 Roland McGrath <roland@hack.frob.com>
14124 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14125 of %rbp unmolested in the jmp_buf while mangling the low bits.
14126 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14127 unmolested high bits of %rbp while demangling the low bits.
14128 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14130 2012-05-21 Andreas Jaeger <aj@suse.de>
14132 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14133 * sunrpc/svc_simple.c: Use it for registerrpc.
14134 * sunrpc/xcrypt.c: Use it for passwd2des.
14136 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14138 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14140 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14141 Don't define if [__SYSCALL_WORDSIZE != 32].
14142 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14145 2012-05-21 Bruno Haible <bruno@clisp.org>
14146 Andreas Jaeger <aj@suse.de>
14148 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14149 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14150 inptr and inend for must_buffer_ch.
14151 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14152 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14153 * stdio-common/Makefile (tests): Remove bug15.
14154 (bug15-ENV): Remove macro.
14155 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14158 2012-05-19 Andreas Jaeger <aj@suse.de>
14159 Roland McGrath <roland@hack.frob.com>
14161 * manual/contrib.texi: Completely rewritten. It contains now an
14162 alphabetical list of contributors and their contributions.
14164 2012-05-21 Richard Henderson <rth@twiddle.net>
14166 * misc/getauxval.c (__getauxval): Use unsigned long int.
14167 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14168 (getauxval): Use unsigned long int.
14170 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14172 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14174 2012-05-21 Roland McGrath <roland@hack.frob.com>
14176 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14177 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14178 __alignof__ (long double).
14180 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14184 2012-05-20 Richard Henderson <rth@twiddle.net>
14186 * misc/getauxval.c: New file.
14187 * misc/sys/auxv.h: New file.
14188 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14189 (routines): Add getauxval.
14190 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14191 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14192 * elf/dl-sysdep.c (_dl_auxv): Remove.
14193 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14194 * elf/dl-support.c (_dl_auxv): New variable.
14195 (_dl_aux_init): Initialize it.
14196 * manual/startup.texi (Auxiliary Vector): New node.
14197 * sysdeps/generic/bits/hwcap.h: New file.
14198 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14199 * sysdeps/powerpc/sysdep.h: ... here. Include it.
14200 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14201 * sysdeps/sparc/sysdep.h: ... here. Include it.
14202 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14203 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
14204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14209 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14215 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14219 2012-05-19 David S. Miller <davem@davemloft.net>
14221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14223 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14226 * math/s_ccosh.c: Include <float.h>
14227 (__ccosh): Avoid internal overflow calculating sinh and cosh
14228 values before multiplying by sin and cos values.
14229 * math/s_ccoshf.c: Likewise.
14230 * math/s_ccoshl.c: Likewise.
14231 * math/s_csin.c: Likewise.
14232 * math/s_csinf.c: Likewise.
14233 * math/s_csinl.c: Likewise.
14234 * math/s_csinh.c: Likewise.
14235 * math/s_csinhf.c: Likewise.
14236 * math/s_csinhl.c: Likewise.
14237 * math/libm-test.inc (ccos_test): Add more tests.
14238 (ccosh_test): Likewise.
14239 (csin_test): Likewise.
14240 (csinh_test): Likewise.
14241 * sysdeps/i386/fpu/libm-test-ulps: Update.
14242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14244 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14246 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14247 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14249 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14251 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14253 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14254 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14255 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14256 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14257 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14258 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14259 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14260 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14261 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14262 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14263 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14264 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14265 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14266 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14267 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14268 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14269 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14270 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14271 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14272 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14273 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14274 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14275 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14276 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14277 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14278 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14279 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14280 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14281 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14282 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14283 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14285 2012-05-18 Andreas Jaeger <aj@suse.de>
14287 * csu/.gitignore: Delete.
14289 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14291 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14292 (timex): Use __syscall_slong_t.
14294 2012-05-18 Andreas Jaeger <aj@suse.de>
14295 Carlos O'Donell <carlos_odonell@mentor.com>
14297 * manual/install.texi (Configuring and compiling): Update
14298 description about files modified in the source directory.
14299 * INSTALL: Regenerated.
14301 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14303 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14304 value. Use "or" to set return value to -1.
14305 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14306 negate return value.
14308 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14310 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14311 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14312 failure if the compiler has Graphite support disabled.
14313 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14315 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14316 CFLAGS-memmove.c): Likewise.
14317 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14320 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14322 * sysdeps/x86_64/x32/_itoa.h: New file.
14324 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14325 getdents system call only if kernel and user dirents have the
14326 same d_ino and d_off.
14328 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14329 LLONG_MAX != LONG_MAX.
14330 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14331 (_fitoa_word): Likewise.
14333 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14335 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14336 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14337 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14339 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14340 include <bits/wordsize.h>. Check __x86_64__ instead of
14342 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14343 if __x86_64__ is defined. Use anonymous union on fpstate.
14345 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14348 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14350 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14351 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14352 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14353 Refer to _rtld_local_ro instead of _rtld_global_ro.
14354 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14356 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14358 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14360 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14361 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14362 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14364 * sysdeps/powerpc/powerpc32/dl-machine.c
14365 (__elf_machine_runtime_setup) [PROF]: Don't reference
14368 2012-05-18 Andreas Jaeger <aj@suse.de>
14370 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14371 function only available for GCCs before 3.4 since GCC 3.4
14372 introduced a builtin.
14374 (llrintf): Likewise.
14375 (llrint): Likewise.
14382 (nearbyint): Likewise.
14383 (nearbyintf): Likewise.
14387 (floorf): Likewise.
14389 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14391 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14392 on both fields and cast pointer to __syscall_ulong_t.
14394 * bits/types.h (__fsword_t): New type.
14395 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14396 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14397 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14398 (__FSWORD_T_TYPE): Likewise.
14399 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14400 (__FSWORD_T_TYPE): Likewise.
14401 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14402 (__FSWORD_T_TYPE): Likewise.
14403 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14404 (__FSWORD_T_TYPE): Likewise.
14405 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14406 __SWORD_TYPE with __fsword_t.
14407 (statfs64): Likewise.
14409 2012-05-17 David S. Miller <davem@davemloft.net>
14411 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14413 2012-05-17 Andreas Jaeger <aj@suse.de>
14415 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14418 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14420 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14422 2012-05-17 Andreas Jaeger <aj@suse.de>
14424 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14427 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14429 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14431 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14433 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14434 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14436 2012-05-17 Andreas Jaeger <aj@suse.de>
14437 Carlos O'Donell <carlos_odonell@mentor.com>
14440 * sysdeps/x86_64/multiarch/init-arch.h
14441 (bit_YMM_Usable): Rename to...
14442 (bit_AVX_Usable): ... this.
14443 (bit_FMA4_Usable): New macro.
14444 (bit_XMM_state): New macro.
14445 (bit_YMM_state): New macro.
14446 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14447 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14448 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14449 (CPUID_OSXSAVE): New macro.
14450 (CPUID_AVX): New macro.
14451 (CPUID_FMA4): New macro.
14452 (index_YMM_Usable): Rename to...
14453 (index_AVX_Usable): ... this.
14454 (HAS_AVX): Use HAS_ARCH_FEATURE.
14455 (HAS_FMA4): Likewise.
14456 (HAS_YMM_USABLE): Remove.
14457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14458 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14460 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14461 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14462 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14463 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14464 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14466 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14468 * math/libm-test.c: Support platforms without multiple rounding modes.
14469 * math/bug-nextafter.c: Support platforms without FP exceptions.
14470 * math/bug-nexttoward.c: Likewise.
14471 * math/test-fenv.c: Likewise.
14472 * math/test-misc.c: Likewise.
14473 * stdlib/bug-getcontext.c: Likewise.
14475 2012-05-17 Andreas Jaeger <aj@suse.de>
14477 * manual/examples/search.c (critter_cmp): Change signature to
14479 * manual/string.texi (Collation Functions): Likewise.
14481 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14483 * bits/types.h: Fold copyright years.
14484 * bits/typesizes.h: Likewise.
14485 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14486 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14487 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14488 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14489 * time/time.h: Likewise.
14491 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14494 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14495 in instead of returning them. Return void.
14496 (__libc_mallinfo): Accumulate over all arenas.
14497 (__malloc_stats): Adjust for change in int_mallinfo interface.
14499 2012-05-16 Roland McGrath <roland@hack.frob.com>
14502 * configure.in (NM): Add AC_CHECK_TOOL for it.
14503 (libc_extra_cflags): New substituted variable.
14504 Check for -fstack-protector being used implicitly.
14505 * configure: Regenerated.
14506 * config.make.in (config-extra-cflags): New variable,
14507 gets @libc_extra_cflags@.
14508 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14511 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14512 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14513 * configure: Regenerated.
14514 * config.make.in (CPPUNDEFS): New substituted variable.
14515 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14516 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14517 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14519 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14521 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14522 (mq_attr): Use __syscall_slong_t.
14524 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14526 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14527 Check __x86_64__ instead of __WORDSIZE.
14528 (_STAT_VER_LINUX): Likewise.
14529 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14530 __syscall_ulong_t and __syscall_slong_t.
14531 (stat64): Likewise.
14533 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14535 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14537 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14539 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14541 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14543 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14546 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14547 include <bits/wordsize.h>. Check __x86_64__ instead of
14549 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14551 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14553 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14554 include <bits/wordsize.h>. Check __x86_64__ instead of
14556 (user_regs_struct): Use "__extension__ unsigned long long"
14557 instead of "unsigned long" if __x86_64__ is defined.
14558 (user): Likewise. Pad after pointer field if __ILP32__ is
14561 2012-05-16 Joseph Myers <joseph@codesourcery.com>
14563 * configure.in (makeinfo): Require version 4.5 or later. Allow
14565 * configure: Regenerated.
14566 * manual/install.texi (texinfo): Increase version requirement to
14568 * INSTALL: Regenerated.
14570 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14572 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14574 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14576 * sysdeps/x86_64/x32/ffs.c: New file.
14578 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14580 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14581 defined. Use __syscall_ulong_t.
14582 (shminfo): Use __syscall_ulong_t.
14583 (shm_info): Likewise.
14585 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14588 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14590 (msgqnum_t): Use __syscall_ulong_t.
14591 (msglen_t): Likewise.
14592 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14595 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14596 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14598 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14600 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14601 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14603 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14606 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14607 include <bits/wordsize.h>. Check __x86_64__ instead of
14610 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14611 "unsigned long long int" if __x86_64__ is defined.
14612 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14614 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14615 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14616 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14618 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14620 (GET_PC): Cast to uintptr_t first.
14621 (GET_FRAME): Likewise.
14622 (GET_STACK): Likewise.
14624 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14625 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14626 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14627 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14628 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14629 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14630 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14631 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14632 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14633 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14634 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14635 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14636 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14637 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14638 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14639 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14640 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14641 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14642 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14643 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14644 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14645 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14646 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14647 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14648 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14649 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14650 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14651 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14652 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14654 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14656 * Makerules (+depfiles): Also collect depfiles from .oS in
14658 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14659 .oS, $(libnldbl-routines)).
14661 * Makerules (native-compile-mkdep-flags): Define.
14662 * sunrpc/Makefile (extra-objs): Add $(addprefix
14663 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14664 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14665 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14666 calling $(make-target-directory).
14668 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14670 * bits/types.h (__snseconds_t): Removed.
14671 * time/time.h (struct timespec): Replace __snseconds_t with
14673 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14674 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14676 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14677 (__SNSECONDS_T_TYPE): Likewise.
14678 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14679 (__SNSECONDS_T_TYPE): Likewise.
14680 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14681 (__SNSECONDS_T_TYPE): Likewise.
14683 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14685 * sysdeps/mach/hurd/bits/typesizes.h
14686 (__SYSCALL_SLONG_TYPE): New macro.
14687 (__SYSCALL_ULONG_TYPE): Likewise.
14689 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14691 * bits/types.h (__syscall_slong_t): New type.
14692 (__syscall_ulong_t): Likewise.
14694 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14695 (__SYSCALL_ULONG_TYPE): Likewise.
14696 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14697 (__SYSCALL_SLONG_TYPE): Likewise.
14698 (__SYSCALL_ULONG_TYPE): Likewise.
14699 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14700 (__SYSCALL_SLONG_TYPE): Likewise.
14701 (__SYSCALL_ULONG_TYPE): Likewise.
14702 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14703 (__SYSCALL_SLONG_TYPE): Likewise.
14704 (__SYSCALL_ULONG_TYPE): Likewise.
14706 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14708 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14709 Add sigaltstack-offsets.sym.
14710 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14711 <sigaltstack-offsets.h>.
14712 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14713 longjmp_msg pointer.
14714 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14715 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14717 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14719 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14721 * elf/stackguard-macros.h: Remove file.
14722 * sysdeps/generic/stackguard-macros.h: New file.
14723 * sysdeps/i386/stackguard-macros.h: Likewise.
14724 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14725 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14726 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14727 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14728 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14729 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14730 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14731 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14732 <elf/stackguard-macros.h>.
14735 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14736 __aligned__ in attribute.
14737 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14738 (gregset_t): Likewise.
14740 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14742 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14743 * sysdeps/x86_64/64/Implies-after: Here. New file.
14744 * sysdeps/x86_64/x32/Implies-after: New file.
14746 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14748 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14749 and access return value for _dl_profile_fixup. Use R10_LP to
14752 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14754 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14756 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14758 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14759 * sysdeps/x86_64/x32/sysdep.h: New file.
14761 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14763 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14764 * sysdeps/x86_64/setjmp.S: Likewise.
14766 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14768 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14769 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14770 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14771 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14772 remove unused global constant.
14774 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14776 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14777 include of <not-cancel.h>.
14779 2012-05-15 Roland McGrath <roland@hack.frob.com>
14781 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14783 2012-05-15 Jeff Law <law@redhat.com>
14784 Andreas Jaeger <aj@suse.de>
14787 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14789 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14790 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14791 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14792 code changing __hst_map_handle.map.
14794 2012-05-15 Roland McGrath <roland@hack.frob.com>
14796 * configure.in (sysnames): Look for Implies-before and Implies-after
14798 * configure: Regenerated.
14800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14802 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14803 8-byte data alignment with LP_SIZE alignment.
14805 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14807 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14810 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14812 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14814 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14816 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14817 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14818 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14820 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14822 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14824 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14825 (stackinfo_sub_sp): Likewise.
14827 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14829 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14832 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14834 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14837 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14839 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14842 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14844 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14846 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14848 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14849 into R11_LP and load __x86_64_shared_cache_size_half into
14852 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14854 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14857 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14859 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14861 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14863 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14865 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14866 powerpc32/power7/fpu/s_logb.c via #include.
14867 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14868 powerpc32/power7/fpu/s_logbf.c via #include.
14869 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14870 powerpc32/power7/fpu/s_logbl.c via #include.
14872 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14874 * README.libm: Remove file.
14876 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14878 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14879 count for x32. Use R*_LP and omit operand-size suffix.
14881 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14883 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14884 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14885 * sysdeps/x86_64/x32/shlib-versions: New file.
14887 2012-05-14 Roland McGrath <roland@hack.frob.com>
14889 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14890 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14891 Use _dl_fatal_printf instead.
14893 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14895 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14896 set if not set by the user. Do not allow for being unset.
14897 * sysdeps/unix/sysv/linux/configure: Regenerated.
14899 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14901 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14902 the `q' suffix from lea and replace .quad with ASM_ADDR.
14904 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14907 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14909 (PTR_DEMANGLE): Likewise.
14911 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14913 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14915 (ASM_ADDR): Likewise.
14916 (RAX_LP): Likewise.
14917 (RBP_LP): Likewise.
14918 (RBX_LP): Likewise.
14919 (RCX_LP): Likewise.
14920 (RDI_LP): Likewise.
14921 (RSI_LP): Likewise.
14922 (RSP_LP): Likewise.
14925 (R10_LP): Likewise.
14926 (R10_LP): Likewise.
14927 (R11_LP): Likewise.
14928 (R12_LP): Likewise.
14929 (R13_LP): Likewise.
14930 (R14_LP): Likewise.
14931 (R15_LP): Likewise.
14933 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14935 * sysdeps/x86_64/x32/dl-machine.h: New file.
14937 2012-05-14 Andreas Jaeger <aj@suse.de>
14939 * manual/Makefile (subdir): Remove export of subdir.
14940 (all): Remove target.
14941 (.PHONY): Remove all from list.
14942 (mkinstalldirs): Remove.
14943 (.PHONY): Remove installdirs from list.
14944 ($(inst_infodir)/libc.info): Use make-target-directory.
14945 (installdirs): Remove.
14946 (subdir_%): Remove.
14947 (glibc-targets): Remove.
14950 ($(objpfx)stubs ../po/manual.pot): Remove.
14951 ($(objpfx)stamp%): Remove.
14952 (make-target-directory): Remove.
14953 (subdir_install): Remove.
14954 (routines): Remove.
14961 * manual/.gitignore: Remove, it's not needed anymore.
14962 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14964 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14966 (texis): Renamed to $(objpfx)texis.
14967 (texis-path): New, contains path to generated files.
14968 (chapters.%): Use texis-path for complete path, add extra argument
14970 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14971 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14972 (summary,texi, stamp-summary): Use complete path of
14973 files. Generate files in build dir.
14974 (dir-add.texi): Build in build dir.
14975 (libm-err.texi,stamp-libm-err): Likewise.
14976 (version.texi, stamp-version): Likewise.
14977 (.%c.texi): Likewise.
14978 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14979 (mostlyclean): Remove target.
14980 (realclean): Remove target.
14981 (generated): Add new variable with contents from mostlyclean and
14982 realclean, remove entries duplicated in common-mostlyclean, add
14983 stamp-libm-err and stamp-version.
14984 (generated-dirs): Add libc directory.
14985 ($(inst_infodir)/libc.info): Install files from build dir.
14987 * manual/install.texi (Configuring and compiling): Adjust since
14988 the info files are not part of the tar ball anymore.
14990 2012-05-14 Andreas Jaeger <aj@suse.de>
14992 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14995 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14998 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14999 to 2.2.0 where earlier.
15000 * sysdeps/unix/sysv/linux/configure: Regenerated.
15001 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
15002 Remove conditional code.
15003 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
15004 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
15005 Remove conditional code.
15006 [!__NR_lchown]: Likewise.
15007 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15008 [__NR_lchown]: Likewise.
15009 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15010 comment referencing __ASSUME_LCHOWN_SYSCALL.
15011 * sysdeps/unix/sysv/linux/i386/sigaction.c
15012 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15013 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15014 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15015 Remove conditional code.
15016 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15017 (__protocol_available): Remove #if 0 code.
15018 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15020 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15021 * sysdeps/unix/sysv/linux/kernel-features.h
15022 (__ASSUME_GETCWD_SYSCALL): Don't define.
15023 (__ASSUME_REALTIME_SIGNALS): Likewise.
15024 (__ASSUME_PREAD_SYSCALL): Likewise.
15025 (__ASSUME_PWRITE_SYSCALL): Likewise.
15026 (__ASSUME_POLL_SYSCALL): Likewise.
15027 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15028 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15030 (__ASSUME_SIOCGIFNAME): Don't define.
15031 (__ASSUME_MSG_NOSIGNAL): Likewise.
15032 (__ASSUME_SENDFILE): Define unconditionally.
15033 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15034 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15036 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15037 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15038 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15039 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15040 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15041 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15042 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15044 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15045 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15047 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15048 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15050 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15051 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15053 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15054 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15056 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15057 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15059 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15060 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15062 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15063 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15065 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15066 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15067 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15068 Remove conditional code.
15069 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15070 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15071 Remove conditional code.
15072 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15073 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15074 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15075 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15076 Remove conditional code.
15077 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15078 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15079 Remove conditional code.
15080 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15081 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15082 Remove conditional code.
15083 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15084 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15085 Remove conditional code.
15086 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15087 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15088 Remove conditional code.
15089 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15090 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15091 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15092 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15093 * sysdeps/unix/sysv/linux/sigaction.c
15094 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15095 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15096 * sysdeps/unix/sysv/linux/sigpending.c
15097 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15098 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15099 * sysdeps/unix/sysv/linux/sigprocmask.c
15100 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15101 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15102 * sysdeps/unix/sysv/linux/sigsuspend.c
15103 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15104 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15105 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15106 (__libc_missing_rt_sigs): Remove.
15107 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15108 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15109 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15110 Remove conditional code.
15111 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15112 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15114 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15115 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15116 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15117 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15119 2012-05-14 Andreas Jaeger <aj@suse.de>
15121 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15122 it's not used in glibc.
15123 (__coshm1): Likewise.
15124 (__acosh1p): Likewise.
15127 * manual/string.texi (Copying and Concatenation): Add missing
15128 variable in concat example.
15129 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15131 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15134 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15135 __builtin_clzl with __builtin_clzll.
15137 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15140 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15143 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15145 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15146 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15147 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15148 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15150 2012-05-14 Mike Frysinger <vapier@gentoo.org>
15152 * NEWS: Update ia64 info.
15154 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15156 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15159 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15161 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15162 * sysdeps/unix/syscalls.list (dup3): Likewise.
15163 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15164 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15166 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15168 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15169 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15171 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15173 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15175 (TLS_IE): Use mov/add instead of movq/addq to load thread
15177 (TLS_GD_PREFIX): New.
15180 2012-05-11 David S. Miller <davem@davemloft.net>
15182 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15183 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15184 (_FPU_SETCW): Likewise.
15186 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15188 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15189 is 32-byte aligned.
15191 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
15194 * iconvdata/gb18030.c: Update tables.
15195 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
15196 characters specially.
15197 (BODY for TO_LOOP): Add encoding of missing ranges.
15199 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
15202 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15203 * sysdeps/mach/hurd/dup3.c: Likewise.
15204 * sysdeps/mach/hurd/readlinkat.c: Likewise.
15205 * sysdeps/powerpc/memmove.c:: Likewise.
15207 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15209 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15210 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15212 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15214 * elf/elf.h (R_X86_64_RELATIVE64): New.
15215 (R_X86_64_NUM): Updated.
15216 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15217 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15218 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15219 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15220 tst-quad1pie tst-quad2pie
15221 (modules-names): Add tst-quadmod1 tst-quadmod2.
15222 ($(objpfx)tst-quad1): New dependency.
15223 ($(objpfx)tst-quad2): Likewise.
15224 ($(objpfx)tst-quad1pie): Likewise.
15225 ($(objpfx)tst-quad2pie): Likewise.
15226 * sysdeps/x86_64/tst-quad1.c: New file.
15227 * sysdeps/x86_64/tst-quad1pie.c: New file.
15228 * sysdeps/x86_64/tst-quad2.c: Likewise.
15229 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15230 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15231 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15232 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15233 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15235 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15237 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15238 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15239 * streams/stropts.h (t_scalar_t): Define type.
15241 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15242 (_PATH_PRESERVE): Set to "/var/lib".
15243 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15245 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15248 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15249 if __dir_mkfile succeeded.
15251 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15252 checking for _hurd_dtablesize. Unlock it right after having
15253 finished _hurd_dtable allocation.
15255 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15257 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15258 * sysdeps/mach/hurd/configure: Regenerated.
15259 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15260 special-casing to...
15261 * sysdeps/gnu/configure.in: ... this new file.
15262 * sysdeps/unix/sysv/linux/configure: Regenerated.
15263 * sysdeps/gnu/configure: New generated file.
15265 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15266 for Linux: use nsec instead of usec, as well as:
15267 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15268 members of type struct timespec.
15269 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15271 (struct stat64): Likewise.
15272 (_STATBUF_ST_NSEC): New macro.
15273 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15275 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15276 __strtoul_internal rather than strtoul.
15278 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15280 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15283 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15285 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15286 which preserves existing values.
15287 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15289 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15291 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15292 TIMEOUT values. Return EINVAL for NFDS values either negative or
15293 greater than FD_SETSIZE.
15295 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15297 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15298 allocated, call __vm_protect to finish enabling the existing space, and
15299 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15300 allocate the remainder.
15302 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15304 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15305 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15307 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15309 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15310 sysdeps/mach/hurd/readlink.c.
15312 * posix/tst-sysconf.c (posix_options): Only use
15313 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15314 _POSIX_SYNCHRONIZED_IO when they are defined
15315 * sysdeps/mach/hurd/bits/posix_opt.h:
15316 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15317 (_XOPEN_REALTIME): Undefine macro.
15318 (_XOPEN_REALTIME_THREADS): Undefine macro.
15319 (_XOPEN_SHM): Undefine macro.
15320 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15322 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15324 (_POSIX_ASYNC_IO): Undefine macro.
15325 (_POSIX_PRIORITIZED_IO): Undefine macro.
15326 (_POSIX_SPIN_LOCKS): Define macro to -1.
15328 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15329 SA_NODEFER, SA_RESETHAND.
15330 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15331 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15334 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15336 * elf/Makefile (pldd-modules): Define unconditionally.
15338 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15340 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15342 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15344 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15345 Return ENOENT when name is empty.
15346 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15348 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15350 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15352 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15354 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15356 Fix mlock in all cases except non-readable pages.
15357 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15358 instead of VM_PROT_ALL as parameter to __vm_wire function.
15360 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15361 (__mkdir): When path is `/', just fail with EEXIST.
15362 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15364 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15366 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15367 <sys/uio.h> (for writev).
15368 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15369 and <sys/param.h> (for MIN).
15371 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15373 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15374 REQUESTED_TIME. Properly set the remaining time and return EINTR
15377 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15379 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15380 Depend on against $(link-rpcuserlibs).
15382 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15384 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15385 (__libc_stack_end): Do not use attribute_relro.
15386 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15387 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
15388 to libthread-provided value.
15389 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15392 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15395 * bits/libc-lock.h (__libc_once_get): New macro.
15396 * sysdeps/mach/bits/libc-lock.h: Likewise.
15397 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15398 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15399 instead of using implementation details.
15401 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15402 * libio/freopen.c: Likewise.
15403 * libio/freopen64.c: Likewise.
15404 * misc/syslog.c: Likewise.
15405 * nscd/connections.c: Likewise.
15406 * nscd/netgroupcache.c: Likewise.
15407 * sysdeps/posix/getcwd.c: Likewise.
15409 2012-05-10 Roland McGrath <roland@hack.frob.com>
15411 * math/w_ilogbf.c: Add #include <limits.h>.
15413 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15415 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
15416 path instead of returning without unlocking.
15418 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15419 immediate-write ioctls.
15420 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15422 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15424 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15425 __builtin_frame_address instead of making assumptions about the
15426 location of the return address relative to DATA. Force early load of
15427 the return address.
15428 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15429 __builtin_frame_address.
15432 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15433 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15434 implement dup3 and do some further code clean-ups.
15435 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15436 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15438 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15440 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15442 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15443 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15444 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15445 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15446 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15449 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15450 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15451 when handler == SIG_ERR, not when handler != SIG_ERR.
15453 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15455 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15456 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15459 accept4 for GNU Hurd.
15460 * include/sys/socket.h (__libc_accept4): New prototype.
15461 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15462 to implement __libc_accept4.
15463 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15465 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15467 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15468 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15469 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15470 signal-defines.sym.
15472 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15474 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
15476 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15478 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15479 assertion on O_CLOEXEC flag.
15480 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15481 * hurd/intern-fd.c: Likewise.
15482 * hurd/port2fd.c: Likewise.
15484 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15487 * bits/in.h (IPV6_PKTINFO): Define new macro.
15488 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15490 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15495 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15496 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15497 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15498 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15499 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15500 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15501 * math/libm-test.inc (logb_test) : Additional logb tests.
15503 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15504 Andreas Jaeger <aj@suse.de>
15506 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15507 * configure: Regenerated.
15508 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15509 * config.make.in (link-obsolete-rpc): New substituted variable.
15510 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15511 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15512 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15513 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15514 so that libc.a contains the symbols.
15515 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15516 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15517 * sunrpc/auth_none.c: Likewise.
15518 * sunrpc/auth_unix.c: Likewise.
15519 * sunrpc/authdes_prot.c: Likewise.
15520 * sunrpc/authuxprot.c: Likewise.
15521 * sunrpc/clnt_gen.c: Likewise.
15522 * sunrpc/clnt_perr.c: Likewise.
15523 * sunrpc/clnt_raw.c: Likewise.
15524 * sunrpc/clnt_simp.c: Likewise.
15525 * sunrpc/clnt_tcp.c: Likewise.
15526 * sunrpc/clnt_udp.c: Likewise.
15527 * sunrpc/clnt_unix.c: Likewise.
15528 * sunrpc/des_crypt.c: Likewise.
15529 * sunrpc/des_soft.c: Likewise.
15530 * sunrpc/get_myaddr.c: Likewise.
15531 * sunrpc/key_call.c: Likewise.
15532 * sunrpc/key_prot.c: Likewise.
15533 * sunrpc/netname.c: Likewise.
15534 * sunrpc/pm_getmaps.c: Likewise.
15535 * sunrpc/pm_getport.c: Likewise.
15536 * sunrpc/pmap_clnt.c: Likewise.
15537 * sunrpc/pmap_prot.c: Likewise.
15538 * sunrpc/pmap_prot2.c: Likewise.
15539 * sunrpc/pmap_rmt.c: Likewise.
15540 * sunrpc/publickey.c: Likewise.
15541 * sunrpc/rpc_cmsg.c: Likewise.
15542 * sunrpc/rpc_common.c: Likewise.
15543 * sunrpc/rpc_dtable.c: Likewise.
15544 * sunrpc/rpc_prot.c: Likewise.
15545 * sunrpc/rpc_thread.c: Likewise.
15546 * sunrpc/rtime.c: Likewise.
15547 * sunrpc/svc.c: Likewise.
15548 * sunrpc/svc_auth.c: Likewise.
15549 * sunrpc/svc_raw.c: Likewise.
15550 * sunrpc/svc_run.c: Likewise.
15551 * sunrpc/svc_tcp.c: Likewise.
15552 * sunrpc/svc_udp.c: Likewise.
15553 * sunrpc/svc_unix.c: Likewise.
15554 * sunrpc/svcauth_des.c: Likewise.
15555 * sunrpc/xcrypt.c: Likewise.
15556 * sunrpc/xdr.c: Likewise.
15557 * sunrpc/xdr_array.c: Likewise.
15558 * sunrpc/xdr_float.c: Likewise.
15559 * sunrpc/xdr_intXX_t.c: Likewise.
15560 * sunrpc/xdr_mem.c: Likewise.
15561 * sunrpc/xdr_rec.c: Likewise.
15562 * sunrpc/xdr_ref.c: Likewise.
15563 * sunrpc/xdr_sizeof.c: Likewise.
15564 * sunrpc/xdr_stdio.c: Likewise.
15566 2012-05-10 Roland McGrath <roland@hack.frob.com>
15568 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15569 change. Update copyright years.
15571 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15573 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15575 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15576 Joseph Myers <joseph@codesourcery.com>
15577 Paul Pluzhnikov <ppluzhnikov@google.com>
15580 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15582 [cross-compiling] (extra-libs): Likewise.
15583 [cross-compiling] (extra-libs-others): Likewise.
15584 [cross-compiling] (librpcsvc-routines): Likewise.
15585 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15586 [cross-compiling] (omit-deps): Likewise.
15587 (sunrpc-CPPFLAGS): New variable.
15588 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15589 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15590 (cross-rpcgen-objs): New variable.
15591 (extra-objs): Append $(cross-rpcgen-objs).
15592 ($(cross-rpcgen-objs)): New rule.
15593 ($(objpfx)cross-rpcgen): Likewise.
15594 (rpcgen-cmd): Define to use $(built-program-file). Expand
15596 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15597 ($(objpfx)x%.stmp): Likewise.
15598 * sunrpc/proto.h [IS_IN_build] (_): Define.
15599 [IS_IN_build] (_libc_intl_domainname): Likewise.
15601 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15603 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15604 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15605 and R_X86_64_TPOFF64.
15607 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15609 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15610 sysdeps/unix/sysv/syscalls.list.
15613 * sysdeps/unix/sysv/syscalls.list: Remove file.
15615 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15618 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15619 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15620 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15621 (__LC_IDENTIFICATION): Make these macros useful in #if
15622 expressions, as required by C99.
15624 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15626 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15627 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15630 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15632 * stdlib/longlong.h: Updated from GCC.
15634 2012-05-09 Andreas Jaeger <aj@suse.de>
15636 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15637 default is first entry.
15638 (run_mode): Set type.
15639 (main): Remove informal message about syslog.
15640 (options): Fix typo.
15643 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15646 (llrintf): Likewise.
15647 (llrint): Likewise.
15650 (nearbyint): Likewise.
15651 (nearbyintf): Likewise.
15653 2012-05-09 Andreas Jaeger <aj@suse.de>
15654 Pedro Alves <palves@redhat.com>
15656 * nscd/nscd.c (run_mode): Use enum.
15657 (main): Cleanup coding style issue.
15659 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
15660 Andreas Jaeger <aj@suse.de>
15662 * nscd/nscd.c (go_background): Replaced with...
15663 (run_mode): ... this.
15664 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15665 (options): Add -F --foreground.
15666 (main): Implement it.
15667 (parse_opt): Parse it.
15669 2012-05-09 Andreas Jaeger <aj@suse.de>
15672 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15673 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15674 -Wconversion warning.
15675 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15678 2012-05-09 Joseph Myers <joseph@codesourcery.com>
15680 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15682 (LC_ALL): Use macro-int-constant.
15683 (LC_COLLATE): Likewise.
15684 (LC_CTYPE): Likewise.
15685 (LC_MESSAGES): Likewise.
15686 (LC_MONETARY): Likewise.
15687 (LC_NUMERIC): Likewise.
15688 (LC_TIME): Likewise.
15689 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15690 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15691 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15692 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15694 [C99-based standards] (float_t): Expect type.
15695 [C99-based standards] (double_t): Expect type.
15696 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15698 [C99-based standards] (HUGE_VALL): Likewise.
15699 [C99-based standards] (INFINITY): Likewise.
15700 [C99-based standards] (NAN): Likewise.
15701 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15702 [C99-based standards] (FP_NAN): Likewise.
15703 [C99-based standards] (FP_NORMAL): Likewise.
15704 [C99-based standards] (FP_SUBNORMAL): Likewise.
15705 [C99-based standards] (FP_ZERO): Likewise.
15706 [C99-based standards] (FP_FAST_FMA): Use
15707 optional-macro-int-constant. Specify type. Require == 1.
15708 [C99-based standards] (FP_FAST_FMAF): Likewise.
15709 [C99-based standards] (FP_FAST_FMAL): Likewise.
15710 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15711 [C99-based standards] (FP_ILOGBNAN): Likewise.
15712 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15714 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15715 [C99-based standards] (math_errhandling): Specify type.
15716 [ISO99 || ISO11] (signgam): Do not allow.
15717 [non-C99-based standards] (copysignf): Do not allow.
15718 [non-C99-based standards] (exp2f): Likewise.
15719 [non-C99-based standards] (log2f): Likewise.
15720 [non-C99-based standards] (modff): Allow.
15721 [non-C99-based standards] (erff): Do not allow.
15722 [non-C99-based standards] (erfcf): Likewise.
15723 [non-C99-based standards] (gammaf): Likewise.
15724 [non-C99-based standards] (hypotf): Likewise.
15725 [non-C99-based standards] (j0f): Likewise.
15726 [non-C99-based standards] (j1f): Likewise.
15727 [non-C99-based standards] (jnf): Likewise.
15728 [non-C99-based standards] (lgammaf): Likewise.
15729 [non-C99-based standards] (tgammaf): Likewise.
15730 [non-C99-based standards] (y0f): Likewise.
15731 [non-C99-based standards] (y1f): Likewise.
15732 [non-C99-based standards] (ynf): Likewise.
15733 [non-C99-based standards] (isnanf): Likewise.
15734 [non-C99-based standards] (acoshf): Likewise.
15735 [non-C99-based standards] (asinhf): Likewise.
15736 [non-C99-based standards] (atanhf): Likewise.
15737 [non-C99-based standards] (cbrtf): Likewise.
15738 [non-C99-based standards] (expm1f): Likewise.
15739 [non-C99-based standards] (ilogbf): Likewise.
15740 [non-C99-based standards] (log1pf): Likewise.
15741 [non-C99-based standards] (logbf): Likewise.
15742 [non-C99-based standards] (nextafterf): Likewise.
15743 [non-C99-based standards] (remainderf): Likewise.
15744 [non-C99-based standards] (rintf): Likewise.
15745 [non-C99-based standards] (scalbf): Likewise.
15746 [non-C99-based standards] (copysignl): Likewise.
15747 [non-C99-based standards] (exp2l): Likewise.
15748 [non-C99-based standards] (log2l): Likewise.
15749 [non-C99-based standards] (modfl): Allow.
15750 [non-C99-based standards] (erfl): Do not allow.
15751 [non-C99-based standards] (erfcl): Likewise.
15752 [non-C99-based standards] (gammal): Likewise.
15753 [non-C99-based standards] (hypotl): Likewise.
15754 [non-C99-based standards] (j0l): Likewise.
15755 [non-C99-based standards] (j1l): Likewise.
15756 [non-C99-based standards] (jnl): Likewise.
15757 [non-C99-based standards] (lgammal): Likewise.
15758 [non-C99-based standards] (tgammal): Likewise.
15759 [non-C99-based standards] (y0l): Likewise.
15760 [non-C99-based standards] (y1l): Likewise.
15761 [non-C99-based standards] (ynl): Likewise.
15762 [non-C99-based standards] (isnanl): Likewise.
15763 [non-C99-based standards] (acoshl): Likewise.
15764 [non-C99-based standards] (asinhl): Likewise.
15765 [non-C99-based standards] (atanhl): Likewise.
15766 [non-C99-based standards] (cbrtl): Likewise.
15767 [non-C99-based standards] (expm1l): Likewise.
15768 [non-C99-based standards] (ilogbl): Likewise.
15769 [non-C99-based standards] (log1pl): Likewise.
15770 [non-C99-based standards] (logbl): Likewise.
15771 [non-C99-based standards] (nextafterl): Likewise.
15772 [non-C99-based standards] (remainderl): Likewise.
15773 [non-C99-based standards] (rintl): Likewise.
15774 [non-C99-based standards] (scalbl): Likewise.
15775 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15776 [non-C99-based standards] (FP_*): Do not allow.
15777 [C99-based standards] (FP_*): Change to
15778 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15779 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15781 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15782 (SIG_ERR): Likewise.
15783 [X/Open-based standards] (SIG_HOLD): Likewise.
15784 (SIG_IGN): Likewise.
15785 (SIGABRT): Use macro-int-constant. Specify type. Require
15787 (SIGFPE): Likewise.
15788 (SIGILL): Likewise.
15789 (SIGINT): Likewise.
15790 (SIGSEGV): Likewise.
15791 (SIGTER): Likewise.
15792 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15793 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15794 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15795 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15796 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15797 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15798 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15799 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15800 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15801 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15802 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15803 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15804 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15805 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15806 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15807 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15808 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15809 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15810 [X/Open-based standards] (SIGTRAP): Likewise.
15811 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15812 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15813 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15814 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15815 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15818 2012-05-08 Ian Wienand <ianw@vmware.com>
15821 * time/tzset.c (__tzset_parse_tz): Update default rules for
15822 daylight time changes in the Energy Policy Act of 2005.
15824 2012-05-09 Andreas Jaeger <aj@suse.de>
15827 * elf/ldconfig.c (parse_conf): Change string to make clear that
15828 ldconfig only issued a warning if ld.so.conf does not exist.
15830 2012-05-08 David S. Miller <davem@davemloft.net>
15832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15833 movxtod instead of popping the value on the stack.
15835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15837 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15839 * config.h.in: Add HAVE_ARM_PCS_VFP.
15841 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15844 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15845 checking but the checks are disabled for any reason.
15847 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15849 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15850 and ELF64_R_TYPE with ELFW(R_TYPE).
15852 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15854 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15855 (ulimit): Likewise.
15857 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15858 (settimeofday): Likewise.
15860 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15862 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15863 a struct th_u2 inside the union, and move tu_block/tu_code into
15864 a new th_u3 union of tu_block/tu_code inside of that. Move
15865 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15866 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15867 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15868 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15869 (th_stuff): Change to th_u1.tu_stuff.
15871 (th_msg): Change to th_u1.th_u2.tu_data.
15873 2012-05-07 David S. Miller <davem@davemloft.net>
15875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15878 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15879 (SETUP_PIC_REG): Use it.
15880 (SETUP_PIC_REG_LEAF): Use it.
15882 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15886 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15888 (EXPL_FINITE): Likewise.
15889 (FLDLOG): Likewise.
15890 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15891 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15893 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15895 (EXPL_FINITE): Likewise.
15896 (FLDLOG): Likewise.
15897 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15898 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15900 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15901 test of -max_value argument for long double.
15902 * sysdeps/i386/fpu/libm-test-ulps: Update.
15903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15905 2012-05-06 David S. Miller <davem@davemloft.net>
15907 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15908 quad soft-float symbols whose references which are compiler
15910 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15912 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15916 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15918 (EXPL_FINITE): Likewise.
15919 (FLDLOG): Likewise.
15922 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15923 Adjust comments for base varying.
15924 (__expl_finite): Change alias to EXPL_FINITE.
15925 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15927 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15928 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15929 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15930 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15931 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15933 (EXPL_FINITE): Likewise.
15934 (FLDLOG): Likewise.
15937 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15938 Adjust comments for base varying.
15939 (__expl_finite): Change alias to EXPL_FINITE.
15940 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15945 * math/libm-test.inc (check_float_internal): Correct ulp
15946 calculation for subnormal expected results.
15948 2012-05-06 Andreas Jaeger <aj@suse.de>
15950 * Makeconfig (+math-flags): New, set to -frounding-math.
15951 (+cflags): Add +math-flags so that all of glibc gets compiled with
15954 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15956 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15958 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15964 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15965 (__ieee754_expl): Allow for and saturate large arguments.
15966 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15967 (u_threshold): Likewise.
15968 (__exp): Call __ieee754_exp before checking for overflow and
15970 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15971 (u_threshold): Likewise.
15972 (__expf): Call __ieee754_expf before checking for overflow and
15974 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15975 (u_threshold): Likewise.
15976 (__expl): Call __ieee754_expl before checking for overflow and
15978 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15979 (__ieee754_expl): Allow for and saturate large arguments.
15980 * math/libm-test.inc (exp_test): Add another test. Do not allow
15981 missing overflow exception on overflow.
15982 (expm1_test): Do not allow missing overflow exception on overflow.
15984 * sysdeps/i386/fpu/e_expl.c: Move to ...
15985 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15986 rather than using inline asm.
15987 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15988 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15989 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15991 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15994 (signal): Likewise.
15998 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16000 * sysdeps/unix/syscalls.list (adjtime): Add entry from
16001 sysdeps/unix/common/syscalls.list.
16002 (fchmod): Likewise.
16003 (fchown): Likewise.
16004 (ftruncate): Likewise.
16005 (getrusage): Likewise.
16006 (gettimeofday): Likewise.
16007 (setpgid): Likewise.
16008 (setregid): Likewise.
16009 (setreuid): Likewise.
16010 (sigaction): Likewise.
16011 (truncate): Likewise.
16012 (vhangup): Likewise.
16013 * sysdeps/unix/common/syscalls.list: Remove file.
16014 * sysdeps/unix/bsd/Implies: Don't include unix/common.
16015 * sysdeps/unix/sysv/linux/Implies: Likewise.
16017 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
16019 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16021 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16025 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16028 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16031 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16034 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16037 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16040 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16043 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16047 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16051 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16054 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16058 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16062 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16064 * sysdeps/unix/common/bits/dirent.h: Remove file.
16065 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16067 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16068 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16069 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16070 * sysdeps/unix/bsd/isatty.c: Likewise.
16071 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16072 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16073 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16075 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16078 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16079 long double comparison inaccuracies.
16080 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16083 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16085 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16086 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16088 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16091 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16092 nonzero digits before rounding a hex value.
16093 * stdlib/tst-strtod.c (tests): Add another test.
16095 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16097 * sysdeps/s390/fpu/libm-test-ulps: Update.
16099 2012-05-03 Andreas Jaeger <aj@suse.de>
16101 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16102 does not get optimized out.
16103 (malloc_opt_barrier): New.
16105 2012-05-03 Andreas Jaeger <aj@suse.de>
16106 Roland McGrath <roland@hack.frob.com>
16108 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
16109 intermediate file deletion.
16110 (generated): Add .symlist files.
16112 2012-05-03 Joseph Myers <joseph@codesourcery.com>
16115 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16116 Redirect under this condition.
16117 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16118 [__USE_GNU] (__dprintf_chk): Not under this condition.
16119 [__USE_GNU] (__vdprintf_chk): Likewise.
16120 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16121 under this condition.
16122 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16123 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16124 [__USE_XOPEN2K8] (vdprintf): Likewise.
16125 [__USE_GNU] (__dprintf_chk): Not under this condition.
16126 [__USE_GNU] (__vdprintf_chk): Likewise.
16127 [__USE_GNU] (dprintf): Likewise.
16128 [__USE_GNU] (vdprintf): Likewise.
16130 2012-05-03 Roland McGrath <roland@hack.frob.com>
16132 * elf/Makefile (common-generated): Set this instead of generated for
16133 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16134 $(all-built-dso)-derived lists.
16136 2012-05-03 Andreas Jaeger <aj@suse.de>
16138 * sysdeps/i386/fpu/libm-test-ulps: Update.
16141 * FAQ.in: Likewise.
16142 * scripts/gen-FAQ.pl: Likewise.
16143 * manual/install.texi (Installation): Point to online location of
16145 * Makefile (files-for-dist): Remove FAQ.
16148 2012-05-02 Allan McRae <allan@archlinux.org>
16150 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16151 (LDFLAGS-reldepmod5.so): Likewise.
16152 (LDFLAGS-reldep6mod1.so): Likewise.
16153 (LDFLAGS-reldep6mod4.so): Likewise.
16154 (LDFLAGS-reldep8mod3.so): Likewise.
16155 (LDFLAGS-unload4mod1.so): Likewise.
16156 (LDFLAGS-unload4mod2.so): Likewise.
16157 (LDFLAGS-tst-initorder): Likewise.
16158 (LDFLAGS-tst-initordera2.so): Likewise.
16159 (LDFLAGS-tst-initordera3.so): Likewise.
16160 (LDFLAGS-tst-initordera4.so): Likewise.
16161 (LDFLAGS-tst-initorderb2.so): Likewise.
16162 (LDFLAGS-noload): Likewise.
16163 (LDFLAGS-next): Likewise.
16164 (LDFLAGS-order2mod1.so): Likewise.
16165 (LDFLAGS-order2mod2.so): Likewise.
16166 (LDFLAGS-tst-initorder2): Likewise.
16167 (LDFLAGS-tst-initorder2a.so): Likewise.
16168 (LDFLAGS-tst-initorder2b.so): Likewise.
16169 (LDFLAGS-tst-initorder2c.so): Likewise.
16170 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16172 2012-05-02 David S. Miller <davem@davemloft.net>
16174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16176 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16179 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16181 2012-05-02 Andreas Jaeger <aj@suse.de>
16183 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16184 since we manipulate rounding mode.
16185 (CPPFLAGS-test-idouble.c): Likewise.
16186 (CPPFLAGS-test-ifloat.c): Likewise.
16187 (CFLAGS-test-ldouble.c): Likewise.
16188 (CFLAGS-test-double.c): Likewise.
16189 (CFLAGS-test-float.c): Likewise.
16190 (CFLAGS-test-misc.c): Likewise.
16191 (CFLAGS-test-test-fenv.c): Likewise.
16193 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16197 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16198 comparisons to determine direction to adjust input.
16200 2012-05-01 Roland McGrath <roland@hack.frob.com>
16202 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16203 output to the target.
16205 * scripts/localplt.awk: New file.
16206 * elf/Makefile ($(objpfx)check-localplt): Target removed.
16207 (check-localplt-CFLAGS): Variable removed.
16208 ($(all-built-dso:=.jmprel)): New static pattern rule.
16209 (generated): Add those targets.
16210 (localplt-built-dso): New variable.
16211 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16213 * elf/check-localplt.c: File removed.
16215 * scripts/check-execstack.awk: New file.
16216 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16217 (check-execstack-CFLAGS): Variable removed.
16218 ($(objpfx)check-execstack.h): Target removed.
16219 ($(objpfx)execstack-default): New target.
16220 (generated): Add that instead of check-execstack.h.
16221 ($(all-built-dso:=.phdr)): New static pattern rule.
16222 (generated): Add those targets.
16223 * elf/check-execstack.c: File removed.
16225 * scripts/check-textrel.awk: New file.
16226 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16227 (check-textrel-CFLAGS): Variable removed.
16228 (all-built-dso): Use := to define.o
16229 ($(all-built-dso:=.dyn)): New static pattern rule.
16230 (generated): Add those targets.
16231 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16232 * config.make.in (READELF): New substituted variable.
16233 * elf/check-textrel.c: File removed.
16235 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16237 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16239 * conform/data/ctype.h-data [C99-based standards] (isblank):
16241 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16242 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16243 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16244 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16245 Specify type. Require positive value.
16246 (EILSEQ): Likewise.
16247 (ERANGE): Likewise.
16248 [ISO || POSIX] (EILSEQ): Do not expect.
16249 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16250 Specify type. Require positive value.
16251 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16252 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16253 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16254 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16255 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16256 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16257 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16258 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16259 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16260 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16261 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16262 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16263 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16264 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16265 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16266 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16267 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16268 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16269 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16270 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16271 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16272 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16273 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16274 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16275 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16276 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16277 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16278 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16279 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16280 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16281 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16282 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16283 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16284 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16285 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16286 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16287 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16288 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16289 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16290 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16291 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16292 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16293 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16294 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16295 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16296 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16297 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16298 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16299 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16300 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16301 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16302 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16303 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16304 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16305 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16306 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16307 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16308 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16309 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16310 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16311 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16312 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16313 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16314 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16315 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16316 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16317 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16318 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16319 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16320 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16321 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16322 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16323 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16324 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16325 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16326 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16327 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16329 (FLT_ROUNDS): Expect as macro, not constant.
16330 (FLT_MANT_DIG): Use macro-int-constant.
16331 (DBL_MANT_DIG): Likewise.
16332 (LDBL_MANT_DIG): Likewise.
16333 (FLT_DIG): Likewise.
16334 (DBL_DIG): Likewise.
16335 (LDBL_DIG): Likewise.
16336 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16337 (DBL_MIN_EXP): Likewise.
16338 (LDBL_MIN_EXP): Likewise.
16339 (FLT_MAX_EXP): Use macro-int-constant.
16340 (DBL_MAX_EXP): Likewise.
16341 (LDBL_MAX_EXP): Likewise.
16342 (FLT_MAX_10_EXP): Likewise.
16343 (DBL_MAX_10_EXP): Likewise.
16344 (LDBL_MAX_10_EXP): Likewise.
16345 (FLT_MAX): Use macro-constant.
16346 (DBL_MAX): Likewise.
16347 (LDBL_MAX): Likewise.
16348 (FLT_EPSILON): Use macro-constant. Give upper bound.
16349 (DBL_EPSILON): Likewise.
16350 (LDBL_EPSILON): Likewise.
16351 (FLT_MIN): Likewise.
16352 (DBL_MIN): Likewise.
16353 (LDBL_MIN): Likewise.
16354 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16355 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16356 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16357 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16358 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16359 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16360 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16361 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16362 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16363 [ISO11] (FLT_TRUE_MIN): Likewise.
16364 [ISO11] (LDBL_TRUE_MIN): Likewise.
16365 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16366 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16367 (SCHAR_MIN): Use macro-int-constant. Specify type.
16368 (SCHAR_MAX): Likewise.
16369 (UCHAR_MAX): Likewise.
16370 (CHAR_MIN): Likewise.
16371 (CHAR_MAX): Likewise.
16372 (MB_LEN_MAX): Use macro-int-constant.
16373 (SHRT_MIN): Use macro-int-constant. Specify type.
16374 (SHRT_MAX): Likewise.
16375 (USHRT_MAX): Likewise.
16376 (INT_MAX): Likewise.
16377 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16379 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16381 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16383 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16384 bound negative. Suffix upper bound with "L".
16385 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16387 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16389 [C99-based standards] (LLONG_MAX): Likewise.
16390 [C99-based standards] (ULLONG_MAX): Likewise.
16391 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16393 [ISO11] (max_align_t): Require type.
16394 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16396 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16397 from $CFLAGS, without defining away __attribute__ calls.
16398 (checknamespace): Use $CFLAGS_namespace.
16400 * conform/conformtest.pl (@keywords): Only include C99 keywords
16401 for standards based on C99 or C11.
16403 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16405 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16408 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16409 usability of symbols in #if.
16411 * conform/conformtest.pl: If macro or constant types start
16412 "promoted:", expect the symbol to be of the following type
16413 promoted by the integer promotions.
16415 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16416 in one place. Also handle "macro-constant".
16418 * conform/conformtest.pl: Only accept expected macro values with
16419 "==". Parse all "macro" lines in one place.
16420 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16422 * conform/conformtest.pl: Handle braced types on "constant" lines
16423 instead of handling "typed-constant".
16424 * conform/data/signal.h-data: Use "constant" instead of
16427 * conform/conformtest.pl: Handle "optional-" at start of lines in
16428 one place rather than duplicating several cases. Handle each
16429 format of "macro" line with initial "optional-".
16431 * conform/conformtest.pl: Only accept expected constant or
16432 optional-constant values with "==". Parse all "constant" lines in
16433 one place. Parse all "optional-constant" lines in one place.
16434 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16435 * conform/data/fmtmsg.h-data: Likewise.
16436 * conform/data/netinet/in.h-data: Likewise.
16437 * conform/data/tar.h-data: Likewise.
16438 * conform/data/limits.h-data: Use "==" form on "constant" and
16439 "optional-constant" lines.
16441 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16442 Use -std=c99 for XOPEN2K.
16443 (@knownproblems): Remove.
16444 (newtoken): Don't check %isknown.
16446 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16447 Do not expect macro.
16448 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16449 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16450 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16451 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16452 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16453 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16454 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16455 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16456 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16457 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16458 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16459 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16460 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16461 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16462 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16463 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16464 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16465 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16466 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16467 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16468 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16469 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16470 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16471 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16472 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16473 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16474 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16475 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16476 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16477 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16478 [XPG3] (acosh): Likewise.
16479 [XPG3] (asinh): Likewise.
16480 [XPG3] (atanh): Likewise.
16481 [XPG3] (cbrt): Likewise.
16482 [XPG3] (expm1): Likewise.
16483 [XPG3] (ilogb): Likewise.
16484 [XPG3] (log1p): Likewise.
16485 [XPG3] (logb): Likewise.
16486 [XPG3] (nextafter): Likewise.
16487 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16488 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16489 [XPG3] (remainder): Likewise.
16490 [XPG3] (rint): Likewise.
16491 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16492 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16493 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16494 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16495 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16496 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16497 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16498 [UNIX98 || XOPEN2K] (scalb): Expect.
16499 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16500 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16501 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16502 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16503 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16504 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16505 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16506 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16507 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16508 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16509 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16510 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16511 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16512 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16513 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16514 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16515 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16516 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16517 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16518 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16519 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16520 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16521 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16522 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16523 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16524 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16525 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16526 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16527 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16528 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16529 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16530 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16531 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16532 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16533 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16534 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16535 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16536 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16537 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16538 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16539 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16540 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16541 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16542 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16543 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16544 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16545 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16546 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16547 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16548 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16549 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16550 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16551 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16552 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16553 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16554 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16555 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16556 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16557 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16558 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16559 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16560 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16561 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16562 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16563 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16564 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16565 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16566 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16567 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16568 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16569 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16570 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16571 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16572 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16573 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16574 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16575 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16576 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16577 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16578 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16579 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16580 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16581 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16582 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16583 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16584 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16585 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16586 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16587 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16588 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16589 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16590 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16591 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16592 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16593 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16594 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16595 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16596 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16597 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16598 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16599 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16600 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16601 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16602 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16603 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16604 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16605 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16606 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16607 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16608 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16609 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16610 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16611 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16612 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16613 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16614 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16615 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16616 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16617 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16618 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16619 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16620 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16621 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16622 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16623 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16624 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16625 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16626 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16627 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16628 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16629 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16630 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16631 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16632 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16633 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16634 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16635 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16637 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16638 _XOPEN_SOURCE_EXTENDED for XPG4.
16640 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16642 * Makeconfig (localtime): Remove variable.
16643 (inst_localtime-file): Likewise.
16645 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16666 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16670 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16671 comparisons to determine direction to adjust input.
16672 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16673 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16674 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16676 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16678 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16680 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16681 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16683 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16685 * math/libm-test.inc (nexttoward_test): Add more tests.
16687 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16690 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16691 in version GLIBC_2.1, not GLIBC_2.0.
16692 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16695 2012-04-30 Joseph Myers <joseph@codesourcery.com>
16698 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16700 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16701 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16702 * math/libm-test.inc (acos_test): Add more tests.
16703 (asin_test): Likewise.
16704 * sysdeps/i386/fpu/libm-test-ulps: Update.
16705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16708 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16710 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16711 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16712 * math/libm-test.inc (acos_test_tonearest): New function.
16713 (acos_test_towardzero): Likewise.
16714 (acos_test_downward): Likewise.
16715 (acos_test_upward): Likewise.
16716 (asin_test_tonearest): Likewise.
16717 (asin_test_towardzero): Likewise.
16718 (asin_test_downward): Likewise.
16719 (asin_test_upward): Likewise.
16720 (main): Call the new functions.
16721 * sysdeps/i386/fpu/libm-test-ulps: Update.
16722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16726 * math/e_exp10.c: Include <float.h>.
16727 (__ieee754_exp10): Handle underflow here rather than multiplying
16728 large negative argument by M_LN10.
16729 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16731 * math/e_exp10l.c: Include <float.h>.
16732 (__ieee754_exp10l): Handle underflow here rather than multiplying
16733 large negative argument by M_LN10l.
16734 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16735 spurious overflow exception on underflow.
16737 2012-04-29 Marek Polacek <polacek@redhat.com>
16739 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16740 (__fortify_function): New macro.
16741 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16742 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16743 __extern_always_inline.
16744 * libio/bits/stdio2.h: Likewise.
16745 * libio/bits/stdio.h: Likewise.
16746 * string/string.h: Likewise.
16747 * string/bits/string3.h: Likewise.
16748 * include/stdio.h: Likewise.
16749 * stdlib/bits/stdlib.h: Likewise.
16750 * stdlib/stdlib.h: Likewise.
16751 * rt/bits/mqueue2.h: Likewise.
16752 * rt/mqueue.h: Likewise.
16753 * posix/bits/unistd.h: Likewise.
16754 * posix/unistd.h: Likewise.
16755 * io/bits/poll2.h: Likewise.
16756 * io/bits/fcntl2.h: Likewise.
16757 * io/fcntl.h: Likewise.
16758 * io/sys/poll.h: Likewise.
16759 * misc/bits/syslog.h: Likewise.
16760 * misc/bits/syslog-ldbl.h: Likewise.
16761 * misc/sys/syslog.h: Likewise.
16762 * socket/bits/socket2.h: Likewise.
16763 * socket/sys/socket.h: Likewise.
16764 * debug/tst-chk1.c: Likewise.
16765 * wcsmbs/bits/wchar2.h: Likewise.
16766 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16767 * wcsmbs/wchar.h: Likewise.
16769 2012-04-29 Andreas Jaeger <aj@suse.de>
16771 * Makerules (tests): Remove enable-check-abi protection.
16772 (check-abi-warn): Remove.
16773 (check-abi-%): Remove check-abi-warn usage.
16775 * configure.in: Remove check-abi configure option.
16776 * configure: Regenerated.
16777 * config.make.in (enable-check-abi): Remove.
16779 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16782 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16783 double functions to double *_finite functions.
16786 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16787 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16789 * stdio-common/Makefile (tests): Add tst-sprintf3.
16790 * stdio-common/tst-sprintf3.c: New file.
16792 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16793 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16795 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16797 * conform/conformtest.pl: Remove duplicate typed-constant
16800 2012-04-28 David S. Miller <davem@davemloft.net>
16802 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16803 (check-abi-%): Remove AWK script prerequisite and explicit
16805 (check-abi): Rewrite to just diff the symlist with the abilist.
16806 (config-tls, config-abi-config): Delete, no longer used.
16807 (update-abi-%): Remove AWK script and explicit abilist directory.
16808 (update-abi): Rewrite to simply compare and conditionally copy the
16809 symlist and the sysdep abilist file. Remove update-abi-config
16811 * abilist/ld.abilist: Remove.
16812 * abilist/libBrokenLocale.abilist: Remove.
16813 * abilist/libanl.abilist: Remove.
16814 * abilist/libcrypt.abilist: Remove.
16815 * abilist/libdl.abilist: Remove.
16816 * abilist/librt.abilist: Remove.
16817 * abilist/libthread_db.abilist: Remove.
16818 * abilist/libutil.abilist: Remove.
16819 * scripts/extract-abilist.awk: Remove.
16820 * scripts/merge-abilist.awk: Remove.
16821 * sysdeps/generic/libcidn.abilist: New file.
16822 * sysdeps/generic/libnss_compat.abilist: New file.
16823 * sysdeps/generic/libnss_db.abilist: New file.
16824 * sysdeps/generic/libnss_dns.abilist: New file.
16825 * sysdeps/generic/libnss_files.abilist: New file.
16826 * sysdeps/generic/libnss_hesiod.abilist: New file.
16827 * sysdeps/generic/libnss_nis.abilist: New file.
16828 * sysdeps/generic/libnss_nisplus.abilist: New file.
16829 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16830 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16831 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16833 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16834 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16835 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16836 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16837 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16838 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16839 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16840 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16841 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16843 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16844 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16845 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16846 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16848 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16849 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16850 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16851 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16852 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16853 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16855 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16856 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16857 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16859 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16882 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16962 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16963 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16964 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16966 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16967 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16968 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16969 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16970 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16971 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16972 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16973 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16974 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16975 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
17001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
17002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
17004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
17008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
17010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17027 2012-04-28 Joseph Myers <joseph@codesourcery.com>
17029 * conform/conformtest.pl: Fix typo in handling typed-constant from
17032 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17034 * README: Cut down references to pre-2.6 Linux kernels and
17035 Linuxthreads. Update lists of configurations in libc and ports
17036 and sort alphabetically. Say "or newer" with Linux kernel version
17039 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17041 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17044 * math/libm-test.inc (logb_test_downward): New test to expose
17045 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17048 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17051 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17053 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17054 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17056 2012-04-26 Joseph Myers <joseph@codesourcery.com>
17058 * sysdeps/unix/i386/brk.S: Remove file.
17059 * sysdeps/unix/i386/dl-brk.S: Likewise.
17060 * sysdeps/unix/i386/pipe.S: Likewise.
17061 * sysdeps/unix/i386/sigreturn.S: Likewise.
17062 * sysdeps/unix/i386/syscall.S: Likewise.
17063 * sysdeps/unix/i386/vfork.S: Likewise.
17064 * sysdeps/unix/i386/wait.S: Likewise.
17066 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17067 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17069 * configure.in (arm*-none*): Do not allow without
17070 --enable-hacker-mode.
17071 (netbsd*): Remove case setting base_os.
17072 (386bsd*): Likewise.
17073 (freebsd*): Likewise.
17076 (sunos*): Likewise.
17077 (ultrix*): Likewise.
17078 (newsos*): Likewise.
17079 (dynix*): Likewise.
17085 (minix*): Likewise.
17086 (irix4*): Likewise.
17087 (irix6*): Likewise.
17088 (solaris[2-9]*): Likewise.
17090 * configure: Regenerated.
17092 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17095 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17096 overflow or cancellation in calculating denominator.
17097 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17098 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17099 down expression to avoid unexpected rounding in newer GCCs.
17100 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17102 2012-04-26 David S. Miller <davem@davemloft.net>
17104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17105 long-double compat symbols.
17106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17120 2012-04-25 David S. Miller <davem@davemloft.net>
17122 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17123 HWCAP_* values only after the memory barriers have been defined.
17124 (atomic_full_barrier): Define.
17125 (atomic_read_barrier): Define.
17126 (atomic_write_barrier): Define.
17128 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17130 * shlib-versions: Add libgcc_s version information.
17131 * sysdeps/generic/libgcc_s.h: Remove.
17132 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17134 * sysdeps/gnu/unwind-resume.c: Likewise.
17135 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17137 2012-04-25 David S. Miller <davem@davemloft.net>
17139 * sysdeps/unix/sparc/brk.S: Delete.
17140 * sysdeps/unix/sparc/dl-brk.S: Delete.
17141 * sysdeps/unix/sparc/pipe.S: Delete.
17142 * sysdeps/unix/sparc/sysdep.S: Delete.
17143 * sysdeps/unix/sparc/sysdep.h: Delete.
17144 * sysdeps/unix/sparc/vfork.S: Delete.
17145 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17146 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17147 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17148 ret_ERRVAL, r0, r1, MOVE): Define.
17149 (JUMPTARGET): Remove.
17150 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17151 sysdeps/unix/sparc/sysdep.h
17152 (ENTRY, END): Remove.
17153 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17155 2012-04-25 Joseph Myers <joseph@codesourcery.com>
17157 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17158 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17161 * timezone/README: Update upstream location and email address for
17163 * timezone/zdump.c: Update from tzcode 2012b.
17164 * timezone/zic.c: Likewise.
17166 * configure.in (libc_cv_as_needed): Remove test.
17167 * configure: Regenerated.
17168 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17169 conditional definition.
17170 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17171 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17172 * config.make.in (have-as-needed): Remove variable.
17174 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17175 Paul Pluzhnikov <ppluzhnikov@google.com>
17177 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17180 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17182 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17183 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17184 * sysdeps/sh/strlen.S: Likewise.
17186 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17188 * sysdeps/unix/fork.S: Remove file.
17189 * sysdeps/unix/i386/fork.S: Likewise.
17190 * sysdeps/unix/sparc/fork.S: Likewise.
17192 * sysdeps/unix/system.c: Remove file.
17193 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17195 * sysdeps/unix/getegid.S: Remove file.
17196 * sysdeps/unix/geteuid.S: Likewise.
17198 2012-04-24 Roland McGrath <roland@hack.frob.com>
17200 * scripts/check-localplt.awk: New file.
17201 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17203 * scripts/data/localplt-generic.data: Add a comment.
17205 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17206 NODE when __dir_mkfile failed.
17207 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17208 Reported by Ludovic Courtès <ludo@gnu.org>.
17210 2012-04-24 Andreas Jaeger <aj@suse.de>
17212 * Makerules (common-clean): Also remove gen-as-const-headers
17215 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17217 * Makerules (native-compile): Do not change working directory for
17218 build. Use $(OUTPUT_OPTION) in command.
17219 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17221 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17224 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17225 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17226 * math/libm-test.inc (floor_test): Add more tests.
17227 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17229 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17231 * sysdeps/unix/getdents.c: Remove file.
17232 * sysdeps/unix/sysv/getdents.c: Likewise.
17233 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17235 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17236 sysdeps/unix/mman/syscalls.list.
17238 (mprotect): Likewise.
17240 (munmap): Likewise.
17241 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17242 * sysdeps/unix/mman/syscalls.list: Remove.
17243 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17245 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17246 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17247 * configure: Regenerated.
17248 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17249 $(libgcc_s_suffix).
17250 * config.make.in (libgcc_s_suffix): Remove variable.
17252 2012-04-23 Joseph Myers <joseph@codesourcery.com>
17254 * sysdeps/unix/sysv/gethostname.c: Move to ...
17255 * sysdeps/posix/gethostname.c: ... here.
17257 * sysdeps/unix/execve.S: Remove file.
17259 * sysdeps/unix/_exit.S: Remove file.
17261 2012-04-23 Andreas Jaeger <aj@suse.de>
17264 * manual/Makefile: Remove make dist support, there's no
17265 need for a stand-alone documentation tar ball.
17266 (TEXI2DVI): Define always, it's not in Makeconfig.
17269 (edition): Removed.
17270 (glibc-doc-$(edition).tar): Removed
17274 (ETAGS): Remove, it's in Makeconfig.
17275 (move-if-change): Remove, it's in Makeconfig.
17277 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
17280 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17281 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17282 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17283 (strtod_l, strtof_l, strtold_l): Remove __wur.
17284 It is not necessarily an error to ignore strtol's return value.
17285 One can reliably look at the stored endptr to decide whether
17286 the number had valid syntax.
17288 2012-04-21 Andreas Jaeger <aj@suse.de>
17291 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17293 2012-04-21 Joseph Myers <joseph@codesourcery.com>
17295 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17296 * sysdeps/unix/sysv/Versions: Remove file.
17298 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17301 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17303 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
17306 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17307 version from __vm86.
17309 2012-04-20 Joseph Myers <joseph@codesourcery.com>
17311 * sysdeps/unix/common/lxstat.c: Remove file.
17312 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17314 * sysdeps/unix/sysv/Makefile: Remove file.
17316 * sysdeps/unix/sysv/direct.h: Remove file.
17318 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17319 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17320 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17321 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17322 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17323 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17324 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17326 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17328 * sysdeps/unix/xmknod.c: Remove file.
17329 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17331 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17333 * sysdeps/unix/sysv/i386/time.S: Remove file.
17335 * sysdeps/unix/fxstat.c: Remove file.
17336 * sysdeps/unix/xstat.c: Likewise.
17337 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17339 * sysdeps/unix/sysv/sigaction.c: Remove file.
17341 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17342 (sysdep_headers): Remove variable.
17343 [termio.h not in sysdep_headers] (generated): Likewise.
17344 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17345 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17346 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17347 * sysdeps/unix/sysv/tcflow.c: Likewise.
17348 * sysdeps/unix/sysv/tcflush.c: Likewise.
17349 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17350 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17351 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17352 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17353 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17355 * sysdeps/unix/siglist.c: Remove file.
17357 * sysdeps/unix/getppid.S: Remove file.
17359 * sysdeps/unix/mkdir.c: Remove file.
17360 * sysdeps/unix/rmdir.c: Likewise.
17362 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17364 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17366 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17367 errlist-compat value.
17369 2012-04-18 David S. Miller <davem@davemloft.net>
17371 * sysdeps/generic/memcopy.h (reg_char): Delete.
17372 * debug/strcat_chk.c: Use char, not reg_char.
17373 * debug/strcpy_chk.c: Likewise.
17374 * debug/strncat_chk.c: Likewise.
17375 * debug/strncpy_chk.c: Likewise.
17376 * string/memchr.c: Likewise.
17377 * string/memrchr.c: Likewise.
17378 * string/rawmemchr.c: Likewise.
17379 * string/strcat.c: Likewise.
17380 * string/strchr.c: Likewise.
17381 * string/strchrnul.c: Likewise.
17382 * string/strcmp.c: Likewise.
17383 * string/strcpy.c: Likewise.
17384 * string/strncat.c: Likewise.
17385 * string/strncmp.c: Likewise.
17386 * string/strncpy.c: Likewise.
17388 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17390 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17391 __builtin_memcopy is called when src and dest ranges are known to not
17394 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17396 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17397 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17398 fwd_align_merge macro call.
17399 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17400 bwd_align_merge macro call.
17401 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17403 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17405 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17406 bwd_align_merge macros.
17407 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17408 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17409 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17411 2012-04-18 David S. Miller <davem@davemloft.net>
17413 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17415 2012-04-18 Andreas Jaeger <aj@suse.de>
17418 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17419 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17420 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17422 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17423 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17424 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17426 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17427 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17428 Adjust for changed ldbl-128 files.
17430 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17431 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17432 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17434 2012-04-17 David S. Miller <davem@davemloft.net>
17436 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17438 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17440 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17441 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17442 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17443 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17444 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17445 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17447 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17450 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17451 * math/libm-test.inc: Add ilogb errno and exception tests.
17452 * math/w_ilogb.c: New file: ilogb wrapper.
17453 * math/w_ilogbf.c: New file: ilogbf wrapper.
17454 * math/w_ilogbl.c: New file: ilogbl wrapper.
17455 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17456 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17457 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17458 exception being thrown with 0.0 as argument.
17459 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17460 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17461 exception being thrown with 0.0 as argument.
17462 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17463 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17464 exception being thrown with 0.0 as argument.
17465 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17466 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17467 exception being thrown with 0.0 as argument.
17468 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17469 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
17470 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
17471 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17472 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17473 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17474 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17475 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17476 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17478 2012-04-17 Petr Baudis <pasky@ucw.cz>
17480 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17483 2012-04-16 Marek Polacek <polacek@redhat.com>
17485 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17487 2012-04-16 Marek Polacek <polacek@redhat.com>
17489 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17490 operands of fdivp instruction.
17492 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17494 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17495 * elf/tst-auditmod3b.c: Likewise.
17496 * elf/tst-auditmod4b.c: Likewise.
17497 * elf/tst-auditmod5b.c: Likewise.
17498 * elf/tst-auditmod6b.c: Likewise.
17499 * elf/tst-auditmod6c.c: Likewise.
17500 * elf/tst-auditmod7b.c: Likewise.
17501 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17502 * sysdeps/x86_64/preconfigure.in: Likewise.
17503 * sysdeps/x86_64/preconfigure: Regenerated.
17505 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17507 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17510 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
17512 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17513 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17515 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17518 * locale/iso-639.def: Fix gl language name. Spotted by
17521 2012-04-12 Roland McGrath <roland@hack.frob.com>
17524 * libio/libio.h (__io_write_fn): Update comment.
17526 2012-04-12 Petr Baudis <pasky@ucw.cz>
17529 * stdio.texi (Hook Functions): The user provided writer function
17530 is not allowed to return -1.
17532 2012-04-11 David S. Miller <davem@davemloft.net>
17534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17536 2012-04-11 Mike Frysinger <vapier@gentoo.org>
17538 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17539 Add a leading slash to rtkaio.
17541 2012-04-11 Jim Meyering <meyering@redhat.com>
17544 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17545 It is not necessarily an error to ignore fwrite's return
17546 value. One can reliably use ferror to test for errors after
17549 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17551 * bits/types.h (__snseconds_t): New type.
17552 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17554 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17555 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17556 (__SNSECONDS_T_TYPE): Likewise.
17557 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17558 (__SNSECONDS_T_TYPE): Likewise.
17559 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17560 (__SNSECONDS_T_TYPE): Likewise.
17562 2012-04-10 Andreas Jaeger <aj@suse.de>
17565 * manual/time.texi (Processor Time): Return type of times is
17566 elapsed real time since an arbitrary point in the past.
17567 (CPU Time): Move CLK_TCK from here...
17568 (Processor Time): ...to here. Correct description.
17569 * manual/conf.texi (Constants for Sysconf): Correct description of
17572 2012-04-10 David S. Miller <davem@davemloft.net>
17575 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17576 where the is a gap between DT_REL(A) and DT_JMPREL.
17578 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17580 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17581 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17582 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17584 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17586 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17587 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17588 (dl_main): Handle --inhibit-cache.
17589 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17591 * elf/dl-load.c (_dl_map_object): Use it.
17592 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17594 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17597 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17598 (__ieee754_powl): Saturate large exponents rather than testing for
17599 overflow of y*log2(x).
17600 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17601 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17605 * math/s_ctan.c: Include <float.h>.
17606 (__ctan): Avoid internal overflow or cancellation in calculating
17608 * math/s_ctanf.c: Likewise.
17609 * math/s_ctanl.c: Likewise.
17610 * math/s_ctanh.c: Likewise.
17611 * math/s_ctanhf.c: Likewise.
17612 * math/s_ctanhl.c: Likewise.
17613 * math/libm-test.inc (ctan_test): Add more tests.
17614 (ctanh_test): Likewise.
17615 * sysdeps/i386/fpu/libm-test-ulps: Update.
17616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17618 2012-04-09 Andreas Jaeger <aj@suse.de>
17621 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17622 is an optional BSD extension.
17625 * manual/stdio.texi (Opening Streams): Document additional fopen
17628 2012-04-09 Roland McGrath <roland@hack.frob.com>
17630 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17631 %eax without telling the compiler.
17633 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17636 * manual/install.texi: Use sourceware.org.
17638 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17641 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17642 (__ieee754_pow): Generate overflow and underflow using huge*huge
17643 and tiny*tiny rather than just returning constant infinity or zero
17644 for large exponents.
17645 * math/libm-test.inc (pow_test): Require overflow exceptions for
17646 applicable cases of large exponents.
17649 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17650 (__ieee754_pow): Use iterative multiplication algorithm only for
17651 integer exponents with absolute value below 1024. Check for odd
17652 integer exponents when using algorithm for real exponents.
17653 * math/libm-test.inc (pow_test): Add more tests.
17654 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17656 2012-04-08 Joseph Myers <joseph@codesourcery.com>
17659 * math/libm-test.inc (exp_test): Do not allow overflow exception
17662 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17665 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17666 instead of __kernel_standard_f.
17668 2012-04-08 Mike Frysinger <vapier@gentoo.org>
17670 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17671 * sysdeps/x86_64/memset_chk.S: Likewise.
17673 2012-04-08 Andreas Jaeger <aj@suse.de>
17676 * manual/startup.texi (Environment Access): Describe return value
17677 for putenv and setenv.
17680 * manual/filesys.texi (Directory Entries): Add description for
17684 * manual/filesys.texi (Directory Entries): Clarify that it's file
17685 system not operating system in the description of DT_UNKNOWN.
17688 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17690 2012-04-08 Stephen Compall <s11@member.fsf.org>
17693 * manual/llio.texi (Opening and Closing Files): Add cross
17694 reference to explain mode argument.
17696 2012-04-07 Mike Frysinger <vapier@gentoo.org>
17698 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17699 * sysdeps/x86_64/memset_chk.S: Likewise.
17701 2012-04-07 David S. Miller <davem@davemloft.net>
17703 * elf/elf.h (R_SPARC_WDISP10): Define.
17704 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17706 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17707 R_SPARC_SIZE64 and R_SPARC_H34.
17709 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17711 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17712 conditions and remove no longer applicable assertion.
17714 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17716 * bits/byteswap.h: Include <features.h>.
17717 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17718 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17720 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17722 * bits/byteswap.h (__bswap_16): Removed.
17723 Include <bits/byteswap-16.h> to get __bswap_16.
17724 * sysdeps/i386/bits/byteswap.h: Likewise.
17725 * sysdeps/s390/bits/byteswap.h: Likewise.
17726 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17727 * bits/byteswap-16.h: New file.
17728 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17729 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17730 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17731 * string/Makefile (headers): Add bits/byteswap-16.h.
17733 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17736 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17738 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17739 * nss/tst-nss-static.c: New.
17741 2012-04-06 Robert Millan <rmh@gnu.org>
17744 * manual/llio.texi (File Position Primitive): lseek
17745 refers to WHENCE when it really means OFFSET.
17747 2012-04-06 Andreas Jaeger <aj@suse.de>
17749 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17750 strncmp declarations.
17752 * abilist/libc.abilist: Add __poll and __ppoll.
17754 2012-04-05 David S. Miller <davem@davemloft.net>
17756 * scripts/check-local-headers.sh: Accept a host triplet in the
17757 path matched by the exclude regexp.
17759 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17761 * sysdeps/powerpc/powerpc32/dl-machine.h
17762 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17763 * sysdeps/s390/s390-32/dl-machine.h
17764 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17765 * sysdeps/sparc/sparc32/dl-machine.h
17766 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17767 * sysdeps/sparc/sparc64/dl-machine.h
17768 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17770 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17772 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17773 undefined symbol errors.
17775 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17778 2012-04-05 Michael Matz <matz@suse.de>
17781 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17783 2012-04-05 Andreas Jaeger <aj@suse.de>
17786 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17789 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17791 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17792 which ROUND is no valid rounding mode.
17794 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17796 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17798 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17800 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17802 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17803 an exception using FPU order intentionally.
17805 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17807 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17808 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17809 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17810 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17812 2012-04-05 Simon Josefsson <simon@josefsson.org>
17815 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17816 EINVAL when BUFLEN is too smal.
17818 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17821 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17822 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17824 2012-04-03 Andreas Jaeger <aj@suse.de>
17827 * manual/setjmp.texi (System V contexts): Fix sentence.
17830 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17831 New macro for this case.
17832 [!__GNUC__] (__bswap_64): New inline function for this case.
17833 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17834 * bits/byteswap.h: Likewise.
17835 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17836 ull, guard with __GLIBC_HAVE_LONG_LONG.
17838 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17839 __GLIBC_HAVE_LONG_LONG.
17841 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17842 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17844 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17847 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17848 inptr and inend, rather than using last_ch.
17850 2012-04-02 David S. Miller <davem@davemloft.net>
17852 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17853 * stdio-common/printf-parse.h (read_int): Change return type to
17854 'int', return -1 on INT_MAX overflow.
17855 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17856 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17857 overflows INT_MAX. Check for overflow of in-format-string precision
17858 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17859 SIZE_MAX not INT_MAX for integer overflow test.
17860 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17861 skip the construct in the format string but do not record anything.
17862 * stdio-common/bug22.c: Adjust to test both width/prevision
17863 INT_MAX overflow as well as total length INT_MAX overflow. Check
17864 explicitly for proper errno values.
17866 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17868 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17870 * string/test-strcmp.c [! WIDE]: Likewise.
17871 * time/tst-mktime2.c: Likewise for INT_MAX.
17872 * string/test-string.h: #include <sys/param.h> for MIN.
17874 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17875 * sysdeps/i386/init-first.c (init): Likewise.
17876 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17877 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17878 * sysdeps/sh/init-first.c (init): Likewise.
17880 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17882 * po/ru.po: Update from translation team.
17883 * po/vi.po: Likewise.
17885 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17887 * resolv/nss_dns/dns-host.c: Merge copyright years.
17889 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17891 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17892 Optimize memcpy with prefetch if
17893 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17894 src, dst pointers have unequal 16 byte alignments.
17896 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17899 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17900 from a CNAME entry and return the minimum ttl for the query.
17901 (gaih_getanswer_slice): Likewise.
17903 2012-03-30 Jeff Law <law@redhat.com>
17905 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17907 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17908 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17910 * resolv/nss_dns/dns-host.c: Update copyright year.
17912 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17914 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17915 requests to save a system call. Fix check that all bytes are sent.
17917 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17918 comments for sendmmsg.
17920 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17923 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17924 with only 1 character between 0x0041 and 0x01b0.
17925 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17926 * wcsmbs/tst-mbsnrtowcs.c: New file.
17928 2012-03-29 David S. Miller <davem@davemloft.net>
17930 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17931 small copies by hand.
17933 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17936 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17937 _nss_compat_initgroups_dyn): Fall back to malloc/free
17938 for large group memberships.
17940 2012-03-28 David S. Miller <davem@davemloft.net>
17942 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17943 that branches into memcpy.
17944 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17945 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17946 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17947 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17948 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17950 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17951 implementation too.
17952 * sysdeps/sparc/mempcpy.S: New file.
17954 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17955 the IFUNC routine in the libc case.
17956 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17958 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17959 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17960 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17961 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17962 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17963 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17964 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17965 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17967 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17968 loop to 256 bytes instead of 64 bytes and fix test signedness.
17970 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17971 * sysdeps/sparc/sparc32/Makefile: rather than here...
17972 * sysdeps/sparc/sparc64/Makefile: and here.
17974 2012-03-28 Ulrich Drepper <drepper@gmail.com>
17976 * malloc/mallocbug.c: Avoid warnings about unused variables.
17978 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17981 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17982 in the right place. Discard and retry query if response is
17983 larger than input buffer size.
17985 2012-03-28 Joseph Myers <joseph@codesourcery.com>
17990 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17991 x for large integer exponent.
17992 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17993 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17994 sign of result as needed afterwards.
17995 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17996 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17997 result for underflowing pow the same as for overflow.
17998 (__kernel_standard_l): Handle powl overflow and underflow here
17999 rather than calling __kernel_standard.
18000 * math/libm-test.inc (pow_test): Add more tests.
18015 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18016 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18017 (__kernel_standard_l): New function.
18018 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18020 * math/w_acosl.c (__acosl): Likewise.
18021 * math/w_asinl.c (__asinl): Likewise.
18022 * math/w_atan2l.c (__atan2l): Likewise.
18023 * math/w_atanhl.c (__atanhl): Likewise.
18024 * math/w_coshl.c (__coshl): Likewise.
18025 * math/w_exp10l.c (__exp10l): Likewise.
18026 * math/w_exp2l.c (__exp2l): Likewise.
18027 * math/w_fmodl.c (__fmodl): Likewise.
18028 * math/w_hypotl.c (__hypotl): Likewise.
18029 * math/w_j0l.c (__j0l, __y0l): Likewise.
18030 * math/w_j1l.c (__j1l, __y1l): Likewise.
18031 * math/w_jnl.c (__jnl, __ynl): Likewise.
18032 * math/w_lgammal.c (__lgammal): Likewise.
18033 * math/w_log10l.c (__log10l): Likewise.
18034 * math/w_log2l.c (__log2l): Likewise.
18035 * math/w_logl.c (__logl): Likewise.
18036 * math/w_powl.c (__powl): Likewise.
18037 * math/w_remainderl.c (__remainderl): Likewise.
18038 * math/w_scalbl.c (sysv_scalbl): Likewise.
18039 * math/w_sinhl.c (__sinhl): Likewise.
18040 * math/w_sqrtl.c (__sqrtl): Likewise.
18041 * math/w_tgammal.c (__tgammal): Likewise.
18042 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18043 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18044 * math/libm-test.inc (acos_test): Add more tests.
18045 (acosh_test): Likewise.
18046 (asin_test): Likewise.
18047 (atanh_test): Likewise.
18048 (exp_test): Likewise.
18049 (exp10_test): Likewise.
18050 (exp2_test): Likewise.
18051 (expm1_test): Likewise.
18052 (lgamma_test): Likewise.
18053 (log_test): Likewise.
18054 (log10_test): Likewise.
18055 (log1p_test): Likewise.
18056 (log2_test): Likewise.
18057 (pow_test): Do not allow some spurious overflow exceptions.
18058 (sqrt_test): Add more tests.
18059 (tgamma_test): Likewise.
18060 (y0_test): Likewise.
18061 (y1_test): Likewise.
18062 (yn_test): Likewise.
18064 2012-03-27 Anton Blanchard <anton@samba.org>
18066 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18068 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18069 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18070 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18072 2012-03-27 David S. Miller <davem@davemloft.net>
18074 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18076 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18077 have-as-vis3 check.
18079 2012-03-27 Andreas Jaeger <aj@suse.de>
18081 * sysdeps/x86_64/elf/configure.in: Moved to ...
18082 * sysdeps/x86_64/configure.in: ... here.
18083 * sysdeps/x86_64/elf/start.S: Moved to ...
18084 * sysdeps/x86_64/start.S: ... here.
18085 * sysdeps/x86_64/elf/configure: Delete.
18087 * sysdeps/x86_64/configure.in: Merge contents from
18088 sysdeps/i386/configure.in (without i686 check).
18090 * sysdeps/i386/elf/Versions: Merge into ...
18091 * sysdeps/i386/Versions: ... this.
18092 * sysdeps/i386/elf/Versions: Delete file.
18093 * sysdeps/i386/elf/start.S: Moved to ...
18094 * sysdeps/i386/start.S: ...here.
18095 * sysdeps/i386/elf/configure.in: Merge into...
18096 * sysdeps/i386/configure.in: ...here.
18097 * sysdeps/i386/elf/configure.in: Delete file.
18098 * sysdeps/i386/elf/configure: Delete file.
18100 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18101 * debug/backtracesyms.c: ... here.
18102 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18103 * debug/backtracesymsfd.c: ... here.
18104 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18105 * sysdeps/generic/ifunc-sel.h: ... here.
18107 * sysdeps/unix/i386/start.c: Delete file.
18108 * sysdeps/unix/sparc/start.c: Delete file.
18109 * sysdeps/unix/start.c: Delete file.
18111 * sysdeps/sh/elf/configure.in: Moved to ...
18112 * sysdeps/sh/configure.in: ... here.
18113 * sysdeps/sh/elf/start.S: Moved to ...
18114 * sysdeps/sh/start.S: ... here.
18115 * sysdeps/sh/elf/configure: Delete file.
18117 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18118 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18119 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18120 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18121 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18122 * sysdeps/powerpc/powerpc64/start.S: here.
18123 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18124 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18125 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18126 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18127 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18129 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18130 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18131 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18132 * sysdeps/powerpc/powerpc32/start.S: ... here.
18133 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18134 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18135 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18137 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18138 * sysdeps/powerpc/ifunc-sel.h: ... here.
18139 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18140 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18142 * sysdeps/sparc/elf/configure.in: Moved to ...
18143 * sysdeps/sparc/configure.in: ... here.
18144 * sysdeps/sparc/elf/configure: Delete file.
18145 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18146 * sysdeps/sparc/sparc32/start.S: ... here.
18147 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18148 * sysdeps/sparc/sparc64/start.S: ... here.
18149 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18150 * sysdeps/sparc/sparc32/Makefile: ... this.
18151 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18152 * sysdeps/sparc/sparc64/Makefile: ... this.
18154 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18155 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18156 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18157 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18158 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18159 * sysdeps/s390/s390-32/setjmp.S: ... here.
18160 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18161 * sysdeps/s390/s390-32/configure.in: ... here.
18162 * sysdeps/s390/s390-32/elf/configure: Delete file.
18163 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18164 * sysdeps/s390/s390-32/start.S: ... here.
18166 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18167 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18168 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18169 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18170 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18171 * sysdeps/s390/s390-64/setjmp.S: ... here.
18172 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18173 * sysdeps/s390/s390-64/configure.in: ... here
18174 * sysdeps/s390/s390-64/elf/configure: Delete file.
18175 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18176 * sysdeps/s390/s390-64/start.S: ... here.
18177 * sysdeps/s390/s390-64/elf/configure: Delete.
18179 * configure.in: Remove support for elf directories in sysdeps.
18181 * configure: Regenerated.
18182 * sysdeps/i386/configure: Regenerated.
18183 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18184 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18185 * sysdeps/s390/s390-32/configure: Regenerated.
18186 * sysdeps/s390/s390-64/configure: Regenerated.
18187 * sysdeps/sh/configure: Regenerated.
18188 * sysdeps/sparc/configure: Regenerated.
18189 * sysdeps/x86_64/configure: Regenerated.
18191 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
18193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18195 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18196 denormal result into account.
18198 2012-03-25 Roland McGrath <roland@hack.frob.com>
18200 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18201 Reported by Allan McRae <allan@archlinux.org>.
18203 2012-03-23 Jeff Law <law@redhat.com>
18205 * nss/getnssent.c (__nss_getent): Fix typo.
18207 2012-03-23 David S. Miller <davem@davemloft.net>
18209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18211 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18213 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18214 to pad to uint64_t for each field.
18215 (dl_tls_index): Replace unsigned long with uint64_t.
18217 2012-03-23 Daniel Jacobowitz <dmj@google.com>
18218 Paul Pluzhnikov <ppluzhnikov@google.com>
18221 * grp/Makefile (otherlibs): Don't set it.
18222 * inet/Makefile (otherlibs): Likewise.
18223 * login/Makefile (otherlibs): Likewise.
18224 * nscd/Makefile (otherlibs): Likewise.
18225 * posix/Makefile (otherlibs): Likewise.
18226 * pwd/Makefile (otherlibs): Likewise.
18227 * rt/Makefile (otherlibs): Likewise.
18228 * sunrpc/Makefile (otherlibs): Likewise.
18229 * nss/Makefile (otherlibs): Likewise.
18230 Add libnss_files to routines and static-only-routines.
18231 ($(objpfx)getent): Remove rule.
18232 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18233 static-only-routines.
18235 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18238 * math/s_cexp.c: Include <float.h>.
18239 (__cexp): Handle exp result overflowing not necessarily
18240 overflowing both real and imaginary parts of result.
18241 * math/s_cexpf.c: Likewise.
18242 * math/s_cexpl.c: Likewise.
18243 * math/libm-test.inc (cexp_test): Add more tests.
18244 * sysdeps/i386/fpu/libm-test-ulps: Update.
18245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18247 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18249 * include/link.h (ELFW): New macro.
18250 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18251 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18253 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18255 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18258 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18260 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18262 (struct La_x32_retval): Likewise.
18264 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18266 * sysdeps/x86_64/preconfigure.in: New file.
18267 * sysdeps/x86_64/preconfigure: New generated file.
18269 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18272 * math/e_exp2l.c: Include <float.h>.
18273 (__ieee754_exp2l): Handle overflow and underflow cases
18274 separately. Only pass fractional part of argument to
18276 * math/libm-test.inc (exp2_test): Add more tests.
18278 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18279 negating x to take absolute value.
18280 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18282 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18283 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18285 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18286 computing low part if x was negated.
18287 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18289 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18291 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18292 la_x32_gnu_pltexit.
18293 (pltexit): Cast int_retval to ptrdiff_t.
18294 * elf/tst-auditmod3b.c: Likewise.
18295 * elf/tst-auditmod4b.c: Likewise.
18296 * elf/tst-auditmod5b.c: Likewise.
18297 * elf/tst-auditmod6b.c: Likewise.
18298 * elf/tst-auditmod6c.c: Likewise.
18299 * elf/tst-auditmod7b.c: Likewise.
18301 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18302 and x32_gnu_pltexit.
18304 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18305 __ELF_NATIVE_CLASS.
18306 (La_x32_regs): New macro.
18307 (La_x32_retval): Likewise.
18308 (la_x32_gnu_pltenter): New function prototype.
18309 (la_x32_gnu_pltexit): Likewise.
18311 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18313 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18318 * configure.in (libc_cv_cc_nofma): Check for option to disable
18319 generation of FMA instructions.
18320 * configure: Regenerate.
18321 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18322 * sysdeps/ieee754/dbl-64/Makefile: New file.
18323 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18324 Remove brandred-fma4.
18325 (CFLAGS-brandred-fma4.c): Remove.
18326 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18327 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18329 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18332 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18334 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18335 LLONG_MAX != LONG_MAX.
18336 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18337 (_fitoa_word): Likewise.
18338 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18339 LLONG_MAX != LONG_MAX.
18340 * stdio-common/_itowa.h: Include <_itoa.h>.
18341 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18342 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18343 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18344 only if not defined.
18345 (_ITOA_WORD_TYPE): Likewise.
18346 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18347 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18349 2012-03-21 David S. Miller <davem@davemloft.net>
18351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18353 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18355 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18356 of x86_64 when setting libc_cv_slibdir, libdir and
18358 * sysdeps/unix/sysv/linux/configure: Regenerated.
18360 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18362 * manual/lang.texi (Old Varargs): Remove section.
18363 (How Variadic): Update menu.
18364 (va_start): Do not mention varargs.h.
18366 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18367 Joseph Myers <joseph@codesourcery.com>
18369 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18371 * configure: Regenerated.
18373 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18375 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18376 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18379 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18382 * Makefile (files-for-dist): Remove NOTES.
18383 (NOTES): Remove rule.
18384 * README: Don't refer to NOTES.
18385 * manual/creature.texi: Don't include macros.texi.
18386 * manual/intro.texi (creature.texi): Remove comment referring to
18389 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18390 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18391 * configure: Regenerated.
18392 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18393 LIBC_TRY_CC_OPTION.
18394 (libc_cv_as_i686): Likewise.
18395 (libc_cv_cc_avx): Likewise.
18396 (libc_cv_cc_sse2avx): Likewise.
18397 (libc_cv_cc_fma4): Likewise.
18398 (libc_cv_cc_novzeroupper): Likewise.
18399 * sysdeps/i386/configure: Regenerated.
18402 * sysdeps/i386/fpu/s_cexp.S: Remove.
18403 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18404 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18405 * math/libm-test.inc (cexp_test): Add more tests.
18406 * sysdeps/i386/fpu/libm-test-ulps: Update.
18407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18409 2012-03-21 Allan McRae <allan@archlinux.org>
18411 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18413 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18416 * math/w_exp2.c: Do not include <float.h>.
18417 (o_threshold, u_threshold): Remove.
18418 (__exp2): Calculate result before checking finiteness and calling
18420 * math/w_exp2f.c: Likewise.
18421 * math/w_exp2l.c: Likewise.
18422 * math/libm-test.inc (exp2_test): Require overflow exception for
18426 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18427 range of signed 64-bit integers before using fistpll. Remove
18428 checks for whether integers fit in mantissa bits.
18429 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18430 the range of signed 32-bit integers before using fistpl. Remove
18431 checks for whether integers fit in mantissa bits.
18432 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18433 (__ieee754_powl): Test for y outside the range of signed 64-bit
18434 integers before using fistpll. Reduce 64-bit values to 63-bit
18436 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18437 divide-by-zero is raised for zero to large negative powers.
18438 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18439 (__ieee754_powl): Test for y outside the range of signed 64-bit
18440 integers before using fistpll. Reduce 64-bit values to 63-bit
18442 * math/libm-test.inc (pow_test): Add more tests.
18444 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18446 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18447 <stdio-common/_itoa.h>.
18448 * debug/segfault.c: Likewise.
18449 * elf/dl-cache.c: Likewise.
18450 * elf/dl-minimal.c: Likewise.
18451 * elf/dl-misc.c: Likewise.
18452 * elf/dl-sysdep.c: Likewise.
18453 * elf/dl-version.c: Likewise.
18454 * elf/rtld.c: Likewise.
18455 * hurd/hurdsock.c: Likewise.
18456 * hurd/lookup-retry.c: Likewise.
18457 * malloc/malloc.c: Likewise.
18458 * malloc/mtrace.c: Likewise.
18459 * nscd/nscd_getgr_r.c: Likewise.
18460 * nscd/nscd_getpw_r.c: Likewise.
18461 * nscd/nscd_getserv_r.c: Likewise.
18462 * posix/getopt_init.c: Likewise.
18463 * posix/wordexp.c: Likewise.
18464 * stdio-common/_itoa.c: Likewise.
18465 * stdio-common/printf_fphex.c: Likewise.
18466 * stdio-common/vfprintf.c: Likewise.
18467 * string/_strerror.c: Likewise.
18468 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18469 * sysdeps/i386/i686/hp-timing.h: Likewise.
18470 * sysdeps/mach/_strerror.c: Likewise.
18471 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18472 * sysdeps/mach/hurd/sethostid.c: Likewise.
18473 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18474 * sysdeps/mach/xpg-strerror.c: Likewise.
18475 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18476 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18477 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18478 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18479 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18480 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18481 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18482 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18483 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18484 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18485 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18486 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18487 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18488 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18489 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18490 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18491 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18492 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18493 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18494 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18495 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18497 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18499 * stdio-common/_itoa.h: Moved to ...
18500 * sysdeps/generic/_itoa.h: Here.
18502 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18504 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18505 instead of "_itoa.h" and "_itowa.h".
18506 * stdio-common/vfprintf.: Likewise.
18508 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18510 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18512 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18513 (__signbit): Likwise.
18514 (llrintf): Likwise.
18517 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18519 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18522 2012-03-20 Joseph Myers <joseph@codesourcery.com>
18524 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18525 OVERFLOW_EXCEPTION_OK.
18526 * math/libm-test.inc ("Philosophy"): Update comment about
18528 (OVERFLOW_EXCEPTION): Define.
18529 (OVERFLOW_EXCEPTION_OK): Likewise.
18530 (INVALID_EXCEPTION_OK): Renumber.
18531 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18532 (IGNORE_ZERO_INF_SIGN): Likewise.
18533 (test_exceptions): Handle FE_OVERFLOW.
18534 (exp10_test): Expect overflow exceptions.
18535 (exp2_test): Likewise.
18536 (expm1_test): Likewise.
18537 (nextafter_test): Likewise.
18538 (pow_test): Likewise.
18539 (scalbn_test): Likewise.
18540 (scalbln_test): Likewise.
18542 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18544 * sysdeps/x86_64/bits/atomic.h
18545 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18547 (atomic_exchange_acq): Likewise.
18548 (__arch_exchange_and_add_body): Likewise.
18549 (__arch_add_body): Likewise.
18550 (atomic_add_negative): Likewise.
18551 (atomic_add_zero): Likewise.
18553 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18555 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
18556 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18558 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18560 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18561 Check __x86_64__ instead of __WORDSIZE.
18563 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18565 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18567 2012-03-19 David S. Miller <davem@davemloft.net>
18569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18571 * sysdeps/sparc/fpu/fenv_private.h: New file.
18572 * sysdeps/sparc/fpu/math_private.h: Use it.
18573 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18575 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18576 (libc_feholdexcept_setroundl): Remove.
18577 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18579 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18580 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18582 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18584 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18585 int64_t instead of long int.
18586 (INSERT_WORDS64): Likwise.
18588 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18590 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18591 _Unwind_GetCFA return to _Unwind_Ptr first.
18593 2012-03-19 Joseph Myers <joseph@codesourcery.com>
18596 * math/s_clog.c: Include <float.h>.
18597 (__clog): Scale large or subnormal inputs.
18598 * math/s_clogf.c: Likewise.
18599 * math/s_clogl.c: Likewise.
18600 * math/s_clog10.c: Include <float.h>.
18601 (M_LOG10_2): Define.
18602 (__clog10): Scale large or subnormal inputs.
18603 * math/s_clog10f.c: Likewise.
18604 * math/s_clog10l.c: Likewise.
18605 * math/libm-test.inc (clog_test): Add more tests.
18606 (clog10_test): Likewise.
18607 * sysdeps/i386/fpu/libm-test-ulps: Update.
18608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18611 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18613 * math/libm-test.inc (atan2_test): Add another test.
18615 * Makerules (common-objdir-compile): Remove.
18616 * sysdeps/unix/Makefile (config-generated): Do not add
18617 $(unix-generated) to variable.
18618 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18619 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18621 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18623 [generic bits/local_lim.h] (before-compile): Do not append to
18625 [generic bits/local_lim.h] (common-generated): Likewise.
18626 [generic sys/param.h] (before-compile): Do not append to variable.
18627 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18628 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18629 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18630 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18632 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18633 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18634 [generic sys/param.h] ($(addprefix
18635 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18636 [generic sys/param.h] (common-generated): Do not append to
18638 [generic sys/param.h] (sysdep_headers): Likewise.
18639 [generic bits/errno.h] (before-compile): Do not append to
18641 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18643 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18644 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18645 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18646 [generic bits/errno.h] (common-generated): Do not append to
18648 [generic bits/ioctls.h] (before-compile): Do not append to
18650 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18652 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18653 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18654 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18656 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18657 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18658 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18659 [generic bits/ioctls.h] (common-generated): Do not append to
18661 [generic sys/syscall.h] (syscall.h): Remove variable.
18662 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18664 [generic sys/syscall.h] (before-compile): Do not append to
18666 [generic sys/syscall.h] (common-generated): Likewise.
18667 * sysdeps/unix/errnos-tmpl.c: Remove file.
18668 * sysdeps/unix/errnos.awk: Likewise.
18669 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18670 * sysdeps/unix/ioctls.awk: Likewise.
18671 * sysdeps/unix/mk-local_lim.c: Likewise.
18672 * sysdeps/unix/snarf-ioctls: Likewise.
18674 2012-03-19 Richard Henderson <rth@twiddle.net>
18676 * sysdeps/i386/fpu/fenv_private.h: New file.
18677 * sysdeps/i386/fpu/math_private.h: Use it.
18678 (math_opt_barrier, math_force_eval): Remove.
18679 (libc_feholdexcept_setround_53bit): Remove.
18680 (libc_feupdateenv_53bit): Remove.
18681 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18682 (math_opt_barrier, math_force_eval): Remove.
18683 (libc_feholdexcept): Remove.
18684 (libc_feholdexcept_setround): Remove.
18685 (libc_fetestexcept, libc_fesetenv): Remove.
18686 (libc_feupdateenv_test): Remove.
18687 (libc_feupdateenv, libc_feholdsetround): Remove.
18688 (libc_feresetround): Remove.
18690 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18691 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18693 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18694 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18695 (libc_feupdateenv_testl): New.
18696 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18697 (libc_feupdateenv_testf): New.
18698 (libc_feupdateenv): Use libc_feupdateenv_test.
18699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18700 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18702 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18703 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18704 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18705 (libc_feresetround_noex): New.
18706 (libc_feresetround_noexf): New.
18707 (libc_feresetround_noexl): New.
18708 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18709 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18710 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18711 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18713 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18714 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18716 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18717 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18718 SET_RESTORE_ROUND_NOEX.
18719 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18720 SET_RESTORE_ROUND_NOEXF.
18721 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18722 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18723 (libc_feholdsetroundf): New.
18724 (libc_feresetround, libc_feresetroundf): New.
18726 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18727 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18728 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18730 * sysdeps/generic/math_private.h: Include <fenv.h>.
18731 (default_libc_feholdexcept): New.
18732 (default_libc_feholdexcept_setround): New.
18733 (default_libc_fesetenv, default_libc_feupdateenv): New.
18734 (libc_feholdexcept): Only define if undefined.
18735 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18736 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18737 (libc_feholdexcept_setroundl): Likewise.
18738 (libc_feholdexcept_setround_53bit): Likewise.
18739 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18740 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18741 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18742 (libc_feupdateenv_53bit): Likewise.
18743 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18744 (libc_feholdexcept): Convert from macro to inline function.
18745 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18746 (libc_fesetenv, libc_feupdateenv): Likewise.
18748 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18749 not previously defined.
18750 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18751 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18752 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18753 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18754 * sysdeps/ieee754/flt-32/math_private.h: New file.
18755 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18756 math_private.h below SET_FLOAT_WORD.
18757 (__isnan, __isinf_ns, __finite): Remove.
18758 (__isnanf, __isinf_nsf, __finitef): Remove.
18760 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18764 2012-03-17 David S. Miller <davem@davemloft.net>
18767 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18770 2012-03-16 David S. Miller <davem@davemloft.net>
18772 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18776 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18778 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18779 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18780 sysdep_routines when subdir is sysvipc.
18781 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18782 __getshmlba helper.
18784 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18786 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18788 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18791 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18793 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18794 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18795 (__lround): Renamed to ...
18796 (__llround): This. Replace long int with long long int.
18797 Define lround functions as aliases of llround functions.
18798 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18800 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18802 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18803 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18804 adresses to uintptr_t. Replace "long int" and "unsigned long
18805 int" with "greg_t" on va_arg.
18807 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18809 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18810 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18812 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18813 Move e_machine check before EI_CLASS check. Handle x32
18814 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18815 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18816 SKIP_EM_IA_64 and include
18817 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18819 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18820 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18821 (add_system_dir): New macro.
18823 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18824 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18826 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18837 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18839 * math/w_j0f.c (j0f): Likewise.
18841 * math/w_j0l.c (__j0l): Likewise.
18843 * math/w_j1.c (j1): Likewise.
18845 * math/w_j1f.c (j1f): Likewise.
18847 * math/w_j1l.c (__j1l): Likewise.
18849 * math/w_jn.c (jn): Likewise.
18851 * math/w_jnf.c (jnf): Likewise.
18853 * math/w_jnl.c (__jnl): Likewise.
18855 * math/libm-test.inc (j0_test): Add more tests.
18856 (j1_test): Likewise.
18857 (jn_test): Likewise. Add trailing semicolon to existing test.
18858 (y0_test): Likewise.
18859 (y1_test): Likewise.
18860 * sysdeps/i386/fpu/libm-test-ulps: Update.
18861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18865 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18866 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18867 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18868 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18869 (__tanl): Set errno for infinite argument.
18870 * sysdeps/i386/fpu/mptan.c: Remove.
18871 * sysdeps/i386/fpu/s_tan.S: Likewise.
18872 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18873 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18874 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18875 * math/libm-test.inc (tan_test): Add more tests and enable more
18876 tests for double and long double.
18877 * sysdeps/i386/fpu/libm-test-ulps: Update.
18878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18880 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18882 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18883 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18885 2012-03-16 Roland McGrath <roland@hack.frob.com>
18887 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18888 * configure.in: Use it for both main tree and add-ons.
18889 * configure: Regenerated.
18891 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18893 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18895 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18897 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18901 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18902 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18903 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18904 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18905 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18907 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18908 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18909 != 0 for prec == 2.
18910 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18911 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18912 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18913 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18914 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18915 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18916 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18917 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18918 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18919 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18920 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18921 * math/libm-test.inc (cos_test): Add more tests and enable more
18922 tests for long double.
18923 (sin_test): Likewise.
18924 (sincos_test): Likewise.
18925 * sysdeps/i386/fpu/libm-test-ulps: Update.
18926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18928 2012-03-16 David S. Miller <davem@davemloft.net>
18930 * sysdeps/sparc/fpu/math_private.h: New file.
18932 2012-03-15 David S. Miller <davem@davemloft.net>
18934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18942 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18944 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18948 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18949 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18951 * sysdeps/sparc/sparc-ifunc.h: New file.
18952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18976 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18978 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18979 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18980 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18981 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18982 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18983 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18985 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18990 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18991 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18992 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18993 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18994 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18995 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18997 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18999 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
19001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19003 2012-03-15 Andreas Jaeger <aj@suse.de>
19006 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
19007 ieee754/flt-32 implementation for sin, cos and sincos.
19008 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
19009 * sysdeps/i386/fpu/s_cosf.S: Likewise.
19010 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19011 * sysdeps/i386/fpu/s_sinf.S: Likewise.
19012 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19013 ieee754/flt-32 implementation for tan.
19015 * math/libm-test.inc (cos_test): Enable some large input tests for
19017 (sin_test): Likewise.
19018 (sincos_test): Likewise.
19019 (tan_test): Add tests for large input.
19021 * sysdeps/i386/fpu/libm-test-ulps: Update.
19023 2012-03-15 Andreas Jaeger <aj@suse.de>
19026 * math/libm-test.inc (cos_test): Add more test cases.
19027 (sin_test): Likewise.
19028 (sincos_test): Likewise.
19030 2012-03-15 Andreas Jaeger <aj@suse.de>
19033 * math/libm-test.inc (cos_test): Add a test case for large input
19035 (sin_test): Likewise.
19036 (sincos_test): Likewise.
19038 2012-03-15 Andreas Jaeger <aj@suse.de>,
19039 Joseph Myers <joseph@codesourcery.com>
19042 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
19043 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19044 * sysdeps/i386/fpu/branred.c: Likewise.
19045 * sysdeps/i386/fpu/dosincos.c: Likewise.
19046 * sysdeps/i386/fpu/mpa.c: Likewise.
19047 * sysdeps/i386/fpu/s_cos.S: Likewise.
19048 * sysdeps/i386/fpu/s_sin.S: Likewise.
19049 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19050 * sysdeps/i386/fpu/sincos32.c: Likewise.
19052 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19054 (libc_feupdateenv_53bit): Define.
19055 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19057 (libc_feupdateenv_53bit): Define.
19059 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19060 53 bit (without extend i386 double precision).
19062 * math/libm-test.inc (sincos_test): Add tests for large input.
19066 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19068 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19072 2012-03-15 David S. Miller <davem@davemloft.net>
19074 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19075 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19076 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19077 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19088 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
19089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
19092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
19095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
19098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19101 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19102 fmin/fmax sysdep routines.
19103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19105 2012-03-14 David S. Miller <davem@davemloft.net>
19107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19110 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19111 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19112 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19113 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19114 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19125 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19126 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19127 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19128 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19129 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19130 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19131 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19132 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19133 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19134 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
19135 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
19140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
19143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
19146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
19149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
19152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
19167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
19170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
19173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
19176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19179 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19184 * sysdeps/sparc/configure.in: New file.
19185 * sysdeps/sparc/configure: Generate.
19186 * configure.in (libc_cv_sparc_as_vis3): Substitute.
19187 * configure: Regenerate.
19188 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19189 * config.make.in (have-as-vis3): New.
19190 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19191 available use -Av9d instead of -Av9a.
19192 * sysdeps/sparc/sparc64/Makefile: Likewise.
19193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
19194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19202 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19203 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19204 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19205 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19206 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19208 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19209 fzeros/fnegs to load 0x80000000 into a float register instead of
19211 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19213 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19217 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19218 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19219 ($(inst_includedir)/bits/syscall.h): Remove rule.
19220 ($(objpfx)bits/syscall.d): Include instead of
19221 $(objpfx)syscall-list.d.
19222 (generated): Change syscall-list.h and syscall-list.d to
19223 bits/syscall.h and bits/syscall.d.
19225 2012-03-14 Roland McGrath <roland@hack.frob.com>
19228 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19230 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19233 * math/s_csqrt.c: Include <float.h>.
19234 (__csqrt): Scale large or subnormal inputs.
19235 * math/s_csqrtf.c: Likewise.
19236 * math/s_csqrtl.c: Likewise.
19237 * math/libm-test.inc (csqrt_test): Add more tests.
19238 * sysdeps/i386/fpu/libm-test-ulps: Update.
19239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19242 * math/libm-test.inc (hypot_test): Add more tests.
19244 2012-03-13 David S. Miller <davem@davemloft.net>
19247 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19248 double-precision for the calculation instead of scaling.
19250 2012-03-13 Joseph Myers <joseph@codesourcery.com>
19252 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19253 manipulate bits before adding and subtracting TWO52[sx].
19254 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19255 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19257 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19259 2012-03-13 David S. Miller <davem@davemloft.net>
19261 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19262 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19263 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19264 rtld-global-offsets.h
19265 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19267 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19270 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19272 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19273 'err' in the ifdef scope in which it is actually used.
19275 * nss/nss_db/db-init.c: Include string.h
19277 2012-03-12 David S. Miller <davem@davemloft.net>
19279 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19280 masking out of the most significant byte of random value used.
19281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19282 Fix coding style in previous change.
19284 * sysdeps/unix/sysv/linux/kernel-features.h
19285 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19286 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19288 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19291 2012-03-11 David S. Miller <davem@davemloft.net>
19293 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19294 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19295 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19296 for 'resultvar' otherwise things get truncated on 64-bit.
19298 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19299 Fix masking out of the most significant byte of random value used.
19301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19303 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19307 2012-03-09 David S. Miller <davem@davemloft.net>
19309 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19310 variables with appropriate CPP guards.
19311 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19312 frame pointer, not the stack pointer. Correct layout comments. Fix test
19313 on resulting framesize and the management of the outregs buffer for pltexit.
19314 Preserve floating point return values across _dl_call_pltexit call.
19315 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19316 framesize and the management of the outregs buffer for pltexit.
19317 Preserve floating point return values across _dl_call_pltexit
19319 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19320 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19321 (print_exit): Fix format string for return register value.
19323 2012-03-10 Joseph Myers <joseph@codesourcery.com>
19325 * sunrpc/Makefile (others): Add rpcgen.
19326 ($(objpfx)rpcgen): Remove special build rule and dependency on
19328 * sunrpc/rpcgen.c: New file.
19330 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19333 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19334 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19335 * sysdeps/i386/crti.S: Likewise.
19336 * sysdeps/i386/crtn.S: Likewise.
19337 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19338 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19339 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19340 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19341 * sysdeps/sh/crti.S: Likewise.
19342 * sysdeps/sh/crtn.S: Likewise.
19343 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19346 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19348 * locale/programs/locfile-kw.gperf: Likewise.
19349 * locale/programs/charmap-kw.h: Regenerated.
19350 * locale/programs/locfile-kw.h: Likewise.
19353 * intl/plural.y: Replace FSF snail mail address with URL.
19354 * intl/plural.c: Regenerated.
19356 2012-03-09 Richard Henderson <rth@twiddle.net>
19358 * include/math_private.h: Remove file.
19359 * math/math_private.h: Move file ...
19360 * sysdeps/generic/math_private.h: ... here.
19362 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19363 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19364 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19366 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
19367 and <math_private.h>.
19368 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19369 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19370 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19371 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19372 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19373 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19374 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19375 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19376 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19377 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19379 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19380 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19381 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19382 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19383 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19384 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19385 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19386 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19387 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19389 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19390 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19391 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19392 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19393 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19394 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19395 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19396 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19397 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19398 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19399 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19400 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19401 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19402 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19403 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19404 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19405 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19406 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19407 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19408 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19409 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19410 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19411 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19412 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19413 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19414 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19415 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19416 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19417 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19418 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19421 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19422 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19424 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19425 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19426 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19427 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19428 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19429 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19430 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19431 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19432 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19433 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19434 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19435 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19436 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19437 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19438 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19439 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19440 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19441 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19442 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19443 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19444 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19445 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19446 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19447 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19448 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19449 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19450 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19451 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19452 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19453 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19454 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19455 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19456 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19457 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19458 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19459 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19460 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19461 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19462 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19463 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19464 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19465 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19466 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19467 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19468 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19469 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19470 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19471 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19472 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19473 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19474 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19475 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19476 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19477 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19478 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19479 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19480 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19481 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19482 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19483 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19484 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19485 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19486 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19487 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19488 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19489 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19490 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19491 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19492 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19493 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19494 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19495 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19496 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19497 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19498 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19499 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19500 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19501 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19502 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19503 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19504 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19505 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19506 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19507 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19508 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19509 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19510 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19511 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19512 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19513 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19514 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19515 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19516 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19517 * sysdeps/ieee754/k_standard.c: Likewise.
19518 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19519 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19520 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19521 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19522 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19523 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19524 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19525 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19526 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19527 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19528 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19529 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19530 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19531 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19532 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19533 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19534 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19535 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19536 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19537 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19538 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19539 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19540 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19541 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19542 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19543 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19544 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19545 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19546 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19547 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19548 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19549 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19550 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19551 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19552 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19553 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19554 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19555 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19558 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19559 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19560 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19561 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19562 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19563 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19564 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19565 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19566 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19567 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19568 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19569 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19570 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19571 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19572 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19573 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19574 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19575 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19576 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19577 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19578 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19579 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19580 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19581 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19582 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19583 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19584 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19585 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19586 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19587 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19588 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19589 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19590 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19591 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19592 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19593 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19594 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19595 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19596 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19597 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19598 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19599 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19600 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19601 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19602 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19603 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19604 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19605 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19606 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19607 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19608 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19609 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19610 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19611 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19612 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19613 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19614 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19615 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19616 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19617 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19618 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19619 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19620 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19621 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19622 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19623 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19624 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19625 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19626 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19627 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19628 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19629 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19630 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19631 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19632 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19633 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19634 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19635 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19636 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19637 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19638 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19639 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19640 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19641 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19642 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19643 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19644 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19645 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19646 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19647 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19648 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19649 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19650 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19651 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19652 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19653 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19654 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19655 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19656 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19657 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19658 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19659 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19660 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19661 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19662 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19663 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19664 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19665 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19666 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19667 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19668 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19669 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19670 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19671 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19672 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19673 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19674 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19675 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19676 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19677 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19678 * sysdeps/ieee754/s_lib_version.c: Likewise.
19679 * sysdeps/ieee754/s_matherr.c: Likewise.
19680 * sysdeps/ieee754/s_signgam.c: Likewise.
19681 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19682 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19683 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19684 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19685 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19686 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19687 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19688 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19689 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19690 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19691 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19692 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19693 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19694 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19695 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19696 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19697 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19698 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19699 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19700 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19701 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19703 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19705 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19706 * sunrpc/rpc_main.c: Likewise.
19707 * sunrpc/rpc_svcout.c: Likewise.
19709 2012-03-09 David S. Miller <davem@davemloft.net>
19711 * include/math_private.h: New file.
19713 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19715 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19716 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19717 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19718 from <bits/socket_type.h>.
19719 (enum __socket_type): Don't define here.
19720 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19722 bits/socket_type.h.
19725 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19726 checking __USE_GNU.
19728 * Makerules ($(inst_includedir)/%.h): New rule.
19729 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19730 (install-others): Remove variable setting.
19731 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19733 2012-03-08 Richard Henderson <rth@twiddle.net>
19735 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19736 from macro to inline function; merge with the
19737 !__LIBC_INTERNAL_MATH_INLINES version.
19738 (__ieee754_sqrtf): Likewise.
19740 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19741 to inline function.
19742 (__rintf, __floor, __floorf): Likewise.
19744 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19745 macro to inline function.
19746 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19748 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19749 not <math/math_private.h>.
19751 2012-03-08 David S. Miller <davem@davemloft.net>
19753 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19755 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19757 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19759 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19761 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19762 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19764 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19766 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19767 be defined individually, they must be defined as a block. Define
19768 S for printing a string instead of hidint the different by using a
19769 macro for adding the 'l'.
19770 * stdio-common/tst-fphex-wide.c: Adjust.
19772 2012-03-07 Marek Polacek <polacek@redhat.com>
19774 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19776 2012-03-08 Marek Polacek <polacek@redhat.com>
19779 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19780 * stdio-common/tst-fphex.c: Define a few macros to make the
19781 test reusable. Use them.
19782 * stdio-common/tst-fphex-wide.c: New file.
19784 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19787 * manual/macros.texi (gnusystems): New macro.
19788 (nongnusystems): Likewise.
19789 (gnulinuxhurdsystems): Likewise.
19790 (gnuhurdsystems): Likewise..
19791 (gnulinuxsystems): Likewise.
19792 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19793 variants of the GNU system, not "GNU system".
19794 * manual/conf.texi: Likewise.
19795 * manual/errno.texi: Likewise. Update example of errno macro
19797 * manual/filesys.texi: Likewise.
19798 (getumask): Document as specific to GNU/Hurd.
19799 * manual/install.texi: Likewise. Reword some references to
19801 * manual/intro.texi: Likewise.
19802 * manual/io.texi: Likewise.
19803 (File Name Portability): Detail which constraints are inapplicable
19804 to all GNU systems and which are only inapplicable to GNU/Hurd.
19805 * manual/job.texi: Likewise.
19806 * manual/llio.texi: Likewise.
19807 (O_NOCTTY): Document as present on GNU/Linux.
19808 * manual/maint.texi: Likewise.
19809 * manual/memory.texi: Likewise.
19810 * manual/pattern.texi: Likewise.
19811 * manual/pipe.texi: Likewise.
19812 * manual/process.texi: Likewise.
19813 * manual/resource.texi: Likewise.
19814 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19816 * manual/setjmp.texi: Likewise.
19817 * manual/signal.texi: Likewise.
19818 * manual/startup.texi: Likewise.
19819 * manual/stdio.texi: Likewise.
19820 * manual/terminal.texi: Likewise.
19821 (ONLCR): Document as POSIX.
19822 (OXTABS): Document availability on GNU/Linux as XTABS.
19823 (ONOEOT): Document availability separately from other bits.
19824 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19825 * manual/time.texi: Likewise.
19826 * manual/users.texi: Likewise.
19827 * INSTALL: Regenerated.
19828 * sysdeps/gnu/errlist.c: Regenerated.
19830 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19831 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19832 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19834 * configure: Regenerated.
19836 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19838 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19839 default includes instead of AC_HEADER_CHECK.
19840 * sysdeps/i386/configure: Regenerated.
19843 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19844 * math/s_cacoshf.c (__cacoshf): Likewise.
19845 * math/s_cacoshl.c (__cacoshl): Likewise.
19846 * math/s_casinh.c (__casinh): Set signs of result from argument.
19847 * math/s_casinhf.c (__casinhf): Likewise.
19848 * math/s_casinhl.c (__casinhl): Likewise.
19849 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19850 (casinh_test): Add more tests.
19851 * sysdeps/i386/fpu/libm-test-ulps: Update.
19852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19854 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19856 * po/zh_TW.po: Update from translation team.
19858 * login/Makefile (distribute): Remove variable.
19859 * catgets/Makefile: Likewise.
19860 * mach/Makefile: Likewise.
19861 * malloc/Makefile: Likewise.
19862 * misc/Makefile: Likewise.
19863 * iconv/Makefile: Likewise.
19864 * nscd/Makefile: Likewise.
19865 * hurd/Makefile: Likewise.
19866 * manual/Makefile: Likewise.
19867 * locale/Makefile: Likewise.
19868 * intl/Makefile: Likewise.
19869 * conform/Makefile: Likewise.
19870 * nss/Makefile: Likewise.
19871 * time/Makefile: Likewise.
19872 * soft-fp/Makefile: Likewise.
19873 * dirent/Makefile: Likewise.
19874 * gmon/Makefile: Likewise.
19875 * po/Makefile: Likewise.
19876 * rt/Makefile: Likewise.
19877 * socket/Makefile: Likewise.
19878 * math/Makefile: Likewise.
19879 * signal/Makefile: Likewise.
19880 * debug/Makefile: Likewise.
19881 * elf/Makefile: Likewise.
19882 * timezone/Makefile: Likewise.
19883 * stdlib/Makefile: Likewise.
19884 * iconvdata/Makefile: Likewise.
19885 * sunrpc/Makefile: Likewise.
19886 * io/Makefile: Likewise.
19887 * argp/Makefile: Likewise.
19888 * inet/Makefile: Likewise.
19889 * hesiod/Makefile: Likewise.
19890 * grp/Makefile: Likewise.
19891 * csu/Makefile: Likewise.
19892 * wctype/Makefile: Likewise.
19893 * crypt/Makefile: Likewise.
19894 * libio/Makefile: Likewise.
19895 * string/Makefile: Likewise.
19896 * nis/Makefile: Likewise.
19897 * resolv/Makefile: Likewise.
19898 * stdio-common/Makefile: Likewise.
19899 * wcsmbs/Makefile: Likewise.
19900 * dlfcn/Makefile: Likewise.
19901 * posix/Makefile: Likewise.
19904 * timezone/Makefile: Don't install timezone files, just the programs
19907 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19909 * nss/databases.def: Add missing gshadow entry.
19911 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19913 2012-03-06 Marek Polacek <polacek@redhat.com>
19916 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19917 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19918 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19919 * stdio-common/tst-long-dbl-fphex.c: New file.
19921 2012-03-06 David S. Miller <davem@davemloft.net>
19923 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19924 (set_obp_int): New function.
19925 (get_obp_int): New function.
19926 (__get_clockfreq_via_dev_openprom): Likewise.
19927 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19928 Avoid unused variable warnings on 'val' and use builtin_expect.
19929 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19931 (INLINE_CLONE_SYSCALL): Likewise.
19933 2012-03-05 David S. Miller <davem@davemloft.net>
19935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19937 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19941 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19942 only for |x| >= 40.
19943 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19945 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19947 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19948 Replace gettimeofday with __vdso_gettimeofday.
19950 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19951 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19952 __vdso_clock_gettime and __vdso_getcpu.
19954 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19955 time with __vdso_time.
19957 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19959 * manual/lang.texi (size_t): Note types to which size_t may be
19960 equivalent with the GNU C Library, but do not describe when
19961 differences between them are significant.
19963 2012-03-05 Andreas Jaeger <aj@suse.de>
19965 * sysdeps/i386/fpu/libm-test-ulps: Update.
19967 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19970 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19971 (__ieee754_pow): Save and restore rounding mode and use
19972 round-to-nearest for main computations.
19973 * math/libm-test.inc (pow_test_tonearest): New function.
19974 (pow_test_towardzero): Likewise.
19975 (pow_test_downward): Likewise.
19976 (pow_test_upward): Likewise.
19977 (main): Call the new functions.
19978 * sysdeps/i386/fpu/libm-test-ulps: Update.
19979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19982 * math/libm-test.inc (cosh_test_tonearest): New function.
19983 (cosh_test_towardzero): Likewise.
19984 (cosh_test_downward): Likewise.
19985 (cosh_test_upward): Likewise.
19986 (sinh_test_tonearest): Likewise.
19987 (sinh_test_towardzero): Likewise.
19988 (sinh_test_downward): Likewise.
19989 (sinh_test_upward): Likewise.
19990 (main): Call the new functions.
19991 * sysdeps/i386/fpu/libm-test-ulps: Update.
19992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19994 2012-03-05 Tom de Vries <tom@codesourcery.com>
19996 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19997 default stack guard is set in last bytes.
19998 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
20000 2012-03-05 Kees Cook <keescook@chromium.org>
20002 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
20005 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
20006 possibly allocate from heap instead of stack.
20007 * stdio-common/bug-vfprintf-nargs.c: New file.
20008 * stdio-common/Makefile (tests): Add nargs overflow test.
20010 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
20012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20014 2012-03-03 Marek Polacek <polacek@redhat.com>
20016 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20017 * math/math_private.h: Likewise.
20018 * stdlib/tst-strtod.c: Likewise.
20019 * sysdeps/i386/i486/bits/atomic.h: Likewise.
20020 * sysdeps/x86_64/bits/atomic.h: Likewise.
20022 2012-03-02 David S. Miller <davem@davemloft.net>
20024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20028 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20029 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20030 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20031 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20033 2012-03-02 Roland McGrath <roland@hack.frob.com>
20036 * manual/examples/README: New file, says the example source files
20037 can be used under GPL>=2.
20038 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20039 line containing just "*/".
20040 * manual/examples/add.c: Add copyright header (GPL>=2).
20041 * manual/examples/argp-ex1.c: Likewise.
20042 * manual/examples/argp-ex2.c: Likewise.
20043 * manual/examples/argp-ex3.c: Likewise.
20044 * manual/examples/argp-ex4.c: Likewise.
20045 * manual/examples/atexit.c: Likewise.
20046 * manual/examples/db.c: Likewise.
20047 * manual/examples/dir.c: Likewise.
20048 * manual/examples/dir2.c: Likewise.
20049 * manual/examples/execinfo.c: Likewise.
20050 * manual/examples/filecli.c: Likewise.
20051 * manual/examples/filesrv.c: Likewise.
20052 * manual/examples/fmtmsgexpl.c: Likewise.
20053 * manual/examples/genpass.c: Likewise.
20054 * manual/examples/inetcli.c: Likewise.
20055 * manual/examples/inetsrv.c: Likewise.
20056 * manual/examples/isockad.c: Likewise.
20057 * manual/examples/longopt.c: Likewise.
20058 * manual/examples/memopen.c: Likewise.
20059 * manual/examples/memstrm.c: Likewise.
20060 * manual/examples/mkfsock.c: Likewise.
20061 * manual/examples/mkisock.c: Likewise.
20062 * manual/examples/mygetpass.c: Likewise.
20063 * manual/examples/pipe.c: Likewise.
20064 * manual/examples/popen.c: Likewise.
20065 * manual/examples/rprintf.c: Likewise.
20066 * manual/examples/search.c: Likewise.
20067 * manual/examples/select.c: Likewise.
20068 * manual/examples/setjmp.c: Likewise.
20069 * manual/examples/sigh1.c: Likewise.
20070 * manual/examples/sigusr.c: Likewise.
20071 * manual/examples/stpcpy.c: Likewise.
20072 * manual/examples/strdupa.c: Likewise.
20073 * manual/examples/strftim.c: Likewise.
20074 * manual/examples/strncat.c: Likewise.
20075 * manual/examples/subopt.c: Likewise.
20076 * manual/examples/swapcontext.c: Likewise.
20077 * manual/examples/termios.c: Likewise.
20078 * manual/examples/testopt.c: Likewise.
20079 * manual/examples/testpass.c: Likewise.
20080 * manual/examples/timeval_subtract.c: Likewise.
20083 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20085 * manual/timeval_subtract.c.texi: ... here, new file.
20087 2012-03-02 David S. Miller <davem@davemloft.net>
20089 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20091 2012-03-02 Joseph Myers <joseph@codesourcery.com>
20094 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20095 (__sin): Save and restore rounding mode and use round-to-nearest
20096 for all computations.
20097 (__cos): Save and restore rounding mode and use round-to-nearest
20098 for all computations.
20099 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20101 (tan): Save and restore rounding mode and use round-to-nearest for
20103 * math/libm-test.inc (cos_test_tonearest): New function.
20104 (cos_test_towardzero): Likewise.
20105 (cos_test_downward): Likewise.
20106 (cos_test_upward): Likewise.
20107 (sin_test_tonearest): Likewise.
20108 (sin_test_towardzero): Likewise.
20109 (sin_test_downward): Likewise.
20110 (sin_test_upward): Likewise.
20111 (tan_test_tonearest): Likewise.
20112 (tan_test_towardzero): Likewise.
20113 (tan_test_downward): Likewise.
20114 (tan_test_upward): Likewise.
20115 (main): Call the new functions.
20116 * sysdeps/i386/fpu/libm-test-ulps: Update.
20117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20120 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20121 small n, then large n, before computing and testing k+n.
20122 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20123 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20125 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20127 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20128 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20129 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20130 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20131 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20132 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20133 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20134 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20135 * math/libm-test.inc (scalbn_test): Add more tests.
20136 (scalbln_test): Likewise.
20138 * manual/filesys.texi (mode_t): Describe constraints on size and
20139 signedness, not exact equivalence to a particular type.
20141 (ino64_t): Likewise.
20143 (nlink_t): Likewise.
20144 (blkcnt_t): Likewise.
20145 (blkcnt64_t): Likewise.
20146 * manual/llio.texi (off_t): Likewise.
20149 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20150 (__ieee754_exp): Save and restore rounding mode and use
20151 round-to-nearest for all computations.
20152 * math/libm-test.inc (exp_test_tonearest): New function.
20153 (exp_test_towardzero): Likewise.
20154 (exp_test_downward): Likewise.
20155 (exp_test_upward): Likewise.
20156 (main): Call the new functions.
20157 * sysdeps/i386/fpu/libm-test-ulps: Update.
20158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20160 2012-03-01 Chris Demetriou <cgd@google.com>
20162 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20163 have predictable order.
20165 2012-03-01 David S. Miller <davem@davemloft.net>
20167 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20169 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20170 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20171 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20172 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20174 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20175 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20176 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20178 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20179 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20180 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20181 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20182 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20186 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20187 * sysdeps/sparc/fpu/libm-test-ulps: to here.
20188 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20190 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20191 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20192 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20193 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20194 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20195 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20196 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20197 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20198 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20199 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20200 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20201 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20202 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20203 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20204 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20205 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20206 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20207 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20208 * sysdeps/sparc/elf/configure: Regenerated.
20210 2012-03-01 Joseph Myers <joseph@codesourcery.com>
20212 * configure.in (AS, LD): Require binutils 2.20 or later.
20213 * configure: Regenerated.
20214 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20215 as required minimum version.
20216 * INSTALL: Regenerated.
20220 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20221 before squaring exponent.
20222 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20223 bottom long double and 27 bits of top long double before squaring
20225 * math/libm-test.inc (erfc_test): Add more tests.
20226 * sysdeps/i386/fpu/libm-test-ulps: Update.
20227 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20230 2012-03-01 Kai Tietz <ktietz@redhat.com>
20232 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20233 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20234 containing bit-fields.
20235 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20236 * soft-fp/single.h (_FP_UNION_S): Likewise.
20237 * soft-fp/double.h (_FP_UNION_D): Likewise.
20239 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20242 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20243 not include ../strcmp.S.
20244 [USE_AS_STRNCASECMP_L]: Likewise.
20245 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20246 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20247 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20248 (__strncasecmp_l_ia32): Define as alias to
20249 __strncasecmp_l_nonascii.
20252 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20253 * sysdeps/i386/fpu/libm-test-ulps: Update.
20254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20256 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20259 2012-02-29 Jeff Law <law@redhat.com>
20261 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20262 out of bounds read.
20264 2012-02-29 Marek Polacek <polacek@redhat.com>
20267 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20268 * elf/Makefile: Add rules to run tst-unused-dep.out.
20270 2012-02-28 David S. Miller <davem@davemloft.net>
20272 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20273 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20274 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20275 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20276 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20277 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20279 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20281 * math/libm-test.inc (llround_test): Move one test from
20282 lround_test. Use TEST_f_L in moved test.
20283 (lround_test): Move misplaced test to llround_test. Add testcase
20286 2012-02-28 Ulrich Drepper <drepper@gmail.com>
20288 * sysdeps/x86_64/fpu/e_expf.S: New file.
20289 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20291 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20294 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20295 of remain_len that may cause incomplete multi-byte character and
20297 * posix/bug-regex33.c: New file.
20298 * posix/Makefile (tests): Add bug-regex33.
20300 2012-02-28 Joseph Myers <joseph@codesourcery.com>
20302 * manual/macros.texi: New file.
20303 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20304 * manual/libc.texinfo: Include macros.texi.
20305 * manual/creatute.texi: Likewise.
20306 * manual/install.texi: Likewise.
20307 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20308 @glibcadj{} in references to the GNU C Library.
20309 * manual/charset.texi: Likewise.
20310 * manual/conf.texi: Likewise.
20311 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20312 when not using those macros.
20313 * manual/creature.texi: Likewise.
20314 * manual/crypt.texi: Likewise.
20315 * manual/errno.texi: Likewise.
20316 * manual/filesys.texi: Likewise.
20317 * manual/header.texi: Likewise.
20318 * manual/install.texi: Likewise.
20319 * manual/intro.texi: Likewise.
20320 * manual/io.texi: Likewise.
20321 * manual/job.texi: Likewise.
20322 * manual/lang.texi: Likewise.
20323 * manual/libc.texiinfo: Likewise.
20324 * manual/llio.texi: Likewise.
20325 * manual/locale.texi: Likewise.
20326 * manual/maint.texi: Likewise.
20327 * manual/math.texi: Likewise.
20328 * manual/memory.texi: Likewise.
20329 * manual/message.texi: Likewise.
20330 * manual/nss.texi: Likewise.
20331 * manual/pattern.texi: Likewise.
20332 * manual/process.texi: Likewise.
20333 * manual/resource.texi: Likewise.
20334 * manual/search.texi: Likewise.
20335 * manual/setjmp.texi: Likewise.
20336 * manual/signal.texi: Likewise.
20337 * manual/socket.texi: Likewise.
20338 * manual/startup.texi: Likewise.
20339 * manual/stdio.texi: Likewise.
20340 * manual/string.texi: Likewise.
20341 * manual/sysinfo.texi: Likewise.
20342 * manual/syslog.texi: Likewise.
20343 * manual/terminal.texi: Likewise.
20344 * manual/time.texi: Likewise.
20345 * manual/users.texi: Likewise.
20346 * INSTALL: Regenerated.
20347 * NOTES: Regenerated.
20348 * sysdeps/gnu/errlist.c: Regenerated.
20350 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20352 * include/dirent.h: Include <dirstream.h> before
20355 2012-02-28 David S. Miller <davem@davemloft.net>
20357 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20358 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20359 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20360 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20362 2012-02-27 David S. Miller <davem@davemloft.net>
20364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20366 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20367 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20370 frame pointer instead of stack pointer relative arg slot.
20371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20372 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20373 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20375 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20378 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20380 2012-02-27 David S. Miller <davem@davemloft.net>
20382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20386 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20387 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20388 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20389 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20391 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20393 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20394 later. Allow versions 5-9.
20395 * configure: Regenerated.
20396 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20397 required minimum version and 4.6 as recommended version. Do not
20398 mention bugs in GCC 2.7 and 2.8.
20399 * INSTALL: Regenerated.
20401 2012-02-27 David S. Miller <davem@davemloft.net>
20403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20407 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20408 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20409 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20410 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20412 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20413 manipulate bits before adding and subtracting TWO112[sx].
20414 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20416 2012-02-27 Roland McGrath <roland@hack.frob.com>
20419 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20420 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20421 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20422 being in POSIX, because they are in 1003.1-2008.
20424 * rt/tst-aio.c: Include <fcntl.h>.
20425 * rt/tst-aio7.c: Likewise.
20426 * rt/tst-aio64.c: Likewise.
20428 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20430 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20432 * manual/install.texi (--with-headers): Describe headers as
20433 interface headers, not private headers.
20434 (Specific advice for GNU/Linux systems): Describe use of headers
20435 from "make headers_install", not private headers from older
20437 * INSTALL: Regenerated.
20438 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20440 * sysdeps/unix/sysv/linux/configure: Regenerated.
20442 * manual/llio.texi (fclean): Remove documentation.
20444 * manual/Makefile (libc-texi-generated): New variable. Include
20446 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20447 $(libc-texi-generated), not duplicated list of files.
20448 (version.texi, stamp-version): New rules.
20449 (realclean): Remove $(libc-texi-generated), not individual files
20450 from that list. Do not remove dir-add.texinfo.
20451 * manual/libc.texinfo: Comment out uses of edition numbers and
20452 references to printed manual. Remove last-updated dates.
20453 (EDITION): Comment out.
20455 (VERSION, UPDATED): Remove.
20456 (version.texi): Include.
20458 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20460 * sysdeps/posix/spawni.c: Include <signal.h>.
20461 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20462 * sysdeps/pthread/aio_fsync.c: Likewise.
20464 2012-02-26 Ulrich Drepper <drepper@gmail.com>
20466 * conform/Makefile (tests): Run only when not cross-compiling and
20467 when fast-check is not defined.
20469 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20470 * conform/data/limits.h-data: Fixes for POSIX2008.
20471 * conform/run-conformtest.sh: Run all tests.
20472 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20474 * include/bits/dlfcn.h: Likewise.
20475 * include/langinfo.h: Likewise.
20476 * include/monetary.h: Likewise.
20477 * include/sys/poll.h: Likewise.
20479 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20481 * posix/spawn.h: Define __need_sigset_t.
20482 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20483 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20484 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20485 to get sigevent_t only.
20486 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20487 only for __USE_GNU.
20488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20489 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20490 process_vm_writev only for __USE_GNU.
20491 * termios/termios.h: Declare tcgetsid also for POSIX2008.
20493 * conform/Makefile: For now ignore errors from run-conformtest.
20494 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20495 POSIX to avoid namespace pollution. Don't prepend headers.
20496 * conform/data/aio.h-data: Fixes for POSIX testing.
20497 * conform/data/fcntl.h-data: Likewise.
20498 * conform/data/glob.h-data: Likewise.
20499 * conform/data/grp.h-data: Likewise.
20500 * conform/data/pthread.h-data: Likewise.
20501 * conform/data/pwd.h-data: Likewise.
20502 * conform/data/signal.h-data: Likewise.
20503 * conform/data/spawn.h-data: Likewise.
20504 * conform/data/stdio.h-data: Likewise.
20505 * conform/data/stdlib.h-data: Likewise.
20506 * conform/data/stropts.h-data: Likewise.
20507 * conform/data/sys/mman.h-data: Likewise.
20508 * conform/data/sys/stat.h-data: Likewise.
20509 * conform/data/sys/types.h-data: Likewise.
20510 * conform/data/sys/wait.h-data: Likewise.
20511 * conform/data/time.h-data: Likewise.
20512 * conform/data/unistd.h-data: Likewise.
20513 * conform/data/utime.h-data: Likewise.
20515 * io/sys/stat.h: fchmod was always in POSIX.
20516 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20517 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20518 * rt/aio.h: Define __need_timespec before including <time.h>.
20519 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20520 struct. Add forward declaration of pthread_attr_t and use it in
20522 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20523 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20524 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20525 always remove CLK_TCK definition.
20527 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20529 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20531 2012-02-25 Ulrich Drepper <drepper@gmail.com>
20533 * conform/run-conformtest.sh: New file.
20534 * conform/Makefile: Run run-conformtest for tests.
20535 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20538 * conform/data/uchar.h-data: New file.
20539 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20540 * conform/data/arpa/inet.h-data: Likewise.
20541 * conform/data/assert.h-data: Likewise.
20542 * conform/data/complex.h-data: Likewise.
20543 * conform/data/cpio.h-data: Likewise.
20544 * conform/data/ctype.h-data: Likewise.
20545 * conform/data/dirent.h-data: Likewise.
20546 * conform/data/dlfcn.h-data: Likewise.
20547 * conform/data/errno.h-data: Likewise.
20548 * conform/data/fcntl.h-data: Likewise.
20549 * conform/data/float.h-data: Likewise.
20550 * conform/data/fmtmsg.h-data: Likewise.
20551 * conform/data/fnmatch.h-data: Likewise.
20552 * conform/data/ftw.h-data: Likewise.
20553 * conform/data/glob.h-data: Likewise.
20554 * conform/data/grp.h-data: Likewise.
20555 * conform/data/iconv.h-data: Likewise.
20556 * conform/data/inttypes.h-data: Likewise.
20557 * conform/data/langinfo.h-data: Likewise.
20558 * conform/data/libgen.h-data: Likewise.
20559 * conform/data/limits.h-data: Likewise.
20560 * conform/data/locale.h-data: Likewise.
20561 * conform/data/math.h-data: Likewise.
20562 * conform/data/monetary.h-data: Likewise.
20563 * conform/data/mqueue.h-data: Likewise.
20564 * conform/data/ndbm.h-data: Likewise.
20565 * conform/data/net/if.h-data: Likewise.
20566 * conform/data/netdb.h-data: Likewise.
20567 * conform/data/netinet/in.h-data: Likewise.
20568 * conform/data/nl_types.h-data: Likewise.
20569 * conform/data/poll.h-data: Likewise.
20570 * conform/data/pthread.h-data: Likewise.
20571 * conform/data/pwd.h-data: Likewise.
20572 * conform/data/regex.h-data: Likewise.
20573 * conform/data/sched.h-data: Likewise.
20574 * conform/data/search.h-data: Likewise.
20575 * conform/data/semaphore.h-data: Likewise.
20576 * conform/data/setjmp.h-data: Likewise.
20577 * conform/data/signal.h-data: Likewise.
20578 * conform/data/spawn.h-data: Likewise.
20579 * conform/data/stdarg.h-data: Likewise.
20580 * conform/data/stdio.h-data: Likewise.
20581 * conform/data/stdlib.h-data: Likewise.
20582 * conform/data/string.h-data: Likewise.
20583 * conform/data/strings.h-data: Likewise.
20584 * conform/data/stropts.h-data: Likewise.
20585 * conform/data/sys/ipc.h-data: Likewise.
20586 * conform/data/sys/mman.h-data: Likewise.
20587 * conform/data/sys/msg.h-data: Likewise.
20588 * conform/data/sys/resource.h-data: Likewise.
20589 * conform/data/sys/select.h-data: Likewise.
20590 * conform/data/sys/sem.h-data: Likewise.
20591 * conform/data/sys/shm.h-data: Likewise.
20592 * conform/data/sys/socket.h-data: Likewise.
20593 * conform/data/sys/stat.h-data: Likewise.
20594 * conform/data/sys/statvfs.h-data: Likewise.
20595 * conform/data/sys/time.h-data: Likewise.
20596 * conform/data/sys/timeb.h-data: Likewise.
20597 * conform/data/sys/times.h-data: Likewise.
20598 * conform/data/sys/types.h-data: Likewise.
20599 * conform/data/sys/uio.h-data: Likewise.
20600 * conform/data/sys/un.h-data: Likewise.
20601 * conform/data/sys/utsname.h-data: Likewise.
20602 * conform/data/sys/wait.h-data: Likewise.
20603 * conform/data/syslog.h-data: Likewise.
20604 * conform/data/tar.h-data: Likewise.
20605 * conform/data/termios.h-data: Likewise.
20606 * conform/data/utime.h-data: Likewise.
20607 * conform/data/utmpx.h-data: Likewise.
20608 * conform/data/varargs.h-data: Likewise.
20609 * conform/data/wchar.h-data: Likewise.
20610 * conform/data/wctype.h-data: Likewise.
20611 * conform/data/wordexp.h-data: Likewise.
20613 * include/stropts.h: New file.
20614 * include/uchar.h: New file.
20615 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20616 * include/assert.h: Likewise.
20617 * include/ctype.h: Likewise.
20618 * include/dirent.h: Likewise.
20619 * include/dlfcn.h: Likewise.
20620 * include/fcntl.h: Likewise.
20621 * include/fnmatch.h: Likewise.
20622 * include/glob.h: Likewise.
20623 * include/grp.h: Likewise.
20624 * include/libio.h: Likewise.
20625 * include/locale.h: Likewise.
20626 * include/math.h: Likewise.
20627 * include/net/if.h: Likewise.
20628 * include/netdb.h: Likewise.
20629 * include/netinet/in.h: Likewise.
20630 * include/pthread.h: Likewise.
20631 * include/pwd.h: Likewise.
20632 * include/regex.h: Likewise.
20633 * include/sched.h: Likewise.
20634 * include/search.h: Likewise.
20635 * include/setjmp.h: Likewise.
20636 * include/signal.h: Likewise.
20637 * include/stdio.h: Likewise.
20638 * include/stdlib.h: Likewise.
20639 * include/string.h: Likewise.
20640 * include/sys/cdefs.h: Likewise.
20641 * include/sys/mman.h: Likewise.
20642 * include/sys/msg.h: Likewise.
20643 * include/sys/resource.h: Likewise.
20644 * include/sys/select.h: Likewise.
20645 * include/sys/socket.h: Likewise.
20646 * include/sys/stat.h: Likewise.
20647 * include/sys/statvfs.h: Likewise.
20648 * include/sys/time.h: Likewise.
20649 * include/sys/times.h: Likewise.
20650 * include/sys/uio.h: Likewise.
20651 * include/sys/utsname.h: Likewise.
20652 * include/sys/wait.h: Likewise.
20653 * include/termios.h: Likewise.
20654 * include/time.h: Likewise.
20655 * include/ulimit.h: Likewise.
20656 * include/unistd.h: Likewise.
20657 * include/utime.h: Likewise.
20658 * include/wchar.h: Likewise.
20659 * include/wctype.h: Likewise.
20660 * include/wordexp.h: Likewise.
20662 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20664 * time/time.h: TIME_UTC must be a macro.
20665 Make timespec_get available for ISO C11 only as well.
20667 2012-02-24 Ulrich Drepper <drepper@gmail.com>
20669 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20670 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20672 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20674 * configure.in: Use -o not -a in test for unsupported multi-arch.
20676 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20678 * manual/texinfo.tex: Update to version 2012-01-19.16.
20680 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20682 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20684 2012-02-24 Roland McGrath <roland@hack.frob.com>
20687 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20688 * manual/fdl-1.3.texi: New file.
20689 * manual/fdl-1.1.texi: File removed.
20692 * manual/libc.texinfo (FDL_VERSION): New @set.
20693 Use it for mention of FDL in cover text.
20694 (Documentation License): Use it in @include file name.
20696 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20697 Roland McGrath <roland@hack.frob.com>
20700 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20701 not LONG_LONG_MAX and LONG_LONG_MIN.
20702 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20703 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20705 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20707 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20711 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20712 manipulate bits before adding and subtracting TWO23[sx].
20713 * math/libm-test.inc (nearbyint_test): Add more tests.
20715 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20718 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20719 bits before adding and subtracting TWO23[sx].
20720 * math/libm-test.inc (rint_test): Add more tests.
20721 (rint_test_tonearest): Likewise.
20722 (rint_test_towardzero): Likewise.
20723 (rint_test_downward): Likewise.
20724 (rint_test_upward: Likewise.
20726 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20729 * include/stdc-predef.h: New file. Extracted from features.h.
20730 * include/features.h: Include stdc-predef.h.
20731 * Makefile (headers): Add stdc-predef.h.
20732 * CONFORMANCE (Compiler limitations): Update.
20734 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20736 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20738 2012-02-21 David S. Miller <davem@davemloft.net>
20740 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20741 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20743 2012-02-20 David S. Miller <davem@davemloft.net>
20745 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20746 using a normal save/restore sequence, rather than allocating a
20747 dummy stack frame just to store a frame pointer and restore.
20748 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20750 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20752 * manual/install.texi: Fix stray word in line-wrapped comment.
20754 2012-02-20 David S. Miller <davem@davemloft.net>
20756 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20757 both binutils and gcc support GOTDATA.
20759 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20760 "rd %pc" in the PIC register setup sequences.
20762 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20763 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20764 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20765 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20766 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20767 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20768 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20769 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20770 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20771 (SYSCALL_ERROR_HANDLER): Likewise.
20772 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20773 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20774 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20775 (SYSCALL_ERROR_HANDLER): Likewise.
20777 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20778 (HAVE_GCC_GOTDATA): New.
20779 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20780 relocation support in both binutils and gcc.
20781 * sysdeps/sparc/elf/configure: Regenerate.
20783 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20784 * sysdeps/sparc/sparc32/elf/configure: Delete.
20785 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20786 * sysdeps/sparc/sparc64/elf/configure: Delete.
20787 * sysdeps/sparc/elf/configure.in: New file.
20788 * sysdeps/sparc/elf/configure: Generate.
20790 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20791 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20792 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20793 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20794 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20796 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20798 * manual/install.texi: Do not mention specific glibc version
20800 * manual/libc.texinfo (VERSION, UPDATED): Update.
20801 (@copying): Use @copyright{} and range of years.
20803 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20806 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20807 [crti.S not in sysdirs] (generated): Do not append.
20808 [crti.S not in sysdirs] (omit-deps): Likewise.
20809 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20810 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20811 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20812 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20813 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20815 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20816 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20817 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20818 * csu/defs.awk: Remove file.
20819 * sysdeps/generic/initfini.c: Likewise.
20820 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20822 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20825 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20827 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20828 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20829 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20830 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20831 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20832 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20834 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20835 (__EPOLL_PACKED): Define to empty if not defined by
20837 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20841 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20843 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20844 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20845 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20846 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20848 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20852 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20854 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20856 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20857 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20858 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20861 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20863 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20864 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20866 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20868 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20869 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20871 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20873 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20876 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20878 * math/w_acos.c: Use non-signaling floating-point comparisons.
20879 * math/w_acosf.c: Likewise.
20880 * math/w_acosh.c: Likewise.
20881 * math/w_acoshf.c: Likewise.
20882 * math/w_acoshl.c: Likewise.
20883 * math/w_acosl.c: Likewise.
20884 * math/w_asin.c: Likewise.
20885 * math/w_asinf.c: Likewise.
20886 * math/w_asinl.c: Likewise.
20887 * math/w_atanh.c: Likewise.
20888 * math/w_atanhf.c: Likewise.
20889 * math/w_atanhl.c: Likewise.
20890 * math/w_exp2.c: Likewise.
20891 * math/w_exp2f.c: Likewise.
20892 * math/w_exp2l.c: Likewise.
20893 * math/w_j0.c: Likewise.
20894 * math/w_j0f.c: Likewise.
20895 * math/w_j0l.c: Likewise.
20896 * math/w_j1.c: Likewise.
20897 * math/w_j1f.c: Likewise.
20898 * math/w_j1l.c: Likewise.
20899 * math/w_jn.c: Likewise.
20900 * math/w_jnf.c: Likewise.
20901 * math/w_log.c: Likewise.
20902 * math/w_log10.c: Likewise.
20903 * math/w_log10f.c: Likewise.
20904 * math/w_log10l.c: Likewise.
20905 * math/w_log2.c: Likewise.
20906 * math/w_log2f.c: Likewise.
20907 * math/w_log2l.c: Likewise.
20908 * math/w_logf.c: Likewise.
20909 * math/w_logl.c: Likewise.
20910 * math/w_sqrt.c: Likewise.
20911 * math/w_sqrtf.c: Likewise.
20912 * math/w_sqrtl.c: Likewise.
20913 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20914 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20915 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20916 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20917 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20919 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20922 * manual/string.texi (strnlen): Use correct parameter name in
20923 equivalent expression.
20925 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20928 * manual/users.texi (seteuid): Consistently use neweuid for
20931 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20934 * manual/nss.texi (Services in the NSS configuration): Correct
20935 list of services in example configuration file.
20937 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20940 * manual/arith.texi: Remove statements about negative zero
20941 behaving identically to zero.
20943 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20946 * manual/install.texi: Do not document upgrading from libc5.
20948 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20951 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20953 2012-02-18 David S. Miller <davem@davemloft.net>
20955 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20956 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20957 %o7 across the call.
20958 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20960 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20961 SETUP_PIC_REG_LEAF.
20962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20963 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20964 * sysdeps/sparc/crtn.S: Likewise.
20966 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20968 * aout/Makefile: Remove.
20970 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20973 * manual/examples/argp-ex1.c (main): Format definition in GNU
20975 * manual/examples/argp-ex2.c (main): Likewise.
20976 * manual/examples/argp-ex3.c (main): Likewise.
20977 * manual/examples/argp-ex4.c (main): Likewise.
20978 * manual/examples/longopt.c (main): Use new-style prototype
20980 * manual/examples/strncat.c (main): Specify return type and use
20981 (void) for arguments.
20982 * manual/examples/subopt.c (main): Use char **argv argument.
20984 2012-02-17 Joseph Myers <joseph@codesourcery.com>
20987 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20990 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20993 * manual/string.texi (strchr): Change when strchrnul is
20996 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20999 * manual/locale.texi (setlocale): Document LOCPATH.
21001 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21004 * manual/process.texi (execle): Move @dots{} before last argument.
21006 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
21009 * manual/charset.texi (Generic Charset Conversion): Fix typo
21010 (LC_TYPE -> LC_CTYPE).
21012 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
21015 * manual/arith.texi (scalbn): Use @var{} on parameter names.
21016 (scalbnf): Likewise.
21017 (scalbnl): Likewise.
21018 (scalbln): Likewise.
21019 (scalblnf): Likewise.
21020 (scalblnl): Likewise.
21021 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21022 (vwarnx): Likewise.
21025 * manual/filesys.texi (telldir): Use braces around return type.
21026 * manual/llio.texi (mmap): Add space after comma.
21027 (mmap64): Likewise.
21028 * manual/math.texi (jn): Use @var{} on parameter names.
21034 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21036 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21038 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21039 (sched_get_priority_max): Likewise.
21040 * manual/signal.texi (sigvec): Add space after comma.
21041 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21043 (if_indextoname): Likewise.
21044 (if_freenameindex): Likewise.
21045 (sendto): Use ',' instead of '.' in prototype.
21046 * manual/startup.texi (syscall): Use @dots{} instead of literal
21048 * manual/stdio.texi (__fpending): Separate initial words of
21049 paragraph from @deftypefun line.
21050 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21052 (vsyslog): Use @var{} on parameter names.
21053 * manual/terminal.texi (stty): Use @var{} on parameter names.
21054 * manual/users.texi (getutmp): Use @var{} on parameter names.
21055 (getutmpx): Likewise.
21057 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21060 * manual/stdio.texi (fopen): Fix typos in description of
21063 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21066 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21067 get clock_id definition.
21069 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
21072 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21073 (madvise): Cast every argument to void on its own.
21075 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21078 * manual/startup.texi (Exit Status): Fix typo.
21080 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21083 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21084 * manual/examples/argp-ex2.c: Likewise.
21085 * manual/examples/argp-ex3.c: Likewise.
21087 2012-02-16 Richard Henderson <rth@redhat.com>
21089 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21090 * sysdeps/s390/s390-32/initfini.c: Remove.
21091 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21092 * sysdeps/s390/s390-64/initfini.c: Remove.
21094 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21096 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21097 compiler output for sysdeps/generic/initfini.c.
21098 * sysdeps/sh/elf/initfini.c: Remove file.
21100 2012-02-16 David S. Miller <davem@davemloft.net>
21103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21105 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21106 * sysdeps/sparc/crti.S: New file.
21107 * sysdeps/sparc/crtn.S: New file.
21108 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21109 * sysdeps/sparc/sparc64/Makefile: Likewise.
21111 2012-02-15 Mike Frysinger <vapier@gentoo.org>
21114 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21116 2012-02-15 Roland McGrath <roland@hack.frob.com>
21119 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21121 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21122 (write, read, close): Likewise.
21123 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21125 2012-02-15 Joseph Myers <joseph@codesourcery.com>
21127 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21128 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21129 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21130 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21132 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21136 2012-02-14 Marek Polacek <polacek@redhat.com>
21138 * sysdeps/x86_64/crti.S: New file.
21139 * sysdeps/x86_64/crtn.S: New file.
21140 * sysdeps/x86_64/elf/initfini.c: Remove file.
21142 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21144 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21145 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21146 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21147 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21149 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21153 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21155 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21156 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21157 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21158 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21160 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21161 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21164 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21166 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21167 __feraiseexcept instead of feraiseexcept.
21169 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21170 nanosleep invocations.
21171 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21172 strings, and add error checking for a nanosleep invocations.
21174 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21176 Replace FSF snail mail address with URLs, as per GNU coding standards.
21177 Most of the snail mail addresses were wrong anyway, and omitting
21178 them makes the source code easier to maintain. Almost all of the
21179 changes are to license notices and to locale LC_IDENTIFICATION
21180 addresses, except for this one:
21181 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21182 not its snail mail address.
21184 2012-02-09 Richard Henderson <rth@twiddle.net>
21186 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21187 of kernel-features.h.
21189 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21191 2012-02-08 Marek Polacek <polacek@redhat.com>
21193 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21194 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21195 * sysdeps/gnu/_G_config.h: Likewise.
21196 * sysdeps/generic/_G_config.h: Likewise.
21198 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
21200 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21204 * sysdeps/powerpc/powerpc32/crti.S: New file.
21205 * sysdeps/powerpc/powerpc32/crtn.S: New file.
21206 * sysdeps/powerpc/powerpc64/crti.S: New file.
21207 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21209 * Makeconfig (have-initfini): Don't set.
21210 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21211 * configure.in (nopic_initfini): Don't substitute.
21212 * config.h.in (HAVE_INITFINI): Don't #undef.
21213 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21214 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21216 2012-02-08 Joseph Myers <joseph@codesourcery.com>
21218 Support crti.S and crtn.S provided directly by architectures.
21219 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21220 [crti.S in sysdirs] (omit-deps): Likewise.
21221 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21222 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21223 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21224 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21225 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21226 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21227 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21228 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21229 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21230 compiler output for sysdeps/generic/initfini.c.
21231 * sysdeps/i386/elf/Makefile: Remove file.
21232 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21234 2012-02-07 Marek Polacek <polacek@redhat.com>
21236 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21237 * sysdeps/gnu/_G_config.h: Likewise.
21238 * sysdeps/mach/hurd/_G_config.h: Likewise.
21240 2012-02-07 Marek Polacek <polacek@redhat.com>
21242 * math/Makefile (tests): Add tst-CMPLX2.
21243 * math/tst-CMPLX2.c: New file.
21245 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21247 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21249 * math/libm-test.inc (jn_test): Add missing L suffix.
21251 2012-02-06 Marek Polacek <polacek@redhat.com>
21253 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21254 * sysdeps/i386/fpu/e_powf.S: Likewise.
21255 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21256 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21257 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21258 * sysdeps/i386/fpu/e_pow.S: Likewise.
21259 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21260 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21261 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21262 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21263 * sysdeps/i386/fpu/e_log2.S: Likewise.
21264 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21265 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21266 * sysdeps/i386/fpu/e_powl.S: Likewise.
21267 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21268 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21269 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21270 * sysdeps/i386/fpu/e_logl.S: Likewise.
21271 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21272 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21273 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21274 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21275 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21276 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21277 * sysdeps/i386/fpu/e_log.S: Likewise.
21278 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21279 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21280 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21281 * sysdeps/i386/fpu/e_logf.S: Likewise.
21282 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21283 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21284 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21285 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21286 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21287 * sysdeps/i386/fpu/e_log10.S: Likewise.
21288 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21289 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21290 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21291 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21292 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21293 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21294 * sysdeps/i386/asm-syntax.h: Likewise.
21295 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21296 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21297 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21298 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21299 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21300 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21301 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21302 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21303 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21304 * sysdeps/powerpc/sysdep.h: Likewise.
21305 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21306 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21308 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21311 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21313 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21315 * sysdeps/i386/sysdep.h: Include <features.h>.
21316 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21319 2012-02-05 Joseph Myers <joseph@codesourcery.com>
21321 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21323 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21326 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21328 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21329 (SETUP_PIC_REG): Use GET_PC_THUNK.
21330 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21333 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21335 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21336 for non-PIC compilation.
21337 (SETUP_PIC_REG): Add .p2align directive.
21338 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21339 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21340 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21341 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21342 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21343 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21344 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21345 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21346 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21347 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21348 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21349 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21350 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21351 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21352 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21353 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21354 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21355 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21356 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21357 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21358 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21359 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21360 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21361 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21362 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21363 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21364 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21365 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21366 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21367 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21368 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21369 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21370 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21371 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21372 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21373 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21374 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21375 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21376 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21377 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21378 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21380 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21382 * math/tst-CMPLX.c: Include <stdio.h>.
21384 2012-01-31 Joseph Myers <joseph@codesourcery.com>
21386 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21388 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21389 * sysdeps/sparc/bits/mathdef.h: Likewise.
21391 2012-01-31 Marek Polacek <polacek@redhat.com>
21393 * libio/libio.h: Don't define _PARAMS.
21394 * locale/programs/config.h: Don't define PARAMS.
21395 * stdlib/strtol_l.c: Likewise.
21396 (__strtol_l): Remove PARAMS from the prototype.
21398 2012-01-31 Ulrich Drepper <drepper@gmail.com>
21400 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21401 names. Just use the correct names. Remove unnecessary wrapper
21403 * malloc/arena.c: Likewise.
21404 * malloc/hooks.c: Likewise.
21406 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21407 ARENA_TEST says not to. Simplify test for creation of a new arena.
21408 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21410 2012-01-30 Ulrich Drepper <drepper@gmail.com>
21412 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21414 (update_get_addr): New function.
21415 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21416 GET_ADDR_MODULE parameter.
21418 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21420 * crypt/cert.c: Remove __STDC__ conditionals.
21421 * crypt/crypt-entry.c: Likewise.
21422 * crypt/crypt_util.c: Likewise.
21423 * libio/filedoalloc.c: Likewise.
21424 * libio/fileops.c: Likewise.
21425 * libio/genops.c: Likewise.
21426 * libio/iofclose.c: Likewise.
21427 * libio/iofdopen.c: Likewise.
21428 * libio/iofopen.c: Likewise.
21429 * libio/iofopen64.c: Likewise.
21430 * libio/iogetdelim.c: Likewise.
21431 * libio/iopopen.c: Likewise.
21432 * libio/obprintf.c: Likewise.
21433 * libio/oldfileops.c: Likewise.
21434 * libio/oldiofclose.c: Likewise.
21435 * libio/oldiofdopen.c: Likewise.
21436 * libio/oldiofopen.c: Likewise.
21437 * libio/oldiopopen.c: Likewise.
21438 * libio/wfiledoalloc.c: Likewise.
21439 * libio/wgenops.c: Likewise.
21440 * locale/programs/xmalloc.c: Likewise.
21441 * misc/syslog.c: Likewise.
21442 * stdio-common/xbug.c: Likewise.
21443 * string/memchr.c: Likewise.
21444 * string/memcmp.c: Likewise.
21445 * string/memrchr.c: Likewise.
21446 * string/rawmemchr.c: Likewise.
21447 * sysdeps/posix/getcwd.c: Likewise.
21448 * time/strftime_l.c: Likewise.
21450 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21452 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
21453 * config.make.in (config-cflags-sse2avx): Define.
21454 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21457 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21459 * scripts/config.guess: Update from upstream config git repository.
21460 * scripts/config.sub: Likewise.
21462 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21464 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21466 (R_TILEPRO_*, R_TILEGX_*): New macros.
21468 * scripts/firstversions.awk: Fix bug in version range handling.
21470 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21472 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21474 * include/sys/epoll.h: New file.
21475 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21478 2012-01-28 Ulrich Drepper <drepper@gmail.com>
21480 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21481 Avoid unnecessary __WORDSIZE == 64 test.
21482 (fmaxf): Use VEX format if possible.
21487 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21488 * math/math_private.h: Remove libc_fegetround* and
21490 * sysdeps/i386/configure.in: Check for -msse2avx.
21491 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21492 also if SSE2AVX is defined.
21493 Remove libc_fegetround* and libc_fesetround*.
21494 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21495 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21496 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21498 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21499 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21500 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21501 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21502 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21504 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21506 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21508 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21510 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21512 2012-01-27 Ulrich Drepper <drepper@gmail.com>
21515 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21517 * Makeconfig (libm): Define.
21518 * elf/Makefile: Add rules to build and run tst-relsort1.
21519 * elf/tst-relsort1.c: New file.
21520 * elf/tst-relsort1mod1.c: New file.
21521 * elf/tst-relsort1mod2.c: New file.
21523 2012-01-27 Joseph Myers <joseph@codesourcery.com>
21525 * math/s_ldexp.c: Remove __STDC__ conditionals.
21526 * math/s_ldexpf.c: Likewise.
21527 * math/s_ldexpl.c: Likewise.
21528 * math/s_nextafter.c: Likewise.
21529 * math/s_nexttowardf.c: Likewise.
21530 * math/s_significand.c: Likewise.
21531 * math/s_significandf.c: Likewise.
21532 * math/s_significandl.c: Likewise.
21533 * math/w_jnl.c: Likewise.
21534 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21535 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21536 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21537 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21538 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21539 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21540 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21541 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21542 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21543 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21544 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21545 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21546 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21547 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21548 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21549 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21550 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21551 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21552 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21553 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21554 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21555 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21556 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21557 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21558 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21559 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21560 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21561 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21562 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21563 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21564 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21565 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21566 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21567 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21568 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21569 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21570 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21571 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21572 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21573 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21574 * sysdeps/ieee754/k_standard.c: Likewise.
21575 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21576 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21577 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21578 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21579 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21580 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21581 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21582 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21583 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21584 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21585 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21586 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21587 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21588 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21589 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21590 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21591 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21592 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21593 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21594 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21595 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21596 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21597 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21598 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21599 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21600 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21601 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21602 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21603 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21604 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21605 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21606 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21607 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21608 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21609 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21610 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21611 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21612 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21613 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21614 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21615 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21616 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21617 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21618 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21619 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21620 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21621 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21622 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21623 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21624 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21625 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21626 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21627 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21628 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21629 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21630 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21631 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21632 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21633 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21634 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21635 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21636 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21637 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21638 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21639 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21640 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21641 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21642 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21643 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21644 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21645 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21646 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21647 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21648 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21649 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21650 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21651 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21652 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21653 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21654 * sysdeps/ieee754/s_matherr.c: Likewise.
21655 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21656 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21657 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21658 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21660 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21662 * crypt/md5.h: Remove __STDC__ conditionals.
21663 * libio/libioP.h: Likewise.
21664 * locale/programs/config.h: Likewise.
21665 * sysdeps/generic/sysdep.h: Likewise.
21666 * sysdeps/i386/asm-syntax.h: Likewise.
21667 * sysdeps/s390/asm-syntax.h: Likewise.
21668 * sysdeps/unix/sysdep.h: Likewise.
21669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21672 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21674 * libio/libio.h: Remove __STDC__ conditionals.
21675 * malloc/obstack.h: Likewise.
21676 * math/complex.h: Likewise.
21677 * math/math.h: Likewise.
21678 * sysdeps/generic/_G_config.h: Likewise.
21679 * sysdeps/gnu/_G_config.h: Likewise.
21680 * sysdeps/mach/hurd/_G_config.h: Likewise.
21681 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21682 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21683 * sysdeps/sparc/bits/mathdef.h: Likewise.
21685 2012-01-26 Ulrich Drepper <drepper@gmail.com>
21688 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21689 Clean up HAS_* macros.
21690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21691 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21693 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21695 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21696 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21697 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21698 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21699 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21701 2012-01-25 Joseph Myers <joseph@codesourcery.com>
21703 * elf/tst-unique3.cc (gets): Remove declaration.
21704 * elf/tst-unique3lib.cc (gets): Likewise.
21705 * elf/tst-unique3lib2.cc (gets): Likewise.
21706 * elf/tst-unique4.cc (gets): Likewise.
21708 2012-01-24 Ulrich Drepper <drepper@gmail.com>
21710 * include/stdio.h: Add C++ protection. Add gets declarations and
21712 * debug/tst-chk1.c: Don't declare gets here.
21713 * stdio-common/tst-gets.c: Likewise.
21715 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21717 * posix/glob: Remove directory.
21719 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21721 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21723 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21725 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21726 of the non-standard EPFNOSUPPORT.
21728 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21730 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21731 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21732 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21734 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21736 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21738 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21740 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21742 * nscd/grpcache.c (cache_addgr): Likewise.
21743 * nscd/hstcache.c (cache_addhst): Likewise.
21744 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21745 * nscd/pwdcache.c (cache_addpw): Likewise.
21746 * nscd/servicescache.c (cache_addserv): Likewise.
21748 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21750 * malloc/malloc.c: Various cleanups.
21751 * malloc/hooks.c: Likewise.
21753 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21754 * stdlib/bug-fmtmsg1.c: New file.
21756 * stdlib/fmtmsg.c (init): Add missing unlock.
21757 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21759 2012-01-12 Marek Polacek <polacek@redhat.com>
21761 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21764 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21766 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21767 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21768 macro to ensure uniqueness of label name.
21769 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21770 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21772 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21774 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21776 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21777 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21778 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21779 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21781 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21783 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21785 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21786 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21787 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21789 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21791 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21792 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21793 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21794 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21796 * math/bits/math-finite.h: Add ldexp support.
21798 2012-01-10 Marek Polacek <polacek@redhat.com>
21800 * locale/programs/localedef.h (show_archive_content): Add noreturn
21803 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21805 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21807 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21809 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21811 * io/Makefile (headers): Add bits/poll2.h.
21813 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21816 typo #include statement.
21818 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21820 * include/sys/cdefs.h: Define __attribute_alloc_size.
21821 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21822 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21823 * elf/pldd.c: Likewise.
21824 * iconv/iconv_charmap.c: Likewise.
21825 * iconv/iconvconfig.c: Likewise.
21826 * iconv/strtab.c: Likewise.
21827 * locale/programs/locale.c: Likewise.
21828 * locale/programs/localedef.h: Likewise.
21829 * locale/programs/simple-hash.c: Likewise.
21830 * nscd/nscd.h: Likewise.
21831 * nss/makedb.c: Likewise.
21832 * sysdeps/generic/ldconfig.h: Likewise.
21833 * locale/programs/localedef.c: Remove xmalloc prototype.
21834 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21836 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21838 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21841 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21843 * math/Makefile (tests): Add tst-CMPLX.
21844 * math/tst-CMPLX.c: New file.
21846 * math/complex.h (CMPLXL): Fix typo.
21848 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21849 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21851 * debug/tst-chk1.c: Add poll and ppoll tests.
21852 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21853 * include/sys/poll.h: Add hidden proto for ppoll.
21854 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21855 * sysdeps/mach/hurd/ppoll.c: Likewise.
21856 * io/ppoll.c: Likewise.
21857 * debug/poll_chk.c: New file.
21858 * debug/ppoll_chk.c: New file.
21859 * include/bits/poll2.h: New file.
21860 * io/bits/poll2.h: New file.
21863 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21865 * configure.in: static is always set to yes. Remove.
21866 * config.make.in: Don't set build-static.
21867 * Makeconfig: Remove use of build-static.
21868 * dlfcn/Makefile: Likewise.
21869 * elf/Makefile: Likewise.
21870 * math/Makefile: Likewise.
21871 * misc/Makefile: Likewise.
21872 * nptl/Makefile: Likewise.
21873 * sysdeps/mach/hurd/Makefile: Likewise.
21875 * configure.in: PWD_P is not used anymore.
21876 * config.make.in: Remove PWD_P entry.
21878 * configure.in: Remove last remnants of RANLIB.
21879 No need to check for signed size_t anymore.
21880 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21882 Remove __builtin_expect test because we require at least gcc 3.4.
21883 * aclocal.m4: Likewise.
21885 * wcsmbs/mbrtoc16.c: Implement using towc function.
21886 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21887 * wcsmbs/wcsmbsload.c: Likewise.
21888 * iconv/gconv_simple.c: Likewise.
21889 * iconv/gconv_int.h: Likewise.
21890 * iconv/gconv_builtin.h: Likewise.
21891 * iconv/iconv_prog.c: Remove CHAR16 handling.
21893 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21895 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21897 * configure.in: Remove --with-elf and --enable-bounded options.
21898 Dont set base_machine for ia64. More non-ELF conditions removed.
21899 Remove testing and setting of leading underscore information.
21900 * config.make.in (build-bounded): Set to no.
21901 * config.h.in: Remove NO_UNDERSCORES entry.
21902 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21904 * csu/start.c: Remove !NO_UNDERSCORE code.
21905 * locale/localeinfo.h: Likewise.
21906 * sysdeps/generic/machine-gmon.h: Likewise.
21907 * sysdeps/generic/sysdep.h: Likewise.
21908 * sysdeps/i386/sysdep.h: Likewise.
21909 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21910 * sysdeps/mach/sysdep.h: Likewise.
21911 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21912 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21913 * sysdeps/sh/sysdep.h: Likewise.
21914 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21915 * sysdeps/unix/i386/sysdep.S: Likewise.
21916 * sysdeps/unix/sparc/start.c: Likewise.
21917 * sysdeps/unix/sparc/sysdep.S: Likewise.
21918 * sysdeps/unix/sparc/sysdep.h: Likewise.
21919 * sysdeps/unix/start.c: Likewise.
21920 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21921 * sysdeps/x86_64/sysdep.h: Likewise.
21923 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21926 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21928 * argp/argp-fmtstream.h: Use const instead __const.
21929 * argp/argp.h: Likewise.
21930 * assert/assert.h: Likewise.
21931 * bits/fenv.h: Likewise.
21932 * bits/sched.h: Likewise.
21933 * bits/sigset.h: Likewise.
21934 * bits/sigthread.h: Likewise.
21935 * catgets/nl_types.h: Likewise.
21936 * conform/data/pthread.h-data: Likewise.
21937 * crypt/crypt-private.h: Likewise.
21938 * crypt/crypt.h: Likewise.
21939 * crypt/crypt_util.c: Likewise.
21940 * ctype/ctype.h: Likewise.
21941 * debug/execinfo.h: Likewise.
21942 * debug/mbsnrtowcs_chk.c: Likewise.
21943 * debug/mbsrtowcs_chk.c: Likewise.
21944 * debug/wcsnrtombs_chk.c: Likewise.
21945 * debug/wcsrtombs_chk.c: Likewise.
21946 * debug/wcstombs_chk.c: Likewise.
21947 * dirent/dirent.h: Likewise.
21948 * dlfcn/dlfcn.h: Likewise.
21949 * elf/neededtest4.c: Likewise.
21950 * grp/grp.h: Likewise.
21951 * gshadow/gshadow.h: Likewise.
21952 * iconv/gconv.h: Likewise.
21953 * iconv/gconv_int.h: Likewise.
21954 * iconv/gconv_simple.c: Likewise.
21955 * iconv/iconv.h: Likewise.
21956 * iconv/loop.c: Likewise.
21957 * iconv/skeleton.c: Likewise.
21958 * include/aio.h: Likewise.
21959 * include/aliases.h: Likewise.
21960 * include/argz.h: Likewise.
21961 * include/arpa/inet.h: Likewise.
21962 * include/assert.h: Likewise.
21963 * include/dirent.h: Likewise.
21964 * include/dlfcn.h: Likewise.
21965 * include/execinfo.h: Likewise.
21966 * include/fcntl.h: Likewise.
21967 * include/fenv.h: Likewise.
21968 * include/glob.h: Likewise.
21969 * include/grp.h: Likewise.
21970 * include/libintl.h: Likewise.
21971 * include/mntent.h: Likewise.
21972 * include/netdb.h: Likewise.
21973 * include/pwd.h: Likewise.
21974 * include/rpc/netdb.h: Likewise.
21975 * include/sched.h: Likewise.
21976 * include/search.h: Likewise.
21977 * include/shadow.h: Likewise.
21978 * include/signal.h: Likewise.
21979 * include/stdio.h: Likewise.
21980 * include/stdlib.h: Likewise.
21981 * include/string.h: Likewise.
21982 * include/sys/socket.h: Likewise.
21983 * include/sys/stat.h: Likewise.
21984 * include/sys/statfs.h: Likewise.
21985 * include/sys/statvfs.h: Likewise.
21986 * include/sys/syslog.h: Likewise.
21987 * include/sys/time.h: Likewise.
21988 * include/sys/uio.h: Likewise.
21989 * include/time.h: Likewise.
21990 * include/unistd.h: Likewise.
21991 * include/utmp.h: Likewise.
21992 * include/wchar.h: Likewise.
21993 * include/wctype.h: Likewise.
21994 * inet/aliases.h: Likewise.
21995 * inet/arpa/inet.h: Likewise.
21996 * inet/netinet/ether.h: Likewise.
21997 * inet/netinet/in.h: Likewise.
21998 * intl/libintl.h: Likewise.
21999 * io/bits/fcntl2.h: Likewise.
22000 * io/fcntl.h: Likewise.
22001 * io/ftw.h: Likewise.
22002 * io/sys/poll.h: Likewise.
22003 * io/sys/stat.h: Likewise.
22004 * io/sys/statfs.h: Likewise.
22005 * io/sys/statvfs.h: Likewise.
22006 * io/utime.h: Likewise.
22007 * libio/bits/stdio.h: Likewise.
22008 * libio/bits/stdio2.h: Likewise.
22009 * libio/libio.h: Likewise.
22010 * libio/libioP.h: Likewise.
22011 * libio/stdio.h: Likewise.
22012 * locale/lc-ctype.c: Likewise.
22013 * locale/locale.h: Likewise.
22014 * login/utmp.h: Likewise.
22015 * malloc/arena.c: Likewise.
22016 * malloc/malloc.c: Likewise.
22017 * malloc/malloc.h: Likewise.
22018 * malloc/mcheck.c: Likewise.
22019 * malloc/mtrace.c: Likewise.
22020 * math/bits/mathcalls.h: Likewise.
22021 * math/fenv.h: Likewise.
22022 * math/math_private.h: Likewise.
22023 * misc/bits/error.h: Likewise.
22024 * misc/bits/syslog.h: Likewise.
22025 * misc/err.h: Likewise.
22026 * misc/error.h: Likewise.
22027 * misc/fstab.h: Likewise.
22028 * misc/mntent.h: Likewise.
22029 * misc/regexp.h: Likewise.
22030 * misc/search.h: Likewise.
22031 * misc/sgtty.h: Likewise.
22032 * misc/sys/mman.h: Likewise.
22033 * misc/sys/syslog.h: Likewise.
22034 * misc/sys/uio.h: Likewise.
22035 * misc/sys/xattr.h: Likewise.
22036 * misc/ttyent.h: Likewise.
22037 * nis/rpcsvc/ypclnt.h: Likewise.
22038 * nss/nss.h: Likewise.
22039 * posix/bits/unistd.h: Likewise.
22040 * posix/fnmatch.h: Likewise.
22041 * posix/glob.h: Likewise.
22042 * posix/sched.h: Likewise.
22043 * posix/spawn.h: Likewise.
22044 * posix/sys/wait.h: Likewise.
22045 * posix/unistd.h: Likewise.
22046 * posix/wordexp.h: Likewise.
22047 * pwd/pwd.h: Likewise.
22048 * resolv/netdb.h: Likewise.
22049 * resource/sys/resource.h: Likewise.
22050 * rt/aio.h: Likewise.
22051 * rt/bits/mqueue2.h: Likewise.
22052 * rt/mqueue.h: Likewise.
22053 * shadow/shadow.h: Likewise.
22054 * signal/signal.h: Likewise.
22055 * socket/send.c: Likewise.
22056 * socket/sendto.c: Likewise.
22057 * socket/sys/socket.h: Likewise.
22058 * stdio-common/printf.h: Likewise.
22059 * stdlib/bits/stdlib.h: Likewise.
22060 * stdlib/fmtmsg.h: Likewise.
22061 * stdlib/monetary.h: Likewise.
22062 * stdlib/stdlib.h: Likewise.
22063 * stdlib/ucontext.h: Likewise.
22064 * streams/stropts.h: Likewise.
22065 * string/argz.h: Likewise.
22066 * string/bits/string2.h: Likewise.
22067 * string/string.h: Likewise.
22068 * string/strings.h: Likewise.
22069 * sunrpc/rpc/auth.h: Likewise.
22070 * sunrpc/rpc/auth_des.h: Likewise.
22071 * sunrpc/rpc/clnt.h: Likewise.
22072 * sunrpc/rpc/netdb.h: Likewise.
22073 * sunrpc/rpc/pmap_clnt.h: Likewise.
22074 * sunrpc/rpc/xdr.h: Likewise.
22075 * sysdeps/generic/inttypes.h: Likewise.
22076 * sysdeps/generic/net/if.h: Likewise.
22077 * sysdeps/generic/sys/swap.h: Likewise.
22078 * sysdeps/gnu/net/if.h: Likewise.
22079 * sysdeps/gnu/utmpx.h: Likewise.
22080 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22081 * sysdeps/i386/i486/bits/string.h: Likewise.
22082 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22083 * sysdeps/s390/bits/string.h: Likewise.
22084 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22085 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22086 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22087 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22088 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22089 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22090 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22091 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22092 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22093 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22094 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22095 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22096 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22097 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22098 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22099 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22100 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22101 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22102 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22103 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22104 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22105 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22106 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22107 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22108 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22109 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22110 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22111 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22112 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22113 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22114 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22115 * sysvipc/sys/ipc.h: Likewise.
22116 * sysvipc/sys/msg.h: Likewise.
22117 * sysvipc/sys/sem.h: Likewise.
22118 * sysvipc/sys/shm.h: Likewise.
22119 * termios/termios.h: Likewise.
22120 * time/sys/time.h: Likewise.
22121 * time/time.h: Likewise.
22122 * wcsmbs/bits/wchar2.h: Likewise.
22123 * wcsmbs/uchar.h: Likewise.
22124 * wcsmbs/wchar.h: Likewise.
22125 * wctype/wctype.h: Likewise.
22128 * Makeconfig: Remove all but ELF support including AIX support.
22129 * Makerules: Likewise.
22130 * config.h.in: Likewise.
22131 * config.make.in: Likewise.
22132 * configure: Likewise.
22133 * configure.in: Likewise.
22134 * csu/Makefile: Likewise.
22135 * csu/version.c: Likewise.
22136 * debug/Makefile: Likewise.
22137 * dlfcn/Makefile: Likewise.
22138 * elf/Makefile: Likewise.
22139 * extra-lib.mk: Likewise.
22140 * iconv/Makefile: Likewise.
22141 * include/libc-symbols.h: Likewise.
22142 * include/shlib-compat.h: Likewise.
22143 * resolv/Makefile: Likewise.
22144 * resolv/res_libc.c: Likewise.
22145 * rt/Makefile: Likewise.
22146 * sysdeps/i386/asm-syntax.h: Likewise.
22147 * sysdeps/i386/sysdep.h: Likewise.
22148 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22149 * sysdeps/mach/sysdep.h: Likewise.
22150 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22151 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22152 * sysdeps/s390/asm-syntax.h: Likewise.
22153 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22154 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22155 * sysdeps/sh/sysdep.h: Likewise.
22156 * sysdeps/unix/sparc/sysdep.h: Likewise.
22157 * sysdeps/wordsize-32/divdi3.c: Likewise.
22158 * sysdeps/x86_64/sysdep.h: Likewise.
22160 * argp/Versions: Remove _argp_unlock_xxx.
22163 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22164 * abilist/libBrokenLocale.abilist: Likewise.
22165 * abilist/libanl.abilist: Likewise.
22166 * abilist/libc.abilist: Likewise.
22167 * abilist/libcrypt.abilist: Likewise.
22168 * abilist/libdl.abilist: Likewise.
22169 * abilist/libm.abilist: Likewise.
22170 * abilist/libnsl.abilist: Likewise.
22171 * abilist/libpthread.abilist: Likewise.
22172 * abilist/libresolv.abilist: Likewise.
22173 * abilist/librt.abilist: Likewise.
22174 * abilist/libthread_db.abilist: Likewise.
22175 * abilist/libutil.abilist: Likewise.
22176 * abilist/libnss_db.abilist: New file.
22178 * scripts/abilist.awk: Add support for indirect functions.
22180 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22182 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22184 * shlib-versions: Remove entries for ports architectures.
22186 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
22188 * elf/stackguard-macros.h: Remove support for IA-64.
22189 * elf/tst-auditmod1.c: Likewise.
22190 * sysdeps/generic/ldsodefs.h: Likewise.
22192 * sysdeps/unix/sysv/linux/configure.in: Ports should define
22193 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22197 * configure.in: Remove --enable-omitfp support.
22199 * config.make.in: Likewise.
22200 * Makeconfig: Likewise.
22201 * manual/install.texi: Likewise.
22203 In case anyone cares, the IA-64 architecture could move to ports.
22204 * sysdeps/ia64/*: Removed.
22205 * sysdeps/unix/sysv/linux/ia64/*: Removed.
22206 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
22209 * configure.in: Remove entries for unsupported architectures.
22212 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22213 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22215 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22216 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22217 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22218 fall back to using wcrtomb.
22219 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22220 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22222 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22223 * wcsmbs/tst-c16c32-1.c: New file.
22225 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22228 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22230 * elf/tst-unique3.cc: Add explicit declaration of gets.
22231 * elf/tst-unique3lib.cc: Likewise.
22232 * elf/tst-unique3lib2.cc: Likewise.
22233 * elf/tst-unique4.cc: Likewise.
22235 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22237 2012-01-06 Joseph Myers <joseph@codesourcery.com>
22240 * assert/assert.h (static_assert): Don't define for C++.
22241 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22242 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22244 2012-01-03 Ulrich Drepper <drepper@gmail.com>
22246 * iconv/loop.c (single loop): Fix assertion in storing of
22249 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22251 2012-01-01 Ulrich Drepper <drepper@gmail.com>
22253 * posix/getconf.c: Update copyright year.
22254 * nss/getent.c: Likewise.
22255 * nss/makedb.c: Likewise.
22256 * iconv/iconvconfig.c: Likewise.
22257 * iconv/iconv_prog.c: Likewise.
22258 * elf/ldconfig.c: Likewise.
22259 * elf/pldd.c: Likewise.
22260 * elf/sotruss.ksh: Likewise.
22261 * catgets/gencat.c: Likewise.
22262 * csu/version.c: Likewise.
22263 * elf/ldd.bash.in: Likewise.
22264 * elf/sprof.c (print_version): Likewise.
22265 * locale/programs/locale.c: Likewise.
22266 * locale/programs/localedef.c: Likewise.
22267 * login/programs/pt_chown.c: Likewise.
22268 * nscd/nscd.c (print_version): Likewise.
22269 * debug/xtrace.sh: Likewise.
22270 * malloc/memusage.sh: Likewise.
22271 * malloc/mtrace.pl: Likewise.
22272 * debug/catchsegv.sh: Likewise.
22274 2011-12-30 Jakub Jelinek <jakub@redhat.com>
22276 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22279 2011-12-24 Ulrich Drepper <drepper@gmail.com>
22282 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22283 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22285 * iconv/gconv_int.h: Likewise.
22286 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22287 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22288 from libc for GLIBC_2.16.
22289 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22290 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22291 * wcsmbs/uchar.h: Really define mbstate_t.
22292 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22293 * wcsmbs/c16rtomb.c: New file.
22294 * wcsmbs/mbrtoc16.c: New file.
22295 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22296 for C/POSIX locale.
22297 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22298 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22300 * wcsmbs/wchar.h: Add missing __restrict.
22302 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22305 * time/Makefile (routines): Add timespec_get.
22306 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22307 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22308 timespec for ISO C11.
22309 * time/timespec_get.c: New file.
22310 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22311 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22314 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22315 * stdlib/stdlib.h: Declare aligned_alloc.
22316 * Versions.def: Add GLIBC_2.16 for libc.
22317 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22320 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22323 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
22327 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22330 * assert/assert.h (static_assert): Define.
22332 * version.h: Update for 2.16 development version.
22335 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22338 * version.h (RELEASE): Bump for 2.15 release.
22339 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22341 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22342 Patch by Marek Polacek <mpolacek@redhat.com>.
22344 * bits/byteswap.h: Protect long long constants with __extension__.
22345 * sysdeps/i386/bits/byteswap.h: Likewise.
22346 * sysdeps/ia64/bits/byteswap.h: Likewise.
22347 * sysdeps/s390/bits/byteswap.h: Likewise.
22348 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22350 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22353 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22354 destination buffer.
22355 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22357 2011-12-23 Marek Polacek <polacek@redhat.com>
22359 * elf/dl-addr.c (determine_info): Add inline keyword.
22360 * elf/tst-auditmod4b.c (check_avx): Likewise.
22361 * elf/tst-auditmod6b.c (check_avx): Likewise.
22362 * elf/tst-auditmod6c.c (check_avx): Likewise.
22363 * elf/tst-auditmod7b.c (check_avx): Likewise.
22365 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22367 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22370 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22373 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22374 processing for last bytes.
22376 2011-08-06 Bruno Haible <bruno@clisp.org>
22379 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22380 U+0385, not to U+1FEE.
22383 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22384 entry for U+00A5 U+0301.
22386 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22389 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22390 buffer for the output is too small.
22392 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22396 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22397 SSE flags if possible.
22399 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22402 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22403 processing for last bytes.
22405 2011-12-22 Joseph Myers <joseph@codesourcery.com>
22407 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22408 (syscall-list-default-options, syscall-list-default-condition)
22409 (syscall-list-includes): Define.
22410 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22411 list of ABIs and options and #if conditions for each ABI. Do not
22412 handle common syscalls between ABIs specially.
22413 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22415 (syscall-list-variants, syscall-list-32bit-options)
22416 (syscall-list-32bit-condition, syscall-list-64bit-options)
22417 (syscall-list-64bit-condition): Define.
22418 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22419 (syscall-list-variants, syscall-list-32bit-options)
22420 (syscall-list-32bit-condition, syscall-list-64bit-options)
22421 (syscall-list-64bit-condition): Define.
22422 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22424 (syscall-list-variants, syscall-list-32bit-options)
22425 (syscall-list-32bit-condition, syscall-list-64bit-options)
22426 (syscall-list-64bit-condition): Define.
22427 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22429 (syscall-list-variants, syscall-list-32bit-options)
22430 (syscall-list-32bit-condition, syscall-list-64bit-options)
22431 (syscall-list-64bit-condition): Define.
22433 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22435 * locale/iso-639.def: Add brx entry.
22438 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22439 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22441 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22442 __feraiseexcept_renamed.
22444 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22447 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22448 EPOLLET with unsigned values.
22449 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22450 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22452 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22453 to large cancellation.
22454 * math/s_cacoshf.c: Likewise.
22455 * math/s_cacoshl.c: Likewise.
22457 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22461 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22462 * math/s_cacoshf.c: Likewise.
22463 * math/s_cacoshl.c: Likewise.
22465 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22468 * iconv/gconv.h: Define __GCONV_SWAP.
22469 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22470 * iconvdata/utf-16.c: Likewise.
22471 * iconvdata/utf-32.c: Likewise.
22473 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22476 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22477 numerator after shifting it by one limb.
22479 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22481 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22482 under [__USE_EXTERN_INLINES].
22484 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22487 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22489 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22491 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22492 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22494 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22495 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22496 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22497 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22498 for strncasecmp/strncasecmp_l compilation.
22499 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22500 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22502 2011-12-08 Marek Polacek <mpolacek@redhat.com>
22505 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22508 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22511 * time/tzfile.c (__tzfile_read): Check values from file header.
22513 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22515 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22516 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22517 * powerpc/powerpc32/dl-start.S: Likewise.
22518 * powerpc/powerpc32/elf/start.S: Likewise.
22519 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22520 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22521 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22522 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22523 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22524 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22525 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22526 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22527 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22528 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22529 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22530 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22531 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22532 * powerpc/powerpc32/memset.S: Likewise.
22533 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22534 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22535 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22536 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22537 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22538 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22539 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22540 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22541 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22542 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22543 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22544 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22545 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22547 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22549 * math/libm-test.inc: Added more nearbyint tests.
22550 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22551 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22552 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22553 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22555 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22557 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22560 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22562 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22563 Add wcscpy-ssse3 wcscpy-c.
22564 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22565 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22566 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22567 * sysdeps/x86_64/wcschr.S: New file.
22568 * sysdeps/x86_64/wcsrchr.S: New file.
22569 * string/test-strcmp.c: Remove checking of wcscmp function for
22571 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22572 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22573 wcsrchr-sse2 wcsrchr-c.
22574 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22575 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22576 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22577 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22578 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22579 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22580 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22581 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22582 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22583 * wcsmbc/wcschr.c (WCSCHR): New macro.
22585 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22587 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22588 * wcsmbs/test-wcsrchr.c: New file.
22589 * string/test-strrchr.c: Add wcsrchr support.
22591 * wcsmbs/test-wcscpy.c: New file.
22592 * string/test-strcpy.c: Add wcscpy support.
22595 2011-12-10 Ulrich Drepper <drepper@gmail.com>
22597 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22600 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22603 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22605 2011-12-04 Ulrich Drepper <drepper@gmail.com>
22607 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
22608 Minor optimizations.
22610 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22611 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22612 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22614 2011-12-03 Ulrich Drepper <drepper@gmail.com>
22616 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22617 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22618 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22619 for gcc to avoid warnings.
22620 * inet/Makefile (tests): Add tst-checks.
22621 * inet/tst-checks.c: New file.
22623 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22626 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22629 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22630 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22632 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22634 2011-12-02 Ulrich Drepper <drepper@gmail.com>
22636 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22639 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22641 2011-11-29 Joseph Myers <joseph@codesourcery.com>
22643 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22644 conditional on GCC version.
22645 (__arch_compare_and_exchange_val_8_acq)
22646 (__arch_compare_and_exchange_val_16_acq)
22647 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22648 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22649 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22651 2011-12-02 Joseph Myers <joseph@codesourcery.com>
22653 * sysdeps/sh/backtrace.c: New file.
22655 2011-12-02 Andreas Schwab <schwab@redhat.com>
22657 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22660 2011-12-01 Andreas Schwab <schwab@redhat.com>
22662 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22663 falling back to utime.
22665 2011-11-30 Andreas Schwab <schwab@redhat.com>
22667 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22668 expectations for float.
22670 2011-11-29 Andreas Schwab <schwab@redhat.com>
22672 * locale/weight.h (findidx): Add parameter len.
22673 * locale/weightwc.h (findidx): Likewise.
22674 * posix/fnmatch_loop.c (FCT): Adjust caller.
22675 * posix/regcomp.c (build_equiv_class): Likewise.
22676 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22677 * posix/regexec.c (check_node_accept_bytes): Likewise.
22678 * string/strcoll_l.c (STRCOLL): Likewise.
22679 * string/strxfrm_l.c (STRXFRM): Likewise.
22681 2011-11-17 Ulrich Drepper <drepper@gmail.com>
22683 * Makefile.in: Remove CVSOPT handling.
22684 * configure.in: Remove use of AC_REVISION.
22685 * iconvdata/Makefile (distribute): No need to filter out CVS.
22686 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22689 2011-11-16 Andreas Schwab <schwab@redhat.com>
22691 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22692 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22693 [USE_AS_STRNCASECMP_L]: Likewise.
22694 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22695 NO_TLS_DIRECT_SEG_REFS.
22696 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22697 Fix argument offsets for non-PIC.
22698 [USE_AS_STRNCASECMP_L]: Likewise.
22699 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22700 NO_TLS_DIRECT_SEG_REFS.
22702 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22704 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22706 * locale/loadlocale.c (_nl_load_locale): Likewise.
22708 2011-11-15 Andreas Schwab <schwab@redhat.com>
22710 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22711 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22712 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22713 (SYSCALL_GETTIME): Set errno on error.
22715 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22716 count references to noai6ai_cached.
22718 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22720 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22722 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22723 FD_CLOEXEC for /proc/self/maps.
22725 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22726 FD_CLOEXEC for /proc/meminfo.
22728 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22731 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22732 FD_CLOEXEC for given file.
22734 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22736 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22737 FD_CLOEXEC for /etc/hosts.
22738 (_gethtent): Likewise.
22740 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22742 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22743 cancellation and set FD_CLOEXEC for /etc/netgroup.
22745 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22746 reading /etc/publickey.
22748 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22749 allow cancellation when reading /etc/group.
22751 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22753 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22755 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22756 when using data file.
22758 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22760 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22761 (write_nis_obj): Use "c" and "e" in fopen.
22763 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22765 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22767 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22769 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22771 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22774 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22776 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22778 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22780 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22781 file parsing and set FD_CLOEXEC.
22783 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22785 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22787 2011-11-14 Andreas Schwab <schwab@redhat.com>
22789 * malloc/arena.c (arena_get2): Don't call reused_arena when
22790 _int_new_arena failed.
22792 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22794 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22795 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22796 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22797 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22798 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22799 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22800 to compile strcasecmp and strncasecmp.
22801 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22802 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22804 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22806 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22808 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22809 locale-defines.sym to gen-as-const-headers.
22810 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22811 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22812 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22813 to compile strcasecmp and strncasecmp.
22814 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22815 strcasecmp_l and strncasecmp_l.
22816 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22817 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22818 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22819 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22820 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22821 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22822 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22823 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22824 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22825 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22826 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22828 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22830 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22831 result of SYSDEP_GETTIME_CPU to retval.
22832 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22833 parameter list to macro. Remove trailing semicolon. Adjust users.
22835 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22838 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22840 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22842 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22843 from unused variable.
22845 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22847 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22850 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22853 * sunrpc/rpc_prot.c (rejected): Fix case value.
22855 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22856 unsigned long long int to avoid warnings in shift.
22858 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22860 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22863 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22864 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22865 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22867 * nis/nis_table.c (nis_list): Use variable of correct type for
22868 result of __follow_path call.
22870 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22872 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22873 of math functions ceil, trunc, floor, round, and sqrt, when
22874 avaliable on the platform.
22875 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22877 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22878 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22879 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22881 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22883 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22884 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22886 2011-11-11 Roland McGrath <roland@hack.frob.com>
22888 * include/unistd.h: Fix __readlink return type.
22889 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22891 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22893 * stdlib/ucontext.h: Undo last change for makecontext.
22895 2011-11-11 Andreas Schwab <schwab@redhat.com>
22897 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22899 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22900 * setjmp/setjmp.h: Mark functions as non-leaf.
22901 * setjmp/bits/setjmp2.h: Likewise.
22902 * stdlib/ucontext.h: Likewise.
22904 2011-11-10 Andreas Schwab <schwab@redhat.com>
22906 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22907 (reused_arena): Don't check arena limit.
22908 (arena_get2): Atomically check arena limit.
22910 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22912 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22913 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22915 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22918 2011-11-07 Andreas Schwab <schwab@redhat.com>
22920 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22921 handler when locking.
22923 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22924 Fix size of allocated buffer.
22926 2011-11-04 Andreas Schwab <schwab@redhat.com>
22929 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22930 declarations for long double functions.
22931 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22933 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22935 2011-11-03 Andreas Schwab <schwab@redhat.com>
22937 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22940 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22943 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22945 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22947 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22949 * include/alloca.h (stackinfo_alloca_round): Define.
22950 (extend_alloca): Use it.
22951 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22952 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22955 * scripts/check-local-headers.sh: Ignore libaudit.h.
22957 * nscd/Makefile (extra-objs): Make recursively expanded.
22959 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22961 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22962 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22964 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22965 * posix/tst-rfc3484-2.c: Likewise.
22966 * posix/tst-rfc3484-3.c: Likewise.
22968 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22970 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22972 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22973 process_vm_writev from libc using GLIBC_2.15 version.
22975 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22977 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22979 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22982 2011-10-31 Ulrich Drepper <drepper@gmail.com>
22985 * nss/getent.c (initgroups_keys): Show error message in case no group
22988 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22989 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22990 __bump_nl_timestamp.
22991 * nscd/connections (nscd_init): When host database is served open
22992 netlink socket and request notification about configuration changes.
22993 (main_loop_poll): Track netlink file descriptor and bump timestamp
22994 in case data becomes available.
22995 (main_loop_epoll): Likewise.
22996 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22997 (database_pers_head): Add extra_data fileds.
22998 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22999 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
23000 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
23002 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
23003 in6ai data, call __free_in6ai.
23004 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
23005 Add -DHAVE_NETLINK.
23006 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
23007 interface information. Reuse previous data if netlink timestamp
23009 (__bump_nl_timestamp): New function.
23010 (__free_in6ai): New function.
23012 2011-10-30 Ulrich Drepper <drepper@gmail.com>
23014 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23015 close_not_cancel_no_status here.
23016 (__check_pf): Reorganize code a bit to not call close twice if OOM.
23018 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23021 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23024 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
23025 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23026 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23028 2011-07-03 Andreas Jaeger <aj@suse.de>
23031 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23032 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23033 * math/libm-test.inc (sin_test): Add test case.
23035 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23038 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23039 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23041 * elf/chroot_canon.c (chroot_canon): Cleanups.
23043 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23046 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23047 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23049 * string/test-strchr.c: Make usable for strchrnul testing.
23050 * string/test-strchrnul.c: New file.
23051 * string/Makefile (strop-tests): Add strchrnul.
23053 * po/it.po: Update from translation team.
23054 * po/es.po: Likewise.
23056 2011-10-28 Ulrich Drepper <drepper@gmail.com>
23058 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23059 the three constants needed as parameters. Drop the others.
23060 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23061 __m128i_strloadu_tolower.
23062 Create and initialize variable zero and use it in all the places
23063 where _mm_setzero_si128 was used.
23065 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23066 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23067 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23068 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23070 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23071 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23072 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23073 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23074 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23075 __mpranred, __mptan.
23076 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23077 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23078 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23079 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23080 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23081 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23082 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23083 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23084 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23086 2011-10-28 Andreas Schwab <schwab@redhat.com>
23088 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23089 redefine if SHARED.
23090 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23092 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23093 wide char related routines to wcsmbs subdir.
23095 2011-10-27 Andreas Schwab <schwab@redhat.com>
23098 * misc/sys/cdefs.h (__THROWNL): Define.
23099 * posix/unistd.h: Use __THREADNL instead of __THREAD
23100 for memory synchronization functions.
23102 2011-10-26 Roland McGrath <roland@hack.frob.com>
23105 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23107 * manual/stdio.texi (Obstack Streams): Node removed.
23109 2011-10-26 Andreas Schwab <schwab@redhat.com>
23111 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23112 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23113 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23115 * math/math_private.h (math_force_eval): Allow non-addressable
23117 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23119 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23121 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23122 file is not needed.
23124 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23125 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23126 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23127 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23128 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23129 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23130 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23131 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23133 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23134 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23135 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23136 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23137 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23138 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23139 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23140 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23141 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23142 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23143 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23144 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23145 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23146 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23147 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23148 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23149 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23150 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23151 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23153 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23154 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23156 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23157 place. Use VEX encoding when compiling for AVX.
23159 2011-10-25 Andreas Schwab <schwab@redhat.com>
23161 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23162 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23164 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23166 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23168 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
23169 useless if() expression.
23170 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23171 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23172 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23173 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23174 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23175 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23176 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23177 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23178 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23179 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23180 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23181 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23182 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23183 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23184 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23185 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23186 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23187 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23188 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23190 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23192 2011-10-25 Andreas Schwab <schwab@redhat.com>
23194 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23196 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23198 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23200 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23201 .text section. Avoid duplicate constants.
23202 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23203 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23204 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23206 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23207 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23208 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23209 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23210 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23211 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23212 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23213 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23214 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23215 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23216 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23217 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23218 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23219 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23220 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23221 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23222 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23223 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23224 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23225 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23226 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23227 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23228 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23229 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23230 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23231 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23232 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23233 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23234 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23235 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23236 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23237 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23238 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23239 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23240 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23241 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23242 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23243 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23244 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23245 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23246 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23248 2011-10-24 Ulrich Drepper <drepper@gmail.com>
23250 * sysdeps/x86_64/dla.h: Move to ...
23251 * sysdeps/x86_64/fpu/dla.h: ...here.
23252 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23253 situations. Use __builtin_fma only for gcc 4.6 and up.
23255 * config.make.in: Add have-mfma4 entry.
23256 * configure.in: Substitute libc_cv_cc_fma4.
23257 * math/Makefile (dbl-only-routines): Add sincostab.
23258 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23259 Use __sincostab not sincos.
23260 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23262 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23264 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23265 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23267 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23268 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23269 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23270 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23272 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23273 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23275 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23276 define aliases when function name is a macro.
23277 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23278 sysdeps/ieee754/dbl-64/sincos.tbl.
23279 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23280 fma4-enabled routines.
23281 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23282 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23283 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23284 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23285 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23286 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23287 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23288 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23289 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23290 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23291 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23292 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23293 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23294 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23295 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23296 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23297 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23298 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23299 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23300 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23301 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23302 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23303 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23304 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23305 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23306 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23307 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23308 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23309 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23310 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23312 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23314 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23315 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23317 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23318 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23321 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23323 2011-10-24 Andreas Schwab <schwab@redhat.com>
23325 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23327 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23329 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23331 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23333 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23335 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23336 Remove unused variable magic_bits.
23337 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23339 * string/strnlen.c: Define and use STRNLEN macro.
23340 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23341 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23342 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23343 * wcsmbs/wcslen.c: Define and use WCSLEN.
23344 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23345 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23346 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23347 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23348 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23349 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23350 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23352 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23354 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23355 strnlen-sse2-no-bsf.
23356 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23357 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23358 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23359 Add strnlen support.
23360 (USE_AS_STRNLEN): New macro.
23361 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23362 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23363 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23364 * sysdeps/x86_64/wcslen.S: New file.
23366 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23368 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23369 XMM-moves are used for copying on small sizes.
23371 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23373 * wcsmbs/Makefile (strop-tests): Add wcschr.
23374 * wcsmbs/test-wcschr.c: New file.
23375 * string/test-strchr.c: Update.
23376 Add wcschr support.
23379 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23381 * wcsmbs/Makefile (strop-tests): Add wcslen.
23382 * wcsmbs/test-wcslen.c: New file.
23383 * string/test-strlen.c: Update.
23384 Add wcslen support.
23387 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23389 * po/it.po: Update from translation team.
23391 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23393 * sysdeps/x86_64/wcscmp.S: Update.
23394 Fix wrong comparison semantics.
23395 wcscmp shall use signed comparison not unsigned.
23396 Don't use substraction to avoid overflow bug.
23397 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23398 * wcsmbc/wcscmp.c: Likewise.
23399 * string/test-strcmp.c: Likewise.
23400 Add new tests to check cases with negative values.
23402 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23404 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23405 * sysdeps/x86_64/dla.h: ...here. New file.
23406 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23407 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23408 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23409 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23410 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23411 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23412 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23413 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23414 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23416 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23418 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23419 __ynl_finite aliases.
23421 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23425 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23427 [DLA_FMA] (EMULV): Use DLA_FMA.
23428 [DLA_FMA] (MUL12): Use EMULV.
23429 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23430 that are not needed.
23431 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23432 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23433 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23435 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23436 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23437 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23439 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23441 * math/s_nan.c: Undef __nan.
23442 * math/s_nanf.c: Undef __nanf.
23443 * math/s_nanl.c: Undef __nanl.
23444 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23447 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23449 * math/s_catan.c: Add branch predictions.
23450 * math/s_catanf.c: Likewise.
23451 * math/s_catanh.c: Likewise.
23452 * math/s_catanhf.c: Likewise.
23453 * math/s_catanhl.c: Likewise.
23454 * math/s_catanl.c: Likewise.
23455 * math/s_cexp.c: Likewise.
23456 * math/s_cexpf.c: Likewise.
23457 * math/s_cexpl.c: Likewise.
23458 * math/s_clog.c: Likewise.
23459 * math/s_clog10.c: Likewise.
23460 * math/s_clog10f.c: Likewise.
23461 * math/s_clog10l.c: Likewise.
23462 * math/s_clogf.c: Likewise.
23463 * math/s_clogl.c: Likewise.
23464 * math/s_csqrt.c: Likewise.
23465 * math/s_csqrtf.c: Likewise.
23466 * math/s_csqrtl.c: Likewise.
23467 * math/s_ctanf.c: Likewise.
23468 * math/s_ctanh.c: Likewise.
23469 * math/s_ctanhf.c: Likewise.
23470 * math/s_ctanhl.c: Likewise.
23471 * math/s_ctanl.c: Likewise.
23473 * math/math_private.h: Define __nan, __nanf, __nanl.
23474 * math/s_cacosh.c: Include <math_private.h>.
23475 * math/s_cacoshl.c: Likewise.
23476 * math/s_casinh.c: Likewise.
23477 * math/s_casinhf.c: Likewise.
23478 * math/s_casinhl.c: Likewise.
23479 * math/s_ccos.c: Rely entire on ccosh.
23480 * math/s_ccosf.c: Rely entire on ccoshf.
23481 * math/s_ccosl.c: Rely entirely on ccoshl.
23482 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23483 Remove tests for FE_INVALID.
23484 * math/s_ccoshf.c: Likewise.
23485 * math/s_ccoshl.c: Likewise.
23486 * math/s_csin.c: Likewise.
23487 * math/s_csinf.c: Likewise.
23488 * math/s_csinh.c Likewise.
23489 * math/s_csinhf.c: Likewise.
23490 * math/s_csinhl.c: Likewise.
23491 * math/s_csinl.c: Likewise.
23492 * math/s_ctan.c: Likewise.
23493 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23494 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23495 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23497 2011-10-21 Ulrich Drepper <drepper@gmail.com>
23499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23500 compilation problems.
23502 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23505 2011-10-20 Ulrich Drepper <drepper@gmail.com>
23507 * sysdeps/i386/configure.in: Test for -mfma4 option.
23508 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23509 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23510 COMMON_CPUID_INDEX_80000001.
23511 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23512 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23513 use it if FMA3 is not supported.
23514 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23516 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23517 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23519 2011-10-20 Andreas Schwab <schwab@redhat.com>
23522 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23523 it would create a cycle with a link time dependency.
23525 2011-10-19 Ulrich Drepper <drepper@gmail.com>
23527 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23529 * string/Makefile (strop-tests): Add rawmemchr.
23530 * string/test-rawmemchr.c: New file.
23532 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23533 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23534 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23535 when compiling str{,n}casecmp and when AVX is available. Hook up
23536 new optimized code in initializers.
23538 2011-10-19 Andreas Schwab <schwab@redhat.com>
23540 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23541 __feraiseexcept instead of feraiseexcept.
23543 2011-10-18 Ulrich Drepper <drepper@gmail.com>
23545 * math/math_private.h: Define defaults for libc_fetestexcept and
23547 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23548 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23549 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23550 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23551 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23552 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23553 libc_fetestexcept and libc_feupdateenv.
23555 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23556 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23557 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23558 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23559 libc_feholdexcept_setround.
23561 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23562 Add s_nearbyint-c and s_nearbyintf-c.
23563 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23564 nearbyintf inlines.
23565 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23566 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23567 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23568 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23570 * math/math_private.h: Define defaults for libc_fegetround,
23571 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23572 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23573 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23574 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23575 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23576 standard functions.
23577 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23578 Remove comments and hacks for old compiler versions.
23579 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23580 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23581 libc_feholdexceptl.
23583 2011-10-18 Andreas Schwab <schwab@redhat.com>
23585 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
23586 (__feraiseexcept_renamed): Add __NTH.
23587 (feraiseexcept): Add __NTH. Rename local variables to fix
23588 namespace violations.
23590 2011-10-17 Ulrich Drepper <drepper@gmail.com>
23592 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23594 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23596 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23597 recently added interfaces.
23598 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23600 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23601 about macro parameter expansion.
23603 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23604 __NO_MATH_INLINES is defined. Cleanups.
23606 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23607 and __floorf is target has SSE4.1.
23608 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23609 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23610 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23611 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23613 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23615 (floorf): Likewise.
23617 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23619 2011-10-17 Andreas Schwab <schwab@redhat.com>
23621 * misc/sys/cdefs.h: Fix last change.
23623 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23626 2011-10-16 Ulrich Drepper <drepper@gmail.com>
23628 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23630 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23631 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23632 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23633 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23634 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23635 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23636 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23637 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23638 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23639 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23640 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23641 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23642 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23643 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23644 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23645 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23646 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23647 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23648 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23649 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23650 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23651 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23653 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23654 ceil, ceilf, floor, floorf.
23656 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23657 Perform IRELATIVE relocations last.
23659 * elf/do-rel.h: Add another parameter nrelative, replacing the
23660 local variable with the same name. Change name of the function
23661 to end in Rel or Rela (uppercase).
23662 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23663 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23664 elf_dynamic_do_##reloc function.
23666 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23668 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23669 is sufficient, at least on modern CPUs.
23671 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23673 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23674 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23676 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23678 * math/bits/math-finite.h: Add entries for exp.
23679 * math/e_expl.c: Add __*_finite alias.
23680 * sysdeps/i386/fpu/e_exp.S: Likewise.
23681 * sysdeps/i386/fpu/e_expf.S: Likewise.
23682 * sysdeps/i386/fpu/e_expl.c: Likewise.
23683 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23684 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23685 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23686 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23687 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23688 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23689 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23691 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23692 is sufficient, at least on modern CPUs.
23694 * ctype/ctype-info.c (__ctype_init): Define.
23695 * include/ctype.h (__ctype_init): Declare.
23696 (__ctype_b_loc): The variable is always initialized.
23697 (__ctype_toupper_loc): Likewise.
23698 (__ctype_tolower_loc): Likewise.
23699 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23700 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23702 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23704 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23706 * configure.in: Also look in $cxxmachine/include for C++ system
23709 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23711 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23712 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23713 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23714 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23715 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23716 (USE_AS_WMEMCMP): New macro.
23718 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23719 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23720 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23721 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23722 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23723 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23724 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23725 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23726 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23727 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23728 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23729 (USE_AS_WMEMCMP): New macro.
23730 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23731 * sysdeps/string/test-memcmp.c: Update.
23732 Fix simple_wmemcmp.
23734 * wcsmbs/wmemcmp.c: Update.
23735 (WMEMCMP): New macro.
23738 2011-10-12 Andreas Jaeger <aj@suse.de>
23741 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23743 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23745 * libio/iofwide.c (do_length): Avoid warning.
23747 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23749 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23751 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23753 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23754 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23755 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23756 * sysdeps/i386/i686/fpu/e_log.S: New file.
23757 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23758 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23760 * ctype/ctype.h: Add support for inlined isXXX functions when
23761 compiling C++ code.
23763 2011-10-14 Andreas Schwab <schwab@redhat.com>
23765 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23767 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23769 2011-10-13 Roland McGrath <roland@hack.frob.com>
23772 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23774 2011-10-13 Andreas Schwab <schwab@redhat.com>
23776 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23777 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23780 * sysdeps/x86_64/memrchr.S: Check for zero size.
23782 * string/stratcliff.c: Add memrchr tests.
23784 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23787 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23788 rawmemchr-sse2 rawmemchr-sse2-bsf.
23789 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23790 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23791 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23792 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23793 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23794 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23795 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23796 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23797 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23798 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23799 * string/memrchr.c (MEMRCHR): New macro.
23801 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23803 Add integration with gcc's -ffinite-math-only and optimize wrapper
23805 * Versions.def: Define GLIBC_2.15 version for libm.
23806 * math/Makefile (headers): Add bits/math-finite.h.
23807 * math/bits/math-finite.h: New file.
23808 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23809 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23810 * math/e_acoshl.c: Add __*_finite alias.
23811 * math/e_acosl.c: Likewise.
23812 * math/e_asinl.c: Likewise.
23813 * math/e_atan2l.c: Likewise.
23814 * math/e_atanhl.c: Likewise.
23815 * math/e_coshl.c: Likewise.
23816 * math/e_exp10.c: Likewise.
23817 * math/e_exp10f.c: Likewise.
23818 * math/e_exp10l.c: Likewise.
23819 * math/e_exp2l.c: Likewise.
23820 * math/e_fmodl.c: Likewise.
23821 * math/e_gammal_r.c: Likewise.
23822 * math/e_hypotl.c: Likewise.
23823 * math/e_j0l.c: Likewise.
23824 * math/e_j1l.c: Likewise.
23825 * math/e_jnl.c: Likewise.
23826 * math/e_lgammal_r.c: Likewise.
23827 * math/e_log10l.c: Likewise.
23828 * math/e_log2l.c: Likewise.
23829 * math/e_logl.c: Likewise.
23830 * math/e_powl.c: Likewise.
23831 * math/e_sinhl.c: Likewise.
23832 * math/e_sqrtl.c: Likewise.
23833 * math/e_scalb.c: Completely rewritten and optimized.
23834 * math/e_scalbf.c: Likewise.
23835 * math/e_scalbl.c: Likewise.
23836 * math/w_acos.c: Likewise.
23837 * math/w_acosf.c: Likewise.
23838 * math/w_acosl.c: Likewise.
23839 * math/w_acosh.c: Likewise.
23840 * math/w_acoshf.c: Likewise.
23841 * math/w_acoshl.c: Likewise.
23842 * math/w_asin.c: Likewise.
23843 * math/w_asinf.c: Likewise.
23844 * math/w_asinl.c: Likewise.
23845 * math/w_atan2.c: Likewise.
23846 * math/w_atan2f.c: Likewise.
23847 * math/w_atan2l.c: Likewise.
23848 * math/w_atanh.c: Likewise.
23849 * math/w_atanhf.c: Likewise.
23850 * math/w_atanhl.c: Likewise.
23851 * math/w_exp10.c: Likewise.
23852 * math/w_exp10f.c: Likewise.
23853 * math/w_exp10l.c: Likewise.
23854 * math/w_fmod.c: Likewise.
23855 * math/w_fmodf.c: Likewise.
23856 * math/w_fmodl.c: Likewise.
23857 * math/w_j0.c: Likewise.
23858 * math/w_j0f.c: Likewise.
23859 * math/w_j0l.c: Likewise.
23860 * math/w_j1.c: Likewise.
23861 * math/w_j1f.c: Likewise.
23862 * math/w_j1l.c: Likewise.
23863 * math/w_jn.c: Likewise.
23864 * math/w_jnf.c: Likewise.
23865 * math/w_log.c: Likewise.
23866 * math/w_logf.c: Likewise.
23867 * math/w_logl.c: Likewise.
23868 * math/w_log10.c: Likewise.
23869 * math/w_log10f.c: Likewise.
23870 * math/w_log10l.c: Likewise.
23871 * math/w_log2.c: Likewise.
23872 * math/w_log2f.c: Likewise.
23873 * math/w_log2l.c: Likewise.
23874 * math/w_pow.c: Likewise.
23875 * math/w_powf.c: Likewise.
23876 * math/w_powl.c: Likewise.
23877 * math/w_remainder.c: Likewise.
23878 * math/w_remainderf.c: Likewise.
23879 * math/w_remainderl.c: Likewise.
23880 * math/w_scalb.c: Likewise.
23881 * math/w_scalbf.c: Likewise.
23882 * math/w_scalbl.c: Likewise.
23883 * math/w_sqrt.c: Likewise.
23884 * math/w_sqrtf.c: Likewise.
23885 * math/w_sqrtl.c: Likewise.
23886 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23887 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23889 * math/math_private.h: Declare __kernel_standard_f.
23890 * math/w_cosh.c: Remove cruft and optimize a bit.
23891 * math/w_coshf.c: Likewise.
23892 * math/w_coshl.c: Likewise.
23893 * math/w_exp2.c: Likewise.
23894 * math/w_exp2f.c: Likewise.
23895 * math/w_exp2l.c: Likewise.
23896 * math/w_hypot.c: Likewise.
23897 * math/w_hypotf.c: Likewise.
23898 * math/w_hypotl.c: Likewise.
23899 * math/w_lgamma.c: Likewise.
23900 * math/w_lgamma_r.c: Likewise.
23901 * math/w_lgammaf.c: Likewise.
23902 * math/w_lgammaf_r.c: Likewise.
23903 * math/w_lgammal.c: Likewise.
23904 * math/w_lgammal_r.c: Likewise.
23905 * math/w_sinh.c: Likewise.
23906 * math/w_sinhf.c: Likewise.
23907 * math/w_sinhl.c: Likewise.
23908 * math/w_tgamma.c: Likewise.
23909 * math/w_tgammaf.c: Likewise.
23910 * math/w_tgammal.c: Likewise.
23911 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23912 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23913 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23914 Minor optimizations. Pretty printing. Remove cruft.
23915 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23916 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23917 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23918 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23919 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23920 * sysdeps/i386/fpu/e_asin.S: Likewise.
23921 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23922 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23923 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23924 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23925 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23926 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23927 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23928 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23929 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23930 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23931 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23932 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23933 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23934 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23935 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23936 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23937 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23938 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23939 * sysdeps/i386/fpu/e_log.S: Likewise.
23940 * sysdeps/i386/fpu/e_log10.S: Likewise.
23941 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23942 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23943 * sysdeps/i386/fpu/e_log2.S: Likewise.
23944 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23945 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23946 * sysdeps/i386/fpu/e_logf.S: Likewise.
23947 * sysdeps/i386/fpu/e_logl.S: Likewise.
23948 * sysdeps/i386/fpu/e_pow.S: Likewise.
23949 * sysdeps/i386/fpu/e_powf.S: Likewise.
23950 * sysdeps/i386/fpu/e_powl.S: Likewise.
23951 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23952 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23953 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23954 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23955 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23956 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23957 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23958 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23959 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23960 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23961 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23962 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23963 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23964 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23965 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23966 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23967 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23968 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23969 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23970 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23971 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23972 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23973 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23974 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23975 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23976 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23977 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23978 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23979 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23980 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23981 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23982 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23983 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23984 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23985 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23986 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23987 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23988 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23989 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23990 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23991 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23992 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23993 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23994 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23995 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23996 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23997 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23998 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23999 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24000 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24001 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24002 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24003 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24004 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24005 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24006 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24007 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24008 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24009 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24010 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24011 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24012 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24013 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24014 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24015 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24016 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24017 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24018 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24019 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24020 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24021 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24022 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24023 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24024 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24025 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24026 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24027 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24028 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24029 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24030 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24031 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24032 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24033 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24034 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24035 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24036 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24037 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24038 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24039 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24040 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24041 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24042 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24043 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24044 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24045 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24046 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24047 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24048 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24049 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24050 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24051 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24052 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24053 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24054 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24055 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24056 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24057 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24058 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24059 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24060 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24061 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24062 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24063 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24064 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24065 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24066 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24067 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24068 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24069 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24070 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24071 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24072 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24073 (__isnanf): Likewise.
24074 (__isinf_ns): Likewise.
24075 (__isinf_nsf): Likewise.
24076 (__finite): Likewise.
24077 (__finitef): Likewise.
24078 (__ieee754_sqrt): Define as macro.
24079 (__ieee754_sqrtf): Define as macro.
24080 (__ieee754_sqrtl): Define as macro.
24081 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24083 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24084 __FINITE_MATH_ONLY__ consistent.
24085 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24087 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24089 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24092 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24094 2011-10-09 Ulrich Drepper <drepper@gmail.com>
24096 * po/ja.po: Update from translation team.
24098 2011-10-08 Roland McGrath <roland@hack.frob.com>
24100 * locale/programs/locarchive.c (prepare_address_space): New function.
24101 (create_archive, enlarge_archive, open_archive): Use it.
24103 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24104 inside [SHARED], where it is used.
24106 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24108 * nss/getent.c (netgroup_keys): Remove unused variable.
24109 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24111 2011-10-08 Ulrich Drepper <drepper@gmail.com>
24113 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24114 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24115 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24116 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24117 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24118 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24119 * math/Makefile (libm-calls): Add s_isinf_ns.
24120 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24121 * math/multc3.c: Likewise.
24122 * math/s_casin.c: Likewise.
24123 * math/s_casinf.c: Likewise.
24124 * math/s_casinl.c: Likewise.
24125 * math/s_ccos.c: Likewise.
24126 * math/s_ccosf.c: Likewise.
24127 * math/s_ccosl.c: Likewise.
24128 * math/s_ctan.c: Likewise.
24129 * math/s_ctanf.c: Likewise.
24130 * math/s_ctanh.c: Likewise.
24131 * math/s_ctanhf.c: Likewise.
24132 * math/s_ctanhl.c: Likewise.
24133 * math/s_ctanl.c: Likewise.
24134 * math/w_fmod.c: Likewise.
24135 * math/w_fmodf.c: Likewise.
24136 * math/w_fmodl.c: Likewise.
24137 * math/w_remainder.c: Likewise.
24138 * math/w_remainderf.c: Likewise.
24139 * math/w_remainderl.c: Likewise.
24140 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24141 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24142 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24143 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24144 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24145 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24146 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24147 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24149 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24151 * stdio-common/printf_fphex.c: Likewise.
24152 * stdio-common/printf_size.c: Likewise.
24154 * math/e_exp10.c: Include math_private.h using <...> not "...".
24155 * math/e_exp10f.c: Likewise.
24156 * math/e_exp10l.c: Likewise.
24157 * math/e_exp2l.c: Likewise.
24158 * math/e_j0l.c: Likewise.
24159 * math/e_j1l.c: Likewise.
24160 * math/e_jnl.c: Likewise.
24161 * math/e_lgammal_r.c: Likewise.
24162 * math/e_rem_pio2l.c: Likewise.
24163 * math/e_scalb.c: Likewise.
24164 * math/e_scalbf.c: Likewise.
24165 * math/e_scalbl.c: Likewise.
24166 * math/k_cosl.c: Likewise.
24167 * math/k_sinl.c: Likewise.
24168 * math/k_tanl.c: Likewise.
24169 * math/s_cacoshf.c: Likewise.
24170 * math/s_catan.c: Likewise.
24171 * math/s_catanf.c: Likewise.
24172 * math/s_catanh.c: Likewise.
24173 * math/s_catanhf.c: Likewise.
24174 * math/s_catanhl.c: Likewise.
24175 * math/s_catanl.c: Likewise.
24176 * math/s_ccosh.c: Likewise.
24177 * math/s_ccoshf.c: Likewise.
24178 * math/s_ccoshl.c: Likewise.
24179 * math/s_cexp.c: Likewise.
24180 * math/s_cexpf.c: Likewise.
24181 * math/s_cexpl.c: Likewise.
24182 * math/s_clog.c: Likewise.
24183 * math/s_clog10.c: Likewise.
24184 * math/s_clog10f.c: Likewise.
24185 * math/s_clog10l.c: Likewise.
24186 * math/s_clogf.c: Likewise.
24187 * math/s_clogl.c: Likewise.
24188 * math/s_csin.c: Likewise.
24189 * math/s_csinf.c: Likewise.
24190 * math/s_csinh.c: Likewise.
24191 * math/s_csinhf.c: Likewise.
24192 * math/s_csinhl.c: Likewise.
24193 * math/s_csinl.c: Likewise.
24194 * math/s_csqrt.c: Likewise.
24195 * math/s_csqrtf.c: Likewise.
24196 * math/s_csqrtl.c: Likewise.
24197 * math/s_ctan.c: Likewise.
24198 * math/s_ctanf.c: Likewise.
24199 * math/s_ctanh.c: Likewise.
24200 * math/s_ctanhf.c: Likewise.
24201 * math/s_ctanhl.c: Likewise.
24202 * math/s_ctanl.c: Likewise.
24203 * math/s_ldexp.c: Likewise.
24204 * math/s_ldexpf.c: Likewise.
24205 * math/s_ldexpl.c: Likewise.
24206 * math/s_significand.c: Likewise.
24207 * math/s_significandf.c: Likewise.
24208 * math/s_significandl.c: Likewise.
24209 * math/w_acos.c: Likewise.
24210 * math/w_acosf.c: Likewise.
24211 * math/w_acosh.c: Likewise.
24212 * math/w_acoshf.c: Likewise.
24213 * math/w_acoshl.c: Likewise.
24214 * math/w_acosl.c: Likewise.
24215 * math/w_asin.c: Likewise.
24216 * math/w_asinf.c: Likewise.
24217 * math/w_asinl.c: Likewise.
24218 * math/w_atan2.c: Likewise.
24219 * math/w_atan2f.c: Likewise.
24220 * math/w_atan2l.c: Likewise.
24221 * math/w_atanh.c: Likewise.
24222 * math/w_atanhf.c: Likewise.
24223 * math/w_atanhl.c: Likewise.
24224 * math/w_cosh.c: Likewise.
24225 * math/w_coshf.c: Likewise.
24226 * math/w_coshl.c: Likewise.
24227 * math/w_dremf.c: Likewise.
24228 * math/w_exp10.c: Likewise.
24229 * math/w_exp10f.c: Likewise.
24230 * math/w_exp10l.c: Likewise.
24231 * math/w_exp2.c: Likewise.
24232 * math/w_exp2f.c: Likewise.
24233 * math/w_fmod.c: Likewise.
24234 * math/w_fmodf.c: Likewise.
24235 * math/w_fmodl.c: Likewise.
24236 * math/w_hypot.c: Likewise.
24237 * math/w_hypotf.c: Likewise.
24238 * math/w_hypotl.c: Likewise.
24239 * math/w_j0.c: Likewise.
24240 * math/w_j0f.c: Likewise.
24241 * math/w_j0l.c: Likewise.
24242 * math/w_j1.c: Likewise.
24243 * math/w_j1f.c: Likewise.
24244 * math/w_j1l.c: Likewise.
24245 * math/w_jn.c: Likewise.
24246 * math/w_jnf.c: Likewise.
24247 * math/w_jnl.c: Likewise.
24248 * math/w_lgamma.c: Likewise.
24249 * math/w_lgamma_r.c: Likewise.
24250 * math/w_lgammaf.c: Likewise.
24251 * math/w_lgammaf_r.c: Likewise.
24252 * math/w_lgammal.c: Likewise.
24253 * math/w_lgammal_r.c: Likewise.
24254 * math/w_log.c: Likewise.
24255 * math/w_log10.c: Likewise.
24256 * math/w_log10f.c: Likewise.
24257 * math/w_log10l.c: Likewise.
24258 * math/w_log2.c: Likewise.
24259 * math/w_log2f.c: Likewise.
24260 * math/w_log2l.c: Likewise.
24261 * math/w_logf.c: Likewise.
24262 * math/w_logl.c: Likewise.
24263 * math/w_pow.c: Likewise.
24264 * math/w_powf.c: Likewise.
24265 * math/w_powl.c: Likewise.
24266 * math/w_remainder.c: Likewise.
24267 * math/w_remainderf.c: Likewise.
24268 * math/w_remainderl.c: Likewise.
24269 * math/w_scalb.c: Likewise.
24270 * math/w_scalbf.c: Likewise.
24271 * math/w_scalbl.c: Likewise.
24272 * math/w_sinh.c: Likewise.
24273 * math/w_sinhf.c: Likewise.
24274 * math/w_sinhl.c: Likewise.
24275 * math/w_sqrt.c: Likewise.
24276 * math/w_sqrtf.c: Likewise.
24277 * math/w_sqrtl.c: Likewise.
24278 * math/w_tgamma.c: Likewise.
24279 * math/w_tgammaf.c: Likewise.
24280 * math/w_tgammal.c: Likewise.
24282 * po/ja.po: Update from translation team.
24284 2011-09-29 Andreas Jaeger <aj@suse.de>
24287 * sunrpc/netname.c (netname2host): Fix logic.
24291 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24293 * math/w_remainder.c (__remainder): Likewise.
24294 * math/w_remainderf.c (__remainderf): Likewise.
24295 * math/libm-test.inc (remainder_test): Add test cases.
24297 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24299 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24302 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24304 * string/test-memcmp.c: Avoid unncessary #defines.
24305 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24307 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24309 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24310 Use new sse2 version for core i3 - i7 as it's faster
24311 than sse42 version.
24312 (bit_Prefer_PMINUB_for_stringop): New.
24313 * sysdeps/x86_64/rawmemchr.S: Update.
24314 Replace with faster SSE2 version.
24315 * sysdeps/x86_64/memrchr.S: New file.
24316 * sysdeps/x86_64/memchr.S: Update.
24317 Replace with faster SSE2 version.
24319 2011-09-12 Marek Polacek <mpolacek@redhat.com>
24321 * elf/dl-load.c (lose): Add cast to avoid warning.
24323 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24325 * po/ca.po: Update from translation team.
24327 * inet/getnetgrent_r.c: Hook up nscd.
24328 * nscd/Makefile (routines): Add nscd_netgroup.
24329 (nscd-modules): Add netgroupcache.
24330 (CFLAGS-netgroupcache.c): Define.
24331 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24332 (cache_search): Add const to second parameter.
24333 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24335 (dbs): Add netgrdb entry.
24336 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24337 (verify_persistent_db): Handle netgrdb.
24338 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24339 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24341 (netgroup_response_header): Define.
24342 (innetgroup_response_header): Define.
24343 (datahead): Add netgroup_response_header and innetgroup_response_header
24345 * nscd/nscd.conf: Add entries for netgroup cache.
24346 * nscd/nscd.h (dbtype): Add netgrdb.
24347 (_PATH_NSCD_NETGROUP_DB): Define.
24348 (netgroup_iov_disabled): Declare.
24349 (xmalloc, xcalloc, xrealloc): Move declarations here.
24350 (cache_search): Adjust prototype.
24351 Add netgroup-related prototypes.
24352 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24353 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24354 (__nscd_innetgr): Declare.
24355 * nscd/selinux.c (perms): Use access_vector_t as element type and
24356 add netgroup-related initializers.
24357 * nscd/netgroupcache.c: New file.
24358 * nscd/nscd_netgroup.c: New file.
24359 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24360 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24361 For four parameters use innetgr.
24362 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24363 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24364 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24365 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24367 * nscd/connections.c (register_traced_file): Don't register file
24368 for disabled databases.
24370 2011-10-06 Ulrich Drepper <drepper@gmail.com>
24372 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24374 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24375 from tree and freeing node.
24377 2011-09-25 Jiri Olsa <jolsa@redhat.com>
24379 * nss/nsswitch.c (__nss_database_lookup): Handle
24380 nss_parse_service_list out of memory case.
24382 2011-09-15 Jiri Olsa <jolsa@redhat.com>
24384 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24385 out of memory case.
24387 2011-10-04 Andreas Schwab <schwab@redhat.com>
24389 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24390 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24392 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24393 elf_machine_rela, elf_machine_lazy_rel.
24394 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24395 (ELF_DYNAMIC_DO_REL): Likewise.
24396 (ELF_DYNAMIC_DO_RELA): Likewise.
24397 (ELF_DYNAMIC_RELOCATE): Likewise.
24398 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24399 to ELF_DYNAMIC_DO_REL.
24400 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24401 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24402 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24404 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24405 skip_ifunc, don't call ifunc function if non-zero.
24406 (elf_machine_rela): Likewise.
24407 (elf_machine_lazy_rel): Likewise.
24408 (elf_machine_lazy_rela): Likewise.
24409 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24410 (elf_machine_lazy_rel): Likewise.
24411 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24413 (elf_machine_lazy_rel): Likewise.
24414 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24416 (elf_machine_lazy_rel): Likewise.
24417 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24418 (elf_machine_lazy_rel): Likewise.
24419 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24420 (elf_machine_lazy_rel): Likewise.
24421 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24422 (elf_machine_lazy_rel): Likewise.
24423 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24424 (elf_machine_lazy_rel): Likewise.
24425 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24426 (elf_machine_lazy_rel): Likewise.
24427 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24428 (elf_machine_lazy_rel): Likewise.
24430 2011-09-28 Ulrich Drepper <drepper@gmail.com>
24432 * nss/nss_files/files-init.c (_nss_files_init): Use static
24433 initialization for all the *_traced_file variables.
24435 2011-09-28 Andreas Schwab <schwab@redhat.com>
24437 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24439 2011-09-27 Roland McGrath <roland@hack.frob.com>
24442 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24444 2011-09-27 Andreas Schwab <schwab@redhat.com>
24446 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24447 Reread the line before reparsing it.
24449 2011-09-26 Andreas Schwab <schwab@redhat.com>
24451 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24453 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24454 Maxim Kuvyrkov <maxim@codesourcery.com>
24455 Joseph Myers <joseph@codesourcery.com>
24457 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24458 if needed for __stack_chk_guard.
24460 2011-09-19 Roland McGrath <roland@hack.frob.com>
24462 * sysdeps/posix/spawni.c (script_execute): Always define it.
24463 It will be optimized away if unused.
24464 (maybe_script_execute): New function.
24465 (__spawni): Call it.
24467 * Makerules: Don't include tls.make.
24468 (config-tls): Always set to thread.
24469 * tls.make.c: File removed.
24471 2011-09-19 Mike Frysinger <vapier@gentoo.org>
24473 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24474 * config.make.in (CPPFLAGS-config): New substituted variable.
24476 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24478 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24481 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24482 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24484 2011-09-15 Roland McGrath <roland@hack.frob.com>
24486 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24487 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24488 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24489 (CALL_FAIL): Likewise.
24490 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24491 (CALL_FAIL): Macro removed.
24492 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24494 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24496 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24497 for __FINITE_MATH_ONLY__ == 1.
24499 2011-09-15 Andreas Schwab <schwab@redhat.com>
24501 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24502 __ieee754_sqrt instead of sqrt.
24503 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24504 __ieee754_sqrtf instead of sqrtf.
24505 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24506 __floorf instead of floorf.
24507 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24508 __floorf, __truncf instead of floorf, truncf.
24510 2011-09-14 Ulrich Drepper <drepper@gmail.com>
24512 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24514 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24515 __extern_always_inline.
24516 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24519 2011-09-14 Andreas Schwab <schwab@redhat.com>
24521 * elf/rtld.c (dl_main): Also relocate in dependency order when
24522 doing symbol dependency testing.
24524 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24526 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24527 Always define `refsym'.
24529 2011-09-13 Andreas Schwab <schwab@redhat.com>
24531 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24532 (__FD_ELT): Renamed from __FDELT.
24533 * misc/bits/select2.h (__FD_ELT): Likewise.
24534 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24535 __FD_MASK instead of __FDELT, __FDMASK.
24536 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24538 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24541 * elf/Makefile (gen-ldd): Fix pattern.
24543 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24544 (init_tls): Likewise.
24546 2011-09-12 Ulrich Drepper <drepper@gmail.com>
24548 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24550 2011-09-12 Andreas Schwab <schwab@redhat.com>
24552 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24553 `struct cmsghdr *' instead of `void *'.
24554 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24557 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24559 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24561 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24562 ldd_rewrite_script.
24564 2011-09-11 Ulrich Drepper <drepper@gmail.com>
24566 * configure.in: Remove --with-tls option.
24567 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24568 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24569 out in case it is missing.
24570 * sysdeps/ia64/elf/configure.in: Likewise.
24571 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24572 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24573 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24574 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24575 * sysdeps/sh/elf/configure.in: Likewise.
24576 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24577 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24578 * sysdeps/x86_64/elf/configure.in: Likewise.
24579 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24580 * sysdeps/mach/hurd/tls.h: Likewise.
24583 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24586 * configure.in: Fix use of AC_INIT.
24588 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24590 2011-09-10 Ulrich Drepper <drepper@gmail.com>
24592 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24594 * malloc/hooks.c: Likewise.
24597 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24598 variables statically.
24599 (narenas): Initialize.
24600 (list_lock): Initialize.
24601 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24602 initializtion of main_arena and list_lock. Small cleanups.
24603 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24604 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24605 Add initializers to main_arena and mp_.
24606 (malloc_state): Remove pagesize member. Change all users to use
24609 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24610 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24611 is always initialized.
24613 * malloc/malloc.c: Removed unused configurations and dead code.
24614 * malloc/arena.c: Likewise.
24615 * malloc/hooks.c: Likewise.
24616 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
24618 * include/tls.h: Removed. USE___THREAD must always be defined.
24619 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24620 * elf/dl-libc.c: Likewise.
24621 * elf/dl-tsd.c: Likewise.
24622 * include/errno.h: Likewise.
24623 * include/netdb.h: Likewise.
24624 * include/resolv.h: Likewise.
24625 * inet/herrno-loc.c: Likewise.
24626 * inet/herrno.c: Likewise.
24627 * malloc/arena.c: Likewise.
24628 * malloc/hooks.c: Likewise.
24629 * malloc/malloc.c: Likewise.
24630 * resolv/res-state.c: Likewise.
24631 * resolv/res_libc.c: Likewise.
24632 * sysdeps/i386/dl-machine.h: Likewise.
24633 * sysdeps/ia64/dl-machine.h: Likewise.
24634 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24635 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24636 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24637 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24638 * sysdeps/sh/dl-machine.h: Likewise.
24639 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24640 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24641 * sysdeps/unix/i386/sysdep.S: Likewise.
24642 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24643 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24644 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24645 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24646 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24647 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24648 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24649 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24650 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24652 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24653 * sysdeps/x86_64/dl-machine.h: Likewise.
24654 * tls.make.c: Likewise.
24656 * configure.in: Remove --with-__thread option. Make tests for
24657 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24658 tls_model attribute fail if no support is available. Remove
24660 * Makeconfig: Adjust for dropped configure option. All features are
24662 * Makerules: Likewise.
24663 * Versions.def: Likewise.
24664 * argp/argp-fmtstream.c: Likewise.
24665 * argp/argp-fmtstream.h: Likewise.
24666 * argp/argp-help.c: Likewise.
24667 * assert/assert.c: Likewise.
24668 * config.h.in: Likewise.
24669 * config.make.in: Likewise.
24670 * configure: Likewise.
24671 * configure.in: Likewise.
24672 * csu/Versions: Likewise.
24673 * csu/init.c: Likewise.
24674 * elf/tst-audit2.c: Likewise.
24675 * elf/tst-tls10.c: Likewise.
24676 * elf/tst-tls10.h: Likewise.
24677 * elf/tst-tls11.c: Likewise.
24678 * elf/tst-tls12.c: Likewise.
24679 * elf/tst-tls14.c: Likewise.
24680 * elf/tst-tlsmod11.c: Likewise.
24681 * elf/tst-tlsmod12.c: Likewise.
24682 * elf/tst-tlsmod13.c: Likewise.
24683 * elf/tst-tlsmod13a.c: Likewise.
24684 * elf/tst-tlsmod14a.c: Likewise.
24685 * elf/tst-tlsmod15b.c: Likewise.
24686 * elf/tst-tlsmod16a.c: Likewise.
24687 * elf/tst-tlsmod16b.c: Likewise.
24688 * elf/tst-tlsmod7.c: Likewise.
24689 * elf/tst-tlsmod8.c: Likewise.
24690 * elf/tst-tlsmod9.c: Likewise.
24691 * gmon/gmon.c: Likewise.
24692 * grp/fgetgrent_r.c: Likewise.
24693 * grp/putgrent.c: Likewise.
24694 * hurd/fopenport.c: Likewise.
24695 * include/libc-symbols.h: Likewise.
24696 * include/tls.h: Likewise.
24697 * intl/gettextP.h: Likewise.
24698 * intl/loadinfo.h: Likewise.
24699 * locale/global-locale.c: Likewise.
24700 * locale/localeinfo.h: Likewise.
24701 * mach/devstream.c: Likewise.
24702 * malloc/arena.c: Likewise.
24703 * malloc/set-freeres.c: Likewise.
24704 * misc/err.c: Likewise.
24705 * misc/getttyent.c: Likewise.
24706 * misc/mntent_r.c: Likewise.
24707 * posix/getopt.c: Likewise.
24708 * posix/wordexp.c: Likewise.
24709 * pwd/fgetpwent_r.c: Likewise.
24710 * resolv/Versions: Likewise.
24711 * resolv/res_hconf.c: Likewise.
24712 * shadow/fgetspent_r.c: Likewise.
24713 * shadow/putspent.c: Likewise.
24714 * stdio-common/printf_fphex.c: Likewise.
24715 * stdio-common/tmpfile.c: Likewise.
24716 * stdlib/abort.c: Likewise.
24717 * stdlib/fmtmsg.c: Likewise.
24718 * sunrpc/auth_unix.c: Likewise.
24719 * sunrpc/clnt_perr.c: Likewise.
24720 * sunrpc/clnt_tcp.c: Likewise.
24721 * sunrpc/clnt_udp.c: Likewise.
24722 * sunrpc/clnt_unix.c: Likewise.
24723 * sunrpc/openchild.c: Likewise.
24724 * sunrpc/svc_simple.c: Likewise.
24725 * sunrpc/svc_tcp.c: Likewise.
24726 * sunrpc/svc_udp.c: Likewise.
24727 * sunrpc/svc_unix.c: Likewise.
24728 * sunrpc/xdr.c: Likewise.
24729 * sunrpc/xdr_array.c: Likewise.
24730 * sunrpc/xdr_rec.c: Likewise.
24731 * sunrpc/xdr_ref.c: Likewise.
24732 * sunrpc/xdr_stdio.c: Likewise.
24734 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24736 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24738 2011-07-03 Andreas Jaeger <aj@suse.de>
24740 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24741 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24742 regenerate with gen-libm-tests.pl.
24744 2010-05-12 Petr Baudis <pasky@suse.cz>
24747 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24748 around j0() zero points by switching to j1().
24749 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24750 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24751 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24752 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24754 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24756 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24758 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24760 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24761 Patch in part by Pavel Roskin <proski@gnu.org>.
24764 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24766 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24767 Free memory block if necessary.
24770 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24771 be NULL. Don't lock in this case.
24773 2011-09-09 Roland McGrath <roland@hack.frob.com>
24775 * elf/elf.h (ELFOSABI_GNU): New macro.
24776 (ELFOSABI_LINUX): Define to that.
24778 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24780 * string/strncat.c (strncat): Undef the symbol in case it has been
24781 defined in bits/string.h.
24783 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24785 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24787 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24790 2011-08-17 Andreas Jaeger <aj@suse.de>
24792 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24794 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24795 Ian Lance Taylor <iant@google.com>
24797 * math/libm-test.inc (lround_test): New testcase.
24798 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24800 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24802 * Makefile: Remove support for automatic cvs check-ins.
24803 * Makerules: Likewise.
24804 * config.make.in: Likewise.
24805 * configure.in: Likewise.
24806 * intl/Makefile: Likewise.
24807 * locale/Makefile: Likewise.
24808 * po/Makefile: Likewise.
24809 * posix/Makefile: Likewise.
24810 * sysdeps/gnu/Makefile: Likewise.
24811 * sysdeps/mach/hurd/Makefile: Likewise.
24812 * sysdeps/sparc/sparc32/Makefile: Likewise.
24815 * posix/Makefile (bug-regex32-ENV): Define.
24816 Patch by John Stanley <jpsinthemix@verizon.net>.
24818 * misc/Makefile (headers): Add bits/select2.h.
24819 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24820 * misc/bits/select2.h: New file.
24821 * include/bits/select2.h: New file.
24822 * debug/Makefile (routines): Add fdelt_chk.
24823 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24824 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24826 * debug/fdelt_chk.c: New file.
24828 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24829 * wcsmbs/test-wmemcmp.c: Likewise.
24830 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24831 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24833 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24835 * string/Makefile (strop-tests): Add memcmp.
24836 * string/test-wmemcmp.c: New file.
24837 * string/test-memcmp.c: Add wmemcmp support.
24839 2011-09-08 Roland McGrath <roland@hack.frob.com>
24842 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24845 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24846 garbage value in a __mach_port_mod_refs call in the cases of the
24847 task-self and thread-self ports.
24849 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24851 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24853 2011-09-08 Andreas Schwab <schwab@redhat.com>
24855 * elf/dl-load.c (lose): Check for non-null L.
24857 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24859 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24861 * elf/dl-libc.c (dlerror_run): Pass back error code from
24865 * elf/dl-load.c (lose): Free l_origin if it is valid.
24867 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24869 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24870 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24871 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24872 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24873 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24874 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24876 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24878 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24879 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24880 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24881 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24882 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24883 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24884 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24885 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24886 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24887 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24889 2011-08-15 Alan Modra <amodra@gmail.com>
24892 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24893 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24894 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24895 ppc_mcount to static-only-routines.
24896 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24898 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24899 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24901 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24903 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24904 for finite and infinity parameters.
24906 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24908 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24909 and add nop instructions for throughput optimization.
24910 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24912 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24914 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24915 aligned copy for power7 with vector-scalar instructions.
24916 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24918 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24920 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24923 2011-09-07 Andreas Schwab <schwab@redhat.com>
24926 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24929 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24931 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24932 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24933 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24934 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24937 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24939 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24940 Forgot to demangle the pointer.
24942 * sysdeps/i386/sysdep.h: Define atom_text_section.
24943 * sysdeps/x86_64/sysdep.h: Likewise.
24944 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24945 section with atom_text_section.
24946 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24947 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24948 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24949 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24950 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24952 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24953 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24954 already be defined. Change to take two parameters and don't assign
24955 result to variable. Adjust all users.
24956 Define INTERNAL_GETTIME if not already defined.
24957 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24960 HAVE_CLOCK_GETTIME_VSYSCALL.
24961 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24963 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24964 gettimeofday vsyscall, just use time.
24966 2011-09-06 Andreas Schwab <schwab@redhat.com>
24968 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24971 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24973 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24975 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24977 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24978 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24979 syscall if possible.
24981 2011-09-05 Ulrich Drepper <drepper@gmail.com>
24983 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24984 e_ident. Don't pass to find_mapsXX.
24985 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24987 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24990 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24991 * sysdeps/x86_64/multiarch/strchr.S: Update.
24992 Check bit_slow_BSF bit.
24993 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24994 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24995 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24997 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25000 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
25002 (tryshell): Define.
25003 (__spawni): Change last parameter to be flag. Test
25004 SPAWN_XFLAGS_USE_PATH flag to use path or not.
25005 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
25006 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
25007 * posix/spawni.c: Likewise.
25008 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
25009 * posix/spawnp.c: Likewise. Change normal version to use
25010 SPAWN_XFLAGS_USE_PATH.
25011 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25012 SPAWN_XFLAGS_TRY_SHELL.
25015 * posix/glob.h: Remove gcc 1.x support.
25018 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25020 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25022 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25023 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25025 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25026 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25027 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25028 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25029 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25030 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25032 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25034 * sysdeps/x86_64/wcscmp.S: New file.
25036 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25037 wcscmp-c wcscmp-sse2
25038 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25039 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25040 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25041 * wcsmbs/wcscmp.c: Allow renaming.
25043 2011-09-05 David S. Miller <davem@davemloft.net>
25045 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25046 stack slot, rather than the struct return pointer slot.
25047 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25048 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25050 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25052 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25054 * po/ja.po: Update from translation team.
25057 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25058 kernel in 64-bit binaries.
25060 2011-09-01 David S. Miller <davem@davemloft.net>
25062 * elf/elf.h (HWCAP_SPARC_*): Move to..
25063 * sysdeps/sparc/sysdep.h: this new file and add new values.
25064 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25065 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25066 _DL_HWCAP_COUNT to 24.
25067 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25069 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25070 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25071 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25072 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25073 instead of magic constants.
25074 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25076 2011-08-31 David S. Miller <davem@davemloft.net>
25078 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25079 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25080 Reimplement to do errno handling inline.
25081 (SYSCALL_ERROR_HANDLER): New macro.
25082 (__SYSCALL_STRING): Do not do errno handling in asm.
25083 (__CLONE_SYSCALL_STRING): Delete.
25084 (__INTERNAL_SYSCALL_STRING): Delete.
25085 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25086 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25087 (PSEUDO): Reimplement to do errno handling inline.
25088 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25089 (SYSCALL_ERROR_HANDLER): New macro.
25090 (__SYSCALL_STRING): Do not do errno handling in asm.
25091 (__CLONE_SYSCALL_STRING): Delete.
25092 (__INTERNAL_SYSCALL_STRING): Delete.
25093 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25094 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25096 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25097 (inline_syscall*): Add 'err' argument.
25098 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25099 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25100 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25101 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25103 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25104 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25106 2011-08-30 Andreas Schwab <schwab@redhat.com>
25108 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25110 2011-08-29 Jiri Olsa <jolsa@redhat.com>
25112 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25115 2011-08-24 David S. Miller <davem@davemloft.net>
25117 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25119 2011-08-24 Andreas Schwab <schwab@redhat.com>
25121 * elf/Makefile: Add rules to build and run unload8 test.
25122 * elf/unload8.c: New file.
25123 * elf/unload8mod1.c: New file.
25124 * elf/unload8mod1x.c: New file.
25125 * elf/unload8mod2.c: New file.
25126 * elf/unload8mod3.c: New file.
25128 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25131 2011-08-23 David S. Miller <davem@davemloft.net>
25133 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25134 subtract stack bias.
25135 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25136 %sp not %fp in calculations.
25137 (_JMPBUF_UNWINDS_ADJ): Likewise.
25139 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25140 (aio_suspend): Call it to force an exception region around the
25141 AIO_MISC_WAIT() invocation.
25143 2011-08-23 Andreas Schwab <schwab@redhat.com>
25145 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25148 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25150 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25152 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25153 and <dl-machine.h>.
25154 (Elf64_FuncDesc): Remove.
25156 2011-08-22 David S. Miller <davem@davemloft.net>
25158 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25159 sigaltstack check, add missing cfi directives.
25160 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25161 missing cfi directives, and sigaltstack handling.
25163 2011-08-16 Andreas Schwab <schwab@redhat.com>
25166 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25167 object is seen twice.
25168 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25170 * elf/Makefile (distribute): Add tst-initorder2.c.
25171 (tests): Add tst-initorder2.
25172 (modules-names): Add tst-initorder2a tst-initorder2b
25173 tst-initorder2c tst-initorder2d. Add rules to build them.
25174 ($(objpfx)tst-initorder2.out): New rule.
25175 * elf/tst-initorder2.c: New file.
25176 * elf/tst-initorder2.exp: New file.
25178 2011-08-22 Andreas Schwab <schwab@redhat.com>
25180 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25182 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25183 dependencies back to end of function.
25185 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25186 $(elfobjdir)/ld.so.
25188 2011-08-21 Ulrich Drepper <drepper@gmail.com>
25190 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25191 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25192 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25193 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25194 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25195 of __vdso_gettimeofday.
25196 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25197 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
25199 (_libc_vdso_platform_setup): Remove initialization of
25200 __vdso_gettimeofday and __vdso_time.
25202 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25204 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25205 and fgetc_unlocked.
25206 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25209 * elf/dl-open.c (add_to_global): Report additions to the global scope
25210 for LD_DEBUG=scopes.
25211 (dl_open_worker): Also print scope of newly loaded dependencies.
25212 (_dl_show_scope): Indicate if there is no scope.
25215 * stdio-common/Makefile (tests): Add bug24.
25216 * stdio-common/bug24.c: New file.
25218 2011-08-19 Andreas Jaeger <aj@suse.de>
25221 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25222 non-existant file when using close-on-exec mode.
25224 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25226 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25227 the very first instruction.
25229 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25230 the CFI state in the end.
25231 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25232 inclusion of dl-trampoline.h.
25233 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25235 2011-08-19 Andreas Schwab <schwab@redhat.com>
25237 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25238 expectations for long double.
25240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25241 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25243 2011-08-14 David S. Miller <davem@davemloft.net>
25245 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25246 artificual limit depends upon the system page size.
25248 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25250 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25251 * resolv/Makefile: Define CFLAGS-libresolv.
25253 2011-08-17 Andreas Schwab <schwab@redhat.com>
25255 * nss/makedb.c (compute_tables): Make variables used in nested
25258 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25260 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25261 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25262 if buffer was too small.
25264 * elf/pldd.c (main): Attach to all threads in the process.
25265 Rewrite /proc handling to use *at functions.
25267 2011-08-16 Ulrich Drepper <drepper@gmail.com>
25269 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25270 specifies first scope to show.
25271 (dl_open_worker): Update callers. Move printing scope of new
25272 object to before the relocation.
25273 * elf/rtld.c (dl_main): Update _dl_show_scope call.
25274 * sysdeps/generic/ldsodefs.h: Update declaration.
25276 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25277 string for the scope number.
25279 2011-08-14 Ulrich Drepper <drepper@gmail.com>
25281 * nscd/servicescache.c (cache_addserv): Make sure written is always
25284 2011-08-14 Roland McGrath <roland@hack.frob.com>
25286 * sysdeps/i386/i486/bits/atomic.h
25287 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25288 statement expression, so as to suppress "set but not used" warning.
25289 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25291 * string/strncat.c (STRNCAT): Use prototype definition.
25293 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25294 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25296 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25297 (localedef-modules): Add localedef.
25298 (locale-modules): Add locale.
25300 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25301 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25302 to avoid a warning.
25304 2011-08-14 David S. Miller <davem@davemloft.net>
25306 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25307 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25309 2011-08-13 Ulrich Drepper <drepper@gmail.com>
25311 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
25312 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25313 * elf/rtld.c (dl_main): Set l_name of vDSO.
25314 Call _dl_show_scope when DL_DEBUG_SCOPES.
25315 (process_dl_debug): Recognize scopes flag and also set it for all.
25316 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25317 Declare _dl_show_scope.
25319 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25320 (do_dlopen): Pass caller_dlopen to dl_open.
25321 (__libc_dlopen_mode): Initialize caller_dlopen.
25323 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25324 of libc. Make tolower call locale-independent. Optimize a bit by
25325 using isdigit instead of isalnum.
25326 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25328 2011-08-12 Ulrich Drepper <drepper@gmail.com>
25330 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25331 was a dependency or dynamically loaded.
25333 2011-08-11 Ulrich Drepper <drepper@gmail.com>
25335 * intl/l10nflist.c: Allow architecture-specific pop function.
25336 * sysdeps/x86_64/l10nflist.c: New file.
25338 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25341 2011-08-10 Andreas Schwab <schwab@redhat.com>
25343 * include/dirent.h: Add libc_hidden_proto for scandirat and
25344 scandirat64. Don't declare __scandirat64.
25345 * dirent/scandirat.c: Add libc_hidden_def.
25346 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25347 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25349 2011-08-10 David S. Miller <davem@davemloft.net>
25351 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25353 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25354 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25355 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25357 2011-08-09 Ulrich Drepper <drepper@gmail.com>
25359 * Versions.def [libc]: Add GLIBC_2.15.
25360 * dirent/Makefile (routines): Add scandirat and scandirat64.
25361 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25363 * dirent/dirent.h: Declare scandirat and scandirat64.
25364 * dirent/scandirat.c: New file.
25365 * dirent/scandirat64.c: New file.
25366 * sysdeps/wordsize-64/scandirat.c: New file.
25367 * sysdeps/wordsize-64/scandirat64.c: New file.
25368 * dirent/opendir.c: Define opendirat.
25369 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25371 * dirent/scandir64.c: Adjust for scandir.c change.
25372 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25373 __scandirat64, and __scandir_cancel_handler.
25374 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25375 additional parameter and use openat instead of open (outside of ld.so).
25376 Add new __opendir as wrapper around __opendirat.
25377 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25378 here without requiring old scandirat implementation.
25380 2011-08-08 Ulrich Drepper <drepper@gmail.com>
25382 * dirent/scandir.c (cancel_handler): Renamed to
25383 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25384 defined. Adjust users.
25385 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25386 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25388 2011-08-04 Ulrich Drepper <drepper@gmail.com>
25390 * string/test-string.h (IMPL): Use __STRING to expand name and then
25393 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25396 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25398 * string/Makefile: Update.
25399 (strop-tests): Append strncat.
25400 * string/test-wcscmp.c: New file.
25401 New comprehensive test for wcscmp.
25402 * string/test-strcmp.c: Update.
25403 (WIDE): New define.
25405 2011-07-22 Andreas Schwab <schwab@redhat.com>
25407 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25410 2011-07-26 Andreas Schwab <schwab@redhat.com>
25412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25413 encoding to ACE if AI_IDN.
25415 2011-08-01 Jakub Jelinek <jakub@redhat.com>
25417 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25418 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25420 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25422 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25423 Fix overflow bug in strncat.
25424 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25426 * string/test-strncat.c: Update.
25427 Add new tests for checking overflow bugs.
25429 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25431 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25432 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25433 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25434 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25435 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25436 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25437 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25438 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25439 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25441 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25442 (USE_AS_STRCAT): Define.
25443 Add strcat and strncat support.
25444 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25446 2011-07-25 Andreas Schwab <schwab@redhat.com>
25448 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25449 __n bigger than INT_MAX+1.
25450 (__strncmp_g): Likewise.
25452 2011-07-23 Ulrich Drepper <drepper@gmail.com>
25454 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25455 * libio/stido.h: Likewise.
25457 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25459 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25462 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25463 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25464 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25465 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25466 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25469 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25472 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25474 (_dl_x86_64_save_sse): Likewise.
25476 2011-07-22 Ulrich Drepper <drepper@gmail.com>
25478 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25480 (_dl_x86_64_save_sse): Likewise.
25482 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25484 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25486 2011-07-21 Andreas Schwab <schwab@redhat.com>
25488 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25490 (_dl_x86_64_save_sse): Use correct AVX check.
25492 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25494 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25495 bug in strncpy/strncat.
25496 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25498 2011-07-21 Ulrich Drepper <drepper@gmail.com>
25500 * string/tester.c (test_strcat): Add tests for different alignments
25501 of source and destination.
25502 (test_strncat): Likewise.
25504 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25507 * posix/glob.c (glob): Check passed in values before using them in
25508 expressions to avoid some overflows.
25509 (glob_in_dir): Likewise.
25512 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25513 check for AVX enablement so that we don't crash with old kernels and
25515 * elf/tst-audit4.c: Add same checks here.
25516 * elf/tst-audit6.c: Likewise.
25518 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
25520 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25522 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25524 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25526 * po/cs.po: Update from translation team.
25527 * po/bg.po: Likewise.
25529 2011-07-12 Marek Polacek <mpolacek@redhat.com>
25531 * misc/sys/cdefs.h: Add support for const attribute.
25532 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25533 to gnu_dev_{major,minor,makedev} functions.
25535 2011-07-20 Marek Polacek <mpolacek@redhat.com>
25537 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25539 2011-07-20 Andreas Schwab <schwab@redhat.com>
25541 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25544 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25546 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25547 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25548 register in order to avoid conflicts with the soft frame pointer
25549 being held in r11 when necessary.
25550 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25551 (INTERNAL_VSYSCALL_NCS): Likewise.
25553 2011-07-14 Marek Polacek <mpolacek@redhat.com>
25555 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25556 * elf/dl-fini.c (_dl_fini): Adjust caller.
25557 * elf/dl-close.c (_dl_close_worker): Likewise.
25558 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25560 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25562 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25563 "aux_cache->nlibs < 0".
25565 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25566 in the reload-count case.
25568 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25571 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25572 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25573 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25574 * sysdeps/x86_64/multiarch/strcat.S: New file.
25575 * sysdeps/x86_64/multiarch/strncat.S: New file.
25576 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25577 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25578 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25579 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25580 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25581 (USE_AS_STRCAT): Define.
25582 Add strcat and strncat support.
25583 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25584 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25585 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25586 * string/strncat.c: Update.
25587 (USE_AS_STRNCAT): Define.
25588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25589 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25591 * sysdeps/x86_64/multiarch/init-arch.h
25592 (bit_Prefer_PMINUB_for_stringop): New.
25593 (index_Prefer_PMINUB_for_stringop): Likewise.
25594 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25595 bit_Prefer_PMINUB_for_stringop.
25597 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25599 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25601 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25602 of casting of buffer.
25603 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25604 buffer32 and buffer64.
25605 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25606 writes instead of casting of buffer.
25607 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25609 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25612 2011-07-19 Andreas Schwab <schwab@redhat.com>
25614 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25616 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25618 * nscd/nscd.c (termination_handler): Don't do anything for a database
25619 if it has not yet been initialized.
25621 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25623 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25625 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25627 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25629 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25631 * po/nl.po: Update from translation team.
25632 * po/sv.po: Likewise.
25634 2011-07-16 Roland McGrath <roland@hack.frob.com>
25636 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25637 now disallowed by GCC.
25639 * configure.in (use-default-link): Default to yes if a test -shared
25640 link meets our qualifications.
25641 * configure: Regenerated.
25643 * config.make.in (output-format): New variable.
25644 * configure.in: Check for ld --print-output-format support.
25645 * configure: Regenerated.
25646 * Makerules ($(common-objpfx)format.lds)
25647 [$(output-format) != unknown]: Just use $(output-format),
25648 instead of the linker-script munging.
25650 2011-07-14 Roland McGrath <roland@hack.frob.com>
25652 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25653 of $(common-objpfx)shlib.lds.
25654 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25656 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25657 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25659 * configure.in (-z relro check): Adjust test code to add a large
25660 writable data section after it.
25661 * configure: Regenerated.
25663 2011-07-11 Roland McGrath <roland@hack.frob.com>
25665 * configure.in (-z relro check): Fix test code to make the variable
25667 * configure: Regenerated.
25669 2011-07-11 Ulrich Drepper <drepper@gmail.com>
25671 * nscd/nscd.h (struct traced_file): Define.
25672 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25673 elements. Add traced_files.
25674 (inotify_fd): Declare.
25675 (register_traced_file): Declare.
25676 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25677 (inotify_fd): Export.
25678 (resolv_conf_descr): Remove.
25679 (nscd_init): Move inotify descriptor creation to main.
25680 Don't register files for notification here.
25681 (register_traced_file): New function.
25682 (invalidate_cache): Don't use reset_res to determine whether to call
25683 res_init, go through the list of registered files.
25684 (main_loop_poll): The inotify descriptors are now stored in the
25685 structures for the traced files.
25686 (main_loop_epoll): Likewise
25687 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25688 to __nss_disable_nscd.
25689 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25690 for a database anymore. Check the records for all the registered
25692 * nss/Makefile (libnss_files-routines): Add files-init.
25693 (libnss_db-routines): Add db-init.
25694 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25695 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25696 * nss/nss_db/db-init.c: New file.
25697 * nss/nss_files/files-init.c: New file.
25698 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25699 __nss_lookup_function.
25700 (__nss_lookup_function): Call nss_load_library.
25701 (nss_load_all_libraries): New function.
25702 (__nss_disable_nscd): Take parameter with callback function for files
25703 to register. Set is_nscd. Load all the DSOs for the NSS modules
25704 used for the cached services.
25705 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25706 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25707 options for features to all the files in nscd.
25709 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25711 2011-07-10 Roland McGrath <roland@hack.frob.com>
25713 * csu/elf-init.c (__libc_csu_init): Comment typo.
25715 2011-07-09 Ulrich Drepper <drepper@gmail.com>
25717 * po/pl.po: Update from translation team.
25718 * po/ja.po: Likewise.
25719 * po/ru.po: Likewise.
25720 * po/ko.po: Likewise.
25721 * po/fr.po: Likewise.
25723 2011-07-09 Roland McGrath <roland@hack.frob.com>
25725 * configure.in (.ctors/.dtors header and trailer check):
25726 Use an empirical test on a built program.
25727 * configure: Regenerated.
25729 * configure.in (-z relro check): Use an empirical test on a built DSO.
25730 Detect, but do not require, on ia64.
25731 * configure: Regenerated.
25733 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25734 Update tests that use readelf to use $READELF instead.
25735 * configure: Regenerated.
25737 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25739 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25740 if the result is not used.
25742 2011-07-05 Andreas Jaeger <aj@suse.de>
25745 * stdlib/tst-strtod.c: Add testcase.
25747 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25749 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25750 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25751 The latter has a higher limit. Take additional parameter to pass to
25753 (__pathconf): Pass file to __statfs_link_max.
25754 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25756 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25760 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25761 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25763 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25764 (__statfs_filesize_max): Likewise.
25765 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25767 2011-07-05 Andreas Jaeger <aj@suse.de>
25769 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25771 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25773 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25775 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25778 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25780 * Makefile (strop-tests): Add strncat.
25781 * string/test-strncat.c: New file.
25783 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25785 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25787 2011-06-21 Andreas Jaeger <aj@suse.de>
25789 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25790 Copy rule from iconvdata/Makefile.
25792 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25795 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25796 but no long options are defined, just return 'W'.
25798 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25801 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25803 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25805 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25807 (innetgr): Likewise.
25809 2011-07-05 Roland McGrath <roland@hack.frob.com>
25811 * config.make.in (install_root): Default to $(DESTDIR).
25813 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25815 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25817 2011-07-02 Roland McGrath <roland@hack.frob.com>
25819 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25821 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25822 containing directory rather than embedding absolute directory names.
25824 * scripts/check-local-headers.sh: Rewritten using awk.
25825 Match by word, not by line. Print error messages for matches.
25826 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25828 * Makerules [shlib-lds-flags empty]:
25829 ($(common-objpfx)libc_pic.opts): New target.
25830 ($(common-objpfx)libc_pic.os.clean): New target.
25831 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25833 * config.make.in (OBJCOPY): New variable.
25834 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25835 * configure: Regenerated.
25837 * config.make.in (use-default-link): New variable.
25838 * configure.in (use_default_link): Grok --with-default-link to set it.
25839 * configure: Regenerated.
25840 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25841 (shlib-lds, shlib-lds-flags): Define to empty.
25843 * Makerules (shlib-lds): New variable.
25844 (shlib-lds-flags): New variable.
25845 (build-shlib, build-moduile, build-module-asneeded): Use it.
25846 ($(common-objpfx)libc.so): Use $(shlib-lds).
25847 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25848 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25850 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25851 DT_FLAGS/DT_FLAGS_1 with zero flags.
25853 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25854 linker script munging.
25856 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25858 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25860 * crypt/sha512.c (sha512_process_block): Perform total addition using
25861 128-bit if possible.
25862 (__sha512_finish_ctx): Likewise.
25863 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25865 * crypt/sha256.c (SWAP64): Define.
25866 (sha256_process_block): Perform total addition using 64-bit if
25868 (__sha256_finish_ctx): Likewise.
25870 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25872 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25873 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25874 * nscd/hstcache.c (cache_addhst): Likewise.
25875 * nscd/grpcache.c (cache_addgr): Likewise.
25876 * nscd/aicache.c (addhstaiX): Likewise
25877 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25879 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25881 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25882 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25883 * nscd/hstcache.c (cache_addhst): Likewise.
25884 * nscd/grpcache.c (cache_addgr): Likewise.
25885 * nscd/aicache.c (addhstaiX): Likewise
25887 2011-07-01 Andreas Schwab <schwab@redhat.com>
25889 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25890 domain only when needed.
25892 2011-06-30 Andreas Schwab <schwab@redhat.com>
25894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25895 is always restored.
25897 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25899 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25900 are re-adding the entry.
25901 * nscd/servicescache.c (cache_addserv): Likewise.
25903 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25905 * sysdeps/generic/dl-irel.h: fix protection against multiple
25907 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25909 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25912 * malloc/memusage.sh: Fix quoting in message.
25913 * debug/xtrace.sh: Likewise.
25915 * configure.in: Remove support for --experimental-malloc option, make
25917 * config.make.in: Likewise.
25918 * malloc/Makefile: Likewise.
25920 2011-06-27 Andreas Schwab <schwab@redhat.com>
25922 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25923 two-byte characters.
25925 2011-06-27 Roland McGrath <roland@hack.frob.com>
25927 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25928 AC_CACHE_CHECK invocation.
25929 * configure: Regenerated.
25931 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25933 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25936 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25937 bit from old_res_options.
25939 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25941 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25942 value type for setfct.
25944 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25946 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25947 __gettimeofday instead of gettimeofday.
25949 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25951 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25953 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25955 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25957 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25960 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25963 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25964 strcpy-sse2-unaligned strncpy-sse2-unaligned
25965 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25966 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25967 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25968 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25969 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25970 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25971 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25972 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25973 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25974 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25975 (STRCPY): Support SSE2 and SSSE3 versions.
25977 2011-06-24 Ulrich Drepper <drepper@gmail.com>
25980 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25981 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25982 kernels which artificially limit size of requests.
25984 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25986 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25987 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25988 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25989 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25990 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25991 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25992 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25993 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25994 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25995 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25996 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25997 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25998 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25999 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
26000 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
26001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26002 Enable unaligned load optimization for Intel Core i3, i5 and i7
26004 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
26006 (index_Fast_Unaligned_Load): Define.
26007 (HAS_FAST_UNALIGNED_LOAD): Define.
26009 2011-06-23 Marek Polacek <mpolacek@redhat.com>
26011 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26013 2011-06-22 Ulrich Drepper <drepper@gmail.com>
26016 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26017 until it is clear that the information is realy needed.
26018 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26020 2011-06-22 Andreas Schwab <schwab@redhat.com>
26022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26024 2011-06-22 Ulrich Drepper <drepper@gmail.com>
26026 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26027 /sys/devices/system/cpu/online if it is usable.
26029 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26030 reading the information from the /proc filesystem to once a second.
26032 2011-06-21 Andreas Jaeger <aj@suse.de>
26034 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26035 NULL after inclusion of kernel headers.
26037 2011-06-21 Ulrich Drepper <drepper@gmail.com>
26039 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26040 calls to internal_setent.
26043 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26044 addresses using gethostbyname4_r ignore IPv4 addresses.
26046 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26047 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26049 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26051 2011-06-20 David S. Miller <davem@davemloft.net>
26053 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26055 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26057 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26058 (elf_irel): Use it.
26059 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26060 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26061 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26062 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26063 * sysdeps/x86_64/dl-irel.h: Likewise.
26065 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26066 * elf/dl-sym.c: Likewise.
26068 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26070 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26071 need to dereference resplen2.
26073 2011-06-14 Andreas Schwab <schwab@redhat.com>
26075 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26077 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26079 * Makeconfig: Define vardbdir and inst_vardbdir.
26080 * nss/Makefile: Add rules to install db-Makefile.
26082 * nss/nss_db/db-XXX.c: Cleanup.
26084 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26085 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26087 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26088 * nss/makedb.c: Implement -g option to specify that value strings
26089 are generated and should not be added to table iterated over for
26091 * nss/nss_db/db-initgroups.c: New file.
26093 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26096 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26097 (internal_getgrouplist): Adjust to name change.
26098 Update use_initgroups_entry if this is not the first call.
26099 * nss/databases.def: Add initgroups entry.
26101 * nss/makedb.c (compute_tables): Check result of multiple hash table
26102 sizes to minimize maximum chain length.
26104 2011-06-14 Ulrich Drepper <drepper@gmail.com>
26106 * Versions.def: Add entry for libnss_db.
26107 * shlib-versions: Likewise.
26108 * nss/Makefile: Add rules to build libnss_db.
26109 * nss/Versions: Add libnss_db information. Organize libnss_files
26111 * nss/db-Makefile: Add gshadow support. Change rules for the new
26112 makedb progra. Some minor improvements to generate smaller files.
26113 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26115 * nss/makedb.c: ...here.
26116 Improve database format to be smaller and require less memory at
26118 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26120 * nss/nss_db/db-netgrp.c: Likewise.
26121 * nss/nss_db/db-open.c: Likewise.
26122 * nss/nss_files/flies-XXX.x: Adjust comments.
26123 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26124 * nss/nss_files/files-grp.c: Likewise.
26125 * nss/nss_files/files-hosts.c: Likewise.
26126 * nss/nss_files/files-network.c: Likewise.
26127 * nss/nss_files/files-proto.c: Likewise.
26128 * nss/nss_files/files-pwd.c: Likewise.
26129 * nss/nss_files/files-rpc.c: Likewise.
26130 * nss/nss_files/files-service.c: Likewise.
26131 * nss/nss_files/files-sgrp.c: Likewise.
26132 * nss/nss_files/files-spwd.c: Likewise.
26133 * nss/nss_db/db-alias.c: Removed.
26134 * nss/nss_db/dummy-db.h: Removed.
26136 2011-06-02 Ulrich Drepper <drepper@gmail.com>
26138 * nss/makedb.c: Rewritten to not use database library.
26139 * nss/Makefile: Update to build new makedb program.
26141 2011-06-14 Andreas Jaeger <aj@suse.de>
26143 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26144 memset declaration.
26146 2011-06-10 Andreas Schwab <schwab@redhat.com>
26148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26151 2011-06-10 Roland McGrath <roland@hack.frob.com>
26153 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26154 * elf/Makefile ($(objpfx)ld.so): Likewise.
26156 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26157 Don't list ld.so twice in dependencies.
26159 * posix/bug-regex31.c: Include <stdlib.h>.
26161 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26163 * nis/nss_compat/compat-spwd.c
26164 (getspent_next_nss_netgr): Remove unused variable.
26165 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26167 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26168 nonmembers" output to use the right array.
26170 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26172 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26174 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26175 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26176 * catgets/gencat.c (read_input_file): Likewise.
26177 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26179 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26180 variable definition inside #if's controlling its use.
26182 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26184 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26186 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26188 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26191 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26193 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26194 * configure: Regenerated.
26196 * Makerules: Revert last change.
26197 * elf/Makefile: Likewise.
26199 2011-06-09 Roland McGrath <roland@hack.frob.com>
26201 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26202 * elf/Makefile ($(objpfx)librtld.os): Likewise.
26203 (reloc-link): Likewise.
26205 2011-06-09 Ulrich Drepper <drepper@gmail.com>
26207 * elf/Makefile: Add rules to build pldd.
26208 * elf/pldd.c: New file.
26209 * elf/pldd-xx.c: New file.
26211 2011-06-07 Ulrich Drepper <drepper@gmail.com>
26213 * version.h: Update for 2.15 development version.
26215 2011-06-07 David S. Miller <davem@davemloft.net>
26217 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26219 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26220 elf_machine_lazy_rel): Likewise.
26221 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26222 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26223 elf_machine_lazy_rel): Likewise.
26224 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26225 dl_hwcap via passed in argument.
26226 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26229 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26231 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26233 2011-06-06 Roland McGrath <roland@hack.frob.com>
26236 * manual/fdl-1.1.texi: New file, verbatim from:
26237 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26238 * manual/lgpl-2.1.texi: New file, verbatim from:
26239 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26240 * manual/Makefile (licenses): New variable, list those new file names.
26242 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26244 * manual/fdl.texi: File removed.
26245 * manual/lesser.texi: File removed.
26246 * manual/libc.texinfo (Copying, Documentation License):
26247 Use new @include file names, put @appendix directive before @include.
26249 2011-06-04 Jakub Jelinek <jakub@redhat.com>
26252 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26253 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26254 (mq_open): Add __NTH.
26256 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26259 Assume Intel Core i3/i5/i7 processor if AVX is available.
26261 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26263 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26266 2011-05-31 Andreas Schwab <schwab@redhat.com>
26268 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26269 memory. Use alloca_account. Fix memory leak when retrying.
26271 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26273 * version.h (RELEASE): Bump for 2.14 release.
26274 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26276 * config.make.in (RANLIB): Remove entry.
26278 2011-05-30 Ulrich Drepper <drepper@gmail.com>
26280 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26281 (libc.pot): Work around missing support for .ksh extension in xgettext.
26284 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26285 if both request failed.
26286 (send_dg): In case of server errors clear resplen or *resplen2.
26289 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26290 when there are multiple maps.
26291 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26292 (_dl_fini): Remove test here.
26294 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26296 2011-05-29 Ulrich Drepper <drepper@gmail.com>
26299 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26300 bit from old_res_options.
26301 (gaih_inet): Likewise.
26304 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
26307 * resolv/res_init.c (res_setoptions): Make the code more compact.
26310 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26314 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26316 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26319 * malloc/malloc.h: Declare malloc hook variables as volatile.
26321 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26325 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
26326 raise in the comment.
26327 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26328 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26329 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
26331 2011-05-28 Ulrich Drepper <drepper@gmail.com>
26334 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26335 grow the buffers more if it already has to be sufficient.
26336 (build_wcs_upper_buffer): Likewise.
26337 * posix/regexec.c (check_matching): Likewise.
26338 (clean_state_log_if_needed): Likewise.
26339 (extend_buffers): Don't enlarge buffers beyond size of the input
26341 Patches mostly by Emil Wojak <emil@wojak.eu>.
26342 * posix/bug-regex32.c: New file.
26343 * posix/Makefile (tests): Add bug-regex32.
26345 * locale/findlocale.c (_nl_find_locale): Return right away if
26346 _nl_explode_name failed.
26347 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26349 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26351 * debug/xtrace.sh: Unify messages.
26352 * malloc/memusage.sh: Likewise.
26355 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26356 time symbol from vDSO. Substitute with vsyscall if not available.
26357 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26360 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26361 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26362 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26363 Add sendmmsg and internal_sendmmsg.
26364 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26365 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26366 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26368 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26369 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26370 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26372 2011-05-27 Ulrich Drepper <drepper@gmail.com>
26375 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26376 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26378 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26382 * iconvdata/Makefile (tests): Add bug-iconv9.
26383 * iconvdata/bug-iconv9.c: New file.
26385 2011-05-27 Andreas Schwab <schwab@redhat.com>
26388 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26390 2011-05-25 Jakub Jelinek <jakub@redhat.com>
26392 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26393 (struct user_regs_struct): Change intcs field back to cs.
26395 2011-05-25 Ulrich Drepper <drepper@gmail.com>
26397 * po/ja.po: Update from translation team.
26399 2011-05-23 Ulrich Drepper <drepper@gmail.com>
26402 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26403 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26405 2011-05-20 Andreas Schwab <schwab@redhat.com>
26407 * stdlib/longlong.h: Update from GCC.
26409 2011-05-23 Andreas Schwab <schwab@redhat.com>
26411 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26413 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26414 Add parameter name.
26415 (__sysconf): Pass it down.
26417 2011-05-22 Ulrich Drepper <drepper@gmail.com>
26420 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26422 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26423 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26424 add in in __libc_use_alloca calls. Adjust callers.
26425 (glob): Use malloc in some situations.
26427 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26428 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26431 2011-05-21 Ulrich Drepper <drepper@gmail.com>
26433 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26434 and CLOCK_BOOTTIME_ALARM.
26437 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26440 * string/_strerror.c (__strerror_r): Print negative errors as signed
26444 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26445 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26446 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26448 * configure.in: Fix typo in redirection and correct removal of test
26449 files in two cases.
26452 * locale/setlocale.c (new_composite_name): Fix test to check for
26453 identical name of all categories.
26456 * libio/filedoalloc.c (local_isatty): New function.
26457 (_IO_file_doallocate): Use local_isatty.
26458 * stdio-common/perror.c (perror): In case a new stream is used
26459 forward the stream error.
26460 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26463 2011-05-20 Ulrich Drepper <drepper@gmail.com>
26466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26468 * include/alloca.h (extend_alloca_account): Define.
26471 * posix/regex.h: Fix comments with documentation of user-accessible
26472 fields after compilation and describe correct free'ing of pattern
26473 after re_compile_pattern.
26474 Patch by Reuben Thomas <rrt@sc3d.org>.
26476 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26478 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26479 and -mno-altivec to prevent the compiler from using Altivec and/or
26480 VSX instructions when the corresponding registers are not available.
26482 2011-05-19 Andreas Schwab <schwab@redhat.com>
26484 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26486 2011-05-19 Ulrich Drepper <drepper@gmail.com>
26488 * libio/freopen.c (freopen): Use __dup2, not dup2.
26489 * libio/freopen64.c (freopen64): Likewise.
26491 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26494 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26495 * math/Makefile (tests): Add test-powl.
26496 (CFLAGS-test-powl.c): Define.
26497 * math/test-powl.c: New file.
26499 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26501 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26503 2011-05-17 Ulrich Drepper <drepper@gmail.com>
26506 * iconvdata/gb18030.c: Update to GB18020-2005.
26508 2011-05-16 Ulrich Drepper <drepper@gmail.com>
26510 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26511 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26512 Patch by Aharon Robbins <arnold@skeeve.com>.
26515 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26519 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26520 through underflows.
26523 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26524 point to strings before performing equality test for error_one_per_line
26528 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26531 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26532 (struct user_fpregs_struct): Avoid __uint*_t types.
26535 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26536 symbol info. Use it instead of calling _dl_addr locally.
26537 (lock_and_info): New function.
26538 (tr_freehook): Call lock_and_info and pass symbol info as additional
26539 parameter to tr_where.
26540 (tr_mallochook): Likewise.
26541 (tr_reallochook): Likewise.
26542 (tr_memalignhook): Likewise.
26544 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26545 used and couldn't be at all thread-safe.
26547 2011-05-15 Ulrich Drepper <drepper@gmail.com>
26549 * libio/freopen.c (freopen): Don't close old file descriptor
26550 before the new one is opened. Instead dup the new file descriptor
26551 to the old one after the new stream is created.
26552 * libio/freopen64.c (freopen64): Likewise.
26553 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26554 * libio/fileops.c (_IO_new_file_close_it): Handle new
26555 _IO_FLAGS2_NOCLOSE flag.
26556 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26557 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26558 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26559 _IO_FLAGS2_NOCLOSE flag.
26560 * include/unistd.h: Add hidden_proto for dup3.
26561 Define __have_dup3.
26562 * io/dup3.c: Define hidden symbol.
26563 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26566 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26567 when an incomplete long option is used.
26568 * posix/tst-getopt_long1.c: New file.
26569 * posix/Makefile (tests): Add tst-getopt_long1.
26572 * scripts/config.guess: Update from autoconf-2.68.
26573 * scripts/config.sub: Likewise.
26576 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26578 (has_cpuclock): ...this. New function.
26579 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26580 macro here based on has_cpuclock code.
26583 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26584 First byte (not low byte) is now always NUL.
26585 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26587 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26588 Use non-cancelable interfaces.
26591 * locale/iso-639.def: Add entry for Sorani.
26594 * include/stdlib.h: Move include protection to the right place.
26595 Define abort_msg_s. Declare __abort_msg with it.
26596 * stdlib/abort.c (__abort_msg): Adjust type.
26597 * assert/assert.c (__assert_fail_base): New function. Majority
26598 of code from __assert_fail. Allocate memory for __abort_msg with
26600 (__assert_fail): Now call __assert_fail_base.
26601 * assert/assert-perr.c: Remove bulk of implementation. Use
26602 __assert_fail_base.
26603 * include/assert.hL Declare __assert_fail_base.
26604 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26606 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26608 2011-05-14 Ulrich Drepper <drepper@gmail.com>
26612 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26613 until all modules are registered in the DTV.
26614 * elf/Makefile: Add rules to build and run tst-tls19.
26615 * elf/tst-tls19.c: New file.
26616 * elf/tst-tls19mod1.c: New file.
26617 * elf/tst-tls19mod2.c: New file.
26618 * elf/tst-tls19mod3.c: New file.
26619 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26622 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26626 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26627 two-byte sequence errors.
26628 * iconvdata/Makefile (tests): Add bug-iconv8.
26629 * iconvdata/bug-iconv8.c: New file.
26632 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26635 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26638 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26639 (dummy_getcfa): New function.
26640 (init): Get _Unwind_GetCFA address, use dummy if not found.
26641 (backtrace_helper): In recursion check, also check whether CFA changes.
26642 (__backtrace): Completely initialize arg.
26644 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26645 storing incomplete byte sequence in state object. Avoid testing for
26646 guaranteed too small input if we know there is enough data available.
26648 2011-05-11 Andreas Schwab <schwab@redhat.com>
26650 * Makeconfig (+link-pie): Indent.
26651 * Rules (binaries-pie): Define if $(have-fpie) and
26653 (binaries-shared): Also filter out $(binaries-pie).
26654 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26655 * nscd/Makefile (others-pie): Add nscd.
26656 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26657 ($(objpfx)nscd): Remove command override.
26658 * login/Makefile (others-pie): Add pt_chown.
26659 ($(objpfx)pt_chown): Remove command override.
26660 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26661 remove command overrides.
26663 2011-05-13 Ulrich Drepper <drepper@gmail.com>
26665 * libio/tst_putwc.c: Fix error messages.
26668 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26669 currently writing and seek to current position when not.
26670 * libio/Makefile (tests): Add bug-fclose1.
26671 * libio/bug-fclose1.c: New file.
26673 2011-05-12 Ulrich Drepper <drepper@gmail.com>
26676 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26677 don't set DF_1_NODELETE here.
26678 (do_lookup_x): When entering new entry test for copy relocation
26679 and if necessary set DF_1_NODELETE flag.
26680 * elf/tst-unique4.cc: New file.
26681 * elf/tst-unique4.h: New file.
26682 * elf/tst-unique4lib.cc: New file.
26683 * elf/Makefile: Add rules to build and run tst-unique4.
26684 Patch by Piotr Bury <pbury@goahead.com>.
26686 2011-05-11 Ulrich Drepper <drepper@gmail.com>
26689 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26692 * misc/mntent_r.c (addmntent): Flush the stream after the output
26695 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26696 (is_trusted_path_normalize): Skip initial colon. Append slash
26697 to empty buffer. Duplicate is_trusted_path code but allow
26698 constructed patch to be prefix.
26699 (is_dst): Allow $ORIGIN followed by /.
26700 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26701 Correct testing of result of is_trusted_path_normalize
26702 (decompose_rpath): Fix warning.
26704 2011-05-10 Ulrich Drepper <drepper@gmail.com>
26707 * grp/initgroups.c (internal_getgrouplist): When we found the service
26708 list through the initgroups entry in nsswitch.conf do not always
26709 continue on a successful lookup. Don't always use the
26710 __nss_group_database value if it is set.
26711 * nss/nsswitch.conf (initgroups): Change action for successful db
26712 lookup to continue for compatibility.
26714 2011-05-09 Ulrich Drepper <drepper@gmail.com>
26717 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26719 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26721 * iconvdata/tst-tables.sh: Likewise.
26722 * iconvdata/cp770.c: New file.
26723 * iconvdata/cp771.c: New file.
26724 * iconvdata/cp772.c: New file.
26725 * iconvdata/cp773.c: New file.
26726 * iconvdata/cp774.c: New file.
26727 * iconvdata/testdata/CP770: New file.
26728 * iconvdata/testdata/CP770..UTF8: New file.
26729 * iconvdata/testdata/CP771: New file.
26730 * iconvdata/testdata/CP771..UTF8: New file.
26731 * iconvdata/testdata/CP772: New file.
26732 * iconvdata/testdata/CP772..UTF8: New file.
26733 * iconvdata/testdata/CP773: New file.
26734 * iconvdata/testdata/CP773..UTF8: New file.
26735 * iconvdata/testdata/CP774: New file.
26736 * iconvdata/testdata/CP774..UTF8: New file.
26738 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26740 * iconvdata/gen-8bit-gap.sh: Likewise.
26741 * iconvdata/gen-8bit.sh: Likewise.
26743 * locale/iso-639.def: Add ary entry.
26746 * locale/C-translit.h.in: Add U20A1 transliteration.
26749 * locale/iso-639.def: Add wae entry.
26750 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26753 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26757 * locale/C-translit.h.in: Add entry for U20B9.
26758 Patch by pravin.d.s@gmail.com.
26760 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26763 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26764 ENAMETOOLONG use generic getcwd.
26765 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26766 in rtld. Use *stat64.
26767 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26768 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26769 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26770 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26771 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26772 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26773 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26774 __fstatat64 macros.
26775 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26776 * dirent/rewinddir.c: Add libc_hidden_def.
26777 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26778 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26780 * include/dirent.h (__alloc_dir): Add flags parameter.
26781 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26782 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26784 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26785 from fdopendir if O_CLOEXEC is already set.
26787 2011-03-15 Alan Modra <amodra@gmail.com>
26789 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26790 l_tls_firstbyte_offset non-zero. Save padding offset in
26791 l_tls_firstbyte_offset for later use.
26792 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26793 freeing static tls block.
26795 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26797 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26798 where #ifdef was intended. The intent is to prevent ARG_MAX from
26799 being defined by the kernel headers.
26801 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26804 * resolv/resolv.h: Define RES_NOTLDQUERY.
26805 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26806 no-tld-query and set RES_NOTLDQUERY.
26807 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26808 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26809 modern BIND to search name as TLD unless forbidden.
26811 2011-05-07 Petr Baudis <pasky@suse.cz>
26812 Ulrich Drepper <drepper@gmail.com>
26815 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26816 (is_trusted_path): ...to here.
26817 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26818 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26819 using is_trusted_path_normalize() in setuid scripts.
26821 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26823 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26824 __BEGIN/__END_DECLS.
26826 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26828 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26829 NSS_STATUS_NOTFOUND if no record was found.
26831 2011-05-05 Andreas Schwab <schwab@redhat.com>
26833 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26834 (headers-not-in-tirpc): Remove rpc/netdb.h
26835 * resolv/netdb.h: Revert last change.
26837 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26839 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26840 circular dependency between libgcc.a and libc.a.
26842 2011-05-05 Andreas Schwab <schwab@redhat.com>
26844 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26845 * nis/Makefile: Don't install rpcsvc/*.
26846 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26847 instead of <rpc/types.h>.
26848 (MAXHOSTNAMELEN): Define.
26850 2011-05-03 Andreas Schwab <schwab@redhat.com>
26852 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26854 2011-04-28 Maciej Babinski <mbabinski@google.com>
26857 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26858 gethostbyname4_r when IPv6 results are possible.
26860 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26863 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26864 _PC_PIPE_BUF handling.
26866 2011-04-30 Bruno Haible <bruno@clisp.org>
26869 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26870 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26872 * inet/getnameinfo.c (getnameinfo): Likewise.
26874 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26876 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26877 to groups setting in database lookup.
26878 * nss/nsswitch.conf: Add initgroups entry.
26880 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26883 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26885 Patch by Eric Blake <eblake@redhat.com>.
26887 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26889 * sunrpc/Makefile (need-export-routines): Add svc_run.
26890 (routines): Remove svc_run.
26891 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26892 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26893 * sunrpc/svc_run.c (svc_run): Likewise.
26894 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26896 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26898 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26899 problem in reallocation in last patch.
26901 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26903 * sunrpc/Makefile: Move inclusion of Rules.
26905 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26907 * nss/nss_files/files-initgroups.c: New file.
26908 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26909 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26910 _nss_files_initgroups_dyn.
26912 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26914 * elf/elf.h (R_ARM_IRELATIVE): Define.
26916 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26918 * po/ru.po: Update from translation team.
26920 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26922 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26925 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26928 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26929 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26930 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26931 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26932 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26934 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26936 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26938 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26939 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26940 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26942 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26945 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26947 * stdlib/bug-getcontext.c: New file.
26948 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26950 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26952 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26953 instructions into .machine "z9-109".
26954 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26955 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26957 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26959 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26960 between environment variables and auxiliary vector.
26962 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26964 * Makefile: Add rules to build linkobj/libc.so.
26965 * include/libc-symbols.h: Define libc_hidden_nolink.
26966 * include/rpc/auth.h: Mark functions which are to be hidden.
26967 * include/rpc/auth_des.h: Likewise.
26968 * include/rpc/auth_unix.h: Likewise.
26969 * include/rpc/clnt.h: Likewise.
26970 * include/rpc/des_crypt.h: Likewise.
26971 * include/rpc/key_prot.h: Likewise.
26972 * include/rpc/pmap_clnt.h: Likewise.
26973 * include/rpc/pmap_prot.h: Likewise.
26974 * include/rpc/pmap_rmt.h: Likewise.
26975 * include/rpc/rpc_msg.h: Likewise.
26976 * include/rpc/svc.h: Likewise.
26977 * include/rpc/svc_auth.h: Likewise.
26978 * include/rpc/xdr.h: Likewise.
26979 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26980 * nss/Makefile: Likewise.
26981 * sunrpc/Makefile: Don't install headers. Build library with normal
26982 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26983 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26984 for the compat linking library. Remove use of INTDEF/INTUSE.
26985 * sunrpc/auth_none.c: Likewise.
26986 * sunrpc/auth_unix.c: Likewise.
26987 * sunrpc/authdes_prot.c: Likewise.
26988 * sunrpc/authuxprot.c: Likewise.
26989 * sunrpc/clnt_gen.c: Likewise.
26990 * sunrpc/clnt_perr.c: Likewise.
26991 * sunrpc/clnt_raw.c: Likewise.
26992 * sunrpc/clnt_simp.c: Likewise.
26993 * sunrpc/clnt_tcp.c: Likewise.
26994 * sunrpc/clnt_udp.c: Likewise.
26995 * sunrpc/clnt_unix.c: Likewise.
26996 * sunrpc/des_crypt.c: Likewise.
26997 * sunrpc/des_soft.c: Likewise.
26998 * sunrpc/get_myaddr.c: Likewise.
26999 * sunrpc/key_call.c: Likewise.
27000 * sunrpc/key_prot.c: Likewise.
27001 * sunrpc/netname.c: Likewise.
27002 * sunrpc/pm_getmaps.c: Likewise.
27003 * sunrpc/pm_getport.c: Likewise.
27004 * sunrpc/pmap_clnt.c: Likewise.
27005 * sunrpc/pmap_prot.c: Likewise.
27006 * sunrpc/pmap_prot2.c: Likewise.
27007 * sunrpc/pmap_rmt.c: Likewise.
27008 * sunrpc/publickey.c: Likewise.
27009 * sunrpc/rpc_cmsg.c: Likewise.
27010 * sunrpc/rpc_common.c: Likewise.
27011 * sunrpc/rpc_dtable.c: Likewise.
27012 * sunrpc/rpc_prot.c: Likewise.
27013 * sunrpc/rpc_thread.c: Likewise.
27014 * sunrpc/rtime.c: Likewise.
27015 * sunrpc/svc.c: Likewise.
27016 * sunrpc/svc_auth.c: Likewise.
27017 * sunrpc/svc_authux.c: Likewise.
27018 * sunrpc/svc_raw.c: Likewise.
27019 * sunrpc/svc_run.c: Likewise.
27020 * sunrpc/svc_simple.c: Likewise.
27021 * sunrpc/svc_tcp.c: Likewise.
27022 * sunrpc/svc_udp.c: Likewise.
27023 * sunrpc/svc_unix.c: Likewise.
27024 * sunrpc/svcauth_des.c: Likewise.
27025 * sunrpc/xcrypt.c: Likewise.
27026 * sunrpc/xdr.c: Likewise.
27027 * sunrpc/xdr_array.c: Likewise.
27028 * sunrpc/xdr_float.c: Likewise.
27029 * sunrpc/xdr_intXX_t.c: Likewise.
27030 * sunrpc/xdr_mem.c: Likewise.
27031 * sunrpc/xdr_rec.c: Likewise.
27032 * sunrpc/xdr_ref.c: Likewise.
27033 * sunrpc/xdr_sizeof.c: Likewise.
27034 * sunrpc/xdr_stdio.c: Likewise.
27036 2011-04-10 Ulrich Drepper <drepper@gmail.com>
27039 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27040 * sysdeps/ia64/dl-tls.h: Likewise.
27041 * sysdeps/powerpc/dl-tls.h: Likewise.
27042 * sysdeps/s390/dl-tls.h: Likewise.
27043 * sysdeps/sh/dl-tls.h: Likewise.
27044 * sysdeps/sparc/dl-tls.h: Likewise.
27045 * sysdeps/x86_64/dl-tls.h: Likewise.
27046 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27048 2011-03-14 Andreas Schwab <schwab@redhat.com>
27050 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27051 rpath element also skip the following colon.
27052 (expand_dynamic_string_token): Add is_path parameter and pass
27053 down to DL_DST_REQUIRED and _dl_dst_substitute.
27054 (decompose_rpath): Call expand_dynamic_string_token with
27055 non-zero is_path. Ignore empty rpaths.
27056 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27059 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27064 2011-04-09 Ulrich Drepper <drepper@gmail.com>
27067 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27068 Patch by Filipe David Manana <fdmanana@apache.org>.
27070 2011-04-07 Andreas Schwab <schwab@redhat.com>
27072 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27073 Maintain aligned stack.
27074 (CHECK_RSP): Remove unused macro.
27076 2011-04-03 Ulrich Drepper <drepper@gmail.com>
27078 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27079 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27081 2011-04-02 Ulrich Drepper <drepper@gmail.com>
27083 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27085 * include/features.h: Mention __USE_XOPEN2K8 in comment.
27087 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27090 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27091 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27092 * sysdeps/x86_64/memmove.c: New file.
27093 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27094 (memcpy): Renamed to ...
27095 (__new_memcpy): This.
27096 (memcpy): Provide GLIBC_2_14 memcpy.
27097 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27098 (memcpy): Provide GLIBC_2_2_5 memcpy.
27100 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27103 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27105 2011-03-30 Andreas Schwab <schwab@redhat.com>
27107 * misc/syncfs.c: New file.
27108 * misc/Makefile (routines): Add syncfs.
27109 * posix/unistd.h: Declare syncfs.
27110 * sysdeps/unix/syscalls.list: Add syncfs.
27112 2011-04-01 Andreas Schwab <schwab@redhat.com>
27114 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27116 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27117 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27119 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27121 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27122 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27124 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27126 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27127 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27128 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27129 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27130 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27131 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27132 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27134 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27135 sync_file_range.c with -fexceptions.
27136 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27137 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27138 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27139 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27140 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27141 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27142 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
27143 sync_file_range as cancellation point
27144 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27145 now a wrapper around __call_sync_file_range with cancellation handling.
27146 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27147 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27148 function name to __call_sync_file_range.
27149 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27150 Add call_sync_file_range.
27152 2011-04-01 Andreas Schwab <schwab@redhat.com>
27154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27157 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27159 * iconv/iconv.h: Fix typo in comment.
27160 * io/fcntl.h: Likewise.
27161 * libio/stdio.h: Likewise.
27162 * posix/spawn.h: Likewise.
27163 * posix/unistd.h: Likewise.
27164 * stdlib/stdlib.h: Likewise.
27165 * time/time.h: Likewise.
27166 * wcsmbs/wchar.h: Likewise.
27168 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27169 open_by_handle): Add.
27170 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27171 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27172 Augment a few comments.
27173 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27174 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27175 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27176 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27177 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27178 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27181 * io/fcntl.h (AT_EMPTY_PATH): Define.
27183 2011-03-30 Ulrich Drepper <drepper@gmail.com>
27185 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27186 * sysdeps/unix/sysv/linux/bits/time.h: New file.
27187 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27189 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
27190 * Versions.def: Add GLIBC_2.14.
27191 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27194 2011-03-22 Ulrich Drepper <drepper@gmail.com>
27196 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27198 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27200 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
27203 * string/test-strncmp.c (do_page_test): New function.
27204 (check2): Likewise.
27205 (test_main): Call check2.
27206 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27208 2011-03-20 Ulrich Drepper <drepper@gmail.com>
27211 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27212 Handle cache information in CPU leaf 4.
27213 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27215 2011-03-18 Ulrich Drepper <drepper@gmail.com>
27218 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27219 character representation.
27220 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27222 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27224 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27225 END(__isnan) to END(__isnanf) to match function entry point/label
27226 EALIGN(__isnanf,...).
27228 2011-03-10 Jakub Jelinek <jakub@redhat.com>
27230 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27232 2011-03-10 Ulrich Drepper <drepper@gmail.com>
27235 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27236 copy from the symbol referenced in the relocation to initialize the
27238 Patch by Piotr Bury <pbury@goahead.com>.
27239 * elf/Makefile: Add rules to build and tst-unique3.
27240 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27241 * elf/tst-unique3.cc: New file.
27242 * elf/tst-unique3.h: New file.
27243 * elf/tst-unique3lib.cc: New file.
27244 * elf/tst-unique3lib2.cc: New file.
27246 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27248 2011-03-10 Mike Frysinger <vapier@gentoo.org>
27250 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27251 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27254 2011-03-06 Ulrich Drepper <drepper@gmail.com>
27256 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27257 to-be-loaded object along a path to loader is ld.so.
27259 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27260 Ulrich Drepper <drepper@gmail.com>
27262 * sysdeps/x86_64/memset.S: After aligning destination, code
27263 branches to different locations depending on the value of
27264 misalignment, when multiarch is enabled. Fix this.
27266 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27268 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27269 Set _x86_64_preferred_memory_instruction for AMD processsors.
27270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27271 Set bit_Prefer_SSE_for_memop for AMD processors.
27273 2011-03-04 Ulrich Drepper <drepper@gmail.com>
27275 * libio/fmemopen.c (fmemopen): Optimize a bit.
27277 2011-03-03 Andreas Schwab <schwab@redhat.com>
27279 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27281 2011-03-03 Roland McGrath <roland@redhat.com>
27283 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27285 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27287 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
27288 __bzero_ultra1 instead of __memset_ultra1.
27290 2011-02-23 Andreas Schwab <schwab@redhat.com>
27291 Ulrich Drepper <drepper@gmail.com>
27294 * include/link.h (struct link_map): Add l_orig_initfini.
27295 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27296 returning unsuccessfully.
27297 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27298 close of a file loaded at startup, restore the original l_initfini
27300 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27301 list, store the pointer.
27302 * elf/Makefile ($(objpfx)noload-mem): New rule.
27303 (noload-ENV): Define.
27304 (tests): Add $(objpfx)noload-mem.
27305 * elf/noload.c: Include <memcheck.h>.
27306 (main): Call mtrace. Close all opened handles.
27308 2011-02-17 Andreas Schwab <schwab@redhat.com>
27311 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27312 dependencies are missing.
27314 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27316 Fix __if_freereq crash: Unlike the generic version which uses free,
27318 * sysdeps/mach/hurd/ifreq.h: New file.
27320 2011-01-27 Petr Baudis <pasky@suse.cz>
27321 Ulrich Drepper <drepper@gmail.com>
27324 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27325 to extend_alloca().
27326 * stdio-common/bug23.c: New file.
27327 * stdio-common/Makefile (tests): Add bug23.
27329 2010-09-28 Andreas Schwab <schwab@redhat.com>
27330 Ulrich Drepper <drepper@gmail.com>
27333 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27334 before performing relro protection. At old place add assertion
27335 to make sure nothing changed.
27337 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27338 Glauber de Oliveira Costa <glommer@gmail.com>
27340 * elf/elf.h: Add new ARM TLS relocs.
27342 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27345 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27347 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27349 * sysdeps/wordsize-64/tst-writev.c: New file.
27351 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27353 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27354 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27355 insns in _dl_start to prevent a TOC reference before relocs are
27358 2011-02-15 Ulrich Drepper <drepper@gmail.com>
27361 * Makeconfig: Remove RANLIB definition.
27362 * Makerules: Don't use RANLIB.
27363 * aclocal.m4: Remove ranlib test.
27364 * configure.in: No need to check for ranlib.
27365 * elf/rtld-Rules: Don't use RANLIB.
27367 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27369 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27371 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27372 inclusion protection macro.
27374 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27375 SIGRTMIN and SIGRTMAX and print information in that case only when
27376 SIGRTMIN is defined.
27378 2011-02-11 Jakub Jelinek <jakub@redhat.com>
27380 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27381 arginfo fn returning -1.
27383 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27384 and thousands string is zero terminated.
27386 2011-02-03 Andreas Schwab <schwab@redhat.com>
27388 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27389 sysdeps/unix/sysv/linux/bits/socket.h.
27391 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27393 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27394 (__CPU_COUNT): Remove old macros.
27395 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27396 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27397 (__CPU_ALLOC, __CPU_FREE): Add macros.
27398 (__sched_cpualloc, __sched_cpufree): Add declarations.
27400 2011-02-05 Ulrich Drepper <drepper@gmail.com>
27402 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27403 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27404 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27405 (readdhstai): Return value of addhstaiX call.
27406 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27407 (addgrbyX): Return value returned by cache_addgr.
27408 (readdgrbyname): Return value returned by addgrbyX.
27409 (readdgrbygid): Likewise.
27410 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27411 (addpwbyX): Return value returned by cache_addpw.
27412 (readdpwbyname): Return value returned by addhstbyX.
27413 (readdpwbyuid): Likewise.
27414 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27415 (addservbyX): Return value returned by cache_addserv.
27416 (readdservbyname): Return value returned by addservbyX:
27417 (readdservbyport): Likewise.
27418 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27419 (addhstbyX): Return value returned by cache_addhst.
27420 (readdhstbyname): Return value returned by addhstbyX.
27421 (readdhstbyaddr): Likewise.
27422 (readdhstbynamev6): Likewise.
27423 (readdhstbyaddrv6): Likewise.
27424 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27425 (readdinitgroups): Return value returned by addinitgroupsX.
27426 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27427 (prune_cache): Keep track of timeout value of re-added entries.
27428 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27429 * nscd/nscd.h: Adjust prototypes of readd* functions.
27431 2011-02-04 Roland McGrath <roland@redhat.com>
27433 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27434 (nis_stats): Likewise.
27435 * nis/nis_modify.c (nis_modify): Likewise.
27436 * nis/nis_remove.c (nis_remove): Likewise.
27437 * nis/nis_add.c (nis_add): Likewise.
27439 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27441 * posix/fnmatch_loop.c: Add some consts.
27443 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27445 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27448 * config.make.in (config-cflags-novzeroupper): Define.
27449 * configure.in: Substitute libc_cv_cc_novzeroupper.
27450 * elf/Makefile (AVX-CFLAGS): Define.
27451 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27452 (CFLAGS-tst-auditmod4a.c): Likewise.
27453 (CFLAGS-tst-auditmod4b.c): Likewise.
27454 (CFLAGS-tst-auditmod6b.c): Likewise.
27455 (CFLAGS-tst-auditmod6c.c): Likewise.
27456 (CFLAGS-tst-auditmod7b.c): Likewise.
27457 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27459 2011-02-02 Ulrich Drepper <drepper@gmail.com>
27461 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27462 function to the callback.
27463 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27465 2011-02-02 Andreas Schwab <schwab@redhat.com>
27467 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27470 2011-01-19 Ulrich Drepper <drepper@gmail.com>
27473 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27475 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27477 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27480 * elf/Makefile: Add rules to build and run new test.
27481 * elf/tst-initorder.c: New file.
27482 * elf/tst-initorder.exp: New file.
27483 * elf/tst-initordera1.c: New file.
27484 * elf/tst-initordera2.c: New file.
27485 * elf/tst-initordera3.c: New file.
27486 * elf/tst-initordera4.c: New file.
27487 * elf/tst-initorderb1.c: New file.
27488 * elf/tst-initorderb2.c: New file.
27489 * elf/tst-order-a1.c: New file.
27490 * elf/tst-order-a2.c: New file.
27491 * elf/tst-order-a3.c: New file.
27492 * elf/tst-order-a4.c: New file.
27493 * elf/tst-order-b1.c: New file.
27494 * elf/tst-order-b2.c: New file.
27495 * elf/tst-order-main.c: New file.
27496 New test case by George Gensure <werkt0@gmail.com>.
27498 2010-10-01 Andreas Schwab <schwab@redhat.com>
27500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27501 decoding ACE if AI_CANONIDN.
27503 2011-01-18 Ulrich Drepper <drepper@gmail.com>
27505 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27507 2011-01-17 Ulrich Drepper <drepper@gmail.com>
27509 * version.h (RELEASE): Bump for 2.13 release.
27510 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27512 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27514 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27516 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27517 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27518 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27519 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27520 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27521 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27523 * posix/getconf.c: Update copyright year.
27524 * catgets/gencat.c: Likewise.
27525 * csu/version.c: Likewise.
27526 * debug/catchsegv.sh: Likewise.
27527 * debug/xtrace.sh: Likewise.
27528 * elf/ldconfig.c: Likewise.
27529 * elf/ldd.bash.in: Likewise.
27530 * elf/sprof.c (print_version): Likewise.
27531 * iconv/iconv_prog.c: Likewise.
27532 * iconv/iconvconfig.c: Likewise.
27533 * locale/programs/locale.c: Likewise.
27534 * locale/programs/localedef.c: Likewise.
27535 * malloc/memusage.sh: Likewise.
27536 * malloc/mtrace.pl: Likewise.
27537 * nscd/nscd.c (print_version): Likewise.
27538 * nss/getent.c: Likewise.
27540 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27541 PF_CAIF, and PF_ALG.
27542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27544 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27546 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27547 (modules-names): Use them.
27548 (ifunc-test-modules, ifunc-pie-tests): Define.
27549 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27550 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27551 (test-extras): Likewise.
27552 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27553 $(compile-command.c).
27554 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27555 (all-built-dso): Define.
27556 (check-textrel.out, check-execstack.out): Depend on it.
27558 * configure.in: Don't override --enable-multi-arch.
27560 2011-01-15 Ulrich Drepper <drepper@gmail.com>
27563 * nscd/hstcache.c (tryagain): Define.
27564 (cache_addhst): Return tryagain not notfound for temporary errors.
27565 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27568 2011-01-14 Ulrich Drepper <drepper@gmail.com>
27571 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27572 to make the syscall.
27573 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27576 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27577 and fall back to matching as normal character if the string ends before
27578 the matching ']' is found. This is what POSIX requires.
27579 * posix/testfnm.c: Adjust test result.
27580 * posix/globtest.sh: Adjust test result. Add new test.
27581 * posix/tst-fnmatch.input: Likewise.
27582 * posix/tst-fnmatch2.c: Add new test.
27584 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27586 * elf/Makefile (check-execstack): Revert last change. Depend on
27588 (check-execstack.h): New target.
27589 (generated): Add check-execstack.h.
27590 * elf/check-execstack.c: Include "check-execstack.h".
27591 (main): Revert last change.
27592 (handle_file): Return zero if GNU_STACK is absent and
27593 DEFAULT_STACK_PERMS doesn't include PF_X.
27595 2011-01-13 Ulrich Drepper <drepper@gmail.com>
27597 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27598 in child fails because the descriptor is already closed.
27599 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27600 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27601 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
27604 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27608 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27609 temporary buffer used to handle multi lookups locally.
27610 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
27612 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27614 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27617 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27619 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27620 alignment for SSE2.
27622 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27625 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27626 characters. When rounding increased number of integer digits recompute
27628 * stdio-common/tst-grouping.c: New file.
27629 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27631 2011-01-09 Ulrich Drepper <drepper@gmail.com>
27633 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27634 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27636 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27638 * bits/select.h: Likewise.
27640 2011-01-08 Ulrich Drepper <drepper@gmail.com>
27642 * po/ja.po: Update from translation team.
27644 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
27647 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27648 implementation just like for lxstat, fxstatat, et al.
27650 2010-12-27 Jim Meyering <meyering@redhat.com>
27653 * posix/regexec.c (build_trtable): Return failure indication upon
27654 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27656 2010-12-25 Ulrich Drepper <drepper@gmail.com>
27659 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27660 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27661 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27662 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27665 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27668 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27669 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27671 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27673 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27674 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27675 script has SORT_BY_INIT_PRIORITY.
27676 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27677 NO_CTORS_DTORS_SECTIONS is defined.
27678 * elf/soinit.c: Likewise.
27679 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27680 NO_CTORS_DTORS_SECTIONS is defined.
27681 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27682 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27683 * sysdeps/sh/init-first.c: Likewise.
27684 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27686 2010-12-24 Ulrich Drepper <drepper@gmail.com>
27688 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27689 always use the slow path.
27691 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27693 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27694 similar rule which adds the sysdep directories to the header search in
27695 order to pick up the correct platform stackinfo.h.
27696 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27697 perform test if it is, otherwise return successfully without testing.
27698 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27699 DEFAULT_STACK_PERMS define in stackinfo.h.
27700 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27701 defined in stackinfo.h.
27702 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27703 DEFAULT_STACK_PERMS defined in stackinfo.h.
27704 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27705 * sysdeps/ia64/stackinfo.h: Likewise.
27706 * sysdeps/s390/stackinfo.h: Likewise.
27707 * sysdeps/sh/stackinfo.h: Likewise.
27708 * sysdeps/sparc/stackinfo.h: Likewise.
27709 * sysdeps/x86_64/stackinfo.h: Likewise.
27710 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27711 PF_X for powerpc64. Retain PF_X for powerpc32.
27713 2010-12-19 Ulrich Drepper <drepper@gmail.com>
27715 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27717 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27718 GETDENTS_64BIT_ALIGNED.
27720 2010-12-14 Ulrich Drepper <dreper@gmail.com>
27722 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27724 2010-12-10 Andreas Schwab <schwab@redhat.com>
27726 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27729 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27730 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27732 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27733 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27735 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27738 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27741 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27743 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27745 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27747 * po/it.po: Update from translation team.
27749 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27751 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27754 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27756 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27758 2010-11-24 Andreas Schwab <schwab@redhat.com>
27760 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27762 (gaih_getanswer_slice): Likewise.
27764 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27766 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27768 2010-05-31 Petr Baudis <pasky@suse.cz>
27771 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27772 silently even in the chroot mode.
27774 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27776 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27777 last patch a bit. Pretty printing
27779 2010-05-31 Petr Baudis <pasky@suse.cz>
27782 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27783 initialization of skip_initgroups_dyn.
27785 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27787 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27788 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27790 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27792 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27794 2010-11-11 Andreas Schwab <schwab@redhat.com>
27796 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27797 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27798 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27799 ($(objpfx)tst-fnmatch-mem): New rule.
27800 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27801 * posix/tst-fnmatch.c (main): Call mtrace.
27803 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27806 Support Intel processor model 6 and model 0x2c.
27808 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27810 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27813 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27816 * string/test-strncasecmp.c (check_result): New function.
27817 (do_one_test): Use it.
27818 (check1): New function.
27819 (test_main): Use it.
27820 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27821 Support strcasecmp and strncasecmp.
27823 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27826 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27827 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27829 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27831 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27835 * sysdeps/x86_64/multiarch/bzero.S: New file.
27836 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27837 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27838 * sysdeps/x86_64/multiarch/memset.S: New file.
27839 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27841 Set bit_Prefer_SSE_for_memop for Intel processors.
27842 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27844 (index_Prefer_SSE_for_memop): Define.
27845 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27847 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27849 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27850 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27852 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27855 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27856 (__x86_64_raw_data_cache_size_half): Likewise.
27857 (__x86_64_raw_shared_cache_size): Likewise.
27858 (__x86_64_raw_shared_cache_size_half): Likewise.
27860 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27861 (__x86_64_raw_data_cache_size_half): Likewise.
27862 (__x86_64_raw_shared_cache_size): Likewise.
27863 (__x86_64_raw_shared_cache_size_half): Likewise.
27864 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27865 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27866 and __x86_64_raw_shared_cache_size_half. Round
27867 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27868 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27869 to multiple of 256 bytes.
27871 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27874 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27875 of inacessible symlinks. Verify result of symlink before returning it.
27876 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27877 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27879 2010-10-28 Erich Ritz <erichritz@gmail.com>
27881 * math/math.h (isinf): Fix typo in comment.
27883 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27885 * po/da.po: Update from translation team.
27887 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27889 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27890 is added to the list.
27892 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27893 Ulrich Drepper <drepper@gmail.com>
27895 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27896 the global list here. Move code to...
27897 (_dl_add_to_namespace_list): ...here. New function.
27898 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27899 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27900 * elf/dl-load.c (lose): Don't remove the element from the list.
27901 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27902 (_dl_map_object): Likewise.
27904 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27907 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27908 into all bytes of SSE register.
27909 Patch by Richard Li <richardpku@gmail.com>.
27911 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27914 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27917 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27919 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27920 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27921 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27922 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27927 2010-10-22 Andreas Schwab <schwab@redhat.com>
27929 * include/dlfcn.h (__RTLD_SECURE): Define.
27930 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27931 mode & __RTLD_SECURE instead.
27932 (open_path): Rename preloaded parameter to secure.
27933 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27934 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27935 * elf/dl-deps.c (openaux): Likewise.
27936 * elf/rtld.c (struct map_args): Remove is_preloaded.
27937 (map_doit): Don't use it.
27938 (dl_main): Likewise.
27939 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27940 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27942 2010-09-09 Andreas Schwab <schwab@redhat.com>
27944 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27945 (sysd-rules-targets): Remove duplicates.
27946 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27947 rtld-%.$o dependency.
27949 2010-10-18 Andreas Schwab <schwab@redhat.com>
27951 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27952 _dl_map_object do it.
27954 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27956 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27957 fast fma builtins, define the macros in the C99 standard.
27958 (FP_FAST_FMAF): Likewise.
27959 (FP_FAST_FMAL): Likewise.
27960 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27962 * bits/mathdef.h: Update copyright year.
27963 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27965 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27967 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27968 builtins, define the macros in the C99 standard.
27969 (FP_FAST_FMAF): Likewise.
27970 (FP_FAST_FMAL): Likewise.
27971 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27973 (FP_FAST_FMAF): Likewise.
27975 2010-10-15 Jakub Jelinek <jakub@redhat.com>
27978 * math/libm-test.inc (fma_test): Some new testcases.
27979 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27980 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27981 y and infinite z. Do multiplication by C already in long double.
27982 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27984 y and infinite z. Do bitwise or of inexact bit into u.d.
27985 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27986 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27987 * sysdeps/i386/fpu/s_fma.S: Removed.
27988 * sysdeps/i386/fpu/s_fmal.S: Removed.
27990 2010-10-16 Jakub Jelinek <jakub@redhat.com>
27993 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27994 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27995 computation is not scheduled after fetestexcept. Fix value
27996 of minimum denormal long double.
27998 2010-10-14 Jakub Jelinek <jakub@redhat.com>
28001 * math/libm-test.inc (fma_test): Add some more tests.
28002 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
28005 2010-10-15 Andreas Schwab <schwab@redhat.com>
28007 * scripts/data/localplt-s390-linux-gnu.data: New file.
28008 * scripts/data/localplt-s390x-linux-gnu.data: New file.
28010 2010-10-13 Jakub Jelinek <jakub@redhat.com>
28013 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28014 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28016 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28018 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28020 if one of x and y is very large and the other is subnormal.
28021 * sysdeps/s390/fpu/s_fmaf.c: New file.
28022 * sysdeps/s390/fpu/s_fma.c: New file.
28023 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28024 * sysdeps/powerpc/fpu/s_fma.S: New file.
28025 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28026 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28027 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28029 2010-10-12 Jakub Jelinek <jakub@redhat.com>
28032 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28034 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28035 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28036 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28037 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28038 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28039 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28040 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28042 2010-10-12 Ulrich Drepper <drepper@redhat.com>
28045 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28046 * posix/bug-regex31.input: Add test case.
28048 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28050 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28051 * posix/bug-regex31.input: New file.
28054 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28055 (parse_sub_exp): Fix last change, use postorder.
28057 * posix/bug-regex31.c: New file.
28058 * posix/Makefile: Add rules to build and run bug-regex31.
28060 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28063 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28066 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28067 to have entries in sys_siglist.
28070 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28073 2010-10-07 Jakub Jelinek <jakub@redhat.com>
28076 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28077 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28078 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28079 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28080 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28081 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28082 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28083 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28084 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28085 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28086 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28087 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28088 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28089 * math/ftestexcept.c (fetestexcept): Likewise.
28090 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28091 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28092 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28093 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28094 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28095 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28096 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28098 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28101 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28104 2010-10-06 Ulrich Drepper <drepper@gmail.com>
28106 * string/bug-strstr1.c: New file.
28107 * string/Makefile: Add rules to build and run bug-strstr1.
28109 2010-10-05 Eric Blake <eblake@redhat.com>
28112 * string/str-two-way.h (two_way_long_needle): Always clear memory
28113 when skipping input due to the shift table.
28115 2010-10-03 Ulrich Drepper <drepper@gmail.com>
28118 * malloc/mcheck.c: Handle large requests.
28121 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28122 for strncmp and strncasecmp.
28123 * string/stratcliff.c: Add tests for strcmp and strncmp.
28124 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28126 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28128 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28131 2010-09-30 Andreas Jaeger <aj@suse.de>
28133 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28134 (CGROUP_SUPER_MAGIC): Define.
28135 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28136 Handle btrfs and cgroup file systems.
28137 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28140 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
28142 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28143 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28145 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28148 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28149 trying to locate the ELF header.
28151 2010-09-27 Andreas Schwab <schwab@redhat.com>
28154 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28155 Mask out sign-bit copies when constructing f_fsid.
28157 2010-09-24 Petr Baudis <pasky@suse.cz>
28159 * debug/stack_chk_fail_local.c: Add missing licence exception.
28160 * debug/warning-nop.c: Likewise.
28162 2010-09-15 Joseph Myers <joseph@codesourcery.com>
28164 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28165 implementing getdents64 using getdents syscall, set d_type if
28166 __ASSUME_GETDENTS32_D_TYPE.
28168 2010-09-16 Andreas Schwab <schwab@redhat.com>
28170 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28171 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28173 2010-09-21 Ulrich Drepper <drepper@redhat.com>
28176 * posix/unistd.h: Undo change of feature selection for ftruncate from
28179 2010-09-20 Ulrich Drepper <drepper@redhat.com>
28181 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
28184 2010-09-20 Andreas Schwab <schwab@redhat.com>
28186 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28188 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28190 2010-09-14 Andreas Schwab <schwab@redhat.com>
28192 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28193 variables after CHECK_SP call.
28194 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28196 2010-09-13 Andreas Schwab <schwab@redhat.com>
28197 Ulrich Drepper <drepper@redhat.com>
28199 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28200 re-relocationg ld.so.
28201 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28202 _dl_init_paths call.
28203 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
28206 2010-09-14 Ulrich Drepper <drepper@redhat.com>
28208 * resolv/res_init.c (__res_vinit): Count the default server we added.
28210 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28211 Ulrich Drepper <drepper@redhat.com>
28214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28215 (____longjmp_chk): Use %ebx for saving value across system call.
28218 2010-09-06 Andreas Schwab <schwab@redhat.com>
28220 * manual/Makefile: Don't mix pattern rules with normal rules.
28222 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28224 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28226 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28227 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28228 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28229 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28230 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28233 2010-09-04 Ulrich Drepper <drepper@redhat.com>
28236 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28237 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28239 2010-09-02 Ulrich Drepper <drepper@redhat.com>
28241 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28242 * sysdeps/x86_64/addmul_1.S: Likewise.
28243 * sysdeps/x86_64/lshift.S: Likewise.
28244 * sysdeps/x86_64/mul_1.S: Likewise.
28245 * sysdeps/x86_64/rshift.S: Likewise.
28246 * sysdeps/x86_64/sub_n.S: Likewise.
28247 * sysdeps/x86_64/submul_1.S: Likewise.
28249 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28251 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28252 Define __sched_param instead of SCHED_* and sched_param when
28253 <bits/sched.h> is included with __need_schedparam defined.
28254 * bits/sched.h [__need_schedparam]
28255 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
28256 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28257 (__defined_schedparam): Define to 1.
28258 (__sched_param): New structure, identical to sched_param.
28259 (__need_schedparam): Undefine.
28261 2010-08-31 Mike Frysinger <vapier@gentoo.org>
28263 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28264 (epoll_create1): Declare.
28266 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28268 2010-08-31 Andreas Schwab <schwab@redhat.com>
28271 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28272 shifting retval into place.
28274 2010-09-01 Ulrich Drepper <drepper@redhat.com>
28276 * nis/rpcsvc/nis.h: Update copyright notice.
28277 * nis/rpcsvc/nis.x: Likewise.
28278 * nis/rpcsvc/nis_callback.h: Likewise.
28279 * nis/rpcsvc/nis_callback.x: Likewise.
28280 * nis/rpcsvc/nis_object.x: Likewise.
28281 * nis/rpcsvc/nis_tags.h: Likewise.
28282 * nis/rpcsvc/yp.h: Likewise.
28283 * nis/rpcsvc/yp.x: Likewise.
28284 * nis/rpcsvc/ypupd.h: Likewise.
28285 * nis/yp_xdr.c: Likewise.
28286 * nis/ypupdate_xdr.c: Likewise.
28288 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28289 mainly the body of pmap_getport. Add parameters to specify timeouts.
28290 (pmap_getport): Use __libc_rpc_getport.
28291 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28292 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28293 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28295 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28300 2010-08-27 Roland McGrath <roland@redhat.com>
28302 * sysdeps/i386/i686/multiarch/Makefile
28303 (CFLAGS-varshift.c): New variable.
28305 2010-08-27 Ulrich Drepper <drepper@redhat.com>
28307 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28308 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28310 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28312 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28314 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28316 * sysdeps/x86_64/strlen.S: Unroll the loop.
28317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28318 strlen-sse2 strlen-sse2-bsf.
28319 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28320 __strlen_no_bsf if bit_Slow_BSF is set.
28321 (__strlen_sse42): Removed.
28322 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28323 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28325 2010-08-25 Roland McGrath <roland@redhat.com>
28327 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28328 * sysdeps/x86_64/multiarch/varshift.c: New file.
28329 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28330 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28331 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28332 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28334 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28336 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28337 strlen-sse2 strlen-sse2-bsf.
28338 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28339 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28340 (__strlen_sse2): Removed.
28341 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28342 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28344 bit_Slow_BSF for Atom.
28345 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28346 (index_Slow_BSF): Define.
28347 (HAS_SLOW_BSF): Define.
28349 2010-08-25 Ulrich Drepper <drepper@redhat.com>
28352 * resolv/res_init.c (__res_vinit): When no server address at all
28353 is given default to loopback.
28355 2010-08-24 Roland McGrath <roland@redhat.com>
28357 * configure.in: Remove config-name.h generation.
28358 * configure: Regenerated.
28359 * config-name.in: File removed.
28360 * scripts/config-uname.sh: New file.
28361 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28362 ($(objdir)config-name.h): New target.
28364 * sunrpc/rpc_parse.h: Avoid nested comment.
28366 2010-08-24 Richard Henderson <rth@redhat.com>
28367 Ulrich Drepper <drepper@redhat.com>
28368 H.J. Lu <hongjiu.lu@intel.com>
28370 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28372 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28373 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28374 _mm_alignr_epi8 with _mm_loadu_si128.
28375 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28376 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28377 (__m128i_shift_right): Removed.
28378 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28379 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28380 * sysdeps/x86_64/multiarch/varshift.h: New file.
28381 * sysdeps/x86_64/multiarch/varshift.S: New file.
28383 2010-08-21 Mike Frysinger <vapier@gentoo.org>
28385 * configure.in: Move assembler checks to before sysdep dir checking.
28387 2010-08-20 Petr Baudis <pasky@suse.cz>
28389 * LICENSES: Sync the sunrpc license.
28391 2010-08-19 Ulrich Drepper <drepper@redhat.com>
28393 * sunrpc/auth_des.c: Update copyright notice once again.
28394 * sunrpc/auth_none.c: Likewise.
28395 * sunrpc/auth_unix.c: Likewise.
28396 * sunrpc/authdes_prot.c: Likewise.
28397 * sunrpc/authuxprot.c: Likewise.
28398 * sunrpc/bindrsvprt.c: Likewise.
28399 * sunrpc/clnt_gen.c: Likewise.
28400 * sunrpc/clnt_perr.c: Likewise.
28401 * sunrpc/clnt_raw.c: Likewise.
28402 * sunrpc/clnt_simp.c: Likewise.
28403 * sunrpc/clnt_tcp.c: Likewise.
28404 * sunrpc/clnt_udp.c: Likewise.
28405 * sunrpc/clnt_unix.c: Likewise.
28406 * sunrpc/des_crypt.c: Likewise.
28407 * sunrpc/des_soft.c: Likewise.
28408 * sunrpc/get_myaddr.c: Likewise.
28409 * sunrpc/getrpcport.c: Likewise.
28410 * sunrpc/key_call.c: Likewise.
28411 * sunrpc/key_prot.c: Likewise.
28412 * sunrpc/openchild.c: Likewise.
28413 * sunrpc/pm_getmaps.c: Likewise.
28414 * sunrpc/pm_getport.c: Likewise.
28415 * sunrpc/pmap_clnt.c: Likewise.
28416 * sunrpc/pmap_prot.c: Likewise.
28417 * sunrpc/pmap_prot2.c: Likewise.
28418 * sunrpc/pmap_rmt.c: Likewise.
28419 * sunrpc/rpc/auth.h: Likewise.
28420 * sunrpc/rpc/auth_unix.h: Likewise.
28421 * sunrpc/rpc/clnt.h: Likewise.
28422 * sunrpc/rpc/des_crypt.h: Likewise.
28423 * sunrpc/rpc/key_prot.h: Likewise.
28424 * sunrpc/rpc/netdb.h: Likewise.
28425 * sunrpc/rpc/pmap_clnt.h: Likewise.
28426 * sunrpc/rpc/pmap_prot.h: Likewise.
28427 * sunrpc/rpc/pmap_rmt.h: Likewise.
28428 * sunrpc/rpc/rpc.h: Likewise.
28429 * sunrpc/rpc/rpc_des.h: Likewise.
28430 * sunrpc/rpc/rpc_msg.h: Likewise.
28431 * sunrpc/rpc/svc.h: Likewise.
28432 * sunrpc/rpc/svc_auth.h: Likewise.
28433 * sunrpc/rpc/types.h: Likewise.
28434 * sunrpc/rpc/xdr.h: Likewise.
28435 * sunrpc/rpc_clntout.c: Likewise.
28436 * sunrpc/rpc_cmsg.c: Likewise.
28437 * sunrpc/rpc_common.c: Likewise.
28438 * sunrpc/rpc_cout.c: Likewise.
28439 * sunrpc/rpc_dtable.c: Likewise.
28440 * sunrpc/rpc_hout.c: Likewise.
28441 * sunrpc/rpc_main.c: Likewise.
28442 * sunrpc/rpc_parse.c: Likewise.
28443 * sunrpc/rpc_parse.h: Likewise.
28444 * sunrpc/rpc_prot.c: Likewise.
28445 * sunrpc/rpc_sample.c: Likewise.
28446 * sunrpc/rpc_scan.c: Likewise.
28447 * sunrpc/rpc_scan.h: Likewise.
28448 * sunrpc/rpc_svcout.c: Likewise.
28449 * sunrpc/rpc_tblout.c: Likewise.
28450 * sunrpc/rpc_util.c: Likewise.
28451 * sunrpc/rpc_util.h: Likewise.
28452 * sunrpc/rpcinfo.c: Likewise.
28453 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28454 * sunrpc/rpcsvc/key_prot.x: Likewise.
28455 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28456 * sunrpc/rpcsvc/mount.x: Likewise.
28457 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28458 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28459 * sunrpc/rpcsvc/rex.x: Likewise.
28460 * sunrpc/rpcsvc/rstat.x: Likewise.
28461 * sunrpc/rpcsvc/rusers.x: Likewise.
28462 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28463 * sunrpc/rpcsvc/spray.x: Likewise.
28464 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28465 * sunrpc/rtime.c: Likewise.
28466 * sunrpc/svc.c: Likewise.
28467 * sunrpc/svc_auth.c: Likewise.
28468 * sunrpc/svc_authux.c: Likewise.
28469 * sunrpc/svc_raw.c: Likewise.
28470 * sunrpc/svc_run.c: Likewise.
28471 * sunrpc/svc_simple.c: Likewise.
28472 * sunrpc/svc_tcp.c: Likewise.
28473 * sunrpc/svc_udp.c: Likewise.
28474 * sunrpc/svc_unix.c: Likewise.
28475 * sunrpc/svcauth_des.c: Likewise.
28476 * sunrpc/xcrypt.c: Likewise.
28477 * sunrpc/xdr.c: Likewise.
28478 * sunrpc/xdr_array.c: Likewise.
28479 * sunrpc/xdr_float.c: Likewise.
28480 * sunrpc/xdr_mem.c: Likewise.
28481 * sunrpc/xdr_rec.c: Likewise.
28482 * sunrpc/xdr_ref.c: Likewise.
28483 * sunrpc/xdr_sizeof.c: Likewise.
28484 * sunrpc/xdr_stdio.c: Likewise.
28486 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28489 2010-08-19 Andreas Schwab <schwab@redhat.com>
28491 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28493 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
28495 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28496 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28497 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28498 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28499 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28500 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28501 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28502 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28503 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28504 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28505 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28506 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28507 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28508 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28510 2010-07-26 Anton Blanchard <anton@samba.org>
28512 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28513 * malloc/arena.c (heap_trim): Likewise.
28515 2010-08-16 Ulrich Drepper <drepper@redhat.com>
28517 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28519 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28520 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28522 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28524 * sysdeps/i386/elf/Makefile: New file.
28526 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28528 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28529 from fanotify_init.
28530 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28531 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28533 2010-08-15 Ulrich Drepper <drepper@redhat.com>
28535 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28537 * sysdeps/multiarch/strcmp.S: Likewise.
28539 2010-08-14 Ulrich Drepper <drepper@redhat.com>
28541 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28542 strncase_l-nonascii.
28543 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28544 Add strncase_l-ssse3.
28545 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28546 * sysdeps/x86_64/strcmp.S: Likewise.
28547 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28548 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28549 * sysdeps/x86_64/strncase.S: New file.
28550 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28551 * sysdeps/x86_64/strncase_l.S: New file.
28552 * string/Makefile (strop-tests): Add strncasecmp.
28553 * string/test-strncasecmp.c: New file.
28555 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28558 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28559 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28561 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28563 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28565 2010-08-12 Ulrich Drepper <drepper@redhat.com>
28567 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28568 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28569 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28571 2010-05-01 Alan Modra <amodra@gmail.com>
28573 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28574 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28575 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28576 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28577 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28578 tidying. Don't tail-call __sigjmp_save for static lib.
28579 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28581 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28582 (CALL_MCOUNT): Add eh info, and nop after bl.
28583 (TAIL_CALL_SYSCALL_ERROR): New macro.
28584 (PSEUDO_RET): Use it.
28585 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28586 Correct save location of integer regs and cr.
28587 (_dl_profile_resolve): Correct cr save location. Delete nops
28588 after bl when SHARED. Reduce cfi size a little by better
28589 placement of cfi directives.
28590 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28591 make a stack frame. Instead use parm save area as a temp.
28592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28593 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28595 Don't make a stack frame for parent, use parm save area.
28596 Increase child stack frame to 112 bytes. Don't save unused reg,
28597 and adjust reg usage. Set up cfi on error recovery and
28598 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28600 (__makecontext): Add dummy nop after jump to exit.
28601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28602 Use correct parm save area and cr save, reduce stack frame.
28603 Correct cfi for possible PSEUDO_RET frame setup.
28604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28605 Branch to local label emitted by PSEUDO_RET rather than
28608 2010-08-12 Andreas Schwab <schwab@redhat.com>
28611 * locale/programs/locale.c (print_assignment): New function.
28612 (show_locale_vars): Use it.
28614 2010-08-11 Ulrich Drepper <drepper@redhat.com>
28616 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28618 (struct statfs64): Likewise.
28619 (_STATFS_F_FLAGS): Define.
28620 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28621 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28622 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28623 (ST_VALID): Define locally.
28624 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28625 __statvfs_getflags, use the provided value.
28626 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28627 __ASSUME_STATFS_F_FLAGS.
28629 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28631 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28632 Add sys/fanotify.h.
28633 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28634 fanotify_mask for GLIBC_2.13.
28635 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28636 fanotify_init and fanotify_mark.
28637 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28638 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28640 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28642 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28643 prlimit64 for GLIBC_2.13.
28644 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28646 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28649 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28650 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28651 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28652 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28654 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28657 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28658 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28660 * nss/Makefile: Add rules to build and run tst-nss-test1.
28661 * shlib-versions: Add entry for libnss_test1.
28662 * nss/nss_test1.c: New file.
28663 * nss/tst-nss-test1.c: New file.
28665 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28666 (__nss_configure_lookup): Set appropriate entry in
28667 __nss_configure_lookup to true.
28668 * nss/nsswitch.h: Define enum with indeces of databases in
28669 databases and __nss_database_custom arrays. Declare
28670 __nss_database_custom.
28671 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28672 to avoid using nscd when custom rules are installed.
28673 * nss/getXXbyYY_r.c: Likewise.
28674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28676 * nss/nss_files/files-parse.c: Whitespace fixes.
28678 2010-08-09 Ulrich Drepper <drepper@redhat.com>
28681 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28682 * posix/fnmatch_loop.c: Likewise.
28684 2010-07-17 Andi Kleen <ak@linux.intel.com>
28686 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28687 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28688 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28689 * Versions.def [GLIBC_2.13]: Add.
28691 2010-08-06 Ulrich Drepper <drepper@redhat.com>
28693 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28694 Also fail if tpwd after pwuid call is NULL.
28696 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28698 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28699 when converting to ms.
28701 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28703 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28704 EOPNOTSUPP errors with ENOTTY.
28705 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28706 EOPNOTSUPP errors with ENOTTY.
28708 2010-07-31 Ulrich Drepper <drepper@redhat.com>
28710 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28711 Add strcasecmp_l-ssse3.
28712 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28714 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28715 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28716 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28718 2010-07-30 Ulrich Drepper <drepper@redhat.com>
28720 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28722 * string/Makefile (strop-tests): Add strcasecmp.
28723 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28724 strcasecmp_l-nonascii.
28725 (gen-as-const-headers): Add locale-defines.sym.
28726 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28727 * sysdeps/x86_64/strcasecmp.S: New file.
28728 * sysdeps/x86_64/strcasecmp_l.S: New file.
28729 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28730 * sysdeps/x86_64/locale-defines.sym: New file.
28731 * string/test-strcasecmp.c: New file.
28733 * string/test-strcasestr.c: Test both ends of the range of characters.
28734 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28736 2010-07-29 Roland McGrath <roland@redhat.com>
28739 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28741 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28743 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28746 2010-07-27 Andreas Schwab <schwab@redhat.com>
28748 * manual/memory.texi (Malloc Tunable Parameters): Document
28751 2010-07-26 Roland McGrath <roland@redhat.com>
28754 * configure.in (-fgnu89-inline check): Set and substitute
28755 gnu89_inline, not libc_cv_gnu89_inline.
28756 * configure: Regenerated.
28757 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28759 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28761 * string/test-strnlen.c: New file.
28762 * string/Makefile (strop-tests): Add strnlen.
28763 * string/tester.c (test_strnlen): Add a few more test cases.
28764 * string/tst-strlen.c: Better error reporting.
28766 * sysdeps/x86_64/strnlen.S: New file.
28768 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28770 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28771 lower-latency instructions.
28773 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28775 * string/test-strcasestr.c: New file.
28776 * string/test-strstr.c: New file.
28777 * string/Makefile (strop-tests): Add strstr and strcasestr.
28778 * string/str-two-way.h: Don't undefine MAX.
28779 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28781 2010-07-21 Andreas Schwab <schwab@redhat.com>
28783 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28784 strcasestr-nonascii.
28785 (CFLAGS-strcasestr-nonascii.c): Define.
28786 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28787 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28788 Remove unused attribute.
28790 2010-07-20 Roland McGrath <roland@redhat.com>
28792 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28793 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28794 ld.so.cache was broken. With it, there is no way to disable dsocaps
28795 like LD_HWCAP_MASK can disable hwcaps.
28797 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28799 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28801 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28803 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28804 call in strcasestr.
28805 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28806 __strcasestr_sse42_nonascii.
28807 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28808 strcasestr-nonascii.c.
28809 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28811 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28813 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28814 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28815 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28816 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28818 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28820 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28823 2010-07-06 Andreas Schwab <schwab@redhat.com>
28826 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28829 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28831 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28832 _PC_PIPE_BUF using F_GETPIPE_SZ.
28834 2010-07-05 Roland McGrath <roland@redhat.com>
28836 * manual/arith.texi (Rounding Functions): Fix rint description
28837 implicit in round description.
28839 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28841 * elf/Makefile: Fix linking for a few tests to make recent linker
28844 2010-06-30 Andreas Schwab <schwab@redhat.com>
28846 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28847 $(common-objpfx)libc_nonshared.a.
28849 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28851 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28852 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28853 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28854 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28855 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28856 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28857 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28858 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28873 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28874 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28875 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28876 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28877 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28878 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28879 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28880 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28881 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28882 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28883 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28884 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28900 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28902 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28903 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28904 * string/memmove.c (memmove): Renamed to ...
28905 (MEMMOVE): ...this. Default to memmove.
28906 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28907 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28910 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28911 mempcpy-ssse3-back memmove-ssse3-back.
28912 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28913 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28914 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28915 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28916 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28917 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28918 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28919 * sysdeps/x86_64/multiarch/memmove.c: New file.
28920 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28921 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28922 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28923 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28924 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28925 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28927 (index_Fast_Copy_Backward): Define.
28928 (HAS_ARCH_FEATURE): Define.
28929 (HAS_FAST_REP_STRING): Define.
28930 (HAS_FAST_COPY_BACKWARD): Define.
28932 2010-06-21 Andreas Schwab <schwab@redhat.com>
28934 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28935 Restore proper fallback handling.
28937 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28940 * posix/group_member.c (__group_member): Correct checking loop.
28942 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28943 OOM in getpwuid_r correctly. Return error number when the caller
28944 should return, otherwise -1.
28945 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28946 call returning > 0 value.
28947 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28949 2010-06-07 Andreas Schwab <schwab@redhat.com>
28951 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28952 libc_nonshared.a from targets in modules-names.
28954 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28956 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28959 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28961 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28962 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28963 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28964 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28966 2010-06-02 Andreas Schwab <schwab@redhat.com>
28968 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28970 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28972 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28974 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28975 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28976 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28977 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28978 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28979 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28981 2010-06-14 Roland McGrath <roland@redhat.com>
28983 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28985 2010-06-07 Jakub Jelinek <jakub@redhat.com>
28987 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28988 __REDIRECT followed by __THROW.
28989 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28990 * posix/getopt.h (getopt): Likewise.
28992 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28994 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28995 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28996 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28998 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28999 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
29001 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
29003 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
29005 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
29008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29009 Properly check family and model.
29011 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
29013 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29015 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
29017 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29019 2010-05-21 Ulrich Drepper <drepper@redhat.com>
29021 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29024 2010-05-19 Andreas Schwab <schwab@redhat.com>
29026 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29029 2010-05-21 Andreas Schwab <schwab@redhat.com>
29031 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29032 and internal_recvmmsg.
29033 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29034 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29035 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29036 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29038 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29039 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29040 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29042 2010-05-20 Andreas Schwab <schwab@redhat.com>
29044 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29046 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
29048 POWER7 optimizations.
29049 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29050 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29052 2010-05-19 Ulrich Drepper <drepper@redhat.com>
29054 * version.h: Update for 2.13 development version.
29056 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
29058 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29059 exceptions. Return 0.
29061 2010-05-07 Roland McGrath <roland@redhat.com>
29063 * elf/ldconfig.c (main): Add a const.
29065 2010-05-06 Ulrich Drepper <drepper@redhat.com>
29067 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29068 (args_options): Add no-idn option.
29069 (ahosts_keys_int): Add idn_flags to ai_flags.
29070 (parse_option): Handle 'i' option to clear idn_flags.
29072 * malloc/malloc.c (_int_free): Possible race in the most recently
29073 added check. Only act on the data if no current modification
29076 See ChangeLog.17 for earlier changes.