1 2013-05-15 Joseph Myers <joseph@codesourcery.com>
3 * math/libm-test.inc (struct test_ff_i_data): New type.
4 (RUN_TEST_LOOP_ff_i_tg): New macro.
5 (isgreater_test_data): New variable.
6 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7 (isgreaterequal_test_data): New variable.
8 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9 (isless_test_data): New variable.
10 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11 (islessequal_test_data): New variable.
12 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13 (islessgreater_test_data): New variable.
14 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15 (isunordered_test_data): New variable.
16 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18 2013-05-14 David S. Miller <davem@davemloft.net>
20 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22 2013-05-14 Joseph Myers <joseph@codesourcery.com>
24 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28 (struct test_f_i_data): Change type of max_ulp to int.
30 * math/libm-test.inc (test_ffI_f1_data): New type.
31 (RUN_TEST_LOOP_ffI_f1): New macro.
32 (remquo_test_data): New variable.
33 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
35 * setjmp/tst-setjmp-fp.c: New file.
36 * setjmp/Makefile (tests): Add tst-setjmp-fp.
37 (link-libm): New variable.
38 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
40 * math/libm-test.inc (struct test_f_i_data): New type.
41 (RUN_TEST_LOOP_f_i): New macro.
42 (RUN_TEST_LOOP_f_i_tg): Likewise.
43 (fpclassify_test_data): New variable.
44 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
45 (ilogb_test_data): New variable.
46 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
48 * math/libm-test.inc (scalbln_test): Correct function name in END
51 * math/libm-test.inc (struct test_f_f1_data): Add comment.
52 (RUN_TEST_LOOP_fI_f1): New macro.
53 (frexp_test_data): New variable.
54 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56 * math/libm-test.inc (struct test_fF_f1_data): New type.
57 (RUN_TEST_LOOP_fF_f1): New macro.
58 (modf_test_data): New variable.
59 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
61 * math/libm-test.inc (struct test_f_f1_data): New type.
62 (RUN_TEST_LOOP_f_f1): New macro.
63 (gamma_test_data): New variable.
64 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
65 (lgamma_test_data): New variable.
66 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
68 2013-05-13 Carlos O'Donell <carlos@redhat.com>
70 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
71 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
72 (main): Comment "tls" pseudo-hwcap.
74 2013-05-13 Joseph Myers <joseph@codesourcery.com>
76 * math/libm-test.inc (struct test_fl_f_data): New type.
77 (RUN_TEST_LOOP_fl_f): New variable.
78 (scalbln_test_data): New variable.
79 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
81 * math/libm-test.inc (struct test_fi_f_data): New type.
82 (RUN_TEST_LOOP_fi_f): New macro.
83 (ldexp_test_data): New variable.
84 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
85 (scalbn_test_data): New variable.
86 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
88 * math/libm-test.inc (struct test_c_f_data): New type.
89 (RUN_TEST_LOOP_c_f): New macro.
90 (cabs_test_data): New variable.
91 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
92 (carg_test_data): New variable.
93 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
94 (cimag_test_data): New variable.
95 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
96 (creal_test_data): New variable.
97 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
99 * math/libm-test.inc (struct test_if_f_data): New type.
100 (RUN_TEST_LOOP_if_f): New macro.
101 (jn_test_data): New variable.
102 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
103 (yn_test_data): New variable.
104 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
106 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
108 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
110 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
111 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
113 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
115 * benchtests/Makefile (CPPFLAGS-nonlib): Add
116 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
117 (bench-deps): Add bench-timing.h.
118 * benchtests-bench-skeleton.c: Include bench-timing.h.
119 (main): Use TIMING_* macros instead of clock_gettime.
120 * benchtests/bench-timing.h: New file.
123 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
124 Renamed from _LIB_VERSION.
125 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
127 2013-05-12 Joseph Myers <joseph@codesourcery.com>
129 * math/libm-test.inc (struct test_fff_f_data): New type.
130 (RUN_TEST_LOOP_fff_f): New macro.
131 (fma_test_data): New variable.
132 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
133 (fma_towardzero_test_data): New variable.
134 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
135 (fma_downward_test_data): New variable.
136 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
137 (fma_upward_test_data): New variable.
138 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
140 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
141 (struct test_c_c_data): New type.
142 (RUN_TEST_LOOP_c_c): New macro.
143 (cacos_test_data): New variable.
144 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
145 (cacosh_test_data): New variable.
146 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
147 (casin_test_data): New variable.
148 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
149 (casinh_test_data): New variable.
150 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
151 (catan_test_data): New variable.
152 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
153 (catanh_test_data): New variable.
154 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
155 (ccos_test_data): New variable.
156 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
157 (ccosh_test_data): New variable.
158 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
159 (cexp_test_data): New variable.
160 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
161 (clog_test_data): New variable.
162 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
163 (clog10_test_data): New variable.
164 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
165 (conj_test_data): New variable.
166 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
167 (cproj_test_data): New variable.
168 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
169 (csin_test_data): New variable.
170 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
171 (csinh_test_data): New variable.
172 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
173 (csqrt_test_data): New variable.
174 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
175 (ctan_test_data): New variable.
176 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
177 (ctan_tonearest_test_data): New variable.
178 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
179 (ctan_towardzero_test_data): New variable.
180 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
181 (ctan_downward_test_data): New variable.
182 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
183 (ctan_upward_test_data): New variable.
184 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
185 (ctanh_test_data): New variable.
186 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
187 (ctanh_tonearest_test_data): New variable.
188 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
189 (ctanh_towardzero_test_data): New variable.
190 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
191 (ctanh_downward_test_data): New variable.
192 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
193 (ctanh_upward_test_data): New variable.
194 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
195 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
198 * math/libm-test.inc (struct test_ff_f_data): New type.
199 (struct test_ff_f_data_nexttoward): Likewise.
200 (RUN_TEST_LOOP_2_f): New macro.
201 (RUN_TEST_LOOP_ff_f): Likewise.
202 (atan2_test_data): New variable.
203 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
204 (copysign_test_data): New variable.
205 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
206 (fdim_test_data): New variable.
207 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
208 (fmax_test_data): New variable.
209 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
210 (fmin_test_data): New variable.
211 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
212 (fmod_test_data): New variable.
213 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
214 (hypot_test_data): New variable.
215 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
216 (nextafter_test_data): New variable.
217 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
218 (nexttoward_test_data): New variable.
219 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
220 (pow_test_data): New variable.
221 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
222 (pow_tonearest_test_data): New variable.
223 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
224 (pow_towardzero_test_data): New variable.
225 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
226 (pow_downward_test_data): New variable.
227 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
228 (pow_upward_test_data): New variable.
229 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
230 (remainder_test_data): New variable.
231 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
232 (scalb_test_data): New variable.
233 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
234 * sysdeps/i386/fpu/libm-test-ulps: Update.
236 2013-05-11 Joseph Myers <joseph@codesourcery.com>
238 * math/libm-test.inc (fma_test): Use max_value instead of local
240 (nextafter_test): Likewise.
242 * math/libm-test.inc (acos_towardzero_test_data): New variable.
243 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
244 (acos_downward_test_data): New variable.
245 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
246 (acos_upward_test_data): New variable.
247 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
248 (acosh_test_data): New variable.
249 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
250 (asin_test_data): New variable.
251 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
252 (asin_tonearest_test_data): New variable.
253 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
254 (asin_towardzero_test_data): New variable.
255 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
256 (asin_downward_test_data): New variable.
257 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
258 (asin_upward_test_data): New variable.
259 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
260 (asinh_test_data): New variable.
261 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
262 (atan_test_data): New variable.
263 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
264 (atanh_test_data): New variable.
265 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
266 (cbrt_test_data): New variable.
267 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
268 (ceil_test_data): New variable.
269 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
270 (cos_test_data): New variable.
271 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
272 (cos_tonearest_test_data): New variable.
273 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
274 (cos_towardzero_test_data): New variable.
275 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
276 (cos_downward_test_data): New variable.
277 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
278 (cos_upward_test_data): New variable.
279 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
280 (cosh_test_data): New variable.
281 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
282 (cosh_tonearest_test_data): New variable.
283 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
284 (cosh_towardzero_test_data): New variable.
285 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
286 (cosh_downward_test_data): New variable.
287 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
288 (cosh_upward_test_data): New variable.
289 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
290 (erf_test_data): New variable.
291 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
292 (erfc_test_data): New variable.
293 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
294 (exp_test_data): New variable.
295 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
296 (exp_tonearest_test_data): New variable.
297 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
298 (exp_towardzero_test_data): New variable.
299 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
300 (exp_downward_test_data): New variable.
301 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
302 (exp_upward_test_data): New variable.
303 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
304 (exp10_test_data): New variable.
305 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
306 (exp2_test_data): New variable.
307 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
308 (expm1_test_data): New variable.
309 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
310 (fabs_test_data): New variable.
311 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
312 (floor_test_data): New variable.
313 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
314 (j0_test_data): New variable.
315 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
316 (j1_test_data): New variable.
317 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
318 (log_test_data): New variable.
319 (log_test): Run tests with RUN_TEST_LOOP_f_f.
320 (log10_test_data): New variable.
321 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
322 (log1p_test_data): New variable.
323 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
324 (log2_test_data): New variable.
325 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
326 (logb_test_data): New variable.
327 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
328 (logb_downward_test_data): New variable.
329 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
330 (nearbyint_test_data): New variable.
331 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
332 (rint_test_data): New variable.
333 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
334 (rint_tonearest_test_data): New variable.
335 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
336 (rint_towardzero_test_data): New variable.
337 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
338 (rint_downward_test_data): New variable.
339 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
340 (rint_upward_test_data): New variable.
341 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
342 (round_test_data): New variable.
343 (round_test): Run tests with RUN_TEST_LOOP_f_f.
344 (sin_test_data): New variable.
345 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
346 (sin_tonearest_test_data): New variable.
347 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
348 (sin_towardzero_test_data): New variable.
349 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
350 (sin_downward_test_data): New variable.
351 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
352 (sin_upward_test_data): New variable.
353 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
354 (sinh_test_data): New variable.
355 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
356 (sinh_tonearest_test_data): New variable.
357 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
358 (sinh_towardzero_test_data): New variable.
359 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
360 (sinh_downward_test_data): New variable.
361 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
362 (sinh_upward_test_data): New variable.
363 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
364 (sqrt_test_data): New variable.
365 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
366 (tan_test_data): New variable.
367 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
368 (tan_tonearest_test_data): New variable.
369 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
370 (tan_towardzero_test_data): New variable.
371 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
372 (tan_downward_test_data): New variable.
373 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
374 (tan_upward_test_data): New variable.
375 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
376 (tanh_test_data): New variable.
377 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
378 (tgamma_test_data): New variable.
379 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
380 (trunc_test_data): New variable.
381 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
382 (y0_test_data): New variable.
383 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
384 (y1_test_data): New variable.
385 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
386 (significand_test_data): New variable.
387 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
389 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
392 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
394 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
396 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
398 2013-05-10 Andreas Jaeger <aj@suse.de>
401 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
402 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
404 2013-05-10 Joseph Myers <joseph@codesourcery.com>
406 * math/gen-libm-test.pl (adjust_arg): New function.
407 (special_functions): Handle generating output in both functions
409 (parse_args): Likewise.
410 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
411 $in_func argument to parse_args.
412 * math/libm-test.inc (struct test_f_f_data): New type.
413 (IF_ROUND_INIT_): New macro.
414 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
415 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
416 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
417 (IF_ROUND_INIT_FE_UPWARD): Likewise.
418 (ROUND_RESTORE_): Likewise.
419 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
420 (ROUND_RESTORE_FE_TONEAREST): Likewise.
421 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
422 (ROUND_RESTORE_FE_UPWARD): Likewise.
423 (RUN_TEST_LOOP_f_f): New macro.
424 (acos_test_data): New variable.
425 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
426 (acos_tonearest_test_data): New variable.
427 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
429 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
431 * benchtests/bench-skeleton.c (startup): Fix coding style.
433 2013-05-10 Joseph Myers <joseph@codesourcery.com>
436 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
437 negative infinity argument.
438 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
439 negative infinity argument.
440 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
441 negative infinity argument.
442 * math/libm-test.inc (tgamma_test): Expect errno to be set for
445 2013-05-10 Florian Weimer <fweimer@redhat.com>
447 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
448 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
449 * iconv/iconv_prog.c (main): Likewise.
450 * locale/programs/charmap-dir.c (charmap_readdir)
451 (fopen_uncompressed): Likewise.
452 * locale/programs/locfile.c (siblings_uncached)
453 (write_locale_data): Use lstat64 instead of lstat.
454 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
457 2013-05-10 Andreas Jaeger <aj@suse.de>
460 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
464 2013-05-09 Carlos O'Donell <carlos@redhat.com>
466 * elf/dl-close.c (_dl_close_worker): Add comments.
468 2013-05-09 Joseph Myers <joseph@codesourcery.com>
471 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
473 (__ieee754_rem_pio2l): Update comments.
476 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
478 (__ieee754_rem_pio2l): Update comments.
480 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
481 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
483 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
486 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
487 (M_PI_34_LOG10El): Likewise.
488 (M_PI2_LOG10El): Likewise.
489 (M_PI4_LOG10El): Likewise.
490 (M_PI_LOG10El): Likewise.
492 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
496 2013-05-08 Joseph Myers <joseph@codesourcery.com>
498 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
499 (MINUS_ZERO_INIT): Likewise.
500 (PLUS_INFTY_INIT): Likewise.
501 (MINUS_INFTY_INIT): Likewise.
502 (QNAN_VALUE_INIT): Likewise.
503 (MAX_VALUE_INIT): Likewise.
504 (MIN_VALUE_INIT): Likewise.
505 (MIN_SUBNORM_VALUE_INIT): Likewise.
506 (plus_zero): Initialize with PLUS_ZERO_INIT.
507 (minus_zero): Initialize with MINUS_ZERO_INIT.
508 (plus_infty): Initialize with PLUS_INFTY_INIT.
509 (minus_infty): Initialize with MINUS_INFTY_INIT.
510 (qnan_value): Initialize with QNAN_VALUE_INIT.
511 (max_value): Initialize with MAX_VALUE_INIT.
512 (min_value): Initialize with MIN_VALUE_INIT.
513 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
515 * math/libm-test.inc (RUN_TEST_if_f): New macro.
516 (jn_test): Use TEST_if_f instead of TEST_ff_f.
517 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
518 (yn_test): Use TEST_if_f instead of TEST_ff_f.
520 * math/libm-test.inc (RUN_TEST_f_f): New macro.
521 (RUN_TEST_2_f): Likewise.
522 (RUN_TEST_ff_f): Likewise.
523 (RUN_TEST_fi_f): Likewise.
524 (RUN_TEST_fl_f): Likewise.
525 (RUN_TEST_fff_f): Likewise.
526 (RUN_TEST_c_f): Likewise.
527 (RUN_TEST_f_f1): Likewise.
528 (RUN_TEST_fF_f1): Likewise.
529 (RUN_TEST_fI_f1): Likewise.
530 (RUN_TEST_ffI_f1): Likewise.
531 (RUN_TEST_c_c): Likewise.
532 (RUN_TEST_cc_c): Likewise.
533 (RUN_TEST_f_i): Likewise.
534 (RUN_TEST_f_i_tg): Likewise.
535 (RUN_TEST_ff_i_tg): Likewise.
536 (RUN_TEST_f_b): Likewise.
537 (RUN_TEST_f_b_tg): Likewise.
538 (RUN_TEST_f_l): Likewise.
539 (RUN_TEST_f_L): Likewise.
540 (RUN_TEST_sincos): Likewise.
541 * math/gen-libm-test.pl (new_test): Take new argument to indicate
542 whether to show exceptions. Do not include ");\n" in return
544 (special_functions): Output call to RUN_TEST_sincos instead of
545 check_float calls. Update calls to new_test.
546 (parse_args): Output call to single RUN_TEST_* macro instead of
547 check_* calls and other assignments. Update calls to new_test.
553 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
554 input to result for tgamma overflow.
555 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
556 (gamma_coeff): New variable.
558 (gamma_positive): New function.
559 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
560 underflow here. Use gamma_positive instead of exp (lgamma) for
562 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
563 (gamma_coeff): New variable.
565 (gammaf_positive): New function.
566 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
567 underflow here. Use gamma_positive instead of exp (lgamma) for
569 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
570 (gamma_coeff): New variable.
572 (gammal_positive): New function.
573 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
574 underflow here. Use gamma_positive instead of exp (lgamma) for
576 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
577 (gamma_coeff): New variable.
579 (gammal_positive): New function.
580 (__ieee754_gammal_r): Handle positive infinity, overflow and
581 underflow here. Handle NaN the same as positive infinity. Remove
582 check x < 0xffffffff for negative integers. Use gamma_positive
583 instead of exp (lgamma) for other arguments.
584 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
585 (gamma_coeff): New variable.
587 (gammal_positive): New function.
588 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
589 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
590 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
591 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
592 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
593 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
594 * sysdeps/generic/math_private.h (__gamma_productf): New
596 (__gamma_product): Likewise.
597 (__gamma_productl): Likewise.
598 * math/Makefile (libm-calls): Add gamma_product.
599 * math/libm-test.inc (tgamma_test): Add more tests.
600 * sysdeps/i386/fpu/libm-test-ulps: Update.
601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
603 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
605 * benchtests/bench-skeleton.c (main): Preheat CPU.
607 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
609 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
611 2013-05-07 Roland McGrath <roland@hack.frob.com>
613 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
614 and _dl_skip_args_internal.
616 2013-05-07 Carlos O'Donell <carlos@redhat.com>
618 * manual/message.texi (Message Translation): Talk about users.
619 Message to key mapping impacts design.
621 2013-05-06 Roland McGrath <roland@hack.frob.com>
623 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
625 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
627 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
628 * sysdeps/wordsize-64/glob64.c: ... here.
630 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
631 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
634 * debug/getlogin_r_chk.c: Moved to ...
635 * login/getlogin_r_chk.c: ... here.
636 * debug/Makefile (routines): Move getlogin_r_chk to ...
637 * login/Makefile (routines): ... here.
638 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
639 * login/Versions (libc: GLIBC_2.4): ... here.
641 * io/poll.c (__poll): Renamed from poll.
643 (poll): Define as weak alias.
645 * debug/ptsname_r_chk.c: Moved to ...
646 * login/ptsname_r_chk.c: ... here.
647 * debug/Makefile (routines): Move ptsname_r_chk to ...
648 * login/Makefile (routines): ... here.
649 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
650 * login/Versions (libc: GLIBC_2.4): ... here.
652 * posix/getlogin.c: Moved to ...
653 * login/getlogin.c: ... here.
654 * posix/getlogin_r.c: Moved to ...
655 * login/getlogin_r.c: ... here.
656 * posix/getlogin_r.c: Moved to ...
657 * login/getlogin_r.c: ... here.
658 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
659 * login/Makefile (routines): ... here.
660 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
661 * login/Versions (libc: GLIBC_2.0): ... here.
663 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
664 (setrlimit): Define as weak alias.
666 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
667 Call __ names for open, ftruncate, and close.
668 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
669 (truncate): Define as weak alias.
671 2013-05-06 Joseph Myers <joseph@codesourcery.com>
673 * math/gen-libm-test.pl (parse_args): Initialize x before each
674 test of frexp, modf and remquo.
676 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
679 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
683 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
685 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
687 2013-05-06 Roland McGrath <roland@hack.frob.com>
689 * elf/dl-writev.h: New file.
690 * elf/dl-misc.c: Include it.
691 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
692 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
694 2013-05-04 Joseph Myers <joseph@codesourcery.com>
696 * math/libm-test.inc (noXFails): Remove variable.
697 (noXPasses): Likewise.
698 (BUILD_COMPLEX_INT): Remove macro.
699 (print_screen): Remove xfail argument.
700 (print_screen_max_error): Likewise.
701 (update_stats): Likewise.
702 (print_max_error): Likewise. Update calls to other affected
704 (print_complex_max_error): Likewise.
705 (test_single_exception): Update calls to print_screen.
706 (test_single_errno): Likewise.
707 (check_float_internal): Remove xfail argument. Update calls to
708 other affected functions.
709 (check_float): Likewise.
710 (check_complex): Likewise.
711 (check_int): Likewise.
712 (check_long): Likewise.
713 (check_bool): Likewise.
714 (check_longlong): Likewise.
715 (main): Don't print noXFails and noXPasses.
716 * math/gen-libm-test.pl (top level): Don't mention expected
717 failure handling in comment.
718 (new_test): Don't handle expected failures.
719 (parse_args): Don't mention expected failure handling in comment.
720 (generate_testfile): Don't handle expected failures.
721 (parse_ulps): Likewise.
722 (print_ulps_file): Likewise.
723 (get_failure): Remove function.
724 (output_test): Don't handle expected failures.
725 * make/README.libm-test: Don't mention expected failure handling.
727 * math/libm-test.inc (plus_zero): Make const. Add initializer.
728 (minus_zero): Likewise.
729 (plus_infty): Likewise.
730 (minus_infty): Likewise.
731 (qnan_value): Likewise.
732 (max_value): Likewise.
733 (min_value): Likewise.
734 (min_subnorm_value): Likewise.
735 (initialize): Do not initialize those variables dynamically.
737 2013-05-03 Roland McGrath <roland@hack.frob.com>
739 * io/open.c (__open_2): Moved to ...
740 * io/open_2.c: ... this new file.
741 * io/open64.c (__open64_2): Moved to ...
742 * io/open64_2.c: ... this new file.
743 * io/openat.c (__openat_2): Moved to ...
744 * io/openat_2.c: ... this new file.
745 * io/openat64.c (__openat64_2): Moved to ...
746 * io/openat64_2.c: ... this new file.
747 * io/Makefile (routines): Add them.
748 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
749 * sysdeps/unix/sysv/linux/open_2.c: File removed.
750 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
751 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
752 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
753 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
754 (__openat64): Add hidden_ver.
755 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
756 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
758 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
759 Separately conditionalize setting of GLRO(dl_sysinfo) so
760 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
761 as well, but the actual setting is only under [NEED_DL_SYSINFO].
763 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
765 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
766 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
768 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
769 * sysdeps/unix/sysv/linux/powerpc/init-first.c
770 (_libc_vdso_platform_setup): Add __vdso_time initialization.
771 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
772 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
774 2013-05-03 Joseph Myers <joseph@codesourcery.com>
776 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
779 * math/libm-test.inc (hypot_test): Do not use
780 IGNORE_ZERO_INF_SIGN.
782 2013-05-03 Andreas Jaeger <aj@suse.de>
784 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
786 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
787 (PF_MAX): Adjust for VSOCK change.
789 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
793 2013-05-02 Carlos O'Donell <carlos@redhat.com>
796 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
797 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
798 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
800 2013-05-02 David S. Miller <davem@davemloft.net>
802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
804 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
806 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
808 2013-05-01 Roland McGrath <roland@hack.frob.com>
810 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
812 2013-05-01 Richard Smith <richard@metafoo.co.uk>
815 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
816 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
817 Use __attribute__ ((__gnu_inline__)).
818 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
819 Don't use __attribute__ ((__gnu_inline__)).
821 2013-05-01 Joseph Myers <joseph@codesourcery.com>
824 * math/s_catan.c (__catan): Handle small real or imaginary part of
825 input specially to avoid spurious underflow.
826 * math/s_catanf.c (__catanf): Likewise.
827 * math/s_catanh.c (__catanh): Likewise.
828 * math/s_catanhf.c (__catanhf): Likewise.
829 * math/s_catanhl.c (__catanhl): Likewise.
830 * math/s_catanl.c (__catanl): Likewise.
831 * math/libm-test.inc (catan_test): Add more tests.
832 (catanh_test): Likewise.
833 * sysdeps/i386/fpu/libm-test-ulps: Update.
834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
836 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
840 2013-04-30 Joseph Myers <joseph@codesourcery.com>
843 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
844 accurately for denominator in atan2.
845 * math/s_catanf.c (__catanf): Likewise.
846 * math/s_catanh.c (__catanh): Likewise.
847 * math/s_catanhf.c (__catanhf): Likewise.
848 * math/s_catanhl.c (__catanhl): Likewise.
849 * math/s_catanl.c (__catanl): Likewise.
850 * math/libm-test.inc (catan_test): Add more tests.
851 (catanh_test): Likewise.
852 * sysdeps/i386/fpu/libm-test-ulps: Update.
853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
855 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
857 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
859 * benchtests/Makefile (bench): Remove slow benchmarks.
860 * benchtests/atan-inputs: Add slow benchmark inputs.
861 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
862 (BENCH_FUNC): Accept variant offset.
864 * benchtests/bench-skeleton.c (main): Run benchmark for each
866 * benchtests/cos-inputs: Add slow benchmark inputs.
867 * benchtests/exp-inputs: Likewise.
868 * benchtests/pow-inputs: Likewise.
869 * benchtests/sin-inputs: Likewise.
870 * benchtests/slowatan-inputs: Remove.
871 * benchtests/slowatan.c: Remove.
872 * benchtests/slowcos-inputs: Remove.
873 * benchtests/slowcos.c: Remove.
874 * benchtests/slowexp-inputs: Remove.
875 * benchtests/slowexp.c: Remove.
876 * benchtests/slowpow-inputs: Remove.
877 * benchtests/slowpow.c: Remove.
878 * benchtests/slowsin-inputs: Remove.
879 * benchtests/slowsin.c: Remove.
880 * benchtests/slowtan-inputs: Remove.
881 * benchtests/slowtan.c: Remove.
882 * benchtests/tan-inputs: Add slow benchmark inputs.
883 * scripts/bench.pl: Parse comments and directives.
885 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
887 ($(objpfx)bench-%.c): Remove *-ITER.
888 * benchtests/bench-modf.c: Remove definition of ITER.
889 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
890 (main): Loop for DURATION seconds instead of fixed number of
892 * scripts/bench.pl: Don't expect iterations in parameters.
894 2013-04-29 Roland McGrath <roland@hack.frob.com>
896 * io/fchdir.c (__fchdir): Renamed from fchdir.
897 (fchdir): Define as weak alias.
899 2013-04-29 Joseph Myers <joseph@codesourcery.com>
901 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
902 (ERRNO_EDOM): Likewise.
903 (ERRNO_ERANGE): Likewise.
904 (noErrnoTests): New variable.
905 (init_max_error): Set errno to 0.
906 (test_single_errno): New function.
907 (test_errno): Likewise.
908 (check_float_internal): Call test_errno. Set errno to 0.
909 (check_complex): Refer to errno tests in comment.
910 (check_int): Call test_errno. Set errno to 0.
911 (check_long): Likewise.
912 (check_bool): Likewise.
913 (check_longlong): Likewise.
914 (cos_test): Use ERRNO_* flags for errno tests instead of
916 (expm1_test): Likewise.
917 (fmod_test): Likewise.
918 (ilogb_test): Likewise.
919 (lgamma_test): Likewise.
920 (pow_test): Likewise.
921 (remainder_test): Likewise.
922 (sin_test): Likewise.
923 (tan_test): Likewise.
925 (initialize): Set errno to 0.
926 (main): Print number of errno tests.
927 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
929 2013-04-29 Andreas Jaeger <aj@suse.de>
932 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
936 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
937 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
941 * stdlib/random.c (__initstate): Return NULL if
945 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
946 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
949 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
953 2013-04-29 Joseph Myers <joseph@codesourcery.com>
955 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
957 (casin_test): Likewise.
958 (casinh_test): Likewise.
960 2013-04-27 Joseph Myers <joseph@codesourcery.com>
963 * math/s_catan.c (__catan): Handle arguments with large real or
964 imaginary part separately without squaring.
965 * math/s_catanf.c (__catanf): Likewise.
966 * math/s_catanh.c (__catanh): Likewise.
967 * math/s_catanhf.c (__catanhf): Likewise.
968 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
970 (__catanhl): Handle arguments with large real or imaginary part
971 separately without squaring.
972 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
974 (__catanl): Handle arguments with large real or imaginary part
975 separately without squaring.
976 * math/libm-test.inc (catan_test): Add more tests.
977 (catanh_test): Likewise.
978 * sysdeps/i386/fpu/libm-test-ulps: Update.
979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
981 2013-04-27 Andreas Jaeger <aj@suse.de>
984 * stdlib/stdlib.h: Update guards for qecvt.
985 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
988 2013-04-27 Allan McRae <allan@archlinux.org>
990 * sysdeps/i386/fpu/libm-test-ulps: Update.
992 2013-04-26 Joseph Myers <joseph@codesourcery.com>
995 * math/s_catan.c: Include <float.h>.
996 (__catan): Ensure underflow exception occurs for underflowed
998 * math/s_catanf.c: Include <float.h>.
999 (__catanf): Ensure underflow exception occurs for underflowed
1001 * math/s_catanh.c: Include <float.h>.
1002 (__catanh): Ensure underflow exception occurs for underflowed
1004 * math/s_catanhf.c: Include <float.h>.
1005 (__catanhf): Ensure underflow exception occurs for underflowed
1007 * math/s_catanhl.c: Include <float.h>.
1008 (__catanhl): Ensure underflow exception occurs for underflowed
1010 * math/s_catanl.c: Include <float.h>.
1011 (__catanl): Ensure underflow exception occurs for underflowed
1013 * math/libm-test.inc (catan_test): Add more tests.
1014 (catanh_test): Likewise.
1017 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
1019 * math/s_ccoshf.c (__ccoshf): Likewise.
1020 * math/s_ccoshl.c (__ccoshl): Likewise.
1021 * math/s_csin.c (__csin): Likewise.
1022 * math/s_csinf.c (__csinf): Likewise.
1023 * math/s_csinh.c (__csinh): Likewise.
1024 * math/s_csinhf.c (__csinhf): Likewise.
1025 * math/s_csinhl.c (__csinhl): Likewise.
1026 * math/s_csinl.c (__csinl): Likewise.
1027 * math/libm-test.inc (ccos_test): Add more tests.
1028 (ccosh_test): Likewise.
1029 (csin_test): Likewise.
1030 (csinh_test): Likewise.
1032 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1034 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
1035 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
1036 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1037 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1038 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1039 powerpc/power5+/fpu folders.
1040 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1043 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1047 2013-04-25 Joseph Myers <joseph@codesourcery.com>
1049 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1050 additions to variable.
1051 [$(config-machine) = x86_64] (modules-names): Likewise.
1052 ($(objpfx)tst-audit3): Remove dependency.
1053 ($(objpfx)tst-audit3.out): Likewise.
1054 ($(objpfx)tst-audit4): Likewise.
1055 ($(objpfx)tst-audit4.out): Likewise.
1056 ($(objpfx)tst-audit5): Likewise.
1057 ($(objpfx)tst-audit5.out): Likewise.
1058 ($(objpfx)tst-audit6): Likewise.
1059 ($(objpfx)tst-audit6.out): Likewise.
1060 ($(objpfx)tst-audit7): Likewise.
1061 ($(objpfx)tst-audit7.out): Likewise.
1062 (tst-audit3-ENV): Remove variable.
1063 (tst-audit4-ENV): Likewise.
1064 (tst-audit5-ENV): Likewise.
1065 (tst-audit6-ENV): Likewise.
1066 (tst-audit7-ENV): Likewise.
1067 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1068 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1069 addition to variable.
1070 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1071 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1072 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1073 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1074 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1075 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1076 tst-audit3, tst-audit4 and tst-audit5.
1077 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1078 tst-audit6 and tst-audit7.
1079 [$(subdir) = elf] (modules-names): Add audit modules for those
1081 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1082 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1083 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1084 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1085 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1086 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1087 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1088 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1089 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1090 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1091 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1092 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1093 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1094 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1095 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1096 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1098 [$(subdir) = elf && $(config-cflags-avx) = yes]
1099 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1100 [$(subdir) = elf && $(config-cflags-avx) = yes]
1101 (CFLAGS-tst-auditmod4a.c): Likewise.
1102 [$(subdir) = elf && $(config-cflags-avx) = yes]
1103 (CFLAGS-tst-auditmod4b.c): Likewise.
1104 [$(subdir) = elf && $(config-cflags-avx) = yes]
1105 (CFLAGS-tst-auditmod6b.c): Likewise.
1106 [$(subdir) = elf && $(config-cflags-avx) = yes]
1107 (CFLAGS-tst-auditmod6c.c): Likewise.
1108 [$(subdir) = elf && $(config-cflags-avx) = yes]
1109 (CFLAGS-tst-auditmod7b.c): Likewise.
1110 * elf/tst-audit3.c: Move to ...
1111 * sysdeps/x86_64/tst-audit3.c: ... here.
1112 * elf/tst-audit4.c: Move to ...
1113 * sysdeps/x86_64/tst-audit4.c: ... here.
1114 * elf/tst-audit5.c: Move to ...
1115 * sysdeps/x86_64/tst-audit5.c: ... here.
1116 * elf/tst-audit6.c: Move to ...
1117 * sysdeps/x86_64/tst-audit6.c: ... here.
1118 * elf/tst-audit7.c: Move to ...
1119 * sysdeps/x86_64/tst-audit7.c: ... here.
1120 * elf/tst-auditmod3a.c: Move to ...
1121 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1122 * elf/tst-auditmod3b.c: Move to ...
1123 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1124 * elf/tst-auditmod4a.c: Move to ...
1125 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1126 * elf/tst-auditmod4b.c: Move to ...
1127 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1128 * elf/tst-auditmod5a.c: Move to ...
1129 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1130 * elf/tst-auditmod5b.c: Move to ...
1131 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1132 * elf/tst-auditmod6a.c: Move to ...
1133 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1134 * elf/tst-auditmod6b.c: Move to ...
1135 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1136 * elf/tst-auditmod6c.c: Move to ...
1137 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1138 * elf/tst-auditmod7a.c: Move to ...
1139 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1140 * elf/tst-auditmod7b.c: Move to ...
1141 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1143 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1146 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1147 define unconditionally.
1148 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1149 define unconditionally.
1150 (INT8_C, INT16_C, etc.): Likewise.
1152 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1154 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1155 __ehdr_start with hidden visibility.
1157 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1159 2013-04-24 Carlos O'Donell <carlos@redhat.com>
1161 * math/libm-test.inc (cos_test): Use accurate hex constants.
1162 (sincost_test): Likewise.
1164 2013-04-24 Joseph Myers <joseph@codesourcery.com>
1166 * math/libm-test.inc (catan_test): Add more tests.
1167 (catanh_test): Likewise.
1169 * math/s_catanf.c (__catanf): Use suffixed floating-point
1171 * math/s_catanhf.c (__catanhf): Likewise.
1172 * math/s_catanhl.c (__catanhl): Likewise.
1173 * math/s_catanl.c (__catanl): Likewise.
1176 * math/s_catan.c (__catan): Calculate imaginary part of result
1177 with log1p not log unless computing log of number close to 0.
1178 * math/s_catanf.c (__catanf): Likewise.
1179 * math/s_catanl.c (__catanl): Likewise.
1180 * math/s_catanh.c (__catanh): Calculate real part of result with
1181 log1p not log unless computing log of number close to 0.
1182 * math/s_catanhf.c (__catanhf): Likewise.
1183 * math/s_catanhl.c (__catanhl): Likewise.
1184 * math/libm-test.inc (catan_test): Add more tests.
1185 (catanh_test): Likewise.
1186 * sysdeps/i386/fpu/libm-test-ulps: Update.
1187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1189 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1191 * benchtests/Makefile: Mention files in which fast and slow
1192 paths of math functions are implemented.
1194 2013-04-23 Roland McGrath <roland@hack.frob.com>
1196 * sysdeps/posix/timespec_get.c: New file.
1198 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1200 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1202 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1204 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1205 powerpc/power5/fpu folders.
1206 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1207 * benchtests/Makefile: Add modf testcase.
1208 * benchtests/bench-modf.c: New file: Benchmark test for mo
1210 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1213 * time/Makefile (tests): Add tst-strptime-whitespace.
1214 * time/strptime_l.c (get_number): Use ISSPACE.
1215 (__strptime_internal): Likewise.
1216 * time/tst-strptime-whitespace.c: New test case.
1218 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
1220 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1222 (_nss_files_init): Set it here.
1224 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
1226 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1227 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1230 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
1232 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1234 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1236 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1239 2013-04-21 David S. Miller <davem@davemloft.net>
1241 * po/ru.po: Update Russion translation from translation project.
1243 2013-04-17 Adam Conrad <adconrad@0c3.net>
1245 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1248 2013-04-17 Carlos O'Donell <carlos@redhat.com>
1250 * configure.in: Remove i386 configure warning. Remove i386 case.
1251 * configure: Regenerate.
1252 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
1253 Add example to error message.
1254 * sysdeps/i386/configure: Regenerate.
1256 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1258 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1260 * benchtests/cos-inputs: New file.
1261 * benchtests/slowcos-inputs: New file.
1262 * benchtests/slowcos.c: New file.
1263 * benchtests/slowtan-inputs: New file.
1264 * benchtests/slowtan.c: New file.
1265 * benchtests/tan-inputs: New file.
1267 2013-04-16 Roland McGrath <roland@hack.frob.com>
1269 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1272 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1274 * benchtests/Makefile: Include cppflags-iterator.mk to add
1275 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1277 * Makefile.in (bench-clean): New target.
1278 * benchtests/Makefile (bench-clean): Likewise.
1280 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1282 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1284 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1286 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1288 2013-04-15 Andreas Schwab <schwab@suse.de>
1290 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1291 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1292 * nscd/pwdcache.c (cache_addpw): Likewise.
1293 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1296 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1298 * benchtests/Makefile (bench): Write all output to
1299 bench-out.tmp together.
1301 2013-04-15 Andreas Schwab <schwab@suse.de>
1303 * nscd/nscd.c (main): Don't fork again after closing files.
1305 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1307 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1309 * benchtests/Rules (bench-deps): Collect dependencies into a
1310 single variable. Add Makefile to dependencies.
1311 ($(objpfx)bench-%.c): Depend on bench-deps.
1313 2013-04-12 Roland McGrath <roland@hack.frob.com>
1314 Xavier Roche <roche+kml2@exalead.com>
1317 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1318 just that it's a file descriptor.
1319 * manual/llio.texi (Synchronizing AIO Operations): Update description
1320 for EBADF error from aio_fsync.
1322 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1324 * Rules (bench): Move target definition...
1325 * benchtests/Makefile: ... here.
1327 2013-04-11 Carlos O'Donell <carlos@redhat.com>
1329 * math/libm-test.inc (cos_test): Fix PI/2 test.
1330 (sincos_test): Likewise.
1331 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1332 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1334 2013-04-11 Andreas Schwab <schwab@suse.de>
1337 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1338 accept exponent character only when digits were seen.
1339 * stdio-common/Makefile (tests): Add bug26.
1340 * stdio-common/bug26.c: New file.
1343 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1346 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1348 * Makeconfig (rtld-prefix): Define built linker prefix.
1349 * Rules (run-bench): Use it.
1350 * math/Makefile (run-regen-ulps): Likewise.
1352 * Rules (bench): Remove eval.
1354 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1355 Roland McGrath <roland@hack.frob.com>
1356 Ondrej Bilka <neleai@seznam.cz>
1359 * time/getdate.c: Include ctype.h and alloca.h.
1360 (__getdate_r): Trim leading and trailing spaces of input.
1361 * time/tst-getdate.c (tests): Add tests with leading and
1364 2013-04-08 Roland McGrath <roland@hack.frob.com>
1367 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1368 when computing value.
1370 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1372 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1373 Use testrun.sh to run libm tests.
1376 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1378 2013-04-06 Marko Myllynen <myllynen@redhat.com>
1381 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1383 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1385 * Makefile.in (regen-ulps): New target.
1386 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1387 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1388 [ifneq (no,$(PERL)] (regen-ulps): New target.
1389 [ifeq (no,$(PERL)] (regen-ulps): New target.
1390 * math/libm-test.inc (ulps_file_name): Define.
1391 (output_dir): New variable.
1392 (options): Add "output-dir" option.
1393 (parse_opt): Handle 'o' case.
1394 (main): If output_dir is non-NULL use it as a prefix
1396 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1398 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1401 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1402 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1403 fail configure if __sync_val_compare_and_swap is not inlined.
1404 * sysdeps/i386/configure: Regenerate.
1405 * configure.in: Build for i686 when configured for i386.
1406 * configure: Regenerate.
1407 * README: Remove i386 reference.
1409 2013-04-06 Carlos O'Donell <carlos@redhat.com>
1411 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1412 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1414 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1416 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1417 (lmsnanval): New variables.
1418 (F): Add conversion tests.
1419 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1420 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1422 * stdio-common/tstdiomisc.c (F): Properly collect individual
1426 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1427 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1428 Instead, use input NaN values or generate a qNaN by arithmetic
1429 operation. Also fix bugs to comply with the standard.
1430 * math/libm-test.inc (remainder_test): Add more tests.
1433 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1434 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1435 input NaN values or generate a qNaN by arithmetic operation.
1437 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1440 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1443 2013-04-03 Joseph Myers <joseph@codesourcery.com>
1446 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1448 * math/s_cexpf.c (__cexpf): Likewise.
1449 * math/s_cexpl.c (__cexpl): Likewise.
1450 * math/libm-test.inc (cexp_test): Add more tests.
1452 2013-04-03 Andreas Schwab <schwab@suse.de>
1455 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1456 order arrays from heap if bigger than alloca cutoff.
1458 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1460 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1461 (SNAN_TESTS_double): Refer to GCC PR56831.
1462 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1465 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1467 * Rules (bench): Move bench.out after the run is complete.
1469 * Rules (bench): Echo currently running benchmark.
1471 * benchtests/Makefile (bench): Add atan and slowatan.
1472 * benchtests/atan-inputs: New file.
1473 * benchtests/slowatan-inputs: New file.
1474 * benchtests/slowatan.c: New file.
1476 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1477 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1481 * sysdeps/unix/sysv/linux/kernel-features.h
1482 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1483 __ASSUME_XFS_RESTRICTED_CHOWN.
1484 * sysdeps/unix/sysv/linux/pathconf.c
1485 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1486 Save and restore errno.
1488 2013-04-02 Joseph Myers <joseph@codesourcery.com>
1491 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1492 arguments using __kernel_casinh.
1493 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1494 arguments using __kernel_casinhf.
1495 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1496 arguments using __kernel_casinhl.
1497 * math/libm-test.inc (cacosh_test): Add more tests.
1498 * sysdeps/i386/fpu/libm-test-ulps: Update.
1499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1501 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1503 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1504 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1506 * bench/Makefile (bench): Add sin and slowsin.
1507 * benchtests/sin-inputs: New file.
1508 * benchtests/slowsin-inputs: New file.
1509 * benchtests/slowsin.c: New file.
1511 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1512 (bench): Add slowexp and slowpow.
1513 (exp-ITER): Increase iterations.
1514 (pow-ITER): Likewise.
1515 * benchtests/exp-inputs: Change input.
1516 * benchtests/pow-inputs: Likewise.
1517 * benchtests/slowexp-inputs: New file.
1518 * benchtests/slowexp.c: New file.
1519 * benchtests/slowpow-inputs: New file.
1520 * benchtests/slowpow.c: New file.
1522 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1524 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1526 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1527 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1528 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1529 * benchtests/Makefile: Add rint benchtest.
1530 * benchtests/rint-inputs: Input for rint benchtest.
1532 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1534 * Versions.def (libm): Add GLIBC_2.18.
1535 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1536 hidden libm prototypes.
1537 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1538 * math/Makefile (libm-calls): Add s_issignaling.
1539 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1540 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1541 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1543 * math/math.h [__USE_GNU] (issignaling): New macro.
1544 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1545 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1546 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1547 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1548 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1549 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1550 * manual/arith.texi (issignaling): New section.
1551 * manual/libm-err-tab.pl (@all_functions): Update comment.
1552 * math/gen-libm-test.pl (parse_args): Apply special handling for
1554 * math/libm-test.inc (print_float, issignaling_test): New
1556 (check_float_internal): Add issignaling checks.
1557 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1559 * sysdeps/powerpc/math-tests.h: New file.
1560 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1562 * math/test-snan.c (TEST_FUNC): Likewise.
1564 2013-03-30 David S. Miller <davem@davemloft.net>
1566 * po/de.po: Update from translation team.
1568 2013-03-30 Joseph Myers <joseph@codesourcery.com>
1571 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1572 imaginary part less than 1.0 and real part less than 0.5
1574 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1575 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1576 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1577 (cacos_test): Add more tests.
1578 (casin_test): Likewise.
1579 (casinh_test): Likewise.
1580 * sysdeps/i386/fpu/libm-test-ulps: Update.
1581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1583 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1585 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1588 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1589 (__pow_mp): Replace ONE and MONE with their values.
1590 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1591 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1592 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1593 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1594 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1595 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1597 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1599 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1600 (__pow_mp): Replace ZERO and MZERO with their values.
1601 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1602 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1603 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1604 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1605 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1606 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1609 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1611 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1613 2013-03-28 Roland McGrath <roland@hack.frob.com>
1615 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1616 Declare with __attribute__ ((weak)).
1617 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1618 Call __call_tls_dtors only if it's not NULL.
1620 2013-03-28 Roland McGrath <roland@hack.frob.com>
1622 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1623 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1624 magic __ehdr_start linker symbol if it's defined.
1625 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1626 them up here if it was already done.
1628 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1629 (_dl_aux_init): Use const in cast when setting it.
1630 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1631 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1632 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1634 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1636 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1637 * csu/libc-tls.c: Nor here.
1638 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1640 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1641 (__libc_message): Never call vsyslog.
1643 2013-03-28 Alan Modra <amodra@gmail.com>
1645 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1647 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1650 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1653 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1657 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1660 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1661 Don't add gid passed as argument.
1663 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1665 2013-03-27 Joseph Myers <joseph@codesourcery.com>
1668 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1669 imaginary part between 1.0 and 1.5 and real part less than 0.5
1671 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1672 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1673 * math/libm-test.inc (cacos_test): Add more tests.
1674 (casin_test): Likewise.
1675 (casinh_test): Likewise.
1676 * sysdeps/i386/fpu/libm-test-ulps: Update.
1677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1679 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1681 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1685 (__dbl_mp): Likewise.
1686 (add_magnitudes): Likewise.
1687 (sub_magnitudes): Likewise.
1695 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1697 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1698 (__dubcos): Likewise.
1699 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1700 (__ieee754_acos): Likewise.
1701 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1702 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1704 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1705 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1707 (my_log2): Likewise.
1708 (checkint): Likewise.
1709 * sysdeps/ieee754/dbl-64/e_remainder.c
1710 (__ieee754_remainder): Likewise.
1711 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1712 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1714 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1716 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1717 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1718 MANTISSA_STORE_T to store computations on mantissa. Use
1719 macros for rounding and division.
1721 (__dbl_mp): Likewise.
1722 (add_magnitudes): Likewise.
1723 (sub_magnitudes): Likewise.
1726 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1727 powers of two in terms of TWOPOW macro.
1728 (mp_no): Make type of mantissa as MANTISSA_T.
1729 [!RADIXI]: Define RADIXI.
1730 [!TWO52]: Define TWO52.
1731 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1733 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1735 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1736 llroundl symbol when building for PPC32.
1738 2013-03-24 Mark H Weaver <mhw@netris.org>
1740 * manual/arith.texi (Normalization Functions): Fix prototypes for
1741 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1743 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1746 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1747 high value to check if expl overflow.
1748 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1749 to check for underflow and overflow.
1750 * math/libm-test.inc: Add exp test.
1752 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1755 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1758 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1760 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1763 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1765 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1766 wrap blocks consisting of several statements.
1768 * sysdeps/generic/math-tests.h: New file.
1769 * sysdeps/i386/fpu/math-tests.h: Likewise.
1770 * math/test-snan.c: Include it.
1771 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1773 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1776 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1777 (__ieee754_j0l): Do not improve calculations using cos of twice
1778 input for inputs above LDBL_MAX / 2.0L.
1779 (__ieee754_y0l): Likewise.
1780 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1781 (__ieee754_j1l): Do not improve calculations using cos of twice
1782 input for inputs above LDBL_MAX / 2.0L.
1783 (__ieee754_y1l): Likewise.
1784 * math/libm-test.inc (j0_test): Add another test.
1785 (j1_test): Likewise.
1786 (y0_test): Likewise.
1787 (y1_test): Likewise.
1788 * sysdeps/i386/fpu/libm-test-ulps: Update.
1790 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1792 * Rules ($(objpfx)bench-%.c): Include code from a C source
1795 2013-03-21 Joseph Myers <joseph@codesourcery.com>
1798 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1799 imaginary part 1.0 and real part less than 0.5 specially.
1800 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1801 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1802 * math/libm-test.inc (cacos_test): Add more tests.
1803 (casin_test): Likewise.
1804 (casinh_test): Likewise.
1805 * sysdeps/i386/fpu/libm-test-ulps: Update.
1806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1808 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1810 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1811 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1813 2013-03-20 Joseph Myers <joseph@codesourcery.com>
1815 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1816 * config.make.in (config-cflags-sse4): Remove variable.
1817 (config-cflags-avx): Likewise.
1818 (config-cflags-sse2avx): Likewise.
1819 (config-cflags-novzeroupper): Likewise.
1820 (config-asflags-i686): Likewise.
1821 (have-mfma4): Likewise.
1822 (have-as-vis3): Likewise.
1824 * configure.in (MIG): Do not AC_SUBST.
1825 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1826 (libc_cv_cc_sse4): Do not AC_SUBST.
1827 (libc_cv_cc_avx): Likewise.
1828 (libc_cv_cc_sse2avx): Likewise.
1829 (libc_cv_cc_novzeroupper): Likewise.
1830 (libc_cv_cc_fma4): Likewise.
1831 (libc_cv_as_i686): Likewise.
1832 (libc_cv_sparc_as_vis3): Likewise.
1833 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1835 (config-asflags-i686): Likewise.
1836 (config-cflags-avx): Likewise.
1837 (config-cflags-sse2avx): Likewise.
1838 (have-mfma4): Likewise.
1839 (config-cflags-novzeroupper): Likewise.
1840 * sysdeps/mach/configure.in (MIG): Likewise.
1841 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1842 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1844 (config-cflags-avx): Likewise.
1845 (config-cflags-sse2avx): Likewise.
1846 (have-mfma4): Likewise.
1847 (config-cflags-novzeroupper): Likewise.
1848 * configure: Regenerated.
1849 * sysdeps/i386/configure: Likewise.
1850 * sysdeps/mach/configure: Likewise.
1851 * sysdeps/sparc/configure: Likewise.
1852 * sysdeps/x86_64/configure: Likewise.
1854 2013-03-20 Roland McGrath <roland@hack.frob.com>
1857 * locale/programs/localedef.c (options): Put N_ translation marker
1858 on argument names, not just descriptions.
1860 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1862 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1864 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
1867 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1869 2013-03-19 Roland McGrath <roland@hack.frob.com>
1871 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1872 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1873 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1874 [!BEFORE_ABORT] (before_abort): New function.
1875 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1876 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1877 (writev_for_fatal): New function.
1878 (WRITEV_FOR_FATAL): New macro; call that.
1879 (backtrace_and_maps): New function.
1880 (BEFORE_ABORT): New macro; call that.
1881 (struct str_list): Type removed.
1882 (__libc_message, __libc_fatal): Functions removed.
1883 Include <sysdeps/posix/libc_fatal.c> instead.
1885 2013-03-19 Joseph Myers <joseph@codesourcery.com>
1887 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1889 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1892 2013-03-19 Andreas Schwab <schwab@suse.de>
1894 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1895 * sysdeps/gnu/configure: Regenerate.
1897 * configure.in: Substitute libc_cv_rtlddir.
1898 * configure: Regenerate.
1899 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1900 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1901 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1902 * elf/Makefile (install-others, CFLAGS-interp.c)
1903 (ldso_install, common-ldd-rewrite): Likewise.
1904 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1905 $(inst_slibdir)/$(rtld-installed-name).
1906 * scripts/rellns-sh: Add -p option.
1907 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1910 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1912 * manual/nptl.texi: Renamed to ...
1913 * manual/threads.texi: ... this.
1914 * manual/Makefile (chapters): Update.
1916 2013-03-18 Roland McGrath <roland@hack.frob.com>
1919 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1920 on argument names, not just descriptions.
1921 * malloc/memusagestat.c (options): Likewise.
1922 * nss/getent.c (options): Likewise.
1924 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
1927 * iconv/iconv_prog.c (options): Put N_ translation marker
1928 on argument names, not just descriptions.
1929 * iconv/iconvconfig.c (options): Likewise.
1931 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
1933 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1934 implementation which is faster on all x86_64 architectures.
1935 Tested on AMD, Intel Nehalem, SNB, IVB.
1936 * sysdeps/x86_64/strnlen.S: Likewise.
1938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1939 Remove all multiarch strlen and strnlen versions.
1940 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1941 Remove strlen and strnlen related parts.
1943 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1945 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1947 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1948 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1949 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1950 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1951 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1952 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1954 2013-03-17 Carlos O'Donell <carlos@redhat.com>
1956 * manual/memory.texi (Malloc Tunable Parameters):
1957 Sort parameters alphabetically. Add comments for missing entries.
1959 2013-03-17 David S. Miller <davem@davemloft.net>
1961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1963 2013-03-16 Joseph Myers <joseph@codesourcery.com>
1966 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1967 for arguments at most half maximum finite value.
1968 * math/libm-test.inc (j0_test): Add more tests.
1969 (j1_test): Likewise.
1970 (y0_test): Likewise.
1971 (y1_test): Likewise.
1972 * sysdeps/i386/fpu/libm-test-ulps: Update.
1973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1976 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1977 1 / x and functions P and Q for arguments above 0x1p256L.
1978 (__ieee754_y0l): Likewise.
1979 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1980 (__ieee754_y1l): Likewise.
1981 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1982 (j1_test): Likewise.
1983 (y0_test): Likewise.
1984 (y1_test): Likewise.
1986 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1988 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1991 2013-03-15 Roland McGrath <roland@hack.frob.com>
1993 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1994 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1995 zero since it's initialized to EXEC_PAGESIZE.
1997 * sysdeps/unix/sysv/linux/ldsodefs.h
1998 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1999 * sysdeps/generic/ldsodefs.h: ... here.
2001 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
2003 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
2005 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
2007 * math/test-snan.c: Renamed from
2008 sysdeps/powerpc/fpu/test-powerpc-snan.c.
2009 * math/Makefile (tests): Add test-snan.
2010 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
2013 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
2014 SUFFIX. Initialize qNaN_var with __builtin_nan family of
2016 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
2017 __builtin_nan family of functions.
2018 * math/libm-test.inc (initialize): Initialize qnan_value with
2019 __builtin_nan family of functions.
2020 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
2022 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
2024 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
2025 storage class. Initialize qNaN_var and sNaN_var with
2026 __builtin_nan and __builtin_nans families of functions,
2029 * math/libm-test.inc (acosh_test): Also test with qNaN input.
2030 (sqrt_test): Remove duplicate test with qNaN input.
2031 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
2032 (round_test, signbit_test, significand_test): Note missing +/-Inf
2033 as well as qNaN tests.
2035 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
2036 qNaN_var. Fix a few strings, too.
2037 * math/libm-test.inc (nan_value): Rename to qnan_value.
2038 * math/gen-libm-test.pl (%beautify): Adjust to that.
2039 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2040 * math/test-misc.c (main): Likewise.
2041 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2042 to __qnan_bytes, and __qnan_union, respectively.
2043 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2045 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2046 and lqnanval, respectively.
2047 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2048 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2049 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2050 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2052 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2053 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2056 * math/test-misc.c (main): Fix copy'n'pastos.
2057 * misc/tst-efgcvt.c (special): Likewise.
2059 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2060 Remove declarations.
2062 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2064 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2065 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2066 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2067 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2069 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2071 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2072 macro to return vdso values correctly in IFUNC implementations.
2073 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2074 Optimization by using IFUNC.
2076 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2077 Richard Henderson <rth@redhat.com>
2078 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2080 * Makefile.in (bench): New target.
2081 * NEWS: Mention the benchmark framework.
2082 * Rules (bench): Likewise.
2083 (binaries-bench): Generate binaries for functions to
2085 * benchtests/Makefile: New makefile for benchmark tests.
2086 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2088 * benchtests/exp-inputs: New input file for EXP function.
2089 * benchtests/pow-inputs: New input file for POW function.
2090 * scripts/bench.pl: New script to generate source files for
2093 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2095 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2096 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2097 computations on mantissa. Use macros for rounding and
2100 (__dbl_mp): Likewise.
2101 (add_magnitudes): Likewise.
2102 (sub_magnitudes): Likewise.
2105 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2106 powers of two in terms of TWOPOW macro.
2107 (mp_no): Make type of mantissa as MANTISSA_T.
2108 [!RADIXI]: Define RADIXI.
2109 [!TWO52]: Define TWO52.
2110 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2112 * manual/nptl.texi (cindex): Modify threads to pthreads.
2114 2013-03-15 Joseph Myers <joseph@codesourcery.com>
2116 * sysdeps/x86_64/preconfigure: Regenerated.
2118 2013-03-14 Joseph Myers <joseph@codesourcery.com>
2121 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2123 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2124 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2126 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2127 * math/libm-test.inc (j0_test): Do not allow one spurious
2128 underflow exception.
2129 (y1_test): Likewise.
2131 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2133 * manual/Makefile (chapters): Add nptl.
2134 * manual/debug.texi (Debugging Support): Add link to Threads
2136 * manual/nptl.texi: New file.
2138 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2140 2013-03-14 Petr Baudis <pasky@ucw.cz>
2142 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2143 for non-NULL pointer before the memory validity test. Pointed
2144 out by Holger Brunck <holger.brunck@keymile.com>.
2146 2013-03-13 Andreas Schwab <schwab@suse.de>
2148 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2151 2013-03-13 Joseph Myers <joseph@codesourcery.com>
2153 * timezone/zic.c: Update from tzcode 2013b.
2155 2013-03-12 Carlos O'Donell <carlos@redhat.com>
2157 * manual/install.texi (Configuring and compiling):
2158 Mention i686 and i586.
2159 * INSTALL: Regenerate.
2161 2013-03-12 Roland McGrath <roland@hack.frob.com>
2163 * sysdeps/init_array/elf-init.c: New file.
2165 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2166 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2168 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2169 __gmon_start__ as global, but as static with a .preinit_array pointer.
2170 * sysdeps/init_array/gmon-start.c: New file. Use that.
2171 * sysdeps/init_array/crti.S: New file, empty except for comments.
2172 * sysdeps/init_array/crtn.S: Likewise.
2174 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
2176 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2179 Remove Prefer_SSE_for_memop.
2180 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2181 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2182 HAS_PREFER_SSE_FOR_MEMOP.
2183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2185 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2186 Remove bzero, memset ifunc support.
2187 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2188 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2189 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2190 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2192 2013-03-11 Andreas Schwab <schwab@suse.de>
2195 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2198 (GLIBC_2.16): Remove pthread_atfork.
2200 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2202 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2203 (ptestcases.h): Likewise.
2205 2013-03-08 Roland McGrath <roland@hack.frob.com>
2207 * Makeconfig ($(common-objpfx)config.status): Depend on
2208 sysdeps/*/preconfigure{,.in} too.
2210 2013-03-08 Joseph Myers <joseph@codesourcery.com>
2212 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2213 (__free_hook): Use void * instead of __malloc_ptr_t.
2214 (__malloc_hook): Likewise.
2215 (__realloc_hook): Likewise.
2216 (__memalign_hook): Likewise.
2217 (__after_morecore_hook): Likewise.
2218 * malloc/arena.c (save_malloc_hook): Likewise.
2219 (save_free_hook): Likewise.
2220 * malloc/hooks.c (malloc_hook_ini): Likewise.
2221 (realloc_hook_ini): Likewise.
2222 (memalign_hook_ini): Likewise.
2223 * malloc/malloc.c (malloc_hook_ini): Likewise.
2224 (realloc_hook_ini): Likewise.
2225 (memalign_hook_ini): Likewise.
2226 (__free_hook): Likewise.
2227 (__malloc_hook): Likewise.
2228 (__realloc_hook): Likewise.
2229 (__memalign_hook): Likewise.
2230 (__libc_malloc): Likewise.
2231 (__libc_free): Likewise.
2232 (__libc_realloc): Likewise.
2233 (__libc_memalign): Likewise.
2234 (__libc_valloc): Likewise.
2235 (__libc_pvalloc): Likewise.
2236 (__libc_calloc): Likewise.
2237 (__posix_memalign): Likewise.
2238 * malloc/morecore.c (__sbrk): Likewise.
2239 (__default_morecore): Likewise.
2241 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2243 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2244 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2247 * malloc/malloc.h (__malloc_size_t): Remove macro.
2248 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2250 (old_memalign_hook): Likewise.
2251 (old_realloc_hook): Likewise.
2252 (struct hdr): Likewise.
2254 (mallochook): Likewise.
2255 (memalignhook): Likewise.
2256 (reallochook): Likewise.
2257 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2258 (tr_old_realloc_hook): Likewise.
2259 (tr_old_memalign_hook): Likewise.
2260 (tr_mallochook): Likewise.
2261 (tr_reallochook): Likewise.
2262 (tr_memalignhook): Likewise.
2264 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2266 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2267 default_ldbl_pack and using as default implementation.
2268 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2270 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2271 redundant definition.
2272 (ldbl_insert_mantissa): Likewise.
2273 (ldbl_canonicalize): Likewise.
2274 (ldbl_nearbyint): Likewise.
2275 (ldbl_pack): Rename to ldbl_pack_ppc.
2276 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2277 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2278 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2280 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2282 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2283 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2284 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2285 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2286 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2287 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2288 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2289 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2291 2013-03-07 Andreas Jaeger <aj@suse.de>
2293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2296 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2298 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2299 Include mpa.h and declare __MPEXP.
2300 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2301 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2302 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2303 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2304 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2305 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2306 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2308 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2309 (__slowpow): Use long double EXPL and LOGL functions to
2311 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2312 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2313 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2314 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2315 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2316 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2318 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2319 intermediate variable to calculate exponent.
2321 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2325 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2326 [!NO__SQR]: Define __sqr.
2327 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2328 and NO__SQR. Remove all code except __mul and __sqr. Include
2329 sysdeps/ieee754/dbl-64/mpa.c.
2330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2333 * posix/Makefile (tests): Add tst-pathconf.
2334 * posix/tst-pathconf.c: New test case.
2335 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2337 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2339 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
2341 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2343 2013-03-06 Andreas Jaeger <aj@suse.de>
2345 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2346 definition via __MAP_ANONYMOUS.
2348 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2349 it's not part of Linux headers.
2351 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2352 (MAP_HUGE_MASK): Define.
2354 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2356 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2357 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2359 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2360 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2362 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2363 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2365 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2367 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2368 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2369 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2370 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2371 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2372 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2374 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2377 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2378 Handle f2fs and efivarfs.
2380 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2383 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2384 (EFIVARFS_MAGIC): Add.
2385 (F2FS_LINK_MAX): Add.
2387 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2389 * stdio-common/vfprintf.c: Replace __builtin_expect with
2392 2013-03-06 Joseph Myers <joseph@codesourcery.com>
2395 * sysdeps/generic/bp-sym.h: Remove file.
2396 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2397 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2398 <bp-sym.h> and <bp-asm.h>.
2399 (__longjmp): Don't use BP_SYM.
2400 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2402 (memcpy): Don't use BP_SYM.
2403 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2404 <bp-sym.h> and <bp-asm.h>.
2405 (memcpy): Don't use BP_SYM.
2406 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2408 (memcpy): Don't use BP_SYM.
2409 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2411 (memset): Don't use BP_SYM.
2412 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2413 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2414 (__bzero): Don't use BP_SYM.
2415 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2416 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2417 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2418 <bp-sym.h> and <bp-asm.h>.
2419 (memcmp): Don't use BP_SYM. Remove comment about bounded
2421 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2422 <bp-sym.h> and <bp-asm.h>.
2423 (memcpy): Don't use BP_SYM.
2424 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2425 <bp-sym.h> and <bp-asm.h>.
2426 (memset): Don't use BP_SYM.
2427 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2428 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2429 (__bzero): Don't use BP_SYM.
2430 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2431 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2432 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2433 <bp-sym.h> and <bp-asm.h>.
2434 (strncmp): Don't use BP_SYM. Remove comment about bounded
2436 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2437 <bp-sym.h> and <bp-asm.h>.
2438 (memcpy): Don't use BP_SYM.
2439 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2440 <bp-sym.h> and <bp-asm.h>.
2441 (memset): Don't use BP_SYM.
2442 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2443 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2444 (__bzero): Don't use BP_SYM.
2445 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2446 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2447 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2448 <bp-sym.h> and <bp-asm.h>.
2449 (__memchr): Don't use BP_SYM.
2450 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2451 <bp-sym.h> and <bp-asm.h>.
2452 (memcmp): Don't use BP_SYM. Remove comment about bounded
2454 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2455 <bp-sym.h> and <bp-asm.h>.
2456 (memcpy): Don't use BP_SYM.
2457 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2458 <bp-sym.h> and <bp-asm.h>.
2459 (__mempcpy): Don't use BP_SYM.
2460 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2461 <bp-sym.h> and <bp-asm.h>.
2462 (__memrchr): Don't use BP_SYM.
2463 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2464 <bp-sym.h> and <bp-asm.h>.
2465 (memset): Don't use BP_SYM.
2466 (__bzero): Likewise.
2467 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2468 <bp-sym.h> and <bp-asm.h>.
2469 (__rawmemchr): Don't use BP_SYM.
2470 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2471 <bp-sym.h> and <bp-asm.h>.
2472 (__STRCMP): Don't use BP_SYM.
2473 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2474 <bp-sym.h> and <bp-asm.h>.
2475 (strchr): Don't use BP_SYM.
2476 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2477 <bp-sym.h> and <bp-asm.h>.
2478 (__strchrnul): Don't use BP_SYM.
2479 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2480 <bp-sym.h> and <bp-asm.h>.
2481 (strlen): Don't use BP_SYM.
2482 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2483 <bp-sym.h> and <bp-asm.h>.
2484 (strncmp): Don't use BP_SYM. Remove comment about bounded
2486 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2487 <bp-sym.h> and <bp-asm.h>.
2488 (__strnlen): Don't use BP_SYM.
2489 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2490 <bp-sym.h> and <bp-asm.h>.
2491 (__GI__setjmp): Don't use BP_SYM.
2492 (_setjmp): Likewise.
2493 (__sigsetjmp): Likewise.
2494 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2495 (L(start_addresses)): Don't use BP_SYM.
2497 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2499 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2500 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2501 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2502 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2503 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2505 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2506 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2507 about bounded pointers.
2508 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2509 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2510 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2512 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2513 about bounded pointers. Remove GKM FIXME comments.
2514 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2515 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2517 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2518 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2519 Remove GKM FIXME comments.
2520 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2521 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2522 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2524 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2525 about bounded pointers. Remove GKM FIXME comment.
2526 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2528 (strncmp): Don't use BP_SYM. Remove comment about bounded
2530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2531 <bp-sym.h> and <bp-asm.h>.
2532 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2534 <bp-sym.h> and <bp-asm.h>.
2535 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2538 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2540 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2543 2013-03-05 David S. Miller <davem@davemloft.net>
2545 * po/es.po: Update from translation team.
2547 2013-03-05 Andreas Jaeger <aj@suse.de>
2549 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2550 <bits/mman-linux.h>.
2551 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2553 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2554 <bits/mman-linux.h> to end of file.
2555 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2557 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2558 <bits/mman-linux.h> to end of file.
2559 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2561 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2562 <bits/mman-linux.h> to end of file.
2564 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2565 (MCL_CURRENT, MCL_FUTURE): Define here.
2567 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2570 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2572 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2574 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2576 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2577 fourth parameter needed for rt_sigprocmask syscall.
2578 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2579 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2580 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2581 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2582 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2583 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2585 2013-03-04 Joseph Myers <joseph@codesourcery.com>
2588 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2589 comment about bounded pointers.
2590 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2591 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2593 2013-03-04 Andreas Jaeger <aj@suse.de>
2595 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2598 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2599 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2600 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2601 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2602 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
2603 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2605 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2608 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2609 __ieee754_sqrl instead of __sqrl.
2611 2013-03-01 Joseph Myers <joseph@codesourcery.com>
2613 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2614 * sysdeps/powerpc/fpu_control.h: ... here.
2615 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2616 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2617 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2618 * sysdeps/powerpc/bits/mathinline.h: ... here.
2620 2013-03-01 Roland McGrath <roland@hack.frob.com>
2622 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2623 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2624 to just [NEED_DL_SYSINFO_DSO].
2625 * elf/dl-support.c: Likewise.
2626 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2627 * elf/rtld.c (dl_main): Likewise.
2628 * elf/setup-vdso.h (setup_vdso): Likewise.
2629 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2630 * sysdeps/unix/sysv/linux/dl-sysdep.c
2631 (_dl_discover_osversion): Likewise.
2633 2013-03-01 Carlos O'Donell <carlos@redhat.com>
2635 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2636 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2638 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2640 * NEWS: Mention libm performance improvements and non-x86 PI
2643 * csu/libc-start.c (__pthread_initialize_minimal): Change
2645 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2647 2013-02-28 Joseph Myers <joseph@codesourcery.com>
2650 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2651 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2652 <bp-sym.h> and <bp-asm.h>.
2653 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2654 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2656 (memcpy): Don't use BP_SYM.
2657 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2659 (__mpn_add_n): Don't use BP_SYM.
2660 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2661 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2663 (__mpn_addmul_1): Don't use BP_SYM.
2664 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2665 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2667 (_setjmp): Don't use BP_SYM.
2668 (__novmx_setjmp): Likewise.
2669 (__GI__setjmp): Likewise.
2670 (__vmx_setjmp): Likewise.
2671 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2673 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2674 (__bzero): Don't use BP_SYM.
2675 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2676 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2677 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2678 <bp-sym.h> and <bp-asm.h>.
2679 (memcpy): Don't use BP_SYM.
2680 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2681 <bp-sym.h> and <bp-asm.h>.
2682 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2683 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2684 <bp-sym.h> and <bp-asm.h>.
2685 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2686 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2688 (__mpn_lshift): Don't use BP_SYM.
2689 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2690 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2692 (memset): Don't use BP_SYM.
2693 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2694 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2695 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2697 (__mpn_mul_1): Don't use BP_SYM.
2698 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2699 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2700 <bp-sym.h> and <bp-asm.h>.
2701 (memcmp): Don't use BP_SYM.
2702 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2703 <bp-sym.h> and <bp-asm.h>.
2704 (memcpy): Don't use BP_SYM.
2705 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2706 <bp-sym.h> and <bp-asm.h>.
2707 (memset): Don't use BP_SYM.
2708 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2709 <bp-sym.h> and <bp-asm.h>.
2710 (strncmp): Don't use BP_SYM.
2711 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2712 <bp-sym.h> and <bp-asm.h>.
2713 (memcpy): Don't use BP_SYM.
2714 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2715 <bp-sym.h> and <bp-asm.h>.
2716 (memset): Don't use BP_SYM.
2717 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2718 <bp-sym.h> and <bp-asm.h>.
2719 (__memchr): Don't use BP_SYM.
2720 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2721 <bp-sym.h> and <bp-asm.h>.
2722 (memcmp): Don't use BP_SYM.
2723 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2724 <bp-sym.h> and <bp-asm.h>.
2725 (memcpy): Don't use BP_SYM.
2726 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2727 <bp-sym.h> and <bp-asm.h>.
2728 (__mempcpy): Don't use BP_SYM.
2729 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2730 <bp-sym.h> and <bp-asm.h>.
2731 (__memrchr): Don't use BP_SYM.
2732 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2733 <bp-sym.h> and <bp-asm.h>.
2734 (memset): Don't use BP_SYM.
2735 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2736 <bp-sym.h> and <bp-asm.h>.
2737 (__rawmemchr): Don't use BP_SYM.
2738 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2739 <bp-sym.h> and <bp-asm.h>.
2740 (__STRCMP): Don't use BP_SYM.
2741 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2742 <bp-sym.h> and <bp-asm.h>.
2743 (strchr): Don't use BP_SYM.
2744 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2745 <bp-sym.h> and <bp-asm.h>.
2746 (__strchrnul): Don't use BP_SYM.
2747 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2748 <bp-sym.h> and <bp-asm.h>.
2749 (strlen): Don't use BP_SYM.
2750 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2751 <bp-sym.h> and <bp-asm.h>.
2752 (strncmp): Don't use BP_SYM.
2753 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2754 <bp-sym.h> and <bp-asm.h>.
2755 (__strnlen): Don't use BP_SYM.
2756 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2758 (__mpn_rshift): Don't use BP_SYM.
2759 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2760 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2761 <bp-sym.h> and <bp-asm.h>.
2762 (__sigsetjmp): Don't use BP_SYM.
2763 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2764 (L(start_addresses)): Don't use BP_SYM.
2766 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2768 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2769 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2770 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2771 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2773 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2774 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2775 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2776 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2778 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2780 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2781 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2783 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2785 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2786 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2787 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2789 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2791 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2793 (strncmp): Don't use BP_SYM,
2794 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2796 (__mpn_sub_n): Don't use BP_SYM.
2797 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2798 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2800 (__mpn_submul_1): Don't use BP_SYM.
2801 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2803 <bp-sym.h> and <bp-asm.h>.
2804 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2806 <bp-sym.h> and <bp-asm.h>.
2807 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2810 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2812 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2813 Use ZK to minimize writes to Z.
2814 (sub_magnitudes): Simplify code a bit.
2815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2816 Use ZK to minimize writes to Z.
2817 (sub_magnitudes): Simplify code a bit.
2819 2013-02-27 Roland McGrath <roland@hack.frob.com>
2821 * csu/gmon-start.c: Add special exception to license text.
2823 2013-02-27 Richard Henderson <rth@redhat.com>
2825 * scripts/config.guess: Update from config.git.
2826 * scripts/config.sub: Likewise.
2828 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2830 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2832 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2834 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2836 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2838 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2840 2013-02-26 Roland McGrath <roland@hack.frob.com>
2842 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2843 [$(build-shared = yes].
2845 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2847 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2848 (__mul): Reduce iterations for calculating mantissa.
2850 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2852 (__mpranred): Likewise.
2855 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2856 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2858 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2860 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2861 Define __attribute__.
2863 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2865 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2867 * posix/regex_internal.h (__attribute): Remove.
2868 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2869 (re_string_context_at): Likewise.
2870 (bitset_not): Use __attribute__ and mark function as possibly
2872 (bitset_merge): Likewise.
2873 (bitset_mask): Likewise.
2874 (re_string_char_size_at): Likewise.
2875 (re_string_wchar_at): Likewise.
2876 (re_string_elem_size_at): Likewise.
2878 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2880 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2884 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2889 (__dbl_mp): Likewise.
2890 (add_magnitudes): Likewise.
2891 (sub_magnitudes): Likewise.
2895 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2898 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2901 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2904 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2905 up changes with default code.
2906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2909 2013-02-24 Allan McRae <allan@archlinux.org>
2911 * manual/socket.texi (The Internet Namespace): Order menu items
2912 to match that in the file.
2914 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2915 node listing of the info page menu.
2917 2013-02-21 Joseph Myers <joseph@codesourcery.com>
2920 * sysdeps/i386/bp-asm.h: Remove file.
2921 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2922 (PARMS): Do not use macros from bp-asm.h.
2926 (__mpn_add_n): Do not use BP_SYM
2927 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2929 (PARMS): Do not use macros from bp-asm.h.
2932 (__mpn_addmul_1): Do not use BP_SYM
2933 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2935 (PARMS): Do not use macros from bp-asm.h.
2937 (_setjmp): Likewise. Do not use BP_SYM.
2938 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2940 (PARMS): Do not use macros from bp-asm.h.
2942 (setjmp): Likewise. Do not use BP_SYM.
2943 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2945 (PARMS): Do not use macros from bp-asm.h.
2946 (__frexp): Do not use BP_SYM.
2948 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2950 (PARMS): Do not use macros from bp-asm.h.
2951 (__frexpf): Do not use BP_SYM.
2953 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2955 (PARMS): Do not use macros from bp-asm.h.
2956 (__frexpl): Do not use BP_SYM.
2958 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2960 (PARMS): Do not use macros from bp-asm.h.
2961 (__remquo): Do not use BP_SYM.
2963 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2965 (PARMS): Do not use macros from bp-asm.h.
2966 (__remquof): Do not use BP_SYM.
2967 (remquof): Likewise.
2968 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2970 (PARMS): Do not use macros from bp-asm.h.
2971 (__remquol): Do not use BP_SYM.
2972 (remquol): Likewise.
2973 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2975 (PARMS): Do not use macros from bp-asm.h.
2978 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2979 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2981 (PARMS): Do not use macros from bp-asm.h.
2982 (strlen): Do not use BP_SYM.
2983 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2985 (PARMS): Do not use macros from bp-asm.h.
2989 (__mpn_add_n): Do not use BP_SYM.
2990 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2992 (PARMS): Do not use macros from bp-asm.h.
2995 (__mpn_addmul_1): Do not use BP_SYM.
2996 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2999 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
3001 (PARMS): Do not use macros from bp-asm.h.
3004 (__mpn_lshift): Do not use BP_SYM.
3005 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
3007 (PARMS): Do not use macros from bp-asm.h.
3011 (memcpy): Likewise. Do not use BP_SYM.
3012 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
3013 libc_hidden_def and weak_alias.
3014 (mempcpy): Do not use BP_SYM in weak_alias.
3015 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
3017 (PARMS): Do not use macros from bp-asm.h.
3020 [!BZERO_P] (CHR): Likewise.
3021 (memset): Likewise. Do not use BP_SYM.
3022 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
3024 (PARMS): Do not use macros from bp-asm.h.
3027 (__mpn_mul_1): Do not use BP_SYM.
3028 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
3030 (PARMS): Do not use macros from bp-asm.h.
3033 (__mpn_rshift): Do not use BP_SYM.
3034 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
3036 (PARMS): Do not use macros from bp-asm.h.
3039 (strchr): Likewise. Do not use BP_SYM.
3040 (index): Do not use BP_SYM in weak_alias.
3041 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3043 (PARMS): Do not use macros from bp-asm.h.
3046 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
3047 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3049 (PARMS): Do not use macros from bp-asm.h.
3050 (strlen): Do not use BP_SYM.
3051 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3053 (PARMS): Do not use macros from bp-asm.h.
3057 (__mpn_sub_n): Do not use BP_SYM.
3058 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3060 (PARMS): Do not use macros from bp-asm.h.
3063 (__mpn_submul_1): Do not use BP_SYM.
3064 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3066 (PARMS): Do not use macros from bp-asm.h.
3070 (__mpn_add_n): Do not use BP_SYM.
3071 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3074 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3076 (PARMS): Do not use macros from bp-asm.h.
3079 (memcmp): Do not use BP_SYM.
3080 (bcmp): Do not use BP_SYM in weak_alias.
3081 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3083 (PARMS): Do not use macros from bp-asm.h.
3087 (memcpy): Likewise. Do not use BP_SYM.
3088 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3090 (PARMS): Do not use macros from bp-asm.h.
3094 (memmove): Likewise. Do not use BP_SYM.
3095 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3097 (PARMS): Do not use macros from bp-asm.h.
3101 (__mempcpy): Likewise. Do not use BP_SYM.
3102 (mempcpy): Do not use BP_SYM in weak_alias.
3103 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3105 (PARMS): Do not use macros from bp-asm.h.
3108 [!BZERO_P] (CHR): Likewise.
3109 (memset): Likewise. Do not use BP_SYM.
3110 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3112 (PARMS): Do not use macros from bp-asm.h.
3114 (strcmp): Do not use BP_SYM.
3115 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3117 (PARMS): Do not use macros from bp-asm.h.
3120 [USE_AS_STRTOK_R] (SAVE): Likewise.
3121 (FUNCTION): Likewise. Do not use BP_SYM.
3122 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3124 (strtok_r): Likewise.
3125 (__GI___strtok_r): Likewise.
3126 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3127 (PARMS): Do not use macros from bp-asm.h.
3130 (__mpn_lshift): Do not use BP_SYM.
3131 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3132 (PARMS): Do not use macros from bp-asm.h.
3135 (__memchr): Do not use BP_SYM.
3136 (memchr): Do not use BP_SYM in weak_alias.
3137 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3138 (PARMS): Do not use macros from bp-asm.h.
3141 (memcmp): Do not use BP_SYM.
3142 (bcmp): Do not use BP_SYM in weak_alias.
3143 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3144 (PARMS): Do not use macros from bp-asm.h.
3147 (__mpn_mul_1): Do not use BP_SYM.
3148 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3150 (PARMS): Do not use macros from bp-asm.h.
3153 (__rawmemchr): Do not use BP_SYM.
3154 (rawmemchr): Do not use BP_SYM in weak_alias.
3155 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3156 (PARMS): Do not use macros from bp-asm.h.
3159 (__mpn_rshift): Do not use BP_SYM.
3160 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3161 (PARMS): Do not use macros from bp-asm.h.
3163 (__sigsetjmp): Likewise. Do not use BP_SYM.
3164 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3165 (_start): Do not use BP_SYM.
3166 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3167 (PARMS): Do not use macros from bp-asm.h.
3170 (__stpcpy): Likewise. Do not use BP_SYM.
3171 (stpcpy): Do not use BP_SYM in weak_alias.
3172 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3174 (PARMS): Do not use macros from bp-asm.h.
3178 (__stpncpy): Likewise. Do not use BP_SYM.
3179 (stpncpy): Do not use BP_SYM in weak_alias.
3180 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3181 (PARMS): Do not use macros from bp-asm.h.
3184 (strchr): Likewise. Do not use BP_SYM.
3185 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3187 (PARMS): Do not use macros from bp-asm.h.
3190 (__strchrnul): Likewise. Do not use BP_SYM.
3191 (strchrnul): Do not use BP_SYM in weak_alias.
3192 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3194 (PARMS): Do not use macros from bp-asm.h.
3196 (strcspn): Do not use BP_SYM.
3197 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3199 (PARMS): Do not use macros from bp-asm.h.
3202 (strpbrk): Likewise. Do not use BP_SYM.
3203 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3205 (PARMS): Do not use macros from bp-asm.h.
3208 (strrchr): Likewise. Do not use BP_SYM.
3209 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3210 (PARMS): Do not use macros from bp-asm.h.
3212 (strspn): Do not use BP_SYM.
3213 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3214 (PARMS): Do not use macros from bp-asm.h.
3218 (FUNCTION): Likewise. Do not use BP_SYM.
3219 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3221 (strtok_r): Likewise.
3222 (__GI___strtok_r): Likewise.
3223 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3224 (PARMS): Do not use macros from bp-asm.h.
3228 (__mpn_sub_n): Do not use BP_SYM.
3229 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3231 (PARMS): Do not use macros from bp-asm.h.
3234 (__mpn_submul_1): Do not use BP_SYM.
3235 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3237 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3239 (PARMS): Do not use macros from bp-asm.h.
3244 (__clone): Do not use BP_SYM.
3245 (clone): Do not use BP_SYM in weak_alias.
3246 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3248 (PARMS): Do not use macros from bp-asm.h.
3250 (__mmap64): Do not use BP_SYM.
3251 (mmap64): Do not use BP_SYM in weak_alias.
3252 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3253 <bp-sym.h> and <bp-asm.h>.
3254 (PARMS): Do not use macros from bp-asm.h.
3255 (__posix_fadvise64_l64): Do not use BP_SYM.
3256 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3257 (PARMS): Do not use macros from bp-asm.h.
3259 (semtimedop): Do not use BP_SYM.
3260 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3263 2013-02-21 Allan McRae <allan@archlinux.org>
3265 * manual/message.texi (Charset conversion in gettext):
3266 Move @end statement to beginning of line.
3268 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3275 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3280 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3282 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3283 tail-call to the resolved function if pltexit isn't needed.
3285 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3287 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3288 or Y being zero as being unlikely.
3289 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3292 2013-02-20 Carlos O'Donell <carlos@redhat.com>
3294 * manual/nss.texi (System Databases and Name Service Switch):
3295 Remove frobnicate @pxref.
3297 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3299 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3300 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3302 2013-02-20 Petr Machata <pmachata@redhat.com>
3304 * elf/elf.h (R_ARM_TARGET1): New macro.
3305 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3306 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3307 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3308 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3309 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3310 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3311 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3312 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3313 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3314 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3315 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3316 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3317 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3318 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3319 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3320 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3321 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3322 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3323 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3324 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3325 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3326 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3327 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3328 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3329 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3330 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3331 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3332 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3333 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3334 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3335 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3336 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3337 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3338 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3339 (R_ARM_THM_GOT_BREL12): Likewise.
3340 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3341 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3342 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3343 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3344 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3345 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3346 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3347 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3348 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3350 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3352 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3353 __attribute_used__ to __attribute__ ((unused)).
3355 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3357 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3363 2013-02-19 Joseph Myers <joseph@codesourcery.com>
3366 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3368 (ENTER): Remove both macro definitions.
3370 (CHECK_BOUNDS_LOW): Likewise.
3371 (CHECK_BOUNDS_HIGH): Likewise.
3372 (CHECK_BOUNDS_BOTH): Likewise.
3373 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3374 (RETURN_BOUNDED_POINTER): Likewise.
3375 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3376 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3377 (POP_ERRNO_LOCATION_RETURN): Likewise.
3378 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3379 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3380 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3382 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3383 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3384 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3385 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3386 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3387 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3388 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3389 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3390 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3391 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3392 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3393 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3394 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3395 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3397 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3398 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3400 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3401 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3402 * sysdeps/i386/i586/memset.S (memset): Likewise.
3403 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3404 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3405 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3407 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3408 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3409 Change uses of L(2) to L(out).
3410 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3411 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3412 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3413 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3414 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3416 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3417 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3419 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3420 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3421 (RETURN): Do not use macro LEAVE.
3422 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3423 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3424 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3425 * sysdeps/i386/i686/memset.S (memset): Likewise.
3426 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3427 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3428 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3429 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3431 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3432 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3433 L(1_2) and L(1_3) into L(1).
3434 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3435 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3436 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3437 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3438 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3439 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3440 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3441 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3442 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3444 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3445 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3446 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3447 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3448 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3449 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3450 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3451 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3452 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3453 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3454 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3455 * sysdeps/i386/strspn.S (strspn): Likewise.
3456 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3458 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3459 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3460 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3461 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3463 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3464 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3465 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3467 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3469 2013-02-19 Jakub Jelinek <jakub@redhat.com>
3471 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3474 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3476 * math/atest-exp.c (exp_mpn): Remove ROUND.
3477 * math/atest-exp2.c (exp_mpn): Likewise.
3478 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3480 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3481 * stdlib/tst-tls-atexit-lib.c: Likewise.
3482 * stdlib/tst-tls-atexit.c: Likewise.
3484 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3486 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3487 and __attribute_alloc_size__.
3489 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3491 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3492 __attribute_alloc_size__.
3493 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3494 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3496 2013-02-18 Mike Frysinger <vapier@gentoo.org>
3498 * include/programs/xmalloc.h: New file.
3499 * catgets/gencat.c: Include it.
3500 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3501 * elf/pldd.c: Likewise.
3502 * iconv/iconv_charmap.c: Likewise.
3503 * iconv/iconvconfig.c: Likewise.
3504 * iconv/strtab.c: Likewise.
3505 * locale/programs/locale.c: Likewise.
3506 * locale/programs/localedef.h: Likewise.
3507 * locale/programs/simple-hash.c: Likewise.
3508 * nscd/nscd.h: Likewise.
3509 * nss/makedb.c: Likewise.
3510 * sysdeps/generic/ldconfig.h: Likewise.
3512 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3514 * Versions.def: Add GLIBC_2.18.
3515 * include/link.h (struct link_map): New member l_tls_dtor_count.
3516 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3517 (__call_tls_dtors): Likewise.
3518 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3519 __cxa_thread_atexit_impl.
3520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3528 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3536 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3537 (tests): Add test case tst-tls-atexit.
3538 (modules-names): Add shared library for tst-tls-atexit.
3539 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3540 (GLIBC_PRIVATE): Add __call_tls_dtors.
3541 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3543 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3544 * stdlib/tst-tls-atexit.c: New test case.
3545 * stdlib/tst-tls-atexit-lib.c: New test case.
3547 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
3549 * elf/Versions (ld): Add _dl_find_dso_for_object.
3550 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3551 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3552 (dl_open_worker): Use _dl_find_dso_for_object.
3553 * elf/dl-sym.c (do_sym): Likewise.
3554 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3556 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3558 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3559 Syntactic changes only.
3560 (_dl_runtime_profile): Do a tail-call to the resolved function.
3562 2013-02-17 Joseph Myers <joseph@codesourcery.com>
3565 * sysdeps/x86_64/bp-asm.h: Remove file.
3566 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3567 <bp-sym.h> and <bp-asm.h>.
3568 (__clone): Do not use BP_SYM.
3569 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3570 <bp-sym.h> and <bp-asm.h>.
3571 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3572 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3574 (_setjmp): Do not use BP_SYM.
3575 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3577 (setjmp): Do not use BP_SYM.
3578 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3580 (mempcpy): Do not use BP_SYM in weak_alias.
3581 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3583 (strchr): Do not use BP_SYM.
3584 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3586 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3587 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3588 (_start): Do not use BP_SYM.
3589 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3591 (strcat): Do not use BP_SYM.
3592 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3594 (STRCMP): Do not use BP_SYM.
3595 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3597 (STRCPY): Do not use BP_SYM.
3598 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3600 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3602 (FUNCTION): Do not use BP_SYM.
3603 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3605 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3607 2013-02-17 Andreas Jaeger <aj@suse.de>
3609 * time/Versions: Sort entries.
3610 * string/Versions: Likewise.
3611 * resolv/Versions: Likewise.
3612 * posix/Versions: Likewise.
3613 * iconv/Versions: Likewise.
3614 * elf/Versions: Likewise.
3615 * wcsmbs/Versions: Likewise.
3617 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3619 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3620 loop termination condition.
3622 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3623 variable to calculate EZ.
3626 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3627 the lower precision input.
3629 2013-02-15 Joseph Myers <joseph@codesourcery.com>
3632 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3633 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3634 (run-via-rtld-prefix): Do not handle %-bp tests.
3635 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3636 (all-object-suffixes): Remove .ob.
3637 (bppfx): Remove variable.
3638 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3639 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3640 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3641 [$(build-bounded) = yes] (libtype.ob): Likewise.
3642 * Makerules (elide-routines.ob): Remove variable.
3643 (do-tests-clean): Do not handle *-bp.out.
3644 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3645 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3646 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3647 (tests): Do not include $(tests-bp.out).
3648 (xtests): Do not include $(xtests-bp.out).
3649 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3650 [$(build-bounded) = yes] ($(addprefix
3651 $(objpfx),$(binaries-bounded))): Remove rule.
3652 ($(objpfx)%-bp.out): Remove rule.
3653 * config.make.in (build-bounded): Remove variable.
3654 * crypt/Makefile [$(build-bounded) = yes]
3655 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3656 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3658 [$(build-bounded) = yes] (install-lib): Likewise.
3659 [$(build-bounded) = yes] (generated): Likewise.
3660 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3662 * intl/Makefile [$(build-bounded) = yes]
3663 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3664 * math/Makefile [$(build-bounded) = yes]
3665 ($(tests:%=$(objpfx)%-bp): Likewise.
3666 * misc/Makefile [$(build-bounded) = yes]
3667 ($(objpfx)tst-tsearch-bp): Likewise.
3668 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3669 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3671 * string/Makefile (o-objects.ob): Remove variable.
3672 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3673 (CFLAGS-.ob): Remove variable.
3674 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3675 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3676 both definitions of variable.
3677 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3678 (ASFLAGS-.ob): Remove variable.
3680 2013-02-14 Joseph Myers <joseph@codesourcery.com>
3683 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3684 Remove __BOUNDED_POINTERS__ from condition.
3685 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3686 * string/bits/string2.h [!__NO_STRING_INLINES &&
3687 !__BOUNDED_POINTERS__]: Likewise.
3688 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3690 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3691 Remove conditional code.
3692 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3693 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3694 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3698 * csu/libc-start.c: Do not include <bp-sym.h>.
3699 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3700 * elf/dl-open.c: Do not include <bp-sym.h>.
3701 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3702 * math/fegetenv.c: Do not include <bp-sym.h>.
3703 (fegetenv): Do not use BP_SYM in versioned symbols.
3704 * nptl/sysdeps/pthread/bits/libc-lockP.h
3705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3708 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3710 (__pthread_mutex_destroy): Likewise.
3711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3712 (__pthread_mutex_lock): Likewise.
3713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3714 (__pthread_mutex_trylock): Likewise.
3715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3716 (__pthread_mutex_unlock): Likewise.
3717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3718 (__pthread_mutexattr_init): Likewise.
3719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3720 (__pthread_mutexattr_destroy): Likewise.
3721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3722 (__pthread_mutexattr_settype): Likewise.
3723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3724 (__pthread_rwlock_init): Likewise.
3725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3726 (__pthread_rwlock_destroy): Likewise.
3727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3728 (__pthread_rwlock_rdlock): Likewise.
3729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3730 (__pthread_rwlock_tryrdlock): Likewise.
3731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3732 (__pthread_rwlock_wrlock): Likewise.
3733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3734 (__pthread_rwlock_trywrlock): Likewise.
3735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3736 (__pthread_rwlock_unlock): Likewise.
3737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3738 (__pthread_key_create): Likewise.
3739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3740 (__pthread_setspecific): Likewise.
3741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3742 (__pthread_getspecific): Likewise.
3743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3746 (_pthread_cleanup_push_defer): Likewise.
3747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3748 (_pthread_cleanup_pop_restore): Likewise.
3749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3750 (pthread_setcancelstate): Likewise.
3751 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3753 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3754 (memchr): Do not use BP_SYM in weak_alias.
3755 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3756 (fegetenv): Do not use BP_SYM in versioned symbols.
3757 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3758 (fesetenv): Do not use BP_SYM in versioned symbols.
3759 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3760 (feupdateenv): Do not use BP_SYM in versioned symbols.
3761 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3762 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3763 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3764 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3765 (open64): Do not use BP_SYM in weak_alias.
3766 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3767 (fegetenv): Do not use BP_SYM in versioned symbols.
3768 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3769 (fesetenv): Do not use BP_SYM in versioned symbols.
3770 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3771 (feupdateenv): Do not use BP_SYM in versioned symbols.
3772 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3773 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3774 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3775 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3776 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3777 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3778 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3780 (__libc_start_main): Do not use BP_SYM.
3782 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3785 redundant return line.
3789 (sub_magnitudes): Likewise.
3795 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3799 (sub_magnitudes): Likewise.
3806 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3808 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3809 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3812 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3813 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3815 of __mul for squares.
3816 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3818 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3820 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3821 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3823 2013-02-13 Joseph Myers <joseph@codesourcery.com>
3826 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3828 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3829 prototype or function definition. Rename ubp_* variables and
3830 parameters. Remove argv definitions conditional on
3831 [__BOUNDED_POINTERS__].
3832 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3833 * elf/dl-runtime.c (_dl_fixup): Likewise.
3834 * include/set-hooks.h (RUN_HOOK): Likewise.
3835 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3837 * string/strcpy.c (strcpy): Do not use __unbounded.
3838 * sysdeps/generic/frame.h (struct layout): Likewise.
3839 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3840 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3841 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3842 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3843 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3844 (__backtrace): Likewise.
3845 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3847 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3848 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3849 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3851 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3852 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3853 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3854 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3855 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3856 Do not use __unbounded.
3857 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3858 Rename __unboundedrlimits parameter to rlimits in prototype.
3859 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3860 Do not use __unbounded.
3861 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3863 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3864 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3865 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3866 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3867 __ptrvalue or __unbounded.
3868 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3869 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3871 (__new_msgctl): Do not use __ptrvalue.
3872 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3874 (__libc_msgrcv): Do not use __ptrvalue.
3875 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3876 startup_info): Do not use __unbounded.
3877 (__libc_start_main): Likewise. Rename ubp_* variables and
3878 parameters. Remove argv definitions conditional on
3879 [__BOUNDED_POINTERS__].
3880 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3882 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3884 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3886 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3888 (__new_shmctl): Do not use __ptrvalue.
3889 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3890 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3892 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3893 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3894 (__libc_sigaction): Likewise.
3895 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3896 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3898 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3900 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
3902 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
3904 * string/mempcpy.c: Implement by calling memcpy.
3906 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3910 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3913 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3914 values in the mantissa.
3916 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3917 minimize writes to Z.
3918 (sub_magnitudes): Simplify code a bit.
3920 2013-02-12 Roland McGrath <roland@hack.frob.com>
3922 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3923 from the message. The linker prefixes all warnings with that already.
3925 2013-02-12 Andreas Schwab <schwab@suse.de>
3928 * posix/regexec.c (extend_buffers): Add parameter min_len.
3929 (check_matching): Pass minimum needed length.
3930 (clean_state_log_if_needed): Likewise.
3931 (get_subexp): Likewise.
3932 * posix/Makefile (tests): Add bug-regex34.
3933 (bug-regex34-ENV): Define.
3934 * posix/bug-regex34.c: New file.
3937 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3938 elements compare against the byte sequence of it, not its name.
3939 * posix/Makefile (tests): Add bug-regex35.
3940 (bug-regex35-ENV): Define.
3941 * posix/bug-regex35.c: New file.
3943 2013-02-11 Tom de Vries <tom@codesourcery.com>
3945 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3947 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3948 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3949 (CHECK_EOL): Add undef.
3951 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
3953 * bits/stdlib-bsearch.h: New file.
3954 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
3955 * stdlib/stdlib.h: Likewise.
3957 2013-02-11 Roland McGrath <roland@hack.frob.com>
3959 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3960 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3962 * manual/search.texi (Array Search Function): Add missing const in
3964 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3965 declaration to use rlim_t.
3966 (Basic Scheduling Functions): Remove erroneous const from
3967 sched_getparam prototype. Remove erroneous * from
3968 sched_get_priority_max and sched_get_priority_min prototypes.
3969 (Resource Usage): Fix summary @comment on vtimes to refer to
3970 sys/vtimes.h rather than vtimes.h.
3971 Add missing *s in vtimes prototype.
3972 (Limits on Resources): Fix ulimit prototype to return long int.
3973 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3974 prototypes to use long int rather than double.
3975 (BSD Random): Fix initstate and setstate to use char *, not void *.
3976 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3977 prototype to make second argument 'struct aiocb64 *const[]'.
3978 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3979 (Status of AIO Operations): Remove erroneous const in aio_return and
3980 aio_return64 prototypes.
3981 (Synchronizing I/O): Fix sync prototype to return void.
3982 * manual/startup.texi (Suboptions): Remove an erroneous const in
3983 getsubopt prototype.
3984 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3985 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3986 use size_t rather than int.
3987 (Scanning All Users): Likewise for getpwent_r.
3988 (Setting Groups): Add missing const to setgroups prototype.
3989 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3990 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3991 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3992 'const void *' rather than 'const char *'.
3993 (Host Address Functions): Likewise for inet_ntop.
3994 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3995 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3996 ssize_t for return value.
3997 (Sending Data): Likewise for send, sendto, sendmsg.
3998 (Socket Option Functions): Add a missing const in setsockopt prototype.
3999 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
4000 use wchar_t for the argument.
4001 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
4002 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
4004 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
4005 double/float/long double for second argument.
4006 Fix return types of significand, significandf, significandl.
4007 * manual/filesys.texi (Setting Permissions): Use mode_t for second
4008 argument in fchmod prototype.
4009 (File Owner): Use uid_t and gid_t in fchown prototype.
4010 (File Times): Add const to utimes, futimes, and lutimes prototypes.
4011 (Making Special Files): Use mode_t and dev_t in mknod prototype.
4012 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
4013 use 'const struct dirent **' as argument types to CMP function pointer
4015 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
4016 (File Times): Fix summary magic @comment for struct utimbuf and utime
4017 to refer to utime.h, not time.h.
4018 * manual/string.texi (Argz Functions): Add missing const in
4019 argz_extract and argz_next prototypes.
4020 (Finding Tokens in a String): Likewise for basename.
4021 (String/Array Comparison): Fix typo in wcscasecmp prototype.
4022 (Copying and Concatenation): Fix typo in wmemmove prototype.
4023 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
4024 (Signal Stack): Remove erroneous const in sigstack prototype.
4025 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
4027 (Simple Calendar Time): Likewise for stime.
4028 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
4030 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
4031 say sys/sysctl.h instead.
4032 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
4033 and vsyslog prototypes.
4035 2013-02-11 Tom de Vries <tom@codesourcery.com>
4037 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4040 2013-02-11 Roland McGrath <roland@hack.frob.com>
4042 * misc/sys/mman.h: Fix typo in mremap comment.
4044 2013-02-08 Roland McGrath <roland@hack.frob.com>
4046 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4047 the '\0' terminator.
4049 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4052 * debug/segfault.c: Don't include <bp-checks.h>.
4053 * sysdeps/generic/bp-checks.h: Remove file.
4054 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4055 (__GETDENTS): Don't use CHECK_N.
4056 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4057 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4058 (__getgroups): Don't use CHECK_N.
4059 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4060 (setgroups): Don't use CHECK_N.
4061 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4062 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4063 (__libc_msgrcv): Don't use CHECK_N.
4064 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4065 (__libc_msgsnd): Don't use CHECK_N.
4066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4068 (__libc_pread): Don't use CHECK_N.
4069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4070 include <bp-checks.h>.
4071 (__libc_pread64): Don't use CHECK_N.
4072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4073 include <bp-checks.h>.
4074 (__libc_pwrite): Don't use CHECK_N.
4075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4076 include <bp-checks.h>.
4077 (__libc_pwrite64): Don't use CHECK_N.
4078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4080 (__libc_pread): Don't use CHECK_N.
4081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4082 include <bp-checks.h>.
4083 (__libc_pread64): Don't use CHECK_N.
4084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4085 include <bp-checks.h>.
4086 (__libc_pwrite): Don't use CHECK_N.
4087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4088 include <bp-checks.h>.
4089 (__libc_pwrite64): Don't use CHECK_N.
4090 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4091 (do_pread): Don't use CHECK_N.
4092 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4093 (do_pread64): Don't use CHECK_N.
4094 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4095 (do_pwrite): Don't use CHECK_N.
4096 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4097 (do_pwrite64): Don't use CHECK_N.
4098 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4099 (__libc_readv): Don't use CHECK_N.
4100 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4101 (semop): Don't use CHECK_N.
4102 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4104 (semtimedop): Don't use CHECK_N.
4105 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4106 (__libc_pread): Don't use CHECK_N.
4107 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4109 (__libc_pread64): Don't use CHECK_N.
4110 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4112 (__libc_pwrite): Don't use CHECK_N.
4113 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4115 (__libc_pwrite64): Don't use CHECK_N.
4116 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4118 (__libc_msgrcv): Don't use CHECK_N.
4119 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4120 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4121 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4122 (__libc_writev): Don't use CHECK_N.
4124 2013-02-08 Roland McGrath <roland@hack.frob.com>
4126 * string/strcpy.c: Removed unused variable.
4128 * Makeconfig (+sysdep-includes): Define with := rather than =.
4129 Use an existing include/ subdir of each sysdeps dir before it.
4131 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4133 * nscd/connection.c (register_traced_file): Comment function.
4134 [HAVE_INOTIFY] (union __inev): Define.
4135 [HAVE_INOTIFY] (inotify_check_files): New function.
4136 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4137 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4139 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4141 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4143 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4144 loaded if not already and that a failure is permanent.
4146 2013-02-08 Carlos O'Donell <carlos@redhat.com>
4149 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4150 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4152 2013-02-08 Joseph Myers <joseph@codesourcery.com>
4155 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4156 (CHECK_1_NULL_OK): Likewise.
4157 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4158 (__fxstat): Do not use CHECK_1.
4159 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4161 (___fxstat64): Do not use CHECK_1.
4162 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4164 (__fxstatat): Do not use CHECK_1.
4165 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4167 (__fxstatat64): Do not use CHECK_1.
4168 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4170 (__fxstat): Do not use CHECK_1.
4171 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4173 (__fxstatat): Do not use CHECK_1.
4174 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4176 (__getresgid): Do not use CHECK_1.
4177 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4179 (__getresuid): Do not use CHECK_1.
4180 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4182 (__lxstat): Do not use CHECK_1.
4183 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4185 (__old_msgctl): Do not use CHECK_1.
4186 (__new_msgctl): Likewise.
4187 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4189 (__new_setrlimit): Do not use CHECK_1.
4190 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4192 (__old_shmctl): Do not use CHECK_1.
4193 (__new_shmctl): Likewise.
4194 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4196 (__xstat): Do not use CHECK_1.
4197 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4198 (__lxstat): Do not use CHECK_1.
4199 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4201 (___lxstat64): Do not use CHECK_1.
4202 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4203 (__old_msgctl): Do not use CHECK_1.
4204 (__new_msgctl): Likewise.
4205 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4207 (__gettimeofday): Do not use CHECK_1.
4208 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4209 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4210 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4212 (__gettimeofday): Do not use CHECK_1.
4213 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4214 (__old_shmctl): Do not use CHECK_1_NULL_OK.
4215 (__new_shmctl): Do not use CHECK_1.
4216 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4218 (do_sigtimedwait): Do not use CHECK_1.
4219 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4221 (do_sigwaitinfo): Do not use CHECK_1.
4222 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4224 (msgctl): Do not use CHECK_1.
4225 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4227 (shmctl): Do not use CHECK_1.
4228 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4229 (ustat): Do not use CHECK_1.
4230 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4232 (__fxstat): Do not use CHECK_1.
4233 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4235 (__fxstatat): Do not use CHECK_1.
4236 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4238 (__lxstat): Do not use CHECK_1.
4239 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4241 (__xstat): Do not use CHECK_1.
4242 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4243 (__xstat): Do not use CHECK_1.
4244 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4245 (___xstat64): Do not use CHECK_1.
4248 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4250 (CHECK_BOUNDS_HIGH): Likewise.
4251 * string/strcpy.c: Do not include <bp-checks.h>.
4252 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4254 2013-02-07 Roland McGrath <roland@hack.frob.com>
4256 * nscd/nscd-client.h (__nscd_drop_map_ref):
4257 Add __attribute__ ((unused)).
4258 * nis/nss-nisplus.h (niserr2nss): Likewise.
4260 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4261 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4263 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4264 Remove inline keyword.
4265 * include/rounding-mode.h (round_away): Likewise.
4266 * libio/wfileops.c (adjust_wide_data): Likewise.
4267 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4268 (__m128i_strloadu_tolower): Likewise.
4269 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4270 (__m128i_strloadu_tolower): Likewise.
4271 * time/mktime.c (ydhms_diff): Likewise.
4272 * locale/elem-hash.h (elem_hash): Likewise.
4273 * locale/setlocale.c (setdata): Likewise.
4274 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4275 (re_string_wchar_at): Likewise.
4276 (bitset_not, bitset_merge, bitset_mask): Likewise.
4277 [!(__GNUC__ > 3)] (inline): Remove macro.
4278 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4279 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4280 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4281 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4282 * string/memcmp.c (memcmp_bytes): Likewise.
4283 * locale/programs/locarchive.c (compute_hashval): Likewise.
4284 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4285 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4286 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4287 * nss/getent.c (print_rpc, print_protocols): Likewise.
4288 (print_passwd, print_group, print_aliases): Likewise.
4289 * nis/nss-nisplus.h (niserr2nss): Likewise.
4290 * nscd/connections.c (restart_p): Likewise.
4291 Change return type to bool.
4293 2013-02-05 Roland McGrath <roland@hack.frob.com>
4295 * Makeconfig (all-Depend-files): Add existing
4296 $(sorted-subdirs:=/Depend) files.
4297 (all-subdirs): Remove nss.
4298 * sysdeps/unix/inet/Subdirs: Add it here instead.
4299 * hesiod/Depend: New file.
4301 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4302 instead of calling alloca.
4304 * io/lseek.c (__lseek): Rename to __libc_lseek.
4305 Define __lseek as an alias.
4307 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4309 2013-02-04 Carlos O'Donell <carlos@redhat.com>
4311 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4312 else clause and remove check for non-standard endianness.
4314 2013-02-04 David S. Miller <davem@davemloft.net>
4316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4318 2013-02-04 Joseph Myers <joseph@codesourcery.com>
4321 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4322 (__ubp_memchr): Remove prototype.
4323 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4324 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4325 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4326 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4327 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4329 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4330 (__ubp_memchr): Likewise.
4331 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4332 (__ubp_memchr): Likewise.
4333 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4334 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4335 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4336 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4338 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4339 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4340 (__getcwd): Do not use CHECK_STRING.
4341 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4343 (__real_chown): Do not use CHECK_STRING.
4344 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4346 (fchownat): Do not use CHECK_STRING.
4347 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4349 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4351 (__lchown): Do not use CHECK_STRING.
4352 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4353 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4354 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4355 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4357 include <bp-checks.h>.
4358 (truncate64): Do not use CHECK_STRING.
4359 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4361 (__real_chown): Do not use CHECK_STRING.
4362 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4364 (__lchown): Do not use CHECK_STRING.
4365 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4367 (__chown): Do not use CHECK_STRING.
4368 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4370 (truncate64): Do not use CHECK_STRING.
4371 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4373 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4374 (__xmknod): Do not use CHECK_STRING.
4375 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4377 (__xmknodat): Do not use CHECK_STRING.
4378 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4379 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4381 2013-02-04 Andreas Schwab <schwab@suse.de>
4384 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4385 * include/netdb.h: Likewise for h_errno.
4386 * elf/tst-stackguard1.c: Include <tls.h>.
4388 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4390 * elf/link.h (struct link_map): Extend the l_addr comment.
4391 * include/link.h (struct link_map): Likewise.
4393 2013-02-01 Joseph Myers <joseph@codesourcery.com>
4396 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4397 (BOUNDED_1): Remove macro.
4398 * debug/backtrace.c: Don't include <bp-checks.h>.
4399 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4400 (__backtrace): Likewise.
4401 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4403 (__backtrace): Don't use BOUNDED_1.
4404 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4406 (__backtrace): Don't use BOUNDED_1.
4407 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4408 (__backtrace): Don't use BOUNDED_1.
4409 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4410 (shmat): Don't use BOUNDED_N.
4412 2013-01-31 Joseph Myers <joseph@codesourcery.com>
4415 * sysdeps/generic/bp-start.h: Remove file.
4416 * csu/libc-start.c: Don't include <bp-start.h>.
4417 (LIBC_START_MAIN): Set up __environ directly instead of using
4418 INIT_ARGV_and_ENVIRON.
4419 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4423 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4425 (CHECK_FCNTL): Likewise.
4426 (CHECK_N_PAGES): Likewise.
4429 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4431 (CHECK_SIGSET_NULL_OK): Likewise.
4432 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4434 (sigpending): Don't use CHECK_SIGSET.
4435 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4437 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4438 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4440 (do_sigsuspend): Don't use CHECK_SIGSET.
4441 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4443 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4444 (do_sigwait): Don't use CHECK_SIGSET.
4445 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4447 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4448 include <bp-checks.h>.
4449 (sigpending): Don't use CHECK_SIGSET.
4450 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4451 include <bp-checks.h>.
4452 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4453 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4455 (sigpending): Don't use CHECK_SIGSET.
4456 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4458 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4461 * sysdeps/generic/bp-semctl.h: Remove file.
4462 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4463 <bp-checks.h> and <bp-semctl.h>.
4464 (__old_semctl): Don't use CHECK_SEMCTL.
4465 (__new_semctl): Likewise.
4466 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4468 (__old_semctl): Don't use CHECK_SEMCTL.
4469 (__new_semctl): Likewise.
4470 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4471 <bp-checks.h> and <bp-semctl.h>.
4472 (__old_semctl): Don't use CHECK_SEMCTL.
4473 (__new_semctl): Likewise.
4474 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4475 <bp-checks.h> and <bp-semctl.h>.
4476 (semctl): Don't use CHECK_SEMCTL.
4479 * Makerules (elide-bp-thunks): Remove variable.
4480 (elide-routines.oS): Don't use $(elide-bp-thunks).
4481 (elide-routines.os): Likewise.
4482 (elide-routines.o): Likewise.
4483 (elide-routines.op): Likewise.
4484 (elide-routines.og): Likewise.
4485 (objects): Don't use $(bp-thunks).
4486 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4488 (common-generated): Do not add s-proto-bp.d.
4489 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4492 Do not generate makefile rules for bounded-pointer thunks.
4493 * sysdeps/generic/bp-thunks.h: Remove file.
4494 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4495 * sysdeps/unix/s-proto-bp.S: Likewise.
4498 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4499 parts of result separately when argument is not close to line from
4500 -i to i and one part of argument is small.
4501 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4502 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4503 * math/libm-test.inc (cacos_test): Add more tests.
4504 (casin_test): Likewise.
4505 (casinh_test): Likewise.
4506 * sysdeps/i386/fpu/libm-test-ulps: Update.
4507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4509 2013-01-31 David S. Miller <davem@davemloft.net>
4511 * po/de.po: Update from translation team.
4513 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4515 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4517 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4519 * configure.in (_AC_PROG_CC_C89): New definition.
4520 * configure: Regenerate.
4522 * configure.in (AC_PROG_CPP): New definition.
4523 * configure: Regenerate.
4525 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4527 * debug/tst-backtrace.h: New file.
4528 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4529 (ret): Remove variable.
4531 (FAIL): Remove macro.
4532 (NO_INLINE): Likewise.
4533 (fn1): Use match function instead of strstr.
4534 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4535 (ret): Remove variable.
4537 (FAIL): Remove macro.
4538 (NO_INLINE): Likewise.
4539 (fn): Use match function instead of strstr.
4540 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4541 (ret): Remove variable.
4543 (FAIL): Remove macro.
4544 (NO_INLINE): Likewise.
4545 (handle_signal): Use match function instead of strstr.
4546 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4547 (ret): Remove variable.
4549 (FAIL): Remove macro.
4550 (NO_INLINE): Likewise.
4551 (handle_signal): Use match function instead of strstr.
4553 2013-01-23 Roland McGrath <roland@hack.frob.com>
4555 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4557 2013-01-23 David S. Miller <davem@davemloft.net>
4559 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4560 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4561 argument of CAS if possible.
4562 * sysdeps/sparc/sparc64/bits/atomic.h
4563 (__arch_compare_and_exchange_val_32_acq): Likewise.
4564 (__arch_compare_and_exchange_val_64_acq): Likewise.
4566 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4568 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4569 * sysdeps/posix/ulimit.c: ... this.
4571 * sysdeps/unix/bsd/ulimit.c: Remove file.
4573 2013-01-23 Adam Conrad <adconrad@0c3.net>
4575 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4576 (LDFLAGS-tst-array5): Likewise.
4578 2013-01-23 Joseph Myers <joseph@codesourcery.com>
4581 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4582 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4583 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4584 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4586 2013-01-21 David S. Miller <davem@davemloft.net>
4588 * sysdeps/sparc/backtrace.c: New file.
4589 * sysdeps/sparc/sparc32/backtrace.h: New file.
4590 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4591 * sysdeps/sparc/sparc64/backtrace.h: New file.
4592 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4593 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4596 2013-01-21 Andreas Schwab <schwab@suse.de>
4599 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4602 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4604 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4606 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4608 2013-01-18 Joseph Myers <joseph@codesourcery.com>
4609 Mark Mitchell <mark@codesourcery.com>
4610 Tom de Vries <tom@codesourcery.com>
4611 Paul Pluzhnikov <ppluzhnikov@google.com>
4613 * debug/tst-backtrace2.c: New file.
4614 * debug/tst-backtrace3.c: Likewise.
4615 * debug/tst-backtrace4.c: Likewise.
4616 * debug/tst-backtrace5.c: Likewise.
4617 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4618 (CFLAGS-tst-backtrace3.c): Likewise.
4619 (CFLAGS-tst-backtrace4.c): Likewise.
4620 (CFLAGS-tst-backtrace5.c): Likewise.
4621 (LDFLAGS-tst-backtrace2): Likewise.
4622 (LDFLAGS-tst-backtrace3): Likewise.
4623 (LDFLAGS-tst-backtrace4): Likewise.
4624 (LDFLAGS-tst-backtrace5): Likewise.
4625 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4626 tst-backtrace4 and tst-backtrace5.
4628 2013-01-18 Anton Blanchard <anton@samba.org>
4629 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4631 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4632 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4633 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4634 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4636 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4637 "+r" and remove output regs list as redundant. Add explicit inline
4638 asm to specify register of return val to work around compiler codegen
4639 bug. Remove (int) cast on return value. Add return type parameter to
4640 use in macro so that this macro does not truncate return value for
4642 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4643 pass to INTERNAL_VSYSCALL_NCS.
4644 (INLINE_VSYSCALL): Add 'long int' as return type to
4645 INTERNAL_VSYSCALL_NCS macro invocation.
4646 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4647 INTERNAL_VSYSCALL_NCS macro invocation.
4648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4650 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4653 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4654 Fix application of SIMD FP exception mask.
4656 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4657 mp_no from a power of two.
4658 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4659 __mpexp_twomm1. Use __pow_mp.
4661 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4664 2013-01-17 David S. Miller <davem@davemloft.net>
4666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4668 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4671 * include/complex.h: Condition contents on [!_COMPLEX_H].
4672 (__kernel_casinhf): New prototype.
4673 (__kernel_casinh): Likewise.
4674 (__kernel_casinhl): Likewise.
4675 * math/Makefile (libm_calls): Add k_casinh.
4676 * math/k_casinh.c: New file.
4677 * math/k_casinhf.c: Likewise.
4678 * math/k_casinhl.c: Likewise.
4679 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4680 finite nonzero arguments.
4681 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4682 finite nonzero arguments.
4683 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4684 finite nonzero arguments.
4685 * math/s_casinh.c: Do not include <float.h>.
4686 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4687 * math/s_casinhf.c: Do not include <float.h>.
4688 (__casinhf): Move code for finite nonzero arguments to
4690 * math/s_casinhl.c: Do not include <float.h>.
4691 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4693 (__casinhl): Move code for finite nonzero arguments to
4695 * math/libm-test.inc (cacos_test): Add more tests.
4696 * sysdeps/i386/fpu/libm-test-ulps: Update.
4697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4699 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4701 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4702 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4703 [!HAVE_MREMAP]: Remove [defined linux] case.
4704 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4706 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4708 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4710 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
4712 * elf/elf.h (R_386_SIZE32): New relocation.
4713 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4715 (elf_machine_rela): Likewise.
4716 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4717 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4719 2013-01-17 Joseph Myers <joseph@codesourcery.com>
4721 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4722 (FP_FAST_FMA): Do not define.
4723 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4724 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4725 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4726 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4727 !_SOFT_FLOAT]: Likewise.
4728 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4729 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4731 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4732 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4733 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4734 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4735 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4736 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4739 2013-01-16 Andreas Schwab <schwab@suse.de>
4742 * include/stdlib.h (__mktemp): Add declaration.
4743 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4744 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4746 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4748 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4750 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4751 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4752 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4754 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4755 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4757 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4759 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4760 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4761 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4763 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4764 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4766 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4768 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4770 2013-01-15 David S. Miller <davem@davemloft.net>
4772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4773 trunc{,f} to libm-sysdep_routes.
4774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4784 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4785 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4786 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4787 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4788 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4789 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4792 nearbyint{,f} to libm-sysdep_routes.
4793 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4804 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4806 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4807 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4809 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4810 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4811 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4813 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4814 libc_feholdexcept and libc_fesetenv.
4816 2013-01-15 Mike Frysinger <vapier@gentoo.org>
4818 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4820 2013-01-14 David S. Miller <davem@davemloft.net>
4822 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4823 (SPARC_ASM_VIS2_IFUNC): Likewise.
4824 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4826 use of 'siam' instruction.
4827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4836 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4847 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4860 routines to libm-sysdep_routines.
4861 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4864 fdim/fdimf to libm-sysdep_routines.
4865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4873 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4874 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4875 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4876 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4878 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4880 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4883 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4888 local variable MPTWO.
4889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4892 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4894 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4897 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4899 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4901 2013-01-13 Mike Frysinger <vapier@gentoo.org>
4903 * manual/pattern.texi (glob_t): Document gl_flags.
4904 (glob64_t): Likewise.
4906 2013-01-11 David S. Miller <davem@davemloft.net>
4908 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4909 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4910 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
4911 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4912 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4913 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4914 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4915 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4916 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4917 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4918 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4919 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4920 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4922 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4923 sparc V9 rather than using V8 code.
4924 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4925 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4927 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4929 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4932 2013-01-11 Roland McGrath <roland@hack.frob.com>
4934 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4935 not in the main loop.
4936 * configure: Regenerated.
4938 2013-01-11 Joseph Myers <joseph@codesourcery.com>
4940 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4941 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4943 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4944 [!__GLIBC_HAVE_LONG_LONG] case.
4945 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4946 condition to just #else.
4947 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4948 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4949 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4950 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4952 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4953 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4954 #elif condition to just #else.
4955 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4956 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4957 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4958 #elif condition to just #else.
4960 2013-01-11 Steve Ellcey <sellcey@mips.com>
4962 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4963 (EF_MIPS_ARCH_64): Fix value.
4964 (EF_MIPS_ARCH_32R2): New.
4965 (EF_MIPS_ARCH_64R2): New.
4967 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4969 * Makeconfig (+link-pie-before-libc): New.
4970 (+link-pie-after-libc): Likewise.
4971 (+link-pie-tests): Likewise.
4972 (+link-pie): Rewritten.
4973 (link-before-libc): Remove $(config-LDFLAGS).
4974 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4975 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4976 (config-LDFLAGS): Renamed to ...
4977 (rtld-LDFLAGS): This.
4978 (rtld-tests-LDFLAGS): New macro.
4979 (link-libc-rpath-link): Likewise.
4980 (link-libc-tests-rpath-link): Likewise.
4981 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4982 (link-libc): Prepand $(link-libc-rpath-link).
4983 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4984 (test-program-prefix): New macro.
4985 (test-via-rtld-prefix): Likewise.
4986 (test-program-cmd): Likewise.
4987 (host-test-program-cmd): Likewise.
4988 * Makefile ($(common-objpfx)testrun.sh): Replace
4989 $(run-program-prefix) with $(test-program-prefix).
4990 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4992 ($(common-objpfx)shlib.lds): Likewise.
4993 (build-module-helper): Likewise.
4994 ($(common-objpfx)format.lds): Likewise.
4995 * Rules (binaries-pie-tests): New.
4996 (binaries-pie-notests): Likewise.
4997 (binaries-pie): Rewritten.
4998 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4999 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
5000 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
5001 (make-test-out): Replace $(host-built-program-cmd) with
5002 $(host-test-program-cmd).
5003 * config.make.in (build-hardcoded-path-in-tests): New variable.
5004 * configure.in (--enable-hardcoded-path-in-tests): New configure
5006 (hardcoded_path_in_tests): New AC_SUBST.
5007 * configure: Regenerated.
5008 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
5009 $(built-program-cmd) with $(test-program-cmd).
5010 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
5011 (test_program_cmd): This.
5012 * elf/Makefile ($(objpfx)order.out): Run test with
5013 $(test-program-prefix).
5014 ($(objpfx)order2.out): Likewise.
5015 ($(objpfx)tst-initorder.out): Likewise.
5016 ($(objpfx)tst-initorder2.out): Likewise.
5017 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
5018 $(test-program-cmd).
5019 ($(objpfx)tst-array1-static.out): Likewise.
5020 ($(objpfx)tst-array2.out): Likewise.
5021 ($(objpfx)tst-array3.out): Likewise.
5022 ($(objpfx)tst-array4.out): Likewise.
5023 ($(objpfx)tst-array5.out): Likewise.
5024 ($(objpfx)tst-array5-static.out): Likewise.
5025 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
5026 $(test-program-cmd).
5027 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
5028 $(run-program-prefix) with $(test-program-prefix).
5029 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
5030 (test_program_prefix): This.
5031 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
5032 $(run-program-prefix) with $(test-program-prefix).
5033 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
5034 (test_program_prefix): This.
5035 * iconvdata/tst-tables.sh: Likewise.
5036 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5037 $(run-program-prefix) with $(test-program-prefix).
5038 ($(objpfx)tst-translit.out): Likewise.
5039 ($(objpfx)tst-gettext2.out): Likewise.
5040 ($(objpfx)tst-gettext4.out): Likewise.
5041 ($(objpfx)tst-gettext6.out): Likewise.
5042 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5043 (test_program_prefix): This.
5044 * intl/tst-gettext2.sh: Likewise.
5045 * intl/tst-gettext4.sh Likewise.
5046 * intl/tst-gettext6.sh: Likewise.
5047 * intl/tst-translit.sh: Likewise.
5048 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5049 with $(test-program-cmd).
5050 * libio/Makefile ($(objpfx)test-freopen.out): Replace
5051 $(run-program-prefix) with $(test-program-prefix).
5052 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5053 (test_program_prefix): This.
5054 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5055 $(run-program-prefix) with $(test-program-prefix).
5056 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5057 (test_program_prefix): This.
5058 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5059 * posix/Makefile ($(objpfx)globtest.out): Replace
5060 $(run-via-rtld-prefix) and $(test-wrapper) with
5061 $(test-program-prefix) and $(test-via-rtld-prefix).
5062 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5063 $(test-program-prefix).
5064 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5065 $(host-test-program-cmd).
5066 (tst-spawn-ARGS): Likewise.
5067 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5068 $(test-program-prefix).
5069 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5070 (test_via_rtld_prefix): This.
5071 (test_wrapper): Renamed to ...
5072 (test_program_prefix): This.
5073 (run_program_prefix): Replaced by test_program_prefix.
5074 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5075 (test_program_prefix): This.
5076 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5077 with $(host-test-program-cmd).
5078 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5079 $(run-program-prefix) with $(test-program-prefix).
5080 ($(objpfx)tst-printf.out): Likewise.
5081 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5082 $(test-program-cmd).
5083 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5084 (test_program_prefix): This.
5085 * stdio-common/tst-unbputc.sh: Likewise.
5086 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5087 $(run-program-prefix) with $(test-program-prefix).
5088 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5089 (test_program_prefix): This.
5090 * string/Makefile ($(objpfx)tst-svc.out): Replace
5091 $(built-program-cmd) with $(test-program-cmd).
5093 2013-01-11 Andreas Jaeger <aj@suse.de>
5096 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5097 value. Sync with Linux 3.7.
5099 2013-01-10 David S. Miller <davem@davemloft.net>
5101 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5102 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5103 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5105 2013-01-10 Roland McGrath <roland@hack.frob.com>
5107 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5109 * configure: Regenerated.
5111 2013-01-10 David S. Miller <davem@davemloft.net>
5113 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5114 sparc V9 rather than using V8 code.
5115 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5116 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5118 2013-01-10 Roland McGrath <roland@hack.frob.com>
5120 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5121 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5122 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5123 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5124 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5125 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5126 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5127 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5128 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5129 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5130 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5131 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5132 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5133 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5134 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5135 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5136 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5137 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5138 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5139 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5140 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5141 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5142 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5143 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5144 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5145 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5146 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5148 2013-01-10 David S. Miller <davem@davemloft.net>
5150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5152 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5154 * posix/Makefile (tests-static): New variable.
5155 (tests): Add $(tests-static).
5156 (tst-exec-static-ARGS): New variable.
5157 (tst-spawn-static-ARGS): Likewise.
5158 * posix/tst-exec-static.c: New file.
5159 * posix/tst-spawn-static.c: Likewise.
5160 * posix/tst-exec.c: Support run directly.
5161 * posix/tst-spawn.c: Likewise.
5163 2013-01-10 Joseph Myers <joseph@codesourcery.com>
5165 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5167 * math/bits/mathcalls.h (llrint): Likewise.
5168 (llround): Likewise.
5169 * stdlib/stdlib.h (struct drand48_data): Likewise.
5170 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5171 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5172 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5174 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5176 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5177 (elf_greg_t): Likewise.
5178 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5179 (__jmp_buf): Likewise.
5180 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5182 (llrint): Likewise, for all definitions.
5183 (llrintl): Likewise.
5185 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5186 Remove [__GNUC__] condition.
5187 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5188 condition to just [__USE_ISOC99].
5189 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5191 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5194 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5195 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5197 (_POSIX_V6_ILP32_OFF32): Likewise.
5198 (_XBS5_ILP32_OFF32): Likewise.
5199 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5200 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5202 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5204 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5207 doubles __mpexp_twomm1. Adjust usage.
5208 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5211 2013-01-10 Andreas Schwab <schwab@suse.de>
5214 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5215 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5217 2013-01-09 David S. Miller <davem@davemloft.net>
5220 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5221 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5222 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5223 TCP_FASTOPEN): Define.
5224 (tcp_repair_opt): New structure.
5225 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5227 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5228 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5229 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5230 (tcp_cookie_transactions): New structure.
5232 2013-01-09 Anton Blanchard <anton@samba.org>
5234 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5235 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5236 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5237 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5239 2013-01-09 Joseph Myers <joseph@codesourcery.com>
5241 * include/features.h (__USE_ANSI): Remove.
5243 2013-01-09 Roland McGrath <roland@hack.frob.com>
5245 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5247 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5249 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5251 * sysdeps/s390/fpu/libm-test-ulps: Update.
5253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5255 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5260 (__mp_dbl): Likewise.
5261 (__dbl_mp): Likewise.
5262 (add_magnitudes): Likewise.
5263 (sub_magnitudes): Likewise.
5269 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5274 (__mp_dbl): Likewise.
5275 (__dbl_mp): Likewise.
5276 (add_magnitudes): Likewise.
5277 (sub_magnitudes): Likewise.
5283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5288 (__mp_dbl): Likewise.
5289 (__dbl_mp): Likewise.
5290 (add_magnitudes): Likewise.
5291 (sub_magnitudes): Likewise.
5298 2013-01-08 Joseph Myers <joseph@codesourcery.com>
5300 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5301 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5302 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5303 2 && __USE_EXTERN_INLINES]: Likewise.
5305 2013-01-08 Andreas Jaeger <aj@suse.de>
5308 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5310 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5311 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5313 2013-01-07 Anton Blanchard <anton@samba.org>
5315 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5316 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5317 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5318 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5319 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5320 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5321 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5322 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5323 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5324 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5325 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5326 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5327 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5328 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5329 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5330 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5331 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5332 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5333 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5334 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5335 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5336 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5337 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5338 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5339 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5340 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5341 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5342 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5343 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5344 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5345 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5347 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5348 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5349 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5350 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5351 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5352 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5353 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5354 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5355 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5356 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5357 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5359 2013-01-07 Joseph Myers <joseph@codesourcery.com>
5361 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5362 (__MALLOC_PMT): Likewise.
5363 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5364 [__GNUC__], only on [_LIBC].
5365 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5366 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5367 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5368 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5369 forward declaration.
5370 (realloc_hook_ini): Likewise.
5371 (memalign_hook_ini): Likewise.
5372 (__libc_memalign): Do not use __MALLOC_PMT in variable
5374 (__libc_valloc): Likewise.
5375 (__libc_pvalloc): Likewise.
5376 (__libc_calloc): Likewise.
5377 (__posix_memalign): Likewise.
5380 * math/s_casinh.c: Include <float.h>.
5381 (__casinh): Do not do computation with squaring and square root
5382 for large arguments.
5383 * math/s_casinhf.c: Include <float.h>.
5384 (__casinhf): Do not do computation with squaring and square root
5385 for large arguments.
5386 * math/s_casinhl.c: Include <float.h>.
5387 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5388 (__casinhl): Do not do computation with squaring and square root
5389 for large arguments.
5390 * math/libm-test.inc (casin_test): Add more tests.
5391 (casinh_test): Likewise.
5392 * sysdeps/i386/fpu/libm-test-ulps: Update.
5393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5395 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5397 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5398 (__x86_64_raw_data_cache_size): Likewise.
5399 (__x86_64_data_cache_size_half): Likewise.
5400 (__x86_64_raw_data_cache_size_half): Likewise.
5401 (__x86_64_shared_cache_size): Likewise.
5402 (__x86_64_raw_shared_cache_size): Likewise.
5403 (__x86_64_shared_cache_size_half): Likewise.
5404 (__x86_64_raw_shared_cache_size_half): Likewise.
5405 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5407 (__x86_data_cache_size): This.
5408 (__x86_64_raw_data_cache_size): Renamed to ...
5409 (__x86_raw_data_cache_size): This.
5410 (__x86_64_data_cache_size_half): Renamed to ...
5411 (__x86_data_cache_size_half): This.
5412 (__x86_64_raw_data_cache_size_half): Renamed to ...
5413 (__x86_raw_data_cache_size_half): This.
5414 (__x86_64_shared_cache_size): Renamed to ...
5415 (__x86_shared_cache_size): This.
5416 (__x86_64_raw_shared_cache_size): Renamed to ...
5417 (__x86_raw_shared_cache_size): This.
5418 (__x86_64_shared_cache_size_half): Renamed to ...
5419 (__x86_shared_cache_size_half): This.
5420 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5421 (__x86_raw_shared_cache_size_half): This.
5422 * sysdeps/x86_64/memcpy.S: Updated.
5423 * sysdeps/x86_64/memset.S: Likewise.
5424 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5425 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5426 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5428 2013-01-04 David S. Miller <davem@davemloft.net>
5430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5432 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5434 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5435 1 to avoid redefinition warning.
5436 (__USE_GNU): Don't define.
5437 (init_signaling_nan): Protoize.
5439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5441 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5443 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5445 (__cpymn): Likewise.
5446 (norm): Remove commented code.
5448 (__mp_dbl): Likewise.
5450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5451 (__cpymn): Likewise.
5452 (norm): Remove commented code.
5454 (__mp_dbl): Likewise.
5457 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5458 mp_no value for 1.0 and 2.0.
5459 (norm): Use RADIXI instead of radixi.d.
5461 (__mul): Use 0.0 instead of zero.d.
5462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5463 mp_no value for 1.0 and 2.0.
5464 (norm): Use RADIXI instead of radixi.d.
5466 (__mul): Use 0.0 instead of zero.d.
5468 2013-01-04 Joseph Myers <joseph@codesourcery.com>
5471 * math/s_casinh.c (__casinh): Reduce finite argument to first
5472 quadrant then set signs of results at the end.
5473 * math/s_casinhf.c (__casinhf): Likewise.
5474 * math/s_casinhl.c (__casinhl): Likewise.
5475 * math/libm-test.inc (casin_test): Add more tests.
5476 (casinh_test): Likewise.
5477 * sysdeps/i386/fpu/libm-test-ulps: Update.
5478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5480 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5482 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5484 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5486 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5489 (__mp_dbl): Likewise.
5492 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5493 and adjust the header comment.
5495 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5496 variable name from declaration.
5498 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5500 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5501 Initialize COMMON_CPUID_INDEX_7 element.
5502 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5503 (CPUID_RTM): Likewise.
5504 (HAS_RTM): Likewise.
5505 (COMMON_CPUID_INDEX_7): New enum.
5507 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5510 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5511 size is zero, record memory as freed.
5513 2013-01-03 Andreas Jaeger <aj@suse.de>
5515 * po/ia.po: Add new Interlingua translation.
5517 2012-01-03 Allan McRae <allan@archlinux.org>
5519 * locale/programs/localedef.c: Fix description of '--posix' flag.
5521 2013-01-02 Joseph Myers <joseph@codesourcery.com>
5523 * NEWS: Update dates in second copyright notice.
5524 * README: Update copyright dates in example.
5525 * manual/libc.texinfo: Update copyright dates.
5526 * scripts/test-installation.pl: Update copyright date in --version
5529 * hurd/ctty-input.c: Fix copyright notice formatting.
5530 * hurd/ctty-output.c: Likewise.
5531 * hurd/dtable.c: Likewise.
5532 * hurd/hurd-raise.c: Likewise.
5533 * hurd/hurdprio.c: Likewise.
5534 * hurd/msgportdemux.c: Likewise.
5535 * misc/sys/file.h: Likewise.
5536 * misc/sys/ioctl.h: Likewise.
5537 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5538 * sysdeps/mach/hurd/chdir.c: Likewise.
5539 * sysdeps/mach/hurd/fchdir.c: Likewise.
5540 * sysdeps/mach/hurd/rename.c: Likewise.
5541 * sysdeps/mach/hurd/rmdir.c: Likewise.
5542 * sysdeps/mach/hurd/seekdir.c: Likewise.
5543 * sysdeps/mach/hurd/setsid.c: Likewise.
5544 * sysdeps/posix/wait3.c: Likewise.
5546 * All files with FSF copyright notices: Update copyright dates
5547 using scripts/update-copyrights.
5548 * intl/plural.c: Regenerated.
5549 * locale/programs/charmap-kw.h: Likewise.
5550 * locale/programs/locfile-kw.h: Likewise.
5552 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5554 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5557 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5558 calculation loop and add branch prediction.
5560 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5561 check access beyond bounds of m1np.
5563 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5565 (__inv): Remove local variable MPTWO to use the global
5567 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5568 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5570 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5571 MP3HALFS static const.
5573 2013-01-01 David S. Miller <davem@davemloft.net>
5575 * po/ca.po: Update from translation team.
5577 2013-01-01 Joseph Myers <joseph@codesourcery.com>
5579 * scripts/update-copyrights: New file.
5580 * Makeconfig: Reformat copyright notice.
5581 * ctype/ctype.h: Likewise.
5582 * debug/swprintf_chk.c: Likewise.
5583 * elf/dl-cache.c: Likewise.
5584 * elf/dl-debug.c: Likewise.
5585 * elf/dl-object.c: Likewise.
5586 * grp/initgroups.c: Likewise.
5587 * hurd/Makefile: Likewise.
5588 * hurd/hurd/signal.h: Likewise.
5589 * hurd/hurdfault.c: Likewise.
5590 * hurd/hurdioctl.c: Likewise.
5591 * hurd/hurdlookup.c: Likewise.
5592 * hurd/intr-msg.c: Likewise.
5593 * iconv/gconv_open.c: Likewise.
5594 * libio/swprintf.c: Likewise.
5595 * locale/lc-ctype.c: Likewise.
5596 * locale/nl_langinfo.c: Likewise.
5597 * mach/Machrules: Likewise.
5598 * mach/Makefile: Likewise.
5599 * malloc/obstack.h: Likewise.
5600 * manual/Makefile: Likewise.
5601 * manual/tsort.awk: Likewise.
5602 * misc/bits/stab.def: Likewise.
5603 * nis/nis_print_group_entry.c: Likewise.
5604 * nis/nis_table.c: Likewise.
5605 * nis/nss_compat/compat-pwd.c: Likewise.
5606 * nis/nss_compat/compat-spwd.c: Likewise.
5607 * po/Makefile: Likewise.
5608 * posix/fnmatch.c: Likewise.
5609 * posix/regex.h: Likewise.
5610 * resolv/Makefile: Likewise.
5611 * resolv/nss_dns/dns-network.c: Likewise.
5612 * resolv/res_hconf.c: Likewise.
5613 * scripts/gen-sorted.awk: Likewise.
5614 * soft-fp/soft-fp.h: Likewise.
5615 * stdio-common/printf.h: Likewise.
5616 * stdlib/monetary.h: Likewise.
5617 * stdlib/random.c: Likewise.
5618 * stdlib/random_r.c: Likewise.
5619 * sysdeps/generic/Makefile: Likewise.
5620 * sysdeps/gnu/Makefile: Likewise.
5621 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5622 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5623 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5624 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5625 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5626 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5627 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5628 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5629 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5630 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5631 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5632 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5633 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5634 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5635 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5636 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5637 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5638 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5639 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5640 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5641 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5642 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5643 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5644 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5645 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5646 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5647 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5648 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5649 * sysdeps/mach/hurd/errnos.awk: Likewise.
5650 * sysdeps/mach/hurd/fork.c: Likewise.
5651 * sysdeps/mach/hurd/getcwd.c: Likewise.
5652 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5653 * sysdeps/mach/hurd/mmap.c: Likewise.
5654 * sysdeps/mach/hurd/utimes.c: Likewise.
5655 * sysdeps/mach/hurd/xmknod.c: Likewise.
5656 * sysdeps/posix/profil.c: Likewise.
5657 * sysdeps/posix/readdir_r.c: Likewise.
5658 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5659 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5660 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5661 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5662 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5663 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5664 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5665 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5666 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5667 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5668 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5669 * sysdeps/pthread/lio_listio.c: Likewise.
5670 * sysdeps/sparc/dl-procinfo.h: Likewise.
5671 * sysdeps/unix/i386/sysdep.S: Likewise.
5672 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5673 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5674 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5675 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5677 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5678 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5679 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5680 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5681 * sysdeps/wordsize-32/divdi3.c: Likewise.
5682 * time/sys/time.h: Likewise.
5683 * wcsmbs/Makefile: Likewise.
5685 2013-01-01 David S. Miller <davem@davemloft.net>
5687 * po/fr.po: Update from translation team.
5689 * catgets/gencat.c: Update copyright year.
5690 * csu/version.c: Likewise.
5691 * debug/catchsegv.sh: Likewise.
5692 * debug/pcprofiledump.c: Likewise.
5693 * debug/xtrace.sh: Likewise.
5694 * elf/ldconfig.c: Likewise.
5695 * elf/ldd.bash.in: Likewise.
5696 * elf/pldd.c: Likewise.
5697 * elf/sotruss.ksh: Likewise.
5698 * elf/sprof.c: Likewise.
5699 * iconv/iconv_prog.c: Likewise.
5700 * iconv/iconvconfig.c: Likewise.
5701 * locale/programs/locale.c: Likewise.
5702 * locale/programs/localedef.c: Likewise.
5703 * login/programs/pt_chown.c: Likewise.
5704 * malloc/memusage.sh: Likewise.
5705 * malloc/memusagestat.c: Likewise.
5706 * malloc/mtrace.pl: Likewise.
5707 * nscd/nscd.c: Likewise.
5708 * nss/getent.c: Likewise.
5709 * nss/makedb.c: Likewise.
5710 * posix/getconf.c: Likewise.
5712 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5714 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5717 2012-12-30 Mike Frysinger <vapier@gentoo.org>
5719 * math/bits/mathcalls.h (modf): Use __nonnull.
5721 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5723 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5724 (split): Use macro CN instead of the bare value.
5725 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5727 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5728 instead of the bare value.
5731 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5733 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5735 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5737 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5739 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5740 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5741 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5742 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5744 2012-12-28 Andreas Jaeger <aj@suse.de>
5746 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5747 values are from Linux 3.7.
5749 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5750 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5752 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5754 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
5757 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5759 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5760 variables with preprocessor constants.
5761 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5762 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5763 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5765 2012-12-27 Bruno Haible <bruno@clisp.org>
5768 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5771 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5773 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5774 and use variable directly.
5775 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5777 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5779 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5780 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5782 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5783 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5784 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5785 include directive. Remove local variable MPONE.
5786 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5787 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5788 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5790 2012-12-25 David S. Miller <davem@davemloft.net>
5792 * version.h (RELEASE): Set to "development".
5793 (VERSION): Set to "2.17.90".
5794 * NEWS: Add 2.18 section.
5796 2012-12-21 David S. Miller <davem@davemloft.net>
5798 * po/hr.po: Update from translation team.
5800 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5802 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5804 2012-12-19 Steve Ellcey <sellcey@mips.com>
5806 * NEWS: Mention new memcpy for MIPS.
5808 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5810 * manual/contrib.texi (Contributors): Spelling correction.
5812 2012-12-15 David S. Miller <davem@davemloft.net>
5814 * po/ru.po: Update from translation team.
5816 2012-12-13 David S. Miller <davem@davemloft.net>
5818 * NEWS: Mention IFUNC testsuite enhancements.
5820 * po/pl.po: Update from translation team.
5821 * po/bg.po: Likewise.
5823 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5824 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5826 2012-12-11 David S. Miller <davem@davemloft.net>
5828 * po/sv.po: Update from translation team.
5830 * po/vi.po: Update from translation team.
5832 * po/cs.po: Update from translation team.
5834 * po/de.po: Update from translation team.
5835 * po/eo.po: Likewise.
5836 * po/nl.po: Likewise.
5838 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5841 * manual/argp.texi (Argp Helper Functions): Move node to follow
5845 * manual/conf.texi (Limits on File System Capacity): Mention if
5846 terminating null is included in the max size.
5848 2012-12-10 Andreas Jaeger <aj@suse.de>
5850 * po/cs.po: Update from translation team.
5852 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5854 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5855 void pointer and cast to uintptr_t.
5856 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5858 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5859 * sysdeps/s390/s390-64/memset.S: Likewise.
5861 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
5864 * menual/message.texi (Message Translation): Fix typos.
5865 (Helper programs for gettext): Likewise.
5867 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5870 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5873 2012-12-07 David S. Miller <davem@davemloft.net>
5875 * po/libc.pot: Update.
5877 2012-12-07 Richard Henderson <rth@redhat.com>
5880 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5881 normal/normal case to before the switch.
5882 (_FP_DIV): Likewise.
5884 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5885 Mike Frysinger <vapier@gentoo.org>
5887 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5888 check for __NR_fadvise64_64.
5890 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5892 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5893 0, not just to plain "0" as a statement.
5894 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5897 2012-12-06 Joseph Myers <joseph@codesourcery.com>
5899 * NEWS: Use sourceware.org in Bugzilla URL.
5901 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5904 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5906 * stdio-common/tst-put-error.c (do_test): Add newline to the
5907 padded test to ensure flush.
5909 2012-12-05 Jeff Law <law@redhat.com>
5911 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5913 2012-12-05 Joseph Myers <joseph@codesourcery.com>
5915 * README: Don't refer to ports add-on as distributed separately.
5916 Mention AArch64 in list of systems supported in the ports add-on.
5918 * LICENSES: Add more non-FSF copyright and license notices.
5920 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5923 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5925 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5926 10000 as width of padded output.
5928 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5930 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5932 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5933 variable LX with __attribute__ ((unused)).
5934 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5936 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5937 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5938 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5939 with __attribute__ ((unused)).
5941 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
5943 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5945 2012-12-04 Joseph Myers <joseph@codesourcery.com>
5947 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5948 (CFLAGS-nldbl-acos.c): New variable.
5949 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5950 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5951 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5952 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5953 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5954 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5955 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5956 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5957 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5958 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5959 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5960 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5961 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5962 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5963 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5964 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5965 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5966 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5967 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5968 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5969 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5970 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5971 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5972 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5973 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5974 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5975 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5976 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5977 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5978 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5979 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5980 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5981 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5982 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5983 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5984 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5985 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5986 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5987 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5988 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5989 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5990 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5991 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5992 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5993 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5994 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5995 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5996 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5997 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5998 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5999 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
6000 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
6001 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
6002 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
6003 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
6004 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
6005 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
6006 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
6007 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
6008 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
6009 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
6010 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
6011 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
6012 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
6013 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
6014 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
6015 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
6016 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
6017 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
6018 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
6019 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
6020 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
6021 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
6022 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
6023 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
6024 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
6025 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
6026 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
6027 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
6028 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
6029 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
6030 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
6031 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
6032 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
6033 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
6034 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
6035 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
6036 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6037 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6038 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6039 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6040 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6041 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6042 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6043 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6044 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6045 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6048 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6051 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6052 whole low double instead of just low 47 bits when splitting values
6055 2012-12-03 Allan McRae <allan@archlinux.org>
6057 * manual/stdio.texi (Predefined Printf Handlers): Remove
6058 @hsep and @vsep usage.
6060 2012-12-03 Mike Frysinger <vapier@gentoo.org>
6062 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6063 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6065 2012-12-03 Jeff Law <law@redhat.com>
6067 * time/sys/time.h (settimeofday): Do not mark TV argument
6070 2012-12-01 Mike Frysinger <vapier@gentoo.org>
6072 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6073 when currently writing and seek to current position when not.
6074 * libio/Makefile (tests): Remove bug-fclose1.
6075 * libio/bug-fclose1.c: Delete.
6077 2012-12-01 Joseph Myers <joseph@codesourcery.com>
6079 * manual/arith.texi (feenableexcept): Fix typo.
6080 (fedisableexcept): Likewise.
6082 2012-11-30 Roland McGrath <roland@hack.frob.com>
6084 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6085 second, differently-typed declaration, rather than a cast.
6087 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6089 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6090 * include/rpc/svc.h: ... here.
6092 2012-11-30 Aurelien Jarno <aurel32@debian.org>
6095 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6096 depending n and resplen2 to catch cases where answer
6099 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6101 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6102 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6104 2012-11-29 Mike Frysinger <vapier@gentoo.org>
6106 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6108 2012-11-29 Roland McGrath <roland@hack.frob.com>
6110 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6112 2012-11-28 Jeff Law <law@redhat.com>
6115 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6116 dataset_temporary. Track alloca usage into alloca_used.
6117 If dataset is large allocate and release it via malloc/free.
6119 2012-06-04 Florian Weimer <fweimer@redhat.com>
6122 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6124 2012-11-28 David S. Miller <davem@davemloft.net>
6126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6128 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6131 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6132 of pi/2 rounded to nearest to 64 bits.
6133 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6135 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6138 2012-11-28 Jeff Law <law@redhat.com>
6139 Martin Osvald <mosvald@redhat.com>
6142 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6143 * sunrpc/svc.c: Include time.h.
6144 (__svc_accept_failed): New function.
6145 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6146 any reason other than EINTR, call __svc_accept_failed.
6147 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6148 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6150 2012-11-28 Andreas Schwab <schwab@suse.de>
6152 * scripts/abilist.awk: Also handle indirect functions in .opd
6155 2012-11-28 Joseph Myers <joseph@codesourcery.com>
6158 * sysdeps/x86/fpu/powl_helper.c: New file.
6159 * sysdeps/x86/fpu/Makefile: Likewise.
6160 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6162 (__ieee754_powl): Use __powl_helper for finite arguments except
6163 integer exponents below 8.
6164 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6166 (__ieee754_powl): Use __powl_helper for finite arguments except
6167 integer exponents below 8.
6168 * math/libm-test.inc (pow_test): Add more tests and enable some
6169 previously disabled tests.
6170 * sysdeps/i386/fpu/libm-test-ulps: Update.
6171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6173 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6174 Carlos O'Donell <carlos_odonell@mentor.com>
6176 * nss/makedb.c (is_prime): Assert that input is odd and greater
6177 than 4. Note that fact in a comment too.
6178 (next_prime): Add 4 to input.
6180 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6183 * libio/Makefile (tests): Add test case tst-fwrite-error.
6184 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6185 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6186 * libio/tst-fwrite-error.c: New test case.
6188 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6190 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6191 before casting to void *.
6192 * include/libc-internal.h (__pointer_type): New macro.
6193 (__integer_if_pointer_type_sub): Likewise.
6194 (__integer_if_pointer_type): Likewise.
6195 (cast_to_integer): Likewise.
6196 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6197 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6198 before casting to atomic64_t.
6199 (atomic_exchange_acq): Likewise.
6200 (__arch_exchange_and_add_body): Likewise.
6201 (__arch_add_body): Likewise.
6202 (atomic_add_negative): Likewise.
6203 (atomic_add_zero): Likewise.
6205 2012-11-26 Joseph Myers <joseph@codesourcery.com>
6207 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6208 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6209 (add_fdes): Likewise.
6210 (linear_search_fdes): Likewise.
6211 (binary_search_unencoded_fdes): Likewise.
6213 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
6215 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6217 2012-11-24 Adam Conrad <adconrad@0c3.net>
6219 * configure.in: Autodetect C++ header directories.
6220 * configure: Regenerated.
6222 2012-11-23 Mike Frysinger <vapier@gentoo.org>
6224 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6226 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
6228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6230 2012-11-22 Joseph Myers <joseph@codesourcery.com>
6232 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6233 LDBL_MANT_DIG == 106]: Disable some tests.
6234 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6236 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6240 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6241 input for small inputs. Return +/- pi/2 for large inputs.
6242 * math/libm-test.inc (atan_test): Add more tests.
6244 * sysdeps/generic/unwind-dw2-fde-glibc.c
6245 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6246 __attribute__ ((unused)).
6249 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6250 x * y if x and y are nonzero and z is zero.
6253 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6254 nonzero exponents with absolute value below 0x1p-117 to +/-
6258 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6259 up arguments below 2**-450, not just those below 2**-500.
6260 * math/libm-test.inc (hypot_test): Add another test.
6263 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6264 Return a+b for ratio over 2**120, not 2**60.
6265 * math/libm-test.inc (hypot_test): Add another test.
6267 * math/libm-test.inc (clog_test): Use
6268 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6269 (clog10_test): Likewise.
6272 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6274 2012-11-22 Andreas Schwab <schwab@suse.de>
6276 * sysdeps/i386/fpu/libm-test-ulps: Update.
6278 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6280 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6281 printf output with newline.
6283 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6286 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6287 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6288 -z nodlopen, -z initfirst and -z execstack support.
6289 * configure: Regenerated.
6291 * elf/elf.h (DF_1_NODIRECT): New macro.
6292 (DF_1_IGNMULDEF): Likewise.
6293 (DF_1_NOKSYMS): Likewise.
6294 (DF_1_NOHDR): Likewise.
6295 (DF_1_EDITED): Likewise.
6296 (DF_1_NORELOC): Likewise.
6297 (DF_1_SYMINTPOSE): Likewise.
6298 (DF_1_GLOBAUDIT): Likewise.
6299 (DF_1_SINGLETON): Likewise.
6300 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6301 DT_1_SUPPORTED_MASK bits.
6302 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6304 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6306 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6308 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6310 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6313 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6314 (sendmmsg): Move declarations...
6315 * socket/sys/socket.h: ... here.
6316 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6317 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6319 * socket/recvmmsg.c: ... this new file.
6320 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6321 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6322 definition of __sendmmsg hidden.
6323 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6324 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6325 Move ENOSYS stub into and include it from...
6326 * socket/sendmmsg.c: ... this new file.
6327 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6328 (sysdep_routines): Move recvmmsg and sendmmsg...
6329 * socket/Makefile (routines): ... here.
6330 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6331 (GLIBC_PRIVATE): Add __sendmmsg.
6332 * include/sys/socket.h (__sendmmsg): Add declarations.
6333 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6336 2012-11-20 Joseph Myers <joseph@codesourcery.com>
6338 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6339 variable I1 with __attribute__ ((unused)).
6340 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6342 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6344 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6345 DUMMY variables with __attribute__ ((unused)).
6347 * bits/byteswap.h: Include <bits/types.h>.
6348 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6350 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6352 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6353 string_t. Do not manually set errno.
6354 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6355 length with __strnlen. Make sure to both set errno and return it on
6358 2012-11-19 David S. Miller <davem@davemloft.net>
6360 With help from Joseph Myers.
6361 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6362 very large arguments properly.
6363 * math/libm-test.inc (atan_test): New tests.
6364 (atan2_test): New tests.
6365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6366 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6368 2012-11-19 Joseph Myers <joseph@codesourcery.com>
6371 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6374 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6375 [POSIX] (EADDRNOTAVAIL): Likewise.
6376 [POSIX] (EAFNOSUPPORT): Likewise.
6377 [POSIX] (EALREADY): Likewise.
6378 [POSIX] (ECONNABORTED): Likewise.
6379 [POSIX] (ECONNREFUSED): Likewise.
6380 [POSIX] (ECONNRESET): Likewise.
6381 [POSIX] (EDESTADDRREQ): Likewise.
6382 [POSIX] (EDQUOT): Likewise.
6383 [POSIX] (EHOSTUNREACH): Likewise.
6384 [POSIX] (EIDRM): Likewise.
6385 [POSIX] (EISCONN): Likewise.
6386 [POSIX] (ELOOP): Likewise.
6387 [POSIX] (EMULTIHOP): Likewise.
6388 [POSIX] (ENETDOWN): Likewise.
6389 [POSIX] (ENETUNREACH): Likewise.
6390 [POSIX] (ENOBUFS): Likewise.
6391 [POSIX] (ENODATA): Likewise.
6392 [POSIX] (ENOLINK): Likewise.
6393 [POSIX] (ENOMSG): Likewise.
6394 [POSIX] (ENOPROTOOPT): Likewise.
6395 [POSIX] (ENOSR): Likewise.
6396 [POSIX] (ENOSTR): Likewise.
6397 [POSIX] (ENOTCONN): Likewise.
6398 [POSIX] (ENOTSOCK): Likewise.
6399 [POSIX] (EOPNOTSUPP): Likewise.
6400 [POSIX] (EOVERFLOW): Likewise.
6401 [POSIX] (EPROTO): Likewise.
6402 [POSIX] (EPROTONOSUPPORT): Likewise.
6403 [POSIX] (EPROTOTYPE): Likewise.
6404 [POSIX] (ESTALE): Likewise.
6405 [POSIX] (ETIME): Likewise.
6406 [POSIX] (ETXTBSY): Likewise.
6407 [POSIX] (EWOULDBLOCK): Likewise.
6408 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6409 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6410 [POSIX] (SEEK_CUR): Likewise.
6411 [POSIX] (SEEK_END): Likewise.
6412 [POSIX || UNIX98] (mode_t): Do not require.
6413 [POSIX] (off_t): Likewise.
6414 [POSIX] (pid_t): Likewise.
6415 [POSIX] (sys/stat.h): Do not allow header.
6416 [POSIX] (unistd.h): Likewise.
6417 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6418 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6419 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6420 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6422 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6423 sigevent): Specify elements.
6424 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6426 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6427 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6429 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6430 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6431 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6432 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6433 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6434 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6435 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6436 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6437 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6438 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6439 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6440 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6441 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6442 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6444 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6446 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6448 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6450 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6451 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6452 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6453 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6454 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6455 Specify lower bound on value.
6456 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6457 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6458 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6459 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6460 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6461 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6462 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6463 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6465 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6467 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6468 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6469 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6470 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6471 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6472 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6473 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6474 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6475 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6476 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6477 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6478 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6479 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6480 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6481 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6482 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6484 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6486 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6487 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6488 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6489 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6490 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6491 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6493 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6494 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6495 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6496 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6497 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6498 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6499 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6501 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6502 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6503 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6504 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6505 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6506 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6507 specify as optional.
6508 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6509 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6510 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6511 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6512 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6513 [XPG3] (NL_LANGMAX): Likewise.
6514 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6515 [POSIX || XPG3] (NL_NMAX): Likewise.
6516 [POSIX || XPG3] (NL_SETMAX): Likewise.
6517 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6518 [XPG3] (NZERO): Likewise.
6519 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6520 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6521 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6522 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6523 (REG_ERANGE): Expect.
6524 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6526 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6527 Use (void) in prototype.
6528 [POSIX] (*_t): Allow.
6529 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6530 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6531 (WRDE_BADVAL): Expect.
6533 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6535 [XPG3 || XPG4] (O_RSYNC): Likewise.
6536 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6538 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6539 [XPG3 || XPG4] (sigqueue): Likewise.
6540 [XPG3 || XPG4] (sigtimedwait): Likewise.
6541 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6542 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6543 [XPG3 || XPG4] (vsnprintf): Likewise.
6544 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6546 [XPG3 || XPG4] (blksize_t): Likewise.
6547 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6549 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6550 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6551 [XPG3 || XPG4] (struct itimerspec): Likewise.
6552 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6553 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6554 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6555 [XPG3 || XPG4] (clockid_t): Likewise.
6556 [XPG3 || XPG4] (timer_t): Likewise.
6557 [XPG3 || XPG4] (clock_getres): Likewise.
6558 [XPG3 || XPG4] (clock_gettime): Likewise.
6559 [XPG3 || XPG4] (clock_settime): Likewise.
6560 [XPG3 || XPG4] (nanosleep): Likewise.
6561 [XPG3 || XPG4] (timer_create): Likewise.
6562 [XPG3 || XPG4] (timer_delete): Likewise.
6563 [XPG3 || XPG4] (timer_gettime): Likewise.
6564 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6565 [XPG3 || XPG4] (timer_settime): Likewise.
6566 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6567 [XPG3 || XPG4] (getlogin_r): Likewise.
6568 [XPG3 || XPG4] (pread): Likewise.
6569 [XPG3 || XPG4] (pthread_atfork): Likewise.
6570 [XPG3 || XPG4] (pwrite): Likewise.
6573 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6576 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6578 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6579 finalizing MALLSTREAM.
6581 * sysdeps/mach/hurd/syncfs.c: New file.
6583 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6586 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6587 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6588 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6589 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6590 (_nss_dns_gethostbyname4_r): Likewise.
6591 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6592 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6594 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6597 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6599 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6601 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6602 * elf/cache.c (print_entry): Print ",AArch64" for
6605 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6606 * elf/cache.c (print_entry): Print ",hard-float" for
6609 2012-11-18 David S. Miller <davem@davemloft.net>
6611 With help from Joseph Myers.
6612 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6614 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6616 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6617 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6619 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6620 * math/libm-test.inc (y0_test): New tests.
6621 (y1_test): New tests.
6622 * sysdeps/i386/fpu/libm-test-ulps: Update.
6623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6626 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6628 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6630 * configure: Regenerated.
6632 2012-11-17 David S. Miller <davem@davemloft.net>
6635 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6636 nonzero exponents with absolute value below 0x1p-128 to +/-
6639 2012-11-17 Joseph Myers <joseph@codesourcery.com>
6641 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6643 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6645 * posix/getconf-speclist.c: New file.
6646 * posix/posix-envs.def: Likewise.
6647 * posix/confstr.c (START_ENV_GROUP): New macro.
6648 (END_ENV_GROUP): Likewise.
6649 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6650 (KNOWN_PRESENT_ENV_STRING): Likewise.
6651 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6652 (UNKNOWN_ENVIRONMENT): Likewise.
6653 (confstr): Include posix-envs.def instead of handling
6654 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6655 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6656 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6657 (END_ENV_GROUP): Likewise.
6658 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6659 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6660 (UNKNOWN_ENVIRONMENT): Likewise.
6661 (__sysconf): Include posix-envs.def instead of handling associated
6662 cases directly here.
6663 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6664 preprocessing getconf-speclist.c rather than running getconf or
6665 generating empty file.
6667 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6669 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6671 2012-11-16 Andrej Lajovic <natrij@gmail.com>
6674 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6676 2012-11-16 David S. Miller <davem@davemloft.net>
6678 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6679 smaller than LDBL_EPSILON/2.0L, just return xm1.
6681 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6683 * elf/tst-array1.c (init): Set constructor priority to 1000.
6684 (fini): Set destructor priority to 1000.
6685 * elf/tst-array2dep.c: Likewise.
6687 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6690 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6691 (_IO_new_file_xsputn): Also return EOF if none of the input
6692 data was written when overflow failed.
6693 * libio/iopadn.c (_IO_padn): Likewise.
6694 * libio/iowpadn.c (_IO_wpadn): Likewise.
6695 * stdio-common/tst-put-error.c: Add copyright notice.
6696 (do_test): Add case for printing padded string.
6697 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6698 _IO_padn returned error.
6699 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6700 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6703 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6705 * libio/libioP.h: Add comment note that the references to C++
6706 bits are now obsolete.
6708 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6710 * math/libm-test.inc (check_complex): Use asprintf.
6712 2012-11-14 Joseph Myers <joseph@codesourcery.com>
6714 * debug/pcprofiledump.c (print_version): Update copyright year.
6715 * malloc/memusagestat.c (print_version): Likewise.
6717 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6720 * elf/Makefile (tests): Add tst-audit8.
6721 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6722 ($(objpfx)tst-audit8.out): New target.
6723 (tst-audit8-ENV): New variable.
6724 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6725 audit if l_reloc_result is NULL.
6726 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6727 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6728 * elf/tst-audit8.c: New file.
6730 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6732 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6733 * misc/Makefile (CFLAGS-select.c): Define.
6734 * posix/Makefile (CFLAGS-pause.c): Define.
6736 2012-11-13 David S. Miller <davem@davemloft.net>
6738 * crypt/Makefile: Move test targets after toplevel Rules
6739 inclusion. Grab any necessary sysdep routines when linking.
6740 * crypt/md5.c (md5_process_block): Remove define, we will always
6741 name it __md5_process_block.
6742 (md5_finish_ctx): Update md5_process_block call.
6743 (md5_stream): Likewise.
6744 (md5_process_bytes): Likewise.
6745 (md5_process_block): Rename to __md5_process_block and move to ...
6746 * crypt/md5-block.c: ... here.
6747 * crypt/sha256.c (sha256_process_block): Move to ...
6748 * crypt/sha256-block.c: ... here.
6749 * crypt/sha512.c (sha512_process_block): Move to ...
6750 * crypt/sha512-block.c: ... here.
6751 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6753 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6754 * sysdeps/sparc/sparc64/multiarch/Makefile
6755 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6757 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6758 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6760 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6761 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6762 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6763 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6764 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6765 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6766 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6767 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6768 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6770 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6771 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6773 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6775 2012-11-13 Joseph Myers <joseph@codesourcery.com>
6777 * timezone/tzselect.ksh: Update from tzcode git revision
6778 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6779 * timezone/zdump.c: Likewise.
6780 * timezone/zic.c: Likewise.
6781 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6782 in TZVERSION setting, not $(PKGVERSION).
6783 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6784 REPORT_BUGS_TO settings.
6787 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6790 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6792 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6793 detection to immediately after _FP_ROUND().
6794 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6797 2012-11-11 David S. Miller <davem@davemloft.net>
6799 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6801 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6802 __close rather than their public counterparts.
6804 2012-11-10 Joseph Myers <joseph@codesourcery.com>
6806 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6808 [UNIX98] (sem_timedwait): Do not expect.
6809 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6810 [XPG4 || UNIX98] (sockatmark): Do not expect.
6811 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6812 (clock_getcpuclockid): Do not expect.
6813 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6814 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6816 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6817 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6818 [UNIX98] (vwscanf): Likewise.
6819 [UNIX98] (vswscanf): Likewise.
6821 2012-11-09 Joseph Myers <joseph@codesourcery.com>
6823 * timezone/version.h: Remove file.
6824 * timezone/README: Do not refer to version.h.
6825 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6827 ($(objpfx)zdump.o): Likewise.
6828 ($(objpfx)version.h): New target.
6830 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6832 * timezone/README: Don't mention modification to tzselect.ksh.
6833 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6834 work on unmodified tzselect.ksh. Substitute version numbers in
6837 * Makefile (format-me): Remove.
6838 (INSTALL): Adjust indentation. Use commands directly instead of
6841 * aclocal.m4 (ACX_PKGVERSION): New macro.
6842 (ACX_BUGURL): Likewise.
6843 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6844 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6845 (REPORT_BUGS_TO): Likewise.
6846 * configure: Regenerated.
6847 * config.h.in (PKGVERSION): New macro.
6848 (REPORT_BUGS_TO): Likewise.
6849 * config.make.in (PKGVERSION): New variable.
6850 (PKGVERSION_TEXI): Likewise.
6851 (REPORT_BUGS_TO): Likewise.
6852 (REPORT_BUGS_TEXI): Likewise.
6853 * Makefile (format-me): Use -I$(common-objpfx)manual.
6854 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6855 ($(common-objpfx)manual/%): New target.
6856 (manual/%): Remove target.
6857 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6858 (print_version): Use PKGVERSION.
6859 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6860 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6862 ($(objpfx)xtrace): Likewise.
6863 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6864 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6865 (print_version): Use PKGVERSION.
6866 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6867 (do_version): Use PKGVERSION.
6868 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6870 (common-ldd-rewrite): Likewise.
6871 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6872 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6873 (print_version): Use PKGVERSION.
6874 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6875 * elf/pldd.c (argp_program_bug_address): Remove variable.
6876 (more_help): New function.
6877 (argp): Use more_help.
6878 (print_version): Use PKGVERSION.
6879 * elf/sln.c (main): Use PKGVERSION.
6880 (usage): Use REPORT_BUGS_TO.
6881 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6882 (top level): Use PKGVERSION.
6883 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6884 (print_version): Use PKGVERSION.
6885 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6886 (print_version): Use PKGVERSION.
6887 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6888 (print_version): Use PKGVERSION.
6889 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6890 (print_version): Use PKGVERSION.
6891 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6892 (print_version): Use PKGVERSION.
6893 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6894 (print_version): Use PKGVERSION.
6895 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6897 ($(objpfx)memusage): Likewise.
6898 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6899 (do_version): Use PKGVERSION.
6900 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6901 (print_version): Use PKGVERSION.
6902 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6903 ($PKGVERSION): New variable.
6904 ($REPORT_BUGS_TO): Likewise.
6905 (usage): Use $REPORT_BUGS_TO.
6906 (top level): Use $PKGVERSION.
6907 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6908 ($(objpfx)pkgvers.texi): New rule.
6909 ($(objpfx)stamp-pkgvers): Likewise.
6910 * manual/install.texi: Include pkgvers.texi.
6911 (--with-pkgversion): Document new configure option.
6912 (--with-bugurl): Likewise.
6913 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6914 than necessarily for this particular distribution. Use
6915 REPORT_BUGS_TO for where to report bugs.
6916 * INSTALL: Regenerated.
6917 * manual/libc.texinfo: Include pkgvers.texi.
6918 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6919 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6920 (print_version): Use PKGVERSION.
6921 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6922 (print_version): Use PKGVERSION.
6923 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6924 (print_version): Use PKGVERSION.
6925 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6926 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6928 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6929 (print_version): Use PKGVERSION.
6930 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6931 (print_version): Use PKGVERSION.
6932 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6935 * timezone/checktab.awk: Update from tzcode 2012i.
6936 * timezone/ialloc.c: Likewise.
6937 * timezone/private.h: Likewise.
6938 * timezone/scheck.c: Likewise.
6939 * timezone/tzfile.h: Likewise.
6940 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6941 (TZVERSION): Hardcode tzcode version number.
6942 * timezone/zdump.c: Update from tzcode 2012i.
6943 * timezone/zic.c: Likewise.
6944 * timezone/version.h: New file.
6945 * timezone/README: Describe version.h. Update upstream location.
6948 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6949 (mktemp): Enable declaration.
6950 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6951 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6952 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6953 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6955 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6957 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6959 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6961 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6963 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6967 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6968 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6969 for copies of such integer values.
6970 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6971 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6973 2012-11-09 Andreas Jaeger <aj@suse.de>
6975 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6976 definitions and declarations that are provided by
6977 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6979 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6981 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
6982 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6983 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6986 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6988 * elf/elf.h: Update comment before AArch64 relocations.
6990 2012-11-07 David S. Miller <davem@davemloft.net>
6992 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6993 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6994 (__start_context): Declare.
6995 (__makecontext_ret): Delete.
6996 (__makecontext): Hook up __start_context instead of
6998 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6999 (sysdep_routines): Add __start_context when in stdlib.
7001 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7003 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
7004 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
7005 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
7007 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
7008 (READELF): New variable. Use it instead of hardcoded "readelf".
7010 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
7012 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
7013 * sysdeps/x86/Makefile: Here.
7014 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
7015 * sysdeps/x86/tst-xmmymm.sh: This.
7017 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7019 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
7021 [UNIX98] (pthread_barrier_t): Do not expect.
7022 [UNIX98] (pthread_barrierattr_t): Likewise.
7023 [UNIX98] (pthread_spinlock_t): Likewise.
7024 [UNIX98] (pthread_barrier_destroy): Likewise.
7025 [UNIX98] (pthread_barrier_init): Likewise.
7026 [UNIX98] (pthread_barrier_wait): Likewise.
7027 [UNIX98] (pthread_barrierattr_destroy): Likewise.
7028 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
7029 [UNIX98] (pthread_barrierattr_init): Likewise.
7030 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
7031 [UNIX98] (pthread_getcpuclockid): Likewise.
7032 [UNIX98] (pthread_mutex_timedlock): Likewise.
7033 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
7034 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
7035 [UNIX98] (pthread_sigmask): Likewise.
7036 [UNIX98] (pthread_spin_destroy): Likewise.
7037 [UNIX98] (pthread_spin_init): Likewise.
7038 [UNIX98] (pthread_spin_lock): Likewise.
7039 [UNIX98] (pthread_spin_trylock): Likewise.
7040 [UNIX98] (pthread_spin_unlock): Likewise.
7041 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7043 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7044 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7045 [XPG3 || XPG4] (pthread_cond_t): Likewise.
7046 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7047 [XPG3 || XPG4] (pthread_key_t): Likewise.
7048 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7049 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7050 [XPG3 || XPG4] (pthread_once_t): Likewise.
7051 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7052 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7053 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7054 [XPG3 || XPG4] (pthread_t): Likewise.
7056 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7058 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7060 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7061 Change function return type to int.
7063 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7064 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7065 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7066 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7067 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7068 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7069 [!POSIX] (posix_madvise): Likewise.
7070 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7072 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7073 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7075 (posix_mem_offset): Likewise.
7076 (posix_typed_mem_get_info): Likewise.
7077 (posix_typed_mem_open): Likewise.
7079 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7080 Change condition to [XOPEN2K8].
7082 * conform/conformtest.pl: Preprocess allow-header data with -x c
7083 instead of from stdin.
7084 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7085 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7086 [C99-based standards] (cerfc): Likewise.
7087 [C99-based standards] (cexp2): Likewise.
7088 [C99-based standards] (cexpm1): Likewise.
7089 [C99-based standards] (clog10): Likewise.
7090 [C99-based standards] (clog1p): Likewise.
7091 [C99-based standards] (clog2): Likewise.
7092 [C99-based standards] (clgamma): Likewise.
7093 [C99-based standards] (ctgamma): Likewise.
7094 [C99-based standards] (cerff): Likewise.
7095 [C99-based standards] (cerfcf): Likewise.
7096 [C99-based standards] (cexp2f): Likewise.
7097 [C99-based standards] (cexpm1f): Likewise.
7098 [C99-based standards] (clog10f): Likewise.
7099 [C99-based standards] (clog1pf): Likewise.
7100 [C99-based standards] (clog2f): Likewise.
7101 [C99-based standards] (clgammaf): Likewise.
7102 [C99-based standards] (ctgammaf): Likewise.
7103 [C99-based standards] (cerfl): Likewise.
7104 [C99-based standards] (cerfcl): Likewise.
7105 [C99-based standards] (cexp2l): Likewise.
7106 [C99-based standards] (cexpm1l): Likewise.
7107 [C99-based standards] (clog10l): Likewise.
7108 [C99-based standards] (clog1pl): Likewise.
7109 [C99-based standards] (clog2l): Likewise.
7110 [C99-based standards] (clgammal): Likewise.
7111 [C99-based standards] (ctgammal): Likewise.
7112 * conform/data/inttypes.h-data [C99-based standards]: Include
7113 stdint.h-data. Remove all expectations for stdint.h contents.
7114 [C99-based standards] (PRI*): Do not allow.
7115 [C99-based standards] (SCN*): Likewise.
7116 [C99-based standards] (*_t): Likewise.
7117 [C99-based-standards] (PRId8): Expect macro.
7118 [C99-based-standards] (PRIi8): Likewise.
7119 [C99-based-standards] (PRIo8): Likewise.
7120 [C99-based-standards] (PRIu8): Likewise.
7121 [C99-based-standards] (PRIx8): Likewise.
7122 [C99-based-standards] (PRIX8): Likewise.
7123 [C99-based-standards] (SCNd8): Likewise.
7124 [C99-based-standards] (SCNi8): Likewise.
7125 [C99-based-standards] (SCNo8): Likewise.
7126 [C99-based-standards] (SCNu8): Likewise.
7127 [C99-based-standards] (SCNx8): Likewise.
7128 [C99-based-standards] (PRIdLEAST8): Likewise.
7129 [C99-based-standards] (PRIiLEAST8): Likewise.
7130 [C99-based-standards] (PRIoLEAST8): Likewise.
7131 [C99-based-standards] (PRIuLEAST8): Likewise.
7132 [C99-based-standards] (PRIxLEAST8): Likewise.
7133 [C99-based-standards] (PRIXLEAST8): Likewise.
7134 [C99-based-standards] (SCNdLEAST8): Likewise.
7135 [C99-based-standards] (SCNiLEAST8): Likewise.
7136 [C99-based-standards] (SCNoLEAST8): Likewise.
7137 [C99-based-standards] (SCNuLEAST8): Likewise.
7138 [C99-based-standards] (SCNxLEAST8): Likewise.
7139 [C99-based-standards] (PRIdFAST8): Likewise.
7140 [C99-based-standards] (PRIiFAST8): Likewise.
7141 [C99-based-standards] (PRIoFAST8): Likewise.
7142 [C99-based-standards] (PRIuFAST8): Likewise.
7143 [C99-based-standards] (PRIxFAST8): Likewise.
7144 [C99-based-standards] (PRIXFAST8): Likewise.
7145 [C99-based-standards] (SCNdFAST8): Likewise.
7146 [C99-based-standards] (SCNiFAST8): Likewise.
7147 [C99-based-standards] (SCNoFAST8): Likewise.
7148 [C99-based-standards] (SCNuFAST8): Likewise.
7149 [C99-based-standards] (SCNxFAST8): Likewise.
7150 [C99-based-standards] (PRId16): Likewise.
7151 [C99-based-standards] (PRIi16): Likewise.
7152 [C99-based-standards] (PRIo16): Likewise.
7153 [C99-based-standards] (PRIu16): Likewise.
7154 [C99-based-standards] (PRIx16): Likewise.
7155 [C99-based-standards] (PRIX16): Likewise.
7156 [C99-based-standards] (SCNd16): Likewise.
7157 [C99-based-standards] (SCNi16): Likewise.
7158 [C99-based-standards] (SCNo16): Likewise.
7159 [C99-based-standards] (SCNu16): Likewise.
7160 [C99-based-standards] (SCNx16): Likewise.
7161 [C99-based-standards] (PRIdLEAST16): Likewise.
7162 [C99-based-standards] (PRIiLEAST16): Likewise.
7163 [C99-based-standards] (PRIoLEAST16): Likewise.
7164 [C99-based-standards] (PRIuLEAST16): Likewise.
7165 [C99-based-standards] (PRIxLEAST16): Likewise.
7166 [C99-based-standards] (PRIXLEAST16): Likewise.
7167 [C99-based-standards] (SCNdLEAST16): Likewise.
7168 [C99-based-standards] (SCNiLEAST16): Likewise.
7169 [C99-based-standards] (SCNoLEAST16): Likewise.
7170 [C99-based-standards] (SCNuLEAST16): Likewise.
7171 [C99-based-standards] (SCNxLEAST16): Likewise.
7172 [C99-based-standards] (PRIdFAST16): Likewise.
7173 [C99-based-standards] (PRIiFAST16): Likewise.
7174 [C99-based-standards] (PRIoFAST16): Likewise.
7175 [C99-based-standards] (PRIuFAST16): Likewise.
7176 [C99-based-standards] (PRIxFAST16): Likewise.
7177 [C99-based-standards] (PRIXFAST16): Likewise.
7178 [C99-based-standards] (SCNdFAST16): Likewise.
7179 [C99-based-standards] (SCNiFAST16): Likewise.
7180 [C99-based-standards] (SCNoFAST16): Likewise.
7181 [C99-based-standards] (SCNuFAST16): Likewise.
7182 [C99-based-standards] (SCNxFAST16): Likewise.
7183 [C99-based-standards] (PRId32): Likewise.
7184 [C99-based-standards] (PRIi32): Likewise.
7185 [C99-based-standards] (PRIo32): Likewise.
7186 [C99-based-standards] (PRIu32): Likewise.
7187 [C99-based-standards] (PRIx32): Likewise.
7188 [C99-based-standards] (PRIX32): Likewise.
7189 [C99-based-standards] (SCNd32): Likewise.
7190 [C99-based-standards] (SCNi32): Likewise.
7191 [C99-based-standards] (SCNo32): Likewise.
7192 [C99-based-standards] (SCNu32): Likewise.
7193 [C99-based-standards] (SCNx32): Likewise.
7194 [C99-based-standards] (PRIdLEAST32): Likewise.
7195 [C99-based-standards] (PRIiLEAST32): Likewise.
7196 [C99-based-standards] (PRIoLEAST32): Likewise.
7197 [C99-based-standards] (PRIuLEAST32): Likewise.
7198 [C99-based-standards] (PRIxLEAST32): Likewise.
7199 [C99-based-standards] (PRIXLEAST32): Likewise.
7200 [C99-based-standards] (SCNdLEAST32): Likewise.
7201 [C99-based-standards] (SCNiLEAST32): Likewise.
7202 [C99-based-standards] (SCNoLEAST32): Likewise.
7203 [C99-based-standards] (SCNuLEAST32): Likewise.
7204 [C99-based-standards] (SCNxLEAST32): Likewise.
7205 [C99-based-standards] (PRIdFAST32): Likewise.
7206 [C99-based-standards] (PRIiFAST32): Likewise.
7207 [C99-based-standards] (PRIoFAST32): Likewise.
7208 [C99-based-standards] (PRIuFAST32): Likewise.
7209 [C99-based-standards] (PRIxFAST32): Likewise.
7210 [C99-based-standards] (PRIXFAST32): Likewise.
7211 [C99-based-standards] (SCNdFAST32): Likewise.
7212 [C99-based-standards] (SCNiFAST32): Likewise.
7213 [C99-based-standards] (SCNoFAST32): Likewise.
7214 [C99-based-standards] (SCNuFAST32): Likewise.
7215 [C99-based-standards] (SCNxFAST32): Likewise.
7216 [C99-based-standards] (PRId64): Likewise.
7217 [C99-based-standards] (PRIi64): Likewise.
7218 [C99-based-standards] (PRIo64): Likewise.
7219 [C99-based-standards] (PRIu64): Likewise.
7220 [C99-based-standards] (PRIx64): Likewise.
7221 [C99-based-standards] (PRIX64): Likewise.
7222 [C99-based-standards] (SCNd64): Likewise.
7223 [C99-based-standards] (SCNi64): Likewise.
7224 [C99-based-standards] (SCNo64): Likewise.
7225 [C99-based-standards] (SCNu64): Likewise.
7226 [C99-based-standards] (SCNx64): Likewise.
7227 [C99-based-standards] (PRIdLEAST64): Likewise.
7228 [C99-based-standards] (PRIiLEAST64): Likewise.
7229 [C99-based-standards] (PRIoLEAST64): Likewise.
7230 [C99-based-standards] (PRIuLEAST64): Likewise.
7231 [C99-based-standards] (PRIxLEAST64): Likewise.
7232 [C99-based-standards] (PRIXLEAST64): Likewise.
7233 [C99-based-standards] (SCNdLEAST64): Likewise.
7234 [C99-based-standards] (SCNiLEAST64): Likewise.
7235 [C99-based-standards] (SCNoLEAST64): Likewise.
7236 [C99-based-standards] (SCNuLEAST64): Likewise.
7237 [C99-based-standards] (SCNxLEAST64): Likewise.
7238 [C99-based-standards] (PRIdFAST64): Likewise.
7239 [C99-based-standards] (PRIiFAST64): Likewise.
7240 [C99-based-standards] (PRIoFAST64): Likewise.
7241 [C99-based-standards] (PRIuFAST64): Likewise.
7242 [C99-based-standards] (PRIxFAST64): Likewise.
7243 [C99-based-standards] (PRIXFAST64): Likewise.
7244 [C99-based-standards] (SCNdFAST64): Likewise.
7245 [C99-based-standards] (SCNiFAST64): Likewise.
7246 [C99-based-standards] (SCNoFAST64): Likewise.
7247 [C99-based-standards] (SCNuFAST64): Likewise.
7248 [C99-based-standards] (SCNxFAST64): Likewise.
7249 [C99-based-standards] (PRIdMAX): Likewise.
7250 [C99-based-standards] (PRIiMAX): Likewise.
7251 [C99-based-standards] (PRIoMAX): Likewise.
7252 [C99-based-standards] (PRIuMAX): Likewise.
7253 [C99-based-standards] (PRIxMAX): Likewise.
7254 [C99-based-standards] (PRIXMAX): Likewise.
7255 [C99-based-standards] (SCNdMAX): Likewise.
7256 [C99-based-standards] (SCNiMAX): Likewise.
7257 [C99-based-standards] (SCNoMAX): Likewise.
7258 [C99-based-standards] (SCNuMAX): Likewise.
7259 [C99-based-standards] (SCNxMAX): Likewise.
7260 [C99-based-standards] (PRIdPTR): Likewise.
7261 [C99-based-standards] (PRIiPTR): Likewise.
7262 [C99-based-standards] (PRIoPTR): Likewise.
7263 [C99-based-standards] (PRIuPTR): Likewise.
7264 [C99-based-standards] (PRIxPTR): Likewise.
7265 [C99-based-standards] (PRIXPTR): Likewise.
7266 [C99-based-standards] (SCNdPTR): Likewise.
7267 [C99-based-standards] (SCNiPTR): Likewise.
7268 [C99-based-standards] (SCNoPTR): Likewise.
7269 [C99-based-standards] (SCNuPTR): Likewise.
7270 [C99-based-standards] (SCNxPTR): Likewise.
7271 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7273 * conform/data/stdint.h-data: Update comments to clarify
7275 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7277 [C99-based standards] (INT8_MAX): Likewise.
7278 [C99-based standards] (INT16_MIN): Likewise.
7279 [C99-based standards] (INT16_MAX): Likewise.
7280 [C99-based standards] (INT32_MIN): Likewise.
7281 [C99-based standards] (INT32_MAX): Likewise.
7282 [C99-based standards] (INT64_MIN): Likewise.
7283 [C99-based standards] (INT64_MAX): Likewise.
7284 [C99-based standards] (UINT8_MAX): Likewise.
7285 [C99-based standards] (UINT16_MAX): Likewise.
7286 [C99-based standards] (UINT32_MAX): Likewise.
7287 [C99-based standards] (UINT64_MAX): Likewise.
7288 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7289 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7290 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7291 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7292 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7293 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7294 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7295 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7296 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7297 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7298 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7299 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7300 [C99-based standards] (INT_FAST8_MIN): Likewise.
7301 [C99-based standards] (INT_FAST8_MAX): Likewise.
7302 [C99-based standards] (INT_FAST16_MIN): Likewise.
7303 [C99-based standards] (INT_FAST16_MAX): Likewise.
7304 [C99-based standards] (INT_FAST32_MIN): Likewise.
7305 [C99-based standards] (INT_FAST32_MAX): Likewise.
7306 [C99-based standards] (INT_FAST64_MIN): Likewise.
7307 [C99-based standards] (INT_FAST64_MAX): Likewise.
7308 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7309 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7310 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7311 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7312 [C99-based standards] (INTPTR_MIN): Likewise.
7313 [C99-based standards] (INTPTR_MAX): Likewise.
7314 [C99-based standards] (UINTPTR_MAX): Likewise.
7315 [C99-based standards] (INTMAX_MIN): Likewise.
7316 [C99-based standards] (INTMAX_MAX): Likewise.
7317 [C99-based standards] (UINTMAX_MAX): Likewise.
7318 [C99-based standards] (PTRDIFF_MIN): Likewise.
7319 [C99-based standards] (PTRDIFF_MAX): Likewise.
7320 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7321 [C99-based standards] (SIZE_MAX): Likewise.
7322 [C99-based standards] (WCHAR_MAX): Likewise.
7323 [C99-based standards] (WINT_MAX): Likewise.
7324 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7325 constraint on value.
7326 [C99-based standards] (WCHAR_MIN): Likewise.
7327 [C99-based standards] (WINT_MIN): Likewise.
7328 [C99-based standards] (*_t): Allow.
7329 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7330 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7331 Include math.h-data and complex.h-data. Remove all expectations
7332 of math.h and complex.h contents.
7333 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7335 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7336 (struct tm): Expect tag.
7337 [C99-based-standards] (wcstof): Expect function.
7338 [C99-based-standards] (wcstold): Likewise.
7339 [C99-based-standards] (wcstoll): Likewise.
7340 [C99-based-standards] (wcstoull): Likewise.
7341 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7342 macro-int-constant. Specify type.
7343 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7344 constraint on value.
7345 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7347 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7349 [ISO C standards]: Do not allow headers.
7350 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7351 wcs[abcdefghijklmnopqrstuvwxyz]*.
7352 [ISO C standards] (*_t): Do not allow.
7353 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7355 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7356 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7358 [ISO C standards]: Do not allow headers.
7359 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7360 is[abcdefghijklmnopqrstuvwxyz]*.
7361 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7362 to[abcdefghijklmnopqrstuvwxyz]*.
7363 [ISO C standards] (*_t): Do not allow.
7364 * conform/data/stdalign.h-data: New file.
7365 * conform/data/stdbool.h-data: Likewise.
7366 * conform/data/stdnoreturn.h-data: Likewise.
7368 2012-11-07 Roland McGrath <roland@hack.frob.com>
7371 * manual/filesys.texi (Directory Entries): Typo fix.
7372 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7374 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7376 * elf/elf.h (EM_AARCH64): New macro.
7377 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7378 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7379 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7380 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7381 (R_AARCH64_TLSDESC): Likewise.
7382 (NT_ARM_TLS): Likewise.
7383 (NT_ARM_HW_BREAK): Likewise.
7384 (NT_ARM_HW_WATCH): Likewise.
7386 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7389 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7390 (__ieee754_powl): Saturate nonzero exponents with absolute value
7391 below 0x1p-79 to +/- 0x1p-79.
7392 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7393 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7394 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7395 nonzero exponents with absolute value below 0x1p-32 to +/-
7397 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7398 (__ieee754_powl): Saturate nonzero exponents with absolute value
7399 below 0x1p-79 to +/- 0x1p-79.
7400 * math/libm-test.inc (pow_test): Add more tests.
7402 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7404 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7405 _dl_s390_cap_flags with kernel. Increase string length.
7406 (_dl_s390_platforms): Add z196 and zEC12.
7408 2012-11-07 Joseph Myers <joseph@codesourcery.com>
7410 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7411 Change XOPEN21K to XOPEN2K.
7413 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7415 * string/memmove.c: Use memcpy when possible.
7417 2012-11-06 Andreas Jaeger <aj@suse.de>
7419 * po/eo.po: Update from translation team.
7421 2012-11-06 Joseph Myers <joseph@codesourcery.com>
7424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7425 exponent and small x and y exponents, scale x or y up. Increase
7426 by 2 the exponent used in scaling up.
7427 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7428 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7429 * math/libm-test.inc (fma_test): Add more tests.
7430 (fma_test_towardzero): Likewise.
7431 (fma_test_downward): Likewise.
7432 (fma_test_upward): Likewise.
7434 2012-11-05 Joseph Myers <joseph@codesourcery.com>
7437 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7441 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7442 namespace for names of struct fields.
7443 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7445 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7446 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7448 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7451 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7453 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7455 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7459 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7462 2012-11-04 Joseph Myers <joseph@codesourcery.com>
7465 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7466 definitely overflow as x * y not x * y + z.
7467 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7468 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7469 * math/libm-test.inc (fma_test): Add more tests.
7470 (fma_test_towardzero): Likewise.
7471 (fma_test_downward): Likewise.
7472 (fma_test_upward): Likewise.
7474 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7478 * include/stub-tag.h: Remove file.
7479 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7481 * manual/maint.texi (Porting): Don't reference it.
7482 * Makerules ($(objpfx)stubs): Likewise.
7483 * dirent/closedir.c: Don't include <stub-tag.h>.
7484 * dirent/dirfd.c: Likewise.
7485 * dirent/fdopendir.c: Likewise.
7486 * dirent/getdents.c: Likewise.
7487 * dirent/getdents64.c: Likewise.
7488 * dirent/opendir.c: Likewise.
7489 * dirent/readdir.c: Likewise.
7490 * dirent/readdir64.c: Likewise.
7491 * dirent/readdir64_r.c: Likewise.
7492 * dirent/readdir_r.c: Likewise.
7493 * dirent/rewinddir.c: Likewise.
7494 * dirent/seekdir.c: Likewise.
7495 * dirent/telldir.c: Likewise.
7496 * gmon/profil.c: Likewise.
7497 * grp/setgroups.c: Likewise.
7498 * inet/if_index.c: Likewise.
7499 * io/access.c: Likewise.
7500 * io/chdir.c: Likewise.
7501 * io/chmod.c: Likewise.
7502 * io/chown.c: Likewise.
7503 * io/close.c: Likewise.
7504 * io/dup.c: Likewise.
7505 * io/dup2.c: Likewise.
7506 * io/dup3.c: Likewise.
7507 * io/euidaccess.c: Likewise.
7508 * io/faccessat.c: Likewise.
7509 * io/fchdir.c: Likewise.
7510 * io/fchmod.c: Likewise.
7511 * io/fchmodat.c: Likewise.
7512 * io/fchown.c: Likewise.
7513 * io/fchownat.c: Likewise.
7514 * io/fcntl.c: Likewise.
7515 * io/flock.c: Likewise.
7516 * io/fstatfs.c: Likewise.
7517 * io/fstatfs64.c: Likewise.
7518 * io/fstatvfs.c: Likewise.
7519 * io/fstatvfs64.c: Likewise.
7520 * io/futimens.c: Likewise.
7521 * io/fxstat.c: Likewise.
7522 * io/fxstat64.c: Likewise.
7523 * io/fxstatat.c: Likewise.
7524 * io/fxstatat64.c: Likewise.
7525 * io/getcwd.c: Likewise.
7526 * io/isatty.c: Likewise.
7527 * io/lchmod.c: Likewise.
7528 * io/lchown.c: Likewise.
7529 * io/link.c: Likewise.
7530 * io/linkat.c: Likewise.
7531 * io/lseek.c: Likewise.
7532 * io/lseek64.c: Likewise.
7533 * io/lxstat64.c: Likewise.
7534 * io/mkdir.c: Likewise.
7535 * io/mkdirat.c: Likewise.
7536 * io/mkfifo.c: Likewise.
7537 * io/mkfifoat.c: Likewise.
7538 * io/open.c: Likewise.
7539 * io/open64.c: Likewise.
7540 * io/openat.c: Likewise.
7541 * io/openat64.c: Likewise.
7542 * io/pipe.c: Likewise.
7543 * io/pipe2.c: Likewise.
7544 * io/poll.c: Likewise.
7545 * io/posix_fadvise.c: Likewise.
7546 * io/posix_fadvise64.c: Likewise.
7547 * io/posix_fallocate.c: Likewise.
7548 * io/posix_fallocate64.c: Likewise.
7549 * io/read.c: Likewise.
7550 * io/readlink.c: Likewise.
7551 * io/readlinkat.c: Likewise.
7552 * io/rmdir.c: Likewise.
7553 * io/sendfile.c: Likewise.
7554 * io/sendfile64.c: Likewise.
7555 * io/statfs.c: Likewise.
7556 * io/statfs64.c: Likewise.
7557 * io/statvfs.c: Likewise.
7558 * io/statvfs64.c: Likewise.
7559 * io/symlink.c: Likewise.
7560 * io/symlinkat.c: Likewise.
7561 * io/ttyname.c: Likewise.
7562 * io/ttyname_r.c: Likewise.
7563 * io/umask.c: Likewise.
7564 * io/unlink.c: Likewise.
7565 * io/unlinkat.c: Likewise.
7566 * io/utime.c: Likewise.
7567 * io/utimensat.c: Likewise.
7568 * io/write.c: Likewise.
7569 * io/xmknod.c: Likewise.
7570 * io/xmknodat.c: Likewise.
7571 * io/xstat.c: Likewise.
7572 * io/xstat64.c: Likewise.
7573 * login/getpt.c: Likewise.
7574 * login/grantpt.c: Likewise.
7575 * login/unlockpt.c: Likewise.
7576 * math/e_acoshl.c: Likewise.
7577 * math/e_acosl.c: Likewise.
7578 * math/e_asinl.c: Likewise.
7579 * math/e_atan2l.c: Likewise.
7580 * math/e_atanhl.c: Likewise.
7581 * math/e_coshl.c: Likewise.
7582 * math/e_expl.c: Likewise.
7583 * math/e_fmodl.c: Likewise.
7584 * math/e_gammal_r.c: Likewise.
7585 * math/e_hypotl.c: Likewise.
7586 * math/e_j0l.c: Likewise.
7587 * math/e_j1l.c: Likewise.
7588 * math/e_jnl.c: Likewise.
7589 * math/e_lgammal_r.c: Likewise.
7590 * math/e_log10l.c: Likewise.
7591 * math/e_log2l.c: Likewise.
7592 * math/e_logl.c: Likewise.
7593 * math/e_powl.c: Likewise.
7594 * math/e_rem_pio2l.c: Likewise.
7595 * math/e_sinhl.c: Likewise.
7596 * math/e_sqrtl.c: Likewise.
7597 * math/fclrexcpt.c: Likewise.
7598 * math/fedisblxcpt.c: Likewise.
7599 * math/feenablxcpt.c: Likewise.
7600 * math/fegetenv.c: Likewise.
7601 * math/fegetexcept.c: Likewise.
7602 * math/fegetround.c: Likewise.
7603 * math/feholdexcpt.c: Likewise.
7604 * math/fesetenv.c: Likewise.
7605 * math/fesetround.c: Likewise.
7606 * math/feupdateenv.c: Likewise.
7607 * math/fgetexcptflg.c: Likewise.
7608 * math/fraiseexcpt.c: Likewise.
7609 * math/fsetexcptflg.c: Likewise.
7610 * math/ftestexcept.c: Likewise.
7611 * math/k_cosl.c: Likewise.
7612 * math/k_rem_pio2l.c: Likewise.
7613 * math/k_sinl.c: Likewise.
7614 * math/k_tanl.c: Likewise.
7615 * math/s_asinhl.c: Likewise.
7616 * math/s_atanl.c: Likewise.
7617 * math/s_cbrtl.c: Likewise.
7618 * math/s_erfl.c: Likewise.
7619 * math/s_expm1l.c: Likewise.
7620 * math/s_log1pl.c: Likewise.
7621 * math/s_tanhl.c: Likewise.
7622 * misc/acct.c: Likewise.
7623 * misc/brk.c: Likewise.
7624 * misc/chflags.c: Likewise.
7625 * misc/chroot.c: Likewise.
7626 * misc/fchflags.c: Likewise.
7627 * misc/fgetxattr.c: Likewise.
7628 * misc/flistxattr.c: Likewise.
7629 * misc/fremovexattr.c: Likewise.
7630 * misc/fsetxattr.c: Likewise.
7631 * misc/fsync.c: Likewise.
7632 * misc/ftruncate.c: Likewise.
7633 * misc/futimes.c: Likewise.
7634 * misc/futimesat.c: Likewise.
7635 * misc/getdomain.c: Likewise.
7636 * misc/getdtsz.c: Likewise.
7637 * misc/gethostid.c: Likewise.
7638 * misc/gethostname.c: Likewise.
7639 * misc/getloadavg.c: Likewise.
7640 * misc/getpagesize.c: Likewise.
7641 * misc/getsysstats.c: Likewise.
7642 * misc/getxattr.c: Likewise.
7643 * misc/gtty.c: Likewise.
7644 * misc/ioctl.c: Likewise.
7645 * misc/lgetxattr.c: Likewise.
7646 * misc/listxattr.c: Likewise.
7647 * misc/llistxattr.c: Likewise.
7648 * misc/lremovexattr.c: Likewise.
7649 * misc/lsetxattr.c: Likewise.
7650 * misc/lutimes.c: Likewise.
7651 * misc/madvise.c: Likewise.
7652 * misc/mincore.c: Likewise.
7653 * misc/mlock.c: Likewise.
7654 * misc/mlockall.c: Likewise.
7655 * misc/mmap.c: Likewise.
7656 * misc/mprotect.c: Likewise.
7657 * misc/msync.c: Likewise.
7658 * misc/munlock.c: Likewise.
7659 * misc/munlockall.c: Likewise.
7660 * misc/munmap.c: Likewise.
7661 * misc/preadv.c: Likewise.
7662 * misc/preadv64.c: Likewise.
7663 * misc/ptrace.c: Likewise.
7664 * misc/pwritev.c: Likewise.
7665 * misc/pwritev64.c: Likewise.
7666 * misc/readv.c: Likewise.
7667 * misc/reboot.c: Likewise.
7668 * misc/remap_file_pages.c: Likewise.
7669 * misc/removexattr.c: Likewise.
7670 * misc/revoke.c: Likewise.
7671 * misc/select.c: Likewise.
7672 * misc/setdomain.c: Likewise.
7673 * misc/setegid.c: Likewise.
7674 * misc/seteuid.c: Likewise.
7675 * misc/sethostid.c: Likewise.
7676 * misc/sethostname.c: Likewise.
7677 * misc/setregid.c: Likewise.
7678 * misc/setreuid.c: Likewise.
7679 * misc/setxattr.c: Likewise.
7680 * misc/sstk.c: Likewise.
7681 * misc/stty.c: Likewise.
7682 * misc/swapoff.c: Likewise.
7683 * misc/swapon.c: Likewise.
7684 * misc/sync.c: Likewise.
7685 * misc/syncfs.c: Likewise.
7686 * misc/syscall.c: Likewise.
7687 * misc/truncate.c: Likewise.
7688 * misc/ualarm.c: Likewise.
7689 * misc/usleep.c: Likewise.
7690 * misc/ustat.c: Likewise.
7691 * misc/utimes.c: Likewise.
7692 * misc/vhangup.c: Likewise.
7693 * misc/writev.c: Likewise.
7694 * posix/_exit.c: Likewise.
7695 * posix/alarm.c: Likewise.
7696 * posix/execve.c: Likewise.
7697 * posix/fexecve.c: Likewise.
7698 * posix/fork.c: Likewise.
7699 * posix/fpathconf.c: Likewise.
7700 * posix/getaddrinfo.c: Likewise.
7701 * posix/getegid.c: Likewise.
7702 * posix/geteuid.c: Likewise.
7703 * posix/getgid.c: Likewise.
7704 * posix/getgroups.c: Likewise.
7705 * posix/getlogin.c: Likewise.
7706 * posix/getlogin_r.c: Likewise.
7707 * posix/getpgid.c: Likewise.
7708 * posix/getpid.c: Likewise.
7709 * posix/getppid.c: Likewise.
7710 * posix/getresgid.c: Likewise.
7711 * posix/getresuid.c: Likewise.
7712 * posix/getsid.c: Likewise.
7713 * posix/getuid.c: Likewise.
7714 * posix/glob64.c: Likewise.
7715 * posix/nanosleep.c: Likewise.
7716 * posix/pathconf.c: Likewise.
7717 * posix/pause.c: Likewise.
7718 * posix/posix_madvise.c: Likewise.
7719 * posix/pread.c: Likewise.
7720 * posix/pread64.c: Likewise.
7721 * posix/pwrite.c: Likewise.
7722 * posix/pwrite64.c: Likewise.
7723 * posix/sched_getaffinity.c: Likewise.
7724 * posix/sched_getp.c: Likewise.
7725 * posix/sched_gets.c: Likewise.
7726 * posix/sched_primax.c: Likewise.
7727 * posix/sched_primin.c: Likewise.
7728 * posix/sched_rr_gi.c: Likewise.
7729 * posix/sched_setaffinity.c: Likewise.
7730 * posix/sched_setp.c: Likewise.
7731 * posix/sched_sets.c: Likewise.
7732 * posix/sched_yield.c: Likewise.
7733 * posix/setgid.c: Likewise.
7734 * posix/setlogin.c: Likewise.
7735 * posix/setpgid.c: Likewise.
7736 * posix/setresgid.c: Likewise.
7737 * posix/setresuid.c: Likewise.
7738 * posix/setsid.c: Likewise.
7739 * posix/setuid.c: Likewise.
7740 * posix/sleep.c: Likewise.
7741 * posix/spawni.c: Likewise.
7742 * posix/sysconf.c: Likewise.
7743 * posix/times.c: Likewise.
7744 * posix/wait.c: Likewise.
7745 * posix/wait3.c: Likewise.
7746 * posix/wait4.c: Likewise.
7747 * posix/waitpid.c: Likewise.
7748 * resolv/gai_sigqueue.c: Likewise.
7749 * resource/getpriority.c: Likewise.
7750 * resource/getrlimit.c: Likewise.
7751 * resource/getrusage.c: Likewise.
7752 * resource/nice.c: Likewise.
7753 * resource/setpriority.c: Likewise.
7754 * resource/setrlimit.c: Likewise.
7755 * resource/ulimit.c: Likewise.
7756 * rt/aio_cancel.c: Likewise.
7757 * rt/aio_fsync.c: Likewise.
7758 * rt/aio_read.c: Likewise.
7759 * rt/aio_sigqueue.c: Likewise.
7760 * rt/aio_suspend.c: Likewise.
7761 * rt/aio_write.c: Likewise.
7762 * rt/clock_getres.c: Likewise.
7763 * rt/clock_gettime.c: Likewise.
7764 * rt/clock_nanosleep.c: Likewise.
7765 * rt/clock_settime.c: Likewise.
7766 * rt/lio_listio.c: Likewise.
7767 * rt/mq_close.c: Likewise.
7768 * rt/mq_getattr.c: Likewise.
7769 * rt/mq_notify.c: Likewise.
7770 * rt/mq_open.c: Likewise.
7771 * rt/mq_receive.c: Likewise.
7772 * rt/mq_send.c: Likewise.
7773 * rt/mq_setattr.c: Likewise.
7774 * rt/mq_timedreceive.c: Likewise.
7775 * rt/mq_timedsend.c: Likewise.
7776 * rt/mq_unlink.c: Likewise.
7777 * rt/shm_open.c: Likewise.
7778 * rt/shm_unlink.c: Likewise.
7779 * rt/timer_create.c: Likewise.
7780 * rt/timer_delete.c: Likewise.
7781 * rt/timer_getoverr.c: Likewise.
7782 * rt/timer_gettime.c: Likewise.
7783 * rt/timer_settime.c: Likewise.
7784 * setjmp/__longjmp.c: Likewise.
7785 * setjmp/setjmp.c: Likewise.
7786 * signal/kill.c: Likewise.
7787 * signal/killpg.c: Likewise.
7788 * signal/raise.c: Likewise.
7789 * signal/sigaction.c: Likewise.
7790 * signal/sigaltstack.c: Likewise.
7791 * signal/sigblock.c: Likewise.
7792 * signal/sigignore.c: Likewise.
7793 * signal/sigintr.c: Likewise.
7794 * signal/signal.c: Likewise.
7795 * signal/sigpause.c: Likewise.
7796 * signal/sigpending.c: Likewise.
7797 * signal/sigqueue.c: Likewise.
7798 * signal/sigreturn.c: Likewise.
7799 * signal/sigset.c: Likewise.
7800 * signal/sigsetmask.c: Likewise.
7801 * signal/sigstack.c: Likewise.
7802 * signal/sigsuspend.c: Likewise.
7803 * signal/sigtimedwait.c: Likewise.
7804 * signal/sigvec.c: Likewise.
7805 * signal/sigwait.c: Likewise.
7806 * signal/sigwaitinfo.c: Likewise.
7807 * signal/sysv_signal.c: Likewise.
7808 * socket/accept.c: Likewise.
7809 * socket/accept4.c: Likewise.
7810 * socket/bind.c: Likewise.
7811 * socket/connect.c: Likewise.
7812 * socket/getpeername.c: Likewise.
7813 * socket/getsockname.c: Likewise.
7814 * socket/getsockopt.c: Likewise.
7815 * socket/isfdtype.c: Likewise.
7816 * socket/listen.c: Likewise.
7817 * socket/recv.c: Likewise.
7818 * socket/recvfrom.c: Likewise.
7819 * socket/recvmsg.c: Likewise.
7820 * socket/send.c: Likewise.
7821 * socket/sendmsg.c: Likewise.
7822 * socket/sendto.c: Likewise.
7823 * socket/setsockopt.c: Likewise.
7824 * socket/shutdown.c: Likewise.
7825 * socket/sockatmark.c: Likewise.
7826 * socket/socket.c: Likewise.
7827 * socket/socketpair.c: Likewise.
7828 * stdio-common/ctermid.c: Likewise.
7829 * stdio-common/cuserid.c: Likewise.
7830 * stdio-common/remove.c: Likewise.
7831 * stdio-common/rename.c: Likewise.
7832 * stdio-common/renameat.c: Likewise.
7833 * stdio-common/tempname.c: Likewise.
7834 * stdlib/getcontext.c: Likewise.
7835 * stdlib/makecontext.c: Likewise.
7836 * stdlib/setcontext.c: Likewise.
7837 * stdlib/swapcontext.c: Likewise.
7838 * stdlib/system.c: Likewise.
7839 * streams/fattach.c: Likewise.
7840 * streams/fdetach.c: Likewise.
7841 * streams/getmsg.c: Likewise.
7842 * streams/getpmsg.c: Likewise.
7843 * streams/putmsg.c: Likewise.
7844 * streams/putpmsg.c: Likewise.
7845 * sysdeps/unix/bsd/getpt.c: Likewise.
7846 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7847 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7848 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7851 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7852 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7853 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7854 * sysvipc/msgctl.c: Likewise.
7855 * sysvipc/msgget.c: Likewise.
7856 * sysvipc/msgrcv.c: Likewise.
7857 * sysvipc/msgsnd.c: Likewise.
7858 * sysvipc/semctl.c: Likewise.
7859 * sysvipc/semget.c: Likewise.
7860 * sysvipc/semop.c: Likewise.
7861 * sysvipc/semtimedop.c: Likewise.
7862 * sysvipc/shmat.c: Likewise.
7863 * sysvipc/shmctl.c: Likewise.
7864 * sysvipc/shmdt.c: Likewise.
7865 * sysvipc/shmget.c: Likewise.
7866 * termios/tcdrain.c: Likewise.
7867 * termios/tcflow.c: Likewise.
7868 * termios/tcflush.c: Likewise.
7869 * termios/tcgetattr.c: Likewise.
7870 * termios/tcgetpgrp.c: Likewise.
7871 * termios/tcsendbrk.c: Likewise.
7872 * termios/tcsetattr.c: Likewise.
7873 * termios/tcsetpgrp.c: Likewise.
7874 * time/adjtime.c: Likewise.
7875 * time/clock.c: Likewise.
7876 * time/getitimer.c: Likewise.
7877 * time/gettimeofday.c: Likewise.
7878 * time/setitimer.c: Likewise.
7879 * time/settimeofday.c: Likewise.
7880 * time/stime.c: Likewise.
7881 * time/time.c: Likewise.
7883 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
7885 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7888 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7890 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7892 2012-11-03 Joseph Myers <joseph@codesourcery.com>
7895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7896 FE_TONEAREST before applying Dekker multiplication and Knuth
7897 addition. Clear inexact exceptions and check for exact zero
7899 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7900 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7901 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7902 * math/libm-test.inc (fma_test): Add more tests.
7903 (fma_test_towardzero): Likewise.
7904 (fma_test_downward): Likewise.
7905 (fma_test_upward): Likewise.
7906 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7908 (libc_fesetround): New macro.
7909 (libc_fesetroundf): Likewise.
7910 (libc_fesetroundl): Likewise.
7911 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7913 (libc_fesetround_387): Likewise.
7914 (libc_fesetroundf): New macro.
7915 (libc_fesetround): Likewise.
7916 (libc_fesetroundl): Likewise.
7917 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7919 (libc_fesetroundf): New macro.
7920 (libc_fesetround): Likewise.
7921 (libc_fesetroundl): Likewise.
7922 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7923 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7924 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7926 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7927 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7929 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7930 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7932 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7936 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7937 integer constant usable in #if and use that to give value to enum
7939 (FE_DIVBYZERO): Likewise.
7940 (FE_UNDERFLOW): Likewise.
7941 (FE_OVERFLOW): Likewise.
7942 (FE_INVALID): Likewise.
7943 (FE_INVALID_SNAN): Likewise.
7944 (FE_INVALID_ISI): Likewise.
7945 (FE_INVALID_IDI): Likewise.
7946 (FE_INVALID_ZDZ): Likewise.
7947 (FE_INVALID_IMZ): Likewise.
7948 (FE_INVALID_COMPARE): Likewise.
7949 (FE_INVALID_SOFTWARE): Likewise.
7950 (FE_INVALID_SQRT): Likewise.
7951 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7952 (FE_TONEAREST): Likewise.
7953 (FE_TOWARDZERO): Likewise.
7954 (FE_UPWARD): Likewise.
7955 (FE_DOWNWARD): Likewise.
7956 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7957 (FE_DIVBYZERO): Likewise.
7958 (FE_OVERFLOW): Likewise.
7959 (FE_UNDERFLOW): Likewise.
7960 (FE_INEXACT): Likewise.
7961 (FE_TONEAREST): Likewise.
7962 (FE_DOWNWARD): Likewise.
7963 (FE_UPWARD): Likewise.
7964 (FE_TOWARDZERO): Likewise.
7965 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7966 (FE_UNDERFLOW): Likewise.
7967 (FE_OVERFLOW): Likewise.
7968 (FE_DIVBYZERO): Likewise.
7969 (FE_INVALID): Likewise.
7970 (FE_TONEAREST): Likewise.
7971 (FE_TOWARDZERO): Likewise.
7972 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7973 (FE_OVERFLOW): Likewise.
7974 (FE_UNDERFLOW): Likewise.
7975 (FE_DIVBYZERO): Likewise.
7976 (FE_INEXACT): Likewise.
7977 (FE_TONEAREST): Likewise.
7978 (FE_TOWARDZERO): Likewise.
7979 (FE_UPWARD): Likewise.
7980 (FE_DOWNWARD): Likewise.
7981 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7982 (FE_DIVBYZERO): Likewise.
7983 (FE_OVERFLOW): Likewise.
7984 (FE_UNDERFLOW): Likewise.
7985 (FE_INEXACT): Likewise.
7986 (FE_TONEAREST): Likewise.
7987 (FE_DOWNWARD): Likewise.
7988 (FE_UPWARD): Likewise.
7989 (FE_TOWARDZERO): Likewise.
7991 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7993 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7995 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7997 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7998 commands. Quote $PWD.
7999 (blacklist_exports): Don't use remove_newlines. Replace "declare
8001 (remove_newlines): Remove.
8003 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
8005 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
8006 * stdlib/stdlib.h (atof): Moved to ...
8007 * include/bits/stdlib-float.h: Here. New file.
8008 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
8009 * stdlib/bits/stdlib-float.h: New file.
8010 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
8012 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
8015 2012-11-02 Joseph Myers <joseph@codesourcery.com>
8017 * conform/conformtest.pl (@headers): Add fenv.h.
8018 * conform/data/fenv.h-data: New file.
8019 * include/fenv.h [_ISOMAC]: Disable all contents of file except
8020 include of <math/fenv.h>.
8022 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
8023 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
8024 && !UNIX98]. Enables tests for XOPEN2K8.
8025 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
8026 POSIX2008]: Likewise.
8028 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
8029 (struct rusage): Do not expect type or its members.
8032 * math/math.h (FP_NAN): Define macro to integer constant usable in
8033 #if and use that to give value to enum constant.
8034 (FP_INFINITE): Likewise.
8035 (FP_ZERO): Likewise.
8036 (FP_SUBNORMAL): Likewise.
8037 (FP_NORMAL): Likewise.
8039 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
8041 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8042 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8045 2012-11-02 Roland McGrath <roland@hack.frob.com>
8047 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8048 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8049 autoconf-time if not.
8050 * configure.in: Remove AC_PREREQ.
8052 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8054 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8055 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8056 of the internal implementation.
8058 2012-11-02 Joseph Myers <joseph@codesourcery.com>
8060 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8061 except include of <misc/sys/syslog.h>.
8063 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8066 function returns with a NULL context exit with zero.
8068 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8070 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8072 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8074 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8075 (run_program_cmd): This.
8076 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8077 (tst_langinfo): New variable. Use it.
8079 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8081 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8082 floating point opcodes.
8084 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8086 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8089 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8091 * sysdeps/mach/hurd/powerpc: Remove directory.
8092 * sysdeps/mach/powerpc: Likewise.
8094 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8096 * scripts/check-local-headers.sh: Ignore c++ headers.
8098 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8100 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8101 __libc_cleanup_region_start argument.
8103 2012-11-01 Joseph Myers <joseph@codesourcery.com>
8107 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8108 x * y using scaling, not as x * y + z.
8109 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8110 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8111 * math/libm-test.inc (fma_test): Add more tests.
8112 (fma_test_towardzero): Likewise.
8113 (fma_test_downward): Likewise.
8114 (fma_test_upward): Likewise.
8116 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8118 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8120 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8122 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8125 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8127 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8129 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8136 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8139 Fix the order of the list for glibc 2.17.
8140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8143 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8147 2012-10-31 Joseph Myers <joseph@codesourcery.com>
8150 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8151 for low part of x being zero before using __atanl (y).
8152 * math/libm-test.inc (atan2_test): Add another test.
8154 * manual/install.texi (Configuring and compiling): Document
8155 general use of test-wrapper and test-wrapper-env.
8156 * INSTALL: Regenerated.
8158 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8159 (__fma): Do not extract and scale down low bits on after-rounding
8160 systems when result rounded to normal precision would have normal
8162 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8163 (__fmal): Do not extract and scale down low bits on after-rounding
8164 systems when result rounded to normal precision would have normal
8166 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8167 (__fmal): Do not extract and scale down low bits on after-rounding
8168 systems when result rounded to normal precision would have normal
8170 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8172 (fma_test): Add more tests.
8173 (fma_test_towardzero): Likewise.
8174 (fma_test_downward): Likewise.
8175 (fma_test_upward): Likewise.
8177 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8179 * sysdeps/i386/tininess.h: Renamed to ...
8180 * sysdeps/x86/tininess.h: This.
8181 * sysdeps/x86_64/tininess.h: Removed.
8183 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8185 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8186 input. Use $(build-program-cmd).
8187 ($(objpfx)tst-array1-static.out): Likewise.
8188 ($(objpfx)tst-array2.out): Likewise.
8189 ($(objpfx)tst-array3.out): Likewise.
8190 ($(objpfx)tst-array4.out): Likewise.
8191 ($(objpfx)tst-array5.out): Likewise.
8192 ($(objpfx)tst-array5-static.out): Likewise.
8194 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8196 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8199 * nss/nsswitch.h (nss_interface_function): Provide new
8200 macro for use with NSS functions.
8201 * grp/initgroups.c: Use new macro.
8202 * nss/getXXbyYY.c: Likewise.
8203 * nss/getXXbyYY_r.c: Likewise.
8204 * nss/getXXent.c: Likewise.
8205 * nss/getXXent_r.c: Likewise.
8206 * sysdeps/posix/getaddrinfo.c: Likewise.
8208 2012-10-30 Andreas Jaeger <aj@suse.de>
8210 * po/ru.po: Update Russion translation from translation project.
8212 2012-10-30 Joseph Myers <joseph@codesourcery.com>
8216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8217 result and shift together with sticky bit instead of replicating
8218 round-to-nearest rounding.
8219 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8220 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8221 * math/libm-test.inc (fma_test): Add more tests. Do not permit
8222 missing underflow exceptions.
8223 (fma_test_towardzero): Add more tests.
8224 (fma_test_downward): Likewise.
8225 (fma_test_upward): Likewise.
8228 * sysdeps/generic/tininess.h: New file.
8229 * sysdeps/i386/tininess.h: Likewise.
8230 * sysdeps/sh/tininess.h: Likewise.
8231 * sysdeps/x86_64/tininess.h: Likewise.
8232 * stdlib/tst-strtod-underflow.c: Likewise.
8233 * stdlib/tst-tininess.c: Likewise.
8234 * stdlib/strtod_l.c: Include <tininess.h>.
8235 (round_and_return): Do not set errno for exact underflow cases.
8236 Force an underflow exception when setting errno for underflow.
8237 Determine underflow based on rounding to normal precision if
8238 TININESS_AFTER_ROUNDING.
8239 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8240 ERANGE for exact underflow cases.
8241 * stdlib/Makefile (tests): Add tst-tininess and
8242 tst-strtod-underflow.
8243 ($(objpfx)tst-tininess): Use $(link-libm).
8244 ($(objpfx)tst-strtod-underflow): Likewise.
8246 2012-10-30 Andreas Jaeger <aj@suse.de>
8249 * elf/Makefile (tests): Remove conditional for have-initfini-array
8250 since this is now always required and the variable does not exist
8252 (tests-static): Likewise.
8253 (modules-names): Likewise.
8255 * po/eo.po: Add Esperanto translation from translation project.
8257 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8258 merged with constructor/destructor.
8259 (init_array): Likewise.
8260 * elf/tst-array2dep.c (fini_array): Likewise.
8261 (init_array): Likewise.
8263 2012-10-29 Mike Frysinger <vapier@gentoo.org>
8265 * manual/message.texi: Delete @cartouche tags.
8267 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8269 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8271 * sysdeps/mach/hurd/fsync.c: Likewise.
8273 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8274 [_POSIX_REALTIME_SIGNALS]: Change condition to
8275 [_POSIX_REALTIME_SIGNALS > 0].
8277 2012-10-27 Andreas Jaeger <aj@suse.de>
8279 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8280 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8281 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8282 [__WORDSIZE != 64]: Likewise.
8284 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8286 * iconvdata/tst-table.sh: Remove ${SHELL}.
8287 * iconvdata/tst-tables.sh: Likewise.
8289 2012-10-25 David S. Miller <davem@davemloft.net>
8291 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8292 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8295 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8297 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8298 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8299 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8302 2012-10-25 Roland McGrath <roland@hack.frob.com>
8304 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8305 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8308 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8309 Jim Blandy <jimb@codesourcery.com>
8311 * scripts/cross-test-ssh.sh: New file.
8312 * manual/install.texi (Configuring and compiling): Document use of
8314 * INSTALL: Regenerated.
8316 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8318 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8321 2012-10-25 Joseph Myers <joseph@codesourcery.com>
8323 * Makeconfig (run-program-prefix): Fix comment.
8325 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8326 Jim Blandy <jimb@codesourcery.com>
8328 * Makeconfig (test-wrapper): New variable,
8329 (test-wrapper-env): Likewise.
8330 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8331 (run-built-tests): Define to yes.
8332 (run-program-prefix): Use $(test-wrapper).
8333 (built-program-cmd): Likewise.
8334 * Rules (make-test-out): Use $(test-wrapper-env) and
8335 $(host-built-program-cmd).
8336 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8337 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8339 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8340 $(test-wrapper-env) to tst-rtld-load-self.sh.
8341 ($(objpfx)order2.out): Use $(test-wrapper).
8342 ($(objpfx)tst-initorder.out): Likewise.
8343 ($(objpfx)tst-initorder2.out): Likewise.
8344 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8345 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8346 (test_wrapper_env): New variable. Use it to run ld.so.
8347 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8348 Use it to run ld.so.
8349 (test_wrapper_env): Likewise.
8350 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8351 $(test-wrapper) to run-iconv-test.sh.
8352 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8353 (ICONV): Use $test_wrapper.
8354 * posix/Makefile ($(objpfx)globtest.out): Pass
8355 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8356 globtest.sh, not $(run-program-prefix).
8357 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8358 (test_wrapper): Likewise.
8359 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8360 set together with run_via_rtld_prefix.
8361 (run_program_prefix): Define in terms of test_wrapper and
8362 run_via_rtld_prefix.
8364 2012-10-24 Roland McGrath <roland@hack.frob.com>
8366 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8367 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8371 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8372 Declare __clock_getres, __clock_gettime, __clock_settime,
8373 __clock_nanosleep, and __clock_getcpuclockid.
8374 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8375 Remove librt_hidden_def (clock_gettime).
8376 * sysdeps/unix/clock_gettime.c: Likewise.
8377 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8378 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8379 * rt/clock_getres.c: Define __clock_getres as an alias.
8380 * sysdeps/posix/clock_getres.c: Likewise.
8381 * rt/clock_settime.c: Define __clock_settime as an alias.
8382 * sysdeps/unix/clock_settime.c: Likewise.
8383 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8384 * sysdeps/unix/clock_nanosleep.c: Likewise.
8385 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8386 * rt/clock-compat.c: New file.
8387 * rt/Makefile (librt-routines): Add clock-compat and move
8388 $(clock-routines) to ...
8389 (routines): ... here, new variable.
8390 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8391 Don't add get_clockfreq here.
8392 * rt/Versions (libc: GLIBC_2.17): New version set.
8393 Add clock_* symbols here.
8394 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8395 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8396 (GLIBC_2.17): Add clock_* symbols.
8397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8399 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8408 * NEWS: Mention the move.
8410 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8411 Use __open, __read, __close rather than their public counterparts.
8412 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8413 (__get_clockfreq_via_cpuinfo): Likewise.
8414 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8415 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8417 * config.h.in (HAVE_IFUNC): New #undef.
8418 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8420 * configure: Regenerated.
8422 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8424 * configure.in: Move READELF check to start of file.
8425 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8426 libc_cv_asm_gnu_indirect_function in the process.
8427 * configure: Regenerated.
8429 2012-10-24 Mike Frysinger <vapier@gentoo.org>
8431 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8432 send the output to /dev/null.
8433 (libc_cv_cc_with_libunwind): Likewise.
8434 (libc_cv_as_noexecstack): Likewise.
8435 * configure: Regenerate.
8437 2012-10-24 Joseph Myers <joseph@codesourcery.com>
8439 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8441 * posix/globtest.sh (TMPDIR): Do not set.
8442 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8443 (testout): Likewise.
8445 2012-10-24 Andreas Jaeger <aj@suse.de>
8447 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8448 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8449 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8450 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8451 posix_fadvise64, posix_fallocate64.
8453 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8454 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8455 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8457 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8459 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8461 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8462 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8463 <bits/fcntl-linux.h>.
8464 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8466 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8467 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8468 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8469 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8470 [__WORDSIZE != 64]: Likewise.
8472 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8474 * Makeconfig (run-built-tests): New variable.
8475 * Rules [$(cross-compiling) = yes]: Change condition to
8476 [$(run-built-tests) = no].
8477 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8478 to [$(run-built-tests) = yes].
8479 * elf/Makefile [$(cross-compiling) = no]: Likewise
8480 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8481 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8482 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8483 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8484 * io/Makefile [$(cross-compiling) = no]: Likewise.
8485 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8486 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8487 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8488 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8489 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8490 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8491 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8492 * string/Makefile [$(cross-compiling) = no]: Likewise.
8494 * posix/Makefile ($(objpfx)globtest.out): Pass
8495 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8496 $(rtld-installed-name).
8497 * posix/globtest.sh (elf_objpfx): Remove variable.
8498 (rtld_installed_name): Likewise.
8499 (library_path): Likewise.
8500 (run_program_prefix): New variable. Use for running globtest
8503 2012-10-23 Jim Blandy <jimb@codesourcery.com>
8504 Joseph Myers <joseph@codesourcery.com>
8506 * Makeconfig (host-built-program-cmd): New variable.
8507 * elf/Makefile (tst-stackguard1-ARGS): Use
8508 $(host-built-program-cmd).
8509 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8510 (tst-spawn-ARGS): Likewise.
8511 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8513 2012-10-23 Joseph Myers <joseph@codesourcery.com>
8514 Jim Blandy <jimb@codesourcery.com>
8516 * Makeconfig (run-via-rtld-prefix): New variable.
8517 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8518 (built-program-cmd): Likewise.
8520 2012-10-22 Andreas Jaeger <aj@suse.de>
8522 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8523 __O_RSYNC if it exists, otherwise to O_SYNC.
8525 2012-10-22 Jim Blandy <jimb@codesourcery.com>
8526 Joseph Myers <joseph@codesourcery.com>
8528 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8530 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8532 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8535 2012-10-22 Andreas Jaeger <aj@suse.de>
8537 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8539 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8544 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8545 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8547 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8552 2012-10-21 Jim Blandy <jimb@codesourcery.com>
8553 Joseph Myers <joseph@codesourcery.com>
8555 * config.make.in (NM): New variable.
8557 2012-10-21 Andreas Jaeger <aj@suse.de>
8559 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8560 definitions and declarations that are provided by
8561 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8563 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8566 * elf/Makefile (tests-static): Add tst-leaks1-static.
8567 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8568 ($(objpfx)tst-leaks1-static): New rule.
8569 ($(objpfx)tst-leaks1-static-mem): Likewise.
8570 (tst-leaks1-static-ENV): New macro.
8571 * elf/dl-open.c (dl_open_worker): Check the main application
8572 only if SHARED is defined.
8573 * elf/tst-leaks1-static.c: New file.
8575 2012-10-20 Andreas Jaeger <aj@suse.de>
8577 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8578 generic values for Linux.
8579 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8580 and declarations that are provided by <bits/fcntl-linux.h> and
8581 include <bits/fcntl-linux.h>.
8582 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8585 2012-10-20 Roland McGrath <roland@hack.frob.com>
8587 * io/fcntl.h: Move include of <bits/types.h> to the top and
8588 include it unconditionally.
8590 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8592 * wcsmbs/Makefile (tests-ifunc): New variable.
8593 (tests): Add $(tests-ifunc).
8594 * wcsmbs/test-wcschr-ifunc.c: New file.
8595 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8596 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8597 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8598 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8599 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8601 * string/Makefile (tests-ifunc): New variable.
8602 (tests): Add $(tests-ifunc).
8603 * string/test-memccpy.c (TEST_NAME): New macro.
8604 * string/test-memchr.c (TEST_NAME): Likewise.
8605 * string/test-memcmp.c (TEST_NAME): Likewise.
8606 * string/test-memcpy.c (TEST_NAME): Likewise.
8607 * string/test-memmem.c (TEST_NAME): Likewise.
8608 * string/test-memmove.c (TEST_NAME): Likewise.
8609 * string/test-memset.c (TEST_NAME): Likewise.
8610 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8611 * string/test-stpcpy.c (TEST_NAME): Likewise.
8612 * string/test-stpncpy.c (TEST_NAME): Likewise.
8613 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8614 * string/test-strcasestr.c (TEST_NAME): Likewise.
8615 * string/test-strcat.c (TEST_NAME): Likewise.
8616 * string/test-strchr.c (TEST_NAME): Likewise.
8617 * string/test-strcmp.c(TEST_NAME): Likewise.
8618 * string/test-strcpy.c (TEST_NAME): Likewise.
8619 * string/test-strcspn.c (TEST_NAME): Likewise.
8620 * string/test-strlen.c (TEST_NAME): Likewise.
8621 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8622 * string/test-strncmp.c (TEST_NAME): Likewise.
8623 * string/test-strncpy.c (TEST_NAME): Likewise.
8624 * string/test-strnlen.c (TEST_NAME): Likewise.
8625 * string/test-strpbrk.c (TEST_NAME): Likewise.
8626 * string/test-strrchr.c (TEST_NAME): Likewise.
8627 * string/test-strspn.c (TEST_NAME): Likewise.
8628 * string/test-strstr.c (TEST_NAME): Likewise.
8629 * string/test-bcopy-ifunc.c: New file.
8630 * string/test-bzero-ifunc.c: Likewise.
8631 * string/test-memccpy-ifunc.c: Likewise.
8632 * string/test-memchr-ifunc.c: Likewise.
8633 * string/test-memcmp-ifunc.c: Likewise.
8634 * string/test-memcpy-ifunc.c: Likewise.
8635 * string/test-memmem-ifunc.c: Likewise.
8636 * string/test-memmove-ifunc.c: Likewise.
8637 * string/test-mempcpy-ifunc.c: Likewise.
8638 * string/test-memset-ifunc.c: Likewise.
8639 * string/test-rawmemchr-ifunc.c: Likewise.
8640 * string/test-stpcpy-ifunc.c: Likewise.
8641 * string/test-stpncpy-ifunc.c: Likewise.
8642 * string/test-strcasecmp-ifunc.c: Likewise.
8643 * string/test-strcasestr-ifunc.c: Likewise.
8644 * string/test-strcat-ifunc.c: Likewise.
8645 * string/test-strchr-ifunc.c: Likewise.
8646 * string/test-strchrnul-ifunc.c: Likewise.
8647 * string/test-strcmp-ifunc.c: Likewise.
8648 * string/test-strcpy-ifunc.c: Likewise.
8649 * string/test-strcspn-ifunc.c: Likewise.
8650 * string/test-strlen-ifunc.c: Likewise.
8651 * string/test-strncasecmp-ifunc.c: Likewise.
8652 * string/test-strncat-ifunc.c: Likewise.
8653 * string/test-strncmp-ifunc.c: Likewise.
8654 * string/test-strncpy-ifunc.c: Likewise.
8655 * string/test-strnlen-ifunc.c: Likewise.
8656 * string/test-strpbrk-ifunc.c: Likewise.
8657 * string/test-strrchr-ifunc.c: Likewise.
8658 * string/test-strspn-ifunc.c: Likewise.
8659 * string/test-strstr-ifunc.c: Likewise.
8661 * debug/Makefile (tests-ifunc): New variable.
8662 (tests): Add $(tests-ifunc).
8663 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8664 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8665 * debug/test-stpcpy_chk-ifunc.c: New file.
8666 * debug/test-strcpy_chk-ifunc.c: Likewise.
8668 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8671 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8672 header is not read in.
8674 2012-10-19 Joseph Myers <joseph@codesourcery.com>
8676 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8677 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8678 directly. Pass built executable to script as
8679 $(built-program-cmd).
8680 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8681 $testprogram without using LD_LIBRARY_PATH and $ldso.
8683 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8684 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8685 $(rtld-installed-name).
8686 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8687 (rtld_installed_name): Likewise.
8688 (library_path): Likewise.
8689 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8690 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8691 $(run-program-prefix) to tst-tables.sh.
8692 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8693 it to run tst-table-from and tst-table-to.
8694 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8695 Pass it to tst-table.sh.
8696 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8697 $(run-program-prefix) to tst-gettext.sh.
8698 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8700 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8702 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8704 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8705 to run tst-gettext2.
8706 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8707 to run tst-translit.
8708 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8709 $(run-program-prefix) to tst-mtrace.sh.
8710 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8712 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8713 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8714 $(rtld-installed-name).
8715 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8716 (rtld_installed_name): Likewise.
8717 (run_program_prefix): New variable. Use it to run wordexp-test.
8719 * Makeconfig (ARCH): Remove all definitions.
8720 (machine): Likewise.
8721 [ARCH]: Remove conditional code.
8722 [!objdir]: Give error.
8723 [!objdir] (objpfx): Remove.
8724 [!objdir] (common-objpfx): Likewise.
8725 [!objdir] (common-objdir): Likewise.
8726 * configure.in (config_makefile): Remove. Hardcode Makefile in
8727 AC_CONFIG_FILES call.
8728 * configure: Regenerated.
8731 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8733 (testout): Likewise.
8735 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8736 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8737 $(rtld-installed-name).
8738 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8739 (rtld_installed_name): Likwise.
8740 (runit): Remove function.
8741 (run_getconf): New variable, Use it for running getconf binary.
8743 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8746 * string/test-memmem.c (check_result): New function.
8747 (do_one_test): Use it.
8748 (check1): New function.
8749 (test_main): Use it.
8751 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8753 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8755 2012-10-18 Joseph Myers <joseph@codesourcery.com>
8757 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8758 (_G_LSEEK64): Likewise.
8759 (_G_MMAP64): Likewise.
8760 (_G_FSTAT64): Likewise.
8761 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8762 (_G_LSEEK64): Likewise.
8763 (_G_MMAP64): Likewise.
8764 (_G_FSTAT64): Likewise.
8765 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8766 unconditional. Call __mmap64 directly.
8767 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8768 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8770 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8771 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8773 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8774 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8776 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8777 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8779 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8780 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8782 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8783 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8784 __fxstat64 directly.
8785 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8786 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8788 (freopen64) [!_G_OPEN64]: Remove conditional code.
8789 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8791 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8792 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8794 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8795 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8797 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8798 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8800 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8801 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8803 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8804 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8806 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8807 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8809 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8811 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8814 * manual/memory.texi (Malloc Tunable Parameters): Add note
8815 about free list pointers overwriting some perturb bytes.
8816 Wording suggested by Roland McGrath.
8818 2012-10-17 Joseph Myers <joseph@codesourcery.com>
8820 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8821 (lgamma_test): Likewise.
8822 (tgamma_test): Likewise.
8824 2012-10-16 Florian Weimer <fweimer@redhat.com>
8827 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8828 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8830 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8832 * NEWS: Mention BZ #14716.
8833 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8834 when removing AVAILABLE1_USES_J macro.
8836 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8838 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8839 (__bswap_64): __uint64_t for unsigned 64-bit int.
8841 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8843 * include/string.h (memmem): Declare libc hidden alias.
8844 * string/memmem.c (memmem): Define libc hidden alias.
8845 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8846 __read, __close instead of open, read, close.
8848 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8850 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8851 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8853 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8854 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8855 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8857 (__rawmemchr_sse2): Likewise.
8858 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8859 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8860 (__strchr_sse2): Likewise.
8861 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8862 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8863 (__strcasecmp_sse2): Likewise.
8864 (__strncasecmp_sse2): Likewise.
8865 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8866 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8867 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8868 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8869 (__strrchr_sse2): Likewise.
8870 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8872 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8873 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8874 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8875 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8876 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8877 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8878 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8879 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8880 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8881 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8882 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8883 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8884 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8885 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8886 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8887 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8888 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8889 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8890 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8891 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8892 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8893 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8894 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8895 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8896 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8897 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8898 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8899 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8900 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8901 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8903 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8905 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8906 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8907 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8908 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8910 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8912 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8913 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8914 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8915 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8917 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8918 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8919 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8920 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8921 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8922 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8923 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8924 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8925 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8926 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8927 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8928 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8929 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8930 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8931 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8932 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8933 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8934 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8935 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8936 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8937 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8938 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8939 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8940 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8941 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8942 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8943 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8944 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8945 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8946 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8947 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8948 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8949 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8950 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8951 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8952 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8953 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8954 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8955 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8956 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8957 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8959 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8960 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8961 * include/ifunc-impl-list.h: New file.
8962 * misc/ifunc-impl-list.c: Likewise.
8963 * misc/Makefile (routines): Add ifunc-impl-list.
8964 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8965 * string/test-string.h: Include <ifunc-impl-list.h>.
8966 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8967 impl_array): New variables.
8968 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8970 (test_init): Call __libc_ifunc_impl_list to initialize
8971 func_list if TEST_IFUNC and TEST_NAME are defined.
8973 * string/Makefile (strop-tests): Add bcopy and bzero.
8974 * string/test-bcopy.c: New file.
8975 * string/test-bzero.c: Likewise.
8976 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8978 * string/test-memset.c: Support bzero test if TEST_BZERO is
8980 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8982 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8984 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8987 2012-10-10 Joseph Myers <joseph@codesourcery.com>
8989 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8990 * configure: Regenerated.
8992 * Makeconfig (+link-static-before-libc): Don't include
8993 $(link-static-libc).
8995 * libio/libio.h (_IO_pos_t): Remove.
8997 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
8999 * NEWS: Add note about FIPS mode. Wording suggested by Roland
9002 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9004 * crypt/crypt-entry.c: Include fips-private.h.
9005 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
9006 * crypt/md5c-test.c (main): Tolerate disabled MD5.
9007 * sysdeps/unix/sysv/linux/fips-private.h: New file.
9008 * sysdeps/generic/fips-private.h: New file, dummy fallback.
9010 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
9012 * crypt/crypt-private.h: Include stdbool.h.
9013 (_ufc_setup_salt_r): Return bool.
9014 * crypt/crypt-entry.c: Include errno.h.
9015 (__crypt_r): Return NULL with EINVAL for bad salt.
9016 * crypt/crypt_util.c (bad_for_salt): New.
9017 (_ufc_setup_salt_r): Check that salt is long enough and within
9018 the specified alphabet.
9019 * crypt/badsalttest.c: New file.
9020 * crypt/Makefile (tests): Add it.
9021 ($(objpfx)badsalttest): New.
9023 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
9025 * NEWS: Add entry for BZ #14602.
9027 2012-10-09 Joseph Myers <joseph@codesourcery.com>
9029 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
9031 * math/libm-test.inc: Update comment listing what functions and
9033 (isgreater_test): New function.
9034 (isgreaterequal_test): Likewise.
9035 (isless_test): Likewise.
9036 (islessequal_test): Likewise.
9037 (islessgreater_test): Likewise.
9038 (isunordered_test): Likewise.
9039 (main): Call the new functions.
9041 2012-10-09 Roland McGrath <roland@hack.frob.com>
9043 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9044 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9045 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9046 * sysdeps/i386/configure: Regenerated.
9047 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9048 * sysdeps/mach/configure: Regenerated.
9049 * sysdeps/mach/hurd/configure: Regenerated.
9050 * sysdeps/powerpc/configure: Regenerated.
9051 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9052 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9053 * sysdeps/s390/s390-32/configure: Regenerated.
9054 * sysdeps/s390/s390-64/configure: Regenerated.
9055 * sysdeps/sh/configure: Regenerated.
9056 * sysdeps/sparc/configure: Regenerated.
9057 * sysdeps/unix/sysv/linux/configure: Regenerated.
9058 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9059 * sysdeps/x86_64/configure: Regenerated.
9061 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9062 defined. Don't check if MAP is NULL.
9064 2012-10-09 Joseph Myers <joseph@codesourcery.com>
9066 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9067 (_G_stat64): Likewise.
9068 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9069 (_G_stat64): Likewise.
9070 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9071 instead of struct _G_stat64.
9072 * libio/fileops.c (mmap_remap_check): Likewise.
9073 (decide_maybe_mmap): Likewise.
9074 (_IO_new_file_seekoff): Likewise.
9075 (_IO_file_stat): Likewise.
9076 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9078 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9079 instead of struct _G_stat64.
9080 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9082 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9085 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9087 (CHECK_EOL): New macro.
9088 (two_way_short_needle): Check beginning of haystack for EOL. Use
9090 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9091 Replace with CHECK_EOL.
9092 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9093 Replace with CHECK_EOL.
9095 2012-10-08 Joseph Myers <joseph@codesourcery.com>
9097 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9099 * math/libm-test.inc: Update comment listing what functions and
9101 (finite_test): New function.
9102 (isinf_test): Likewise.
9103 (isnan_test): Likewise.
9104 (fpclassify_test): Test subnormal input.
9105 (isfinite_test): Likewise.
9106 (isnormal_test): Likewise.
9107 (main): Call the new functions.
9109 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9112 * Makerules (%.dynsym): Force C locale when running
9113 $(OBJDUMP) --dynamic-syms.
9115 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9117 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9120 2012-10-06 David S. Miller <davem@davemloft.net>
9122 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9123 upper 32-bits of the length value in %o2 since we use branch-on-register
9124 tests which consider the entire 64-bit register.
9126 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9128 * string/test-strstr.c (check2): Add a test for page boundary.
9130 2012-10-05 David S. Miller <davem@davemloft.net>
9132 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9133 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9135 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9137 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9138 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9139 and bzero when HWCAP_SPARC_CRYPTO is present.
9141 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9144 * string/test-strstr.c (check2): New function.
9145 (test_main): Call check2.
9147 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9149 * string/bug-strcasestr1.c (do_test): Moved to ...
9150 * string/test-strcasestr.c (check1): Here. New function.
9151 (do_one_test): Break out result checking code into ...
9152 (check_result): This. New function.
9153 (do_one_test): Call check_result.
9154 (test_main): Call check1.
9155 * string/bug-strchr1.c (do_test): Moved to ...
9156 * string/test-strchr.c (check1): Here. New function.
9157 (do_one_test): Break out result checking code into ...
9158 (check_result): This. New function.
9159 (do_one_test): Call check_result.
9160 (test_main): Call check1.
9161 * string/bug-strstr1.c (main): Moved to ...
9162 * string/test-strstr.c (check1): Here. New function.
9163 (do_one_test): Break out result checking code into ...
9164 (check_result): This. New function.
9165 (do_one_test): Call check_result.
9166 (test_main): Call check1.
9167 * string/bug-strcasestr1.c: Removed.
9168 * string/bug-strchr1.c: Likewise.
9169 * string/bug-strstr1.c: Likewise.
9171 * elf/Makefile (dl-routines): Add hwcaps.
9172 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9173 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9174 (_dl_important_hwcaps): Moved to ...
9175 * elf/dl-hwcaps.c: Here. New file.
9176 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9179 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9180 if IS_IN_rtld isn't defined.
9182 * elf/dl-support.c (_dl_sysinfo_map): New.
9183 Include "get-dynamic-info.h" and "setup-vdso.h".
9184 (_dl_non_dynamic_init): Call setup_vdso.
9185 * elf/dynamic-link.h: Don't include <assert.h>.
9186 (elf_get_dynamic_info): Moved to ...
9187 * elf/get-dynamic-info.h: Here. New file.
9188 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9189 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9190 * elf/setup-vdso.h: Here. New file.
9191 * elf/rtld.c: Include "setup-vdso.h".
9192 (dl_main): Call setup_vdso.
9194 2012-10-05 Joseph Myers <joseph@codesourcery.com>
9196 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9197 creal in comment listing functions tested. List finite, isinf,
9198 isnan, isless, islessequal, isgreater, isgreaterequal,
9199 islessgreater, isunordered, lgamma_r and pow10 as functions and
9200 macros not tested. Mention which functions not tested are aliases
9201 for other functions. Fix typo. Note that signs of NaNs are not
9204 * scripts/config.guess: Update from config.git.
9205 * scripts/config.sub: Likewise.
9207 2012-10-04 Roland McGrath <roland@hack.frob.com>
9209 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9210 * misc/madvise.c (madvise): Renamed to __madvise.
9211 Make madvise a weak alias.
9212 * include/sys/mman.h: Declare __madvise.
9213 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9214 * sysdeps/unix/syscalls.list
9215 (madvise): Make __madvise the strong name, and madvise a weak alias.
9216 * sysdeps/unix/sysv/linux/syscalls.list
9217 (madvise, mmap): Remove redundant entries.
9218 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9219 * malloc/malloc.c (mtrim): Likewise.
9220 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9222 2012-10-03 Roland McGrath <roland@hack.frob.com>
9224 * sysdeps/mach/hurd/dl-cache.c: File removed.
9225 * config.h.in (USE_LDCONFIG): New #undef.
9226 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9227 * configure: Regenerated.
9228 * elf/Makefile (dl-routines): Add dl-cache only under
9229 [$(use-ldconfig) = yes].
9230 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9231 cache on [USE_LDCONFIG].
9232 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9234 * elf/rtld.c (dl_main): Likewise.
9236 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9238 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9239 _SC_LEVEL4_CACHE_LINESIZE.
9241 2012-10-03 Roland McGrath <roland@hack.frob.com>
9243 * sysdeps/unix/bsd/confstr.h: File removed.
9245 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
9247 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9250 2012-10-02 Roland McGrath <roland@hack.frob.com>
9252 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9253 Make 'mapoff' field ElfW(Off) rather than off_t.
9255 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9257 * nscd/Makefile: Remove nscd-cflags and all its users.
9258 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9259 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9262 * malloc.c (malloc_printerr): Clarify error message.
9264 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9268 Set bit_FMA_Usable if FMA is supported.
9269 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9271 (bit_FMA4_Usable): Updated.
9272 (index_FMA_Usable): New macro.
9273 (CPUID_FMA): Likewise
9274 (HAS_FMA): Defined with bit_FMA_Usable.
9276 2012-10-01 Roland McGrath <roland@hack.frob.com>
9278 * bits/types.h (__swblk_t): Type removed.
9279 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9280 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9281 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9282 (__SWBLK_T_TYPE): Likewise.
9283 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9284 (__SWBLK_T_TYPE): Likewise.
9285 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9286 (__SWBLK_T_TYPE): Likewise.
9287 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9288 (__SWBLK_T_TYPE): Likewise.
9290 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
9291 Honza Horak <hhorak@redhat.com>
9293 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9294 (xdr_mapname): Use YPMAXMAP as maxsize.
9295 (xdr_peername): Use YPMAXPEER as maxsize.
9296 (xdr_keydat): Use YPAXRECORD as maxsize.
9297 (xdr_valdat): Use YPMAXRECORD as maxsize.
9299 2012-10-01 Roland McGrath <roland@hack.frob.com>
9301 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9303 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9304 * csu/init-first.c: ... here.
9305 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9306 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9307 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9308 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9309 * sysdeps/i386/init-first.c: File removed.
9310 * sysdeps/sh/init-first.c: File removed.
9312 2012-10-01 Joseph Myers <joseph@codesourcery.com>
9315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9316 if x * y might underflow to zero and z is zero.
9317 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9318 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9319 * math/libm-test.inc (min_subnorm_value): New variable.
9320 (fma_test): Add more tests.
9321 (fma_test_towardzero): Likewise.
9322 (fma_test_downward): Likewise
9323 (fma_test_upward): Likewise.
9324 (initialize): Set min_subnorm_value.
9326 2012-09-29 Joseph Myers <joseph@codesourcery.com>
9329 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9331 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9332 mode for addition resulting in exact zero.
9333 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9334 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9336 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9337 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9338 * math/libm-test.inc (fma_test): Add more tests.
9339 (fma_test_towardzero): New function.
9340 (fma_test_downward): Likewise.
9341 (fma_test_upward): Likewise.
9342 (main): Call the new functions.
9344 2012-09-28 David S. Miller <davem@davemloft.net>
9346 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9348 2012-09-28 Roland McGrath <roland@hack.frob.com>
9350 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9353 * sysdeps/gnu/_G_config.h: Moved to ...
9354 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9355 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9356 * sysdeps/generic/_G_config.h: ... here.
9358 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9360 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9362 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9363 Conditionalize target on [libnss_test1.so-version].
9365 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9367 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9368 (elfobjdir): Move out of conditionals.
9370 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9371 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9372 (__nss_lookup_function): Conditionalize label remove_from_tree on
9373 [!DO_STATIC_NSS || SHARED], matching its only use.
9375 2012-09-28 David S. Miller <davem@davemloft.net>
9377 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9378 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9380 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9382 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9383 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9384 when HWCAP_SPARC_CRYPTO is present.
9386 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9388 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9390 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9393 * stdio-common/vfprintf.c (process_string_arg): Revert
9396 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9398 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9400 * stdio-common/tst-sprintf.c: Include <locale.h>
9401 (main): Test sprintf's handling of incomplete multibyte
9404 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9406 * elf/dl-runtime.c (VERSYMIDX): Removed.
9407 * elf/dl-version.c (VERSYMIDX): Likewise.
9408 * elf/do-rel.h (VERSYMIDX): Likewise.
9410 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9411 * elf/rtld.c (VALIDX): Likewise.
9412 (ADDRIDX): Likewise.
9413 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9414 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9415 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9416 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9418 (ADDRIDX): Likewise.
9420 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9422 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9424 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9427 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9429 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9430 addresses are in the same scope as 192.0.2/24.
9431 * posix/gai.conf: Document new scope table defaults.
9433 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9436 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9437 for ftell. Compute offsets from write pointers instead.
9438 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9440 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9443 * libio/Makefile (tests): New test case tst-fseek.
9444 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9445 combination works in wide mode.
9446 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9447 state when the external buffer state changes.
9449 2012-09-27 David S. Miller <davem@davemloft.net>
9452 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9453 pass reloc->r_addend in as the 'high' argument to
9454 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9458 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9460 * rt/tst-aio2.c: Include <pthread.h>.
9461 * rt/tst-aio3.c: Likewise.
9463 2012-09-27 Steve Ellcey <sellcey@mips.com>
9465 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9467 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9469 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9470 contents on [SHARED].
9472 2012-09-26 Marek Polacek <polacek@redhat.com>
9476 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9477 for C++ and GCC <4.3 as well as for non GCC compilers.
9479 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9483 2012-09-25 Roland McGrath <roland@hack.frob.com>
9485 * Makefile.in (all, install): Declare with .PHONY.
9486 Reported by Michael Hope <michael.hope@linaro.org>.
9488 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9490 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9491 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9493 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9495 (sydep_routines): Add the new and the internal functions.
9496 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9497 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9499 (GLIBC_2.17): Add the new function.
9500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9501 (GLIBC_2.17): Likewise.
9502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9503 (GLIBC_2.17): Likewise.
9504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9505 (GLIBC_2.17): Likewise.
9506 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9508 2012-09-25 Alan Modra <amodra@gmail.com>
9510 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9511 Add release barrier before setting once_control to say
9512 initialisation is done. Add hints on lwarx. Use macro in
9514 (clear_once_control): Add release barrier.
9516 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9519 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9521 * math/s_clog10.c (__clog10): Likewise.
9522 * math/s_clog10f.c (__clog10f): Likewise.
9523 * math/s_clog10l.c (__clog10l): Likewise.
9524 * math/s_clogf.c (__clogf): Likewise.
9525 * math/s_clogl.c (__clogl): Likewise.
9526 * math/Makefile (libm-calls): Add x2y2m1.
9527 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9528 (__x2y2m1): Likewise.
9529 (__x2y2m1l): Likewise.
9530 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9531 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9532 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9533 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9534 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9535 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9536 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9537 * sysdeps/i386/fpu/libm-test-ulps: Update.
9538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9541 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9542 int as type of variable DEPTH.
9543 (glob): Use size_t instead of int as type of variables NEWCOUNT
9546 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9548 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9550 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9551 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9552 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9553 macros for using routine as __sincosf_ia32.
9554 Use macro for function declaration and weak_alias.
9555 * sysdeps/i386/fpu/libm-test-ulps: Update.
9557 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9558 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9560 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
9562 * math/s_cexpf.c (__cexpf): Likewise.
9563 * math/s_csinf.c (__csinf): Likewise.
9564 * math/s_csinhf.c (__csinhf): Likewise.
9565 * math/s_ctanf.c (__ctanf): Likewise.
9566 * math/s_ctanhf.c (__ctanhf): Likewise.
9567 * math/s_ccosh.c (__ccoshf): Likewise.
9568 * math/s_cexp.c (__cexpl): Likewise.
9569 * math/s_csin.c (__csin): Likewise.
9570 * math/s_csinh.c (__csinh): Likewise.
9571 * math/s_ctan.c (__ctan): Likewise.
9572 * math/s_ctanh.c (ctanh): Likewise.
9573 * math/s_ccoshl.c (__ccoshl): Likewise.
9574 * math/s_cexpl.c (__cexpl): Likewise.
9575 * math/s_csinl.c (__csinl): Likewise.
9576 * math/s_csinhl.c (__csinhl): Likewise.
9577 * math/s_ctanl.c (__ctanl): Likewise.
9578 * math/s_ctanhl.c (__ctanhl): Likewise.
9580 2012-09-25 Joseph Myers <joseph@codesourcery.com>
9582 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9583 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9584 (_IO_off_t): Define to __off_t, not _G_off_t.
9585 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9586 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9587 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9588 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9589 type of __dummy and __dummy2 fields.
9590 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9591 (_G_ssize_t): Likewise.
9592 (_G_off_t): Likewise.
9593 (_G_pid_t): Likewise.
9594 (_G_uid_t): Likewise.
9595 (_G_wchar_t): Likewise.
9596 (_G_wint_t): Likewise.
9597 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9598 (_G_ssize_t): Likewise.
9599 (_G_off_t): Likewise.
9600 (_G_pid_t): Likewise.
9601 (_G_uid_t): Likewise.
9602 (_G_wchar_t): Likewise.
9603 (_G_wint_t): Likewise.
9604 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9605 (_G_ssize_t): Likewise.
9606 (_G_off_t): Likewise.
9607 (_G_pid_t): Likewise.
9608 (_G_uid_t): Likewise.
9609 (_G_wchar_t): Likewise.
9610 (_G_wint_t): Likewise.
9612 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9614 * malloc/arena.c: Include malloc-sysdep.h.
9615 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9616 is sufficient to shrink the heap or an unmap is needed.
9617 * sysdeps/generic/malloc-sysdep.h: New file. Define
9618 new function check_may_shrink_heap.
9619 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9620 new function check_may_shrink_heap.
9622 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9624 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9627 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9629 * catgets/test-gencat.sh: Add "set -e".
9630 * elf/tst-pathopt.sh: Likewise.
9631 * grp/tst_fgetgrent.sh: Likewise.
9632 * iconvdata/run-iconv-test.sh: Likewise.
9633 * intl/tst-gettext.sh: Likewise.
9634 * intl/tst-gettext2.sh: Likewise.
9635 * intl/tst-gettext4.sh: Likewise.
9636 * intl/tst-gettext6.sh: Likewise.
9637 * intl/tst-translit.sh: Likewise.
9638 * io/ftwtest-sh: Likewise.
9639 * libio/test-freopen.sh: Likewise.
9640 * malloc/tst-mtrace.sh: Likewise.
9641 * posix/globtest.sh: Likewise.
9642 * posix/tst-getconf.sh: Likewise.
9643 * posix/wordexp-tst.sh: Likewise.
9644 * stdio-common/tst-printf.sh: Likewise.
9645 * stdio-common/tst-unbputc.sh: Likewise.
9646 * stdlib/tst-fmtmsg.sh: Likewise.
9647 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9648 * catgets/Makefile: Do not specify -e option when running
9649 testsuite shell scripts.
9650 * elf/Makefile: Likewise.
9651 * grp/Makefile: Likewise.
9652 * iconvdata/Makefile: Likewise.
9653 * intl/Makefile: Likewise.
9654 * io/Makefile: Likewise.
9655 * libio/Makefile: Likewise.
9656 * malloc/Makefile: Likewise.
9657 * posix/Makefile: Likewise.
9658 * stdio-common/Makefile: Likewise.
9659 * stdlib/Makefile: Likewise.
9660 * sysdeps/x86_64/Makefile: Likewise.
9662 * io/ftwtest-sh: Add copyright header.
9663 * posix/globtest.sh: Likewise.
9664 * posix/tst-getconf.sh: Likewise.
9665 * posix/wordexp-tst.sh: Likewise.
9666 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9668 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9671 * Makeconfig (+link): Defined as $(+link-static) if
9672 $(build-shared) isn't yes.
9673 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9675 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9677 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9680 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9681 new chunk size with MALLOC_ALIGN_MASK.
9683 2012-09-24 Joseph Myers <joseph@codesourcery.com>
9686 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9688 (__printf_fphex): Determine rounding using get_rounding_mode and
9690 * stdio-common/tst-printf-round.c (struct hex_test): New
9692 (hex_tests): New variable.
9693 (test_hex_in_one_mode): New function.
9694 (do_test): Also run tests for hex float output.
9696 2012-09-21 Joseph Myers <joseph@codesourcery.com>
9698 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9699 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9700 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9701 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9702 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9703 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9704 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9705 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9707 2012-09-20 Joseph Myers <joseph@codesourcery.com>
9709 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9710 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9711 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9712 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9714 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9717 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9719 * elf/tst-rtld-load-self.sh: New test.
9720 * elf/Makefile: Run it.
9722 2012-09-18 Joseph Myers <joseph@codesourcery.com>
9724 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9725 (tst-writev-ENV): Remove.
9726 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9728 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9730 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9732 2012-09-17 Joseph Myers <joseph@codesourcery.com>
9734 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9736 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9738 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9739 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9740 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9743 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9746 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9747 * config.make.in (have-cpp-asm-debuginfo): Removed.
9748 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9749 * configure: Regenerated.
9751 2012-09-14 Joseph Myers <joseph@codesourcery.com>
9754 * stdio-common/printf_fp.c: Include <stdbool.h> and
9756 (___printf_fp): Determine rounding using get_rounding_mode and
9758 * stdio-common/tst-printf-round.c: New file.
9759 * stdio-common/Makefile (tests): Add tst-printf-round.
9760 (link-libm): New variable.
9761 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9763 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9766 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9767 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9769 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9772 2012-09-13 Joseph Myers <joseph@codesourcery.com>
9774 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9775 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9776 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9777 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9779 2012-09-12 Joseph Myers <joseph@codesourcery.com>
9782 * include/rounding-mode.h: New file.
9783 * sysdeps/generic/get-rounding-mode.h: Likewise.
9784 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9785 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9786 (MAX_VALUE): New macro.
9787 (MIN_VALUE): Likewise.
9788 (overflow_value): New function.
9789 (underflow_value): Likewise.
9790 (round_and_return): Use overflow_value and underflow_value to
9791 determine return values in overflow and underflow cases. Use
9792 round_away to determine rounding depending on rounding mode.
9793 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9794 determine return values in overflow and underflow cases.
9795 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9796 (struct test_results): New structure.
9797 (struct test): Use struct test_results to store expected results
9798 for all rounding modes.
9799 (TEST): Include expected results for all rounding modes.
9800 (test_in_one_mode): New function.
9801 (do_test): Use test_in_one_mode to compute and check results.
9802 Check results for all rounding modes.
9803 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9806 2012-12-09 Allan McRae <allan@archlinux.org>
9808 * sysdeps/i386/fpu/libm-test-ulps: Update
9810 2012-09-11 Joseph Myers <joseph@codesourcery.com>
9812 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9813 (_G_int32_t): Likewise.
9814 (_G_uint16_t): Likewise.
9815 (_G_uint32_t): Likewise.
9816 (_G_HAVE_BOOL): Likewise.
9817 (_G_HAVE_ATEXIT): Likewise.
9818 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9819 (_G_HAVE_IO_FILE_OPEN): Likewise.
9820 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9821 (_G_int32_t): Likewise.
9822 (_G_uint16_t): Likewise.
9823 (_G_uint32_t): Likewise.
9824 (_G_HAVE_BOOL): Likewise.
9825 (_G_HAVE_ATEXIT): Likewise.
9826 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9827 (_G_HAVE_IO_FILE_OPEN): Likewise.
9828 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9829 (_G_int32_t): Likewise.
9830 (_G_uint16_t): Likewise.
9831 (_G_uint32_t): Likewise.
9832 (_G_HAVE_BOOL): Likewise.
9833 (_G_HAVE_ATEXIT): Likewise.
9834 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9835 (_G_HAVE_IO_FILE_OPEN): Likewise.
9837 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9839 * csu/libc-tls.c: Update copyright years.
9841 2012-09-10 Joseph Myers <joseph@codesourcery.com>
9843 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9844 [!_G_USING_THUNKS]: Remove conditional code.
9845 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9846 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9848 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9849 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9850 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9851 (_G_VTABLE_LABEL_PREFIX): Likewise.
9852 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9853 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9854 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9855 (_G_VTABLE_LABEL_PREFIX): Likewise.
9856 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9857 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9858 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9859 (_G_VTABLE_LABEL_PREFIX): Likewise.
9860 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9862 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9864 * libio/Makefile: Include ../Makeconfig before tests.
9865 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9866 only if $(build-shared) is yes.
9868 * iconv/gconv_db.c: Update copyright years.
9870 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9872 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9873 unwind info if defined PIC. Fix special cases description.
9874 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9876 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9878 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9880 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9882 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9884 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9887 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9888 (LDLIBS-tst-chk4): This.
9889 (LDFLAGS-tst-chk5): Renamed to ...
9890 (LDLIBS-tst-chk5): This.
9891 (LDFLAGS-tst-chk6): Renamed to ...
9892 (LDLIBS-tst-chk6): This.
9893 (LDFLAGS-tst-lfschk4): Renamed to ...
9894 (LDLIBS-tst-lfschk4): This.
9895 (LDFLAGS-tst-lfschk5): Renamed to ...
9896 (LDLIBS-tst-lfschk5): This.
9897 (LDFLAGS-tst-lfschk6): Renamed to ...
9898 (LDLIBS-tst-lfschk6): This.
9900 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9901 on $(common-objpfx)soversions.mk.
9903 2012-09-07 Joseph Myers <joseph@codesourcery.com>
9906 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9909 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9911 * malloc/arena.c (arena_get_retry): New function that gets
9912 another arena for the caller to try its request on.
9913 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9914 current arena cannot fulfill the request.
9915 (__libc_memalign): Likewise.
9916 (__libc_memalign): Likewise.
9917 (__libc_pvalloc): Likewise.
9918 (__libc_calloc): Likewise.
9920 2012-09-05 John Tobey <john.tobey@gmail.com>
9923 * manual/arith.texi (Operations on Complex): Fix description
9926 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9929 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9933 * manual/memory.texi (Memory): Make order of menu items match
9936 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9938 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9939 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9940 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9942 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9944 * csu/libc-tls.c (static_dtv): Renamed to ...
9945 (_dl_static_dtv): This. Make it global.
9946 (_dl_initial_dtv): Removed.
9947 (__libc_setup_tls): Updated.
9948 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9949 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9952 2012-09-06 Petr Machata <pmachata@redhat.com>
9954 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9955 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9956 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9957 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9959 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9962 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9963 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9966 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9969 * Makeconfig (link-static-before-libc): Replace $(+prector)
9971 (link-static-after-libc): Replace $(+postctor) with
9973 (link-bounded): Replace $(+prector)/$(+postctor) with
9974 $(+prectorT)/$(+postctorT).
9975 (+prectorT): New macro.
9976 (+postctorT): Likewise.
9978 2012-09-06 Joseph Myers <joseph@codesourcery.com>
9980 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9981 (round_str): Handle values above the maximum for IBM long double
9983 * stdlib/tst-strtod-round.c (tests): Regenerated.
9985 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9987 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9989 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9990 zarch_nohighgprs around the zarch optimized routines.
9991 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9992 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9993 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9996 2012-09-05 David S. Miller <davem@davemloft.net>
9998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10000 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
10001 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
10002 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
10003 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10006 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10008 * malloc/arena.c: Fold copyright years.
10009 * malloc/mcheck.c, malloc/memusage.c: Likewise.
10011 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10013 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
10015 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10017 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
10019 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10021 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
10022 change internal state upon failure.
10024 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
10026 * malloc/mcheck.c (mcheck_check_all): Fix typo.
10027 * malloc/memusage.c (mmap): Likewise.
10028 (mmap64, mremap): Likewise. Adjust name in comment.
10030 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10032 * libio/fileops.c: Fix typos in comments.
10033 * libio/oldfileops.c: Likewise.
10034 * libio/wfileops.c: Likewise.
10036 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10039 * malloc/Makefile (tests): Add tst-malloc-usable test case.
10040 (tst-malloc-usable-ENV): Set environment for test case.
10041 * malloc/hooks.c (malloc_check_get_size): New function to get
10043 * malloc/malloc.c (musable): Use malloc_check_get_size.
10044 * malloc/tst-malloc-usable.c: New test case.
10046 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10048 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10050 2012-09-05 Allan McRae <allan@archlinux.org>
10053 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10054 determine header location.
10055 * configure: Regenerated.
10057 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10059 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10061 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
10062 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10064 (test): Regenerate.
10066 2012-09-04 David S. Miller <davem@davemloft.net>
10068 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10069 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10070 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10072 2012-09-04 Florian Weimer <fweimer@redhat.com>
10074 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10077 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10079 2012-09-04 Joseph Myers <joseph@codesourcery.com>
10082 * libio/iogetdelim.c: Include <limits.h>.
10083 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10084 + len + 1 would overflow.
10086 2012-09-03 Andreas Jaeger <aj@suse.de>
10088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10089 * sysdeps/i386/fpu/libm-test-ulps: Update.
10091 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10093 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10094 Add s_sinf-sse2, s_conf-sse2.
10096 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10097 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10098 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10099 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10101 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10102 for using routine as __sinf_ia32.
10103 Use macro for function declaration and weak_alias.
10104 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10105 for using routine as __cosf_ia32.
10106 Use macro for function declaration and weak_alias.
10108 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10109 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10111 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10112 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10115 * math/libm-test.inc (cos_test): Add more test cases.
10116 (sin_test): Likewise.
10117 (sincos_test): Likewise.
10119 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10121 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10122 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10124 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10126 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10129 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10130 first element of the GOT.
10131 (elf_machine_load_address): Return the difference between
10132 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10134 2012-09-01 Allan McRae <allan@archlinux.org>
10137 * configure.in (AWK): Require gawk version 3.0 or later.
10138 * configure: Regenerated.
10140 2012-09-01 Joseph Myers <joseph@codesourcery.com>
10142 * sysdeps/unix/sysv/linux/kernel-features.h
10143 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10144 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10145 [__NR_clock_getres]: Make code unconditional.
10146 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10147 (clock_getcpuclockid): Remove code left unreachable by removal of
10149 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10150 code unconditional.
10151 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10152 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10153 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10154 Make code unconditional.
10155 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10156 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10157 * sysdeps/unix/sysv/linux/clock_settime.c
10158 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10160 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10161 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10163 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10166 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10167 scripts/test-installation.pl.
10169 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10170 and $ld_so_version if it is set.
10172 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10175 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10176 failure if reading from procfs failed.
10177 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10179 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10181 * sysdeps/unix/sysv/linux/kernel-features.h
10182 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10183 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10184 Remove conditional code.
10185 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10186 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10187 Remove conditional code.
10188 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10189 * sysdeps/unix/sysv/linux/i386/fxstat.c
10190 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10191 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10192 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10193 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10194 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10195 * sysdeps/unix/sysv/linux/i386/lxstat.c
10196 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10197 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10198 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10199 Remove conditional code.
10200 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10201 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10202 Remove conditional code.
10203 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10204 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10205 <kernel-features.h>.
10206 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10208 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10209 Remove conditional code.
10210 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10211 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10212 Remove conditional.
10214 2012-08-27 Mike Frysinger <vapier@gentoo.org>
10217 * NEWS: Add fixed bug number.
10219 2012-08-27 Joseph Myers <joseph@codesourcery.com>
10222 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10223 underflowing exponent in case of negative sign.
10224 * stdlib/tst-strtod-round-data: Add more tests.
10225 * stdlib/tst-strtod-round.c (tests): Regenerated.
10228 * stdlib/strtod_l.c (NDIG): Remove.
10229 (HEXNDIG): Likewise.
10230 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10231 smallest representable value.
10232 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10233 lie within an exact representation of 1/2 ulp of the result.
10234 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10236 (TENS_P9_IDX): Define unconditionally.
10237 (TENS_P9_SIZE): Likewise.
10238 (TENS_P10_IDX): Likewise.
10239 (TENS_P10_SIZE): Likewise.
10240 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10241 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10242 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10243 entries for 10^2^13 and 10^2^14.
10244 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10245 (TENS_P13_IDX): Define.
10246 (TENS_P13_SIZE): Likewise.
10247 (TENS_P14_IDX): Likewise.
10248 (TENS_P14_SIZE): Likewise.
10249 (_fpioconst_pow10): Change array size to
10250 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10252 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10253 1024]: Add entries for 10^2^13 and 10^2^14.
10254 [LAST_POW10 > _LAST_POW10]: Remove #error.
10255 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10256 (_fpioconst_pow10): Change array size to
10257 FPIOCONST_POW10_ARRAY_SIZE.
10258 * stdlib/gen-fpioconst.c: New file.
10259 * stdlib/gen-tst-strtod-round.c: Likewise.
10260 * stdlib/tst-strtod-round-data: Likewise.
10261 * stdlib/tst-strtod-round.c: Likewise.
10262 * stdlib/Makefile (tests): Add tst-strtod-round.
10265 * stdlib/strtod_l.c: Include <stdint.h>.
10266 (NDEBUG): Do not define.
10267 (round_and_return): Change EXPONENT parameter to type intmax_t.
10268 Rearrange calculations to avoid internal overflow possibilities.
10269 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10270 Rearrange calculations to avoid internal overflow possibilities.
10271 Assert that number fits inside MPNSIZE limbs.
10272 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10273 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10274 calculations and add assertions to avoid internal overflow
10275 possibilities. Add casts to avoid signed/unsigned operations.
10276 * stdlib/tst-strtod-overflow.c: New file.
10277 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10279 2012-08-25 Marek Polacek <polacek@redhat.com>
10281 * time/time.h: Fix some typos in comments.
10283 2012-08-23 Roland McGrath <roland@hack.frob.com>
10285 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10286 * posix/tst-rfc3484-2.c: Likewise.
10287 * posix/tst-rfc3484-3.c: Likewise.
10289 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10291 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10292 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10294 2012-08-23 Joseph Myers <joseph@codesourcery.com>
10296 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10297 #include of fxstatat64.c.
10299 2012-08-22 Roland McGrath <roland@hack.frob.com>
10301 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10302 * shadow/getspent_r.c: Likewise.
10303 * shadow/getspnam.c: Likewise.
10304 * shadow/getspnam_r.c: Likewise.
10305 * gshadow/getsgent.c: Likewise.
10306 * gshadow/getsgent_r.c: Likewise.
10307 * gshadow/getsgnam.c: Likewise.
10308 * gshadow/getsgnam_r.c: Likewise.
10309 * inet/getnetbyad.c: Likewise.
10310 * inet/getnetbyad_r.c: Likewise.
10311 * inet/getnetbynm.c: Likewise.
10312 * inet/getnetbynm_r.c: Likewise.
10313 * inet/getnetent.c: Likewise.
10314 * inet/getnetent_r.c: Likewise.
10315 * inet/getproto.c: Likewise.
10316 * inet/getproto_r.c: Likewise.
10317 * inet/getprtent.c: Likewise.
10318 * inet/getprtent_r.c: Likewise.
10319 * inet/getprtname.c: Likewise.
10320 * inet/getprtname_r.c: Likewise.
10321 * inet/getrpcbyname.c: Likewise.
10322 * inet/getrpcbyname_r.c: Likewise.
10323 * inet/getrpcbynumber.c: Likewise.
10324 * inet/getrpcbynumber_r.c: Likewise.
10325 * inet/getrpcent.c: Likewise.
10326 * inet/getrpcent_r.c: Likewise.
10327 * inet/getaliasent.c: Likewise.
10328 * inet/getaliasent_r.c: Likewise.
10329 * inet/getaliasname.c: Likewise.
10330 * inet/getaliasname_r.c: Likewise.
10331 * nscd/getgrgid_r.c: Likewise.
10332 * nscd/getgrnam_r.c: Likewise.
10333 * nscd/gethstbyad_r.c: Likewise.
10334 * nscd/gethstbynm3_r.c: Likewise.
10335 * nscd/getpwnam_r.c: Likewise.
10336 * nscd/getpwuid_r.c: Likewise.
10337 * nscd/getsrvbynm_r.c: Likewise.
10338 * nscd/getsrvbypt_r.c: Likewise.
10339 * nscd/gai.c: Likewise.
10341 * configure.in (build_nscd): New substituted variable, set
10342 by --disable-build-nscd and defaults to $use_nscd.
10343 * configure: Regenerated.
10344 * config.make.in (build-nscd): New substituted variable.
10345 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10346 Change conditional to require [$(build-nscd) = yes] as well.
10347 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10350 * configure.in (use_nscd): New substituted variable, set by
10351 --disable-nscd. If enabled, define USE_NSCD.
10352 * configure: Regenerated.
10353 * config.h.in: Add USE_NSCD.
10354 * config.make.in (use-nscd): New substituted variable.
10355 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10356 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10357 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10358 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10359 (CFLAGS-getgrnam_r.c): Likewise.
10360 (CFLAGS-initgroups.c): Likewise.
10361 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10362 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10364 * inet/getnetgrent_r.c
10365 (nscd_setnetgrent): New function, broken out of ...
10366 (setnetgrent): ... here. Call it.
10367 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10368 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10369 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10370 * nscd/Makefile (routines, aux): Move definitions after include of
10371 Makeconfig. Conditionalize on [$(use-nscd) != no].
10372 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10373 Conditionalize on [USE_NSCD].
10374 (is_nscd, nscd_init_cb): Likewise.
10375 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10376 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10377 * nss/nss_db/db-init.c: Likewise.
10378 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10380 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10381 (make_request): Use it.
10382 (cache_valid_p): New function.
10383 (__check_pf): Use it.
10384 * NEWS: Add item for --disable-nscd.
10386 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10388 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10389 to support sed >= 4.2.1-20-ga9bf076.
10390 * configure: Regenerated.
10392 2012-08-22 Roland McGrath <roland@hack.frob.com>
10394 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10395 Conditionalize whole body on [IREL].
10397 2012-08-22 Jeff Law <law@redhat.com>
10400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10401 if the family is PF_UNSPEC.
10403 2012-08-22 Mike Frysinger <vapier@gentoo.org>
10405 * Makerules (lib-version): Rename from V.
10406 (install-lib-nosubdir): Change V to lib-version.
10408 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10411 * powerpc32/power6/wcschr.c: New file.
10412 * powerpc32/power6/wcscpy.c: New file.
10413 * powerpc32/power6/wcsrchr.c: New file.
10414 * powerpc64/power6/wcschr.c: New file.
10415 * powerpc64/power6/wcscpy.c: New file.
10416 * powerpc64/power6/wcsrchr.c: New file.
10418 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10420 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10421 (two_way_short_needle): Use it.
10422 * string/strstr.c (AVAILABLE1_USES_J): Define.
10423 * string/strcasestr.c: Likewise.
10425 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10427 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10430 * NEWS: Add an entry.
10431 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10432 define their defaults.
10433 (two_way_short_needle): Detect end-of-string on-the-fly.
10434 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10435 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10436 * string/bug-strcasestr1.c: New test.
10437 * string/Makefile: Run it.
10439 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10442 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10443 the first character.
10445 2012-08-21 Roland McGrath <roland@hack.frob.com>
10447 * csu/elf-init.c (__libc_csu_irel): Function removed.
10448 * csu/libc-start.c (apply_irel): New function.
10449 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10451 2012-08-21 Joseph Myers <joseph@codesourcery.com>
10453 * sysdeps/unix/sysv/linux/kernel-features.h
10454 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10455 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10456 <kernel-features.h>.
10457 [__NR_fadvise64_64]: Make code unconditional.
10458 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10459 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10460 !__NR_fadvise64_64)]: Likewise.
10461 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10462 !__NR_fadvise64_64))]: Likewise.
10463 [__NR_fadvise64]: Make code unconditional.
10464 [!__NR_fadvise64]: Remove conditional code.
10465 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10466 <kernel-features.h>.
10467 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10469 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10472 not include <kernel-features.h>.
10473 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10475 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10477 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10478 include <kernel-features.h>.
10479 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10481 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10484 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10486 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10487 slight instruction rearrangements per scrollpipe analysis.
10488 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10490 2012-08-20 Roland McGrath <roland@hack.frob.com>
10492 * manual/syslog.texi (syslog; vsyslog, closelog):
10493 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10494 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10496 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10497 DSOCAPS to match condition on defining it.
10499 2012-08-20 Joseph Myers <joseph@codesourcery.com>
10501 * sysdeps/unix/sysv/linux/kernel-features.h
10502 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10504 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10505 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10507 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10508 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10510 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10511 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10513 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10514 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10516 * sysdeps/unix/sysv/linux/kernel-features.h
10517 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10518 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10520 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10521 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10522 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10523 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10524 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10525 Make code unconditional.
10526 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10527 (__mmap64) [!__NR_mmap2]: Likewise.
10528 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10529 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10530 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10531 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10532 [__NR_mmap2]: Make code unconditional.
10533 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10534 (__mmap64) [!__NR_mmap2]: Likewise.
10536 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10538 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10540 2012-08-18 Andreas Jaeger <aj@suse.de>
10542 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10544 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10546 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10547 * include/unistd.h (__have_sock_cloexec): Likewise.
10548 (__have_pipe2): Likewise.
10549 (__have_dup3): Likewise.
10551 2012-08-18 Mike Frysinger <vapier@gentoo.org>
10554 * include/unistd.h (__have_pipe2): Change define into an extern int.
10555 (__have_dup3): Likewise.
10556 * socket/have_sock_cloexec.c: Include fcntl.h.
10557 (__have_pipe2): New variable.
10558 (__have_dup3): Likewise.
10560 2012-08-17 Mike Frysinger <vapier@gentoo.org>
10562 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10564 2012-08-17 Marek Polacek <polacek@redhat.com>
10566 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10567 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10569 2012-08-17 Roland McGrath <roland@hack.frob.com>
10571 * configure.in: Add AC_SUBST for sysheaders.
10572 * configure: Regenerated.
10573 * config.make.in (sysheaders): New substituted variable.
10575 * sysdeps/unix/mkfifo.c: Moved ...
10576 * sysdeps/posix/mkfifo.c: ... here.
10577 * sysdeps/unix/mkfifoat.c: Moved ...
10578 * sysdeps/posix/mkfifoat.c: ... here.
10580 * sysdeps/unix/utime.c: Moved ...
10581 * sysdeps/posix/utime.c: ... here.
10583 * sysdeps/unix/time.c: Moved ...
10584 * sysdeps/posix/time.c: ... here.
10585 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10586 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
10588 * sysdeps/unix/nice.c: Moved ...
10589 * sysdeps/posix/nice.c: ... here.
10591 * sysdeps/unix/alarm.c: Moved ...
10592 * sysdeps/posix/alarm.c: ... here.
10594 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10596 2012-08-17 Jeff Law <law@redhat.com>
10598 * intl/Makefile (codeset_mo): New variable.
10599 ($(codeset_mo)): New target.
10600 (tst-codeset.out): Depend on that. Remove explicit rule.
10601 (tst-gettext3.out, tst-gettext5.out): Likewise.
10602 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10603 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10604 * intl/tst-codeset.sh: Remove.
10605 * intl/tst-gettext3.sh: Likewise.
10606 * intl/tst-gettext5.sh: Likewise.
10608 2012-08-17 Roland McGrath <roland@hack.frob.com>
10610 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10611 * sysdeps/unix/syscalls.list: ... here.
10613 * sysdeps/posix/getaddrinfo.c
10614 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10615 (gaiconf_init, gaiconf_reload): Use them.
10616 [!_STATBUF_ST_NSEC]
10617 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10618 Define using time_t rather than struct timespec.
10620 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10621 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10623 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10625 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10626 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10629 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10630 __libc_cleanup_push argument.
10632 * bits/param.h: New file.
10633 * misc/sys/param.h: New file.
10634 * include/sys/param.h: New file.
10635 * misc/Makefile (headers): Add bits/param.h.
10636 * sysdeps/generic/sys/param.h: File removed.
10637 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10638 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10639 * sysdeps/mach/hurd/bits/param.h: New file.
10640 * sysdeps/mach/hurd/sys/param.h: File removed.
10642 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10645 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10647 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10648 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10651 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10652 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10653 rather than -D_IO_MTSAFE_IO conditionally.
10654 * stdio-common/Makefile (CPPFLAGS): Likewise.
10655 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10656 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10657 Use $(libio-mtsafe).
10658 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10659 of -D_IO_MTSAFE_IO.
10660 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10661 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10662 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10663 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10664 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10665 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10666 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10667 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10668 (CFLAGS-fread_u_chk.c): Likewise.
10669 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10670 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10671 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10672 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10673 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10674 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10675 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10676 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10677 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10679 * libio/Makefile: Test [$(libc-reentrant) = yes]
10680 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10683 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10684 * sysdeps/pthread/configure: File removed.
10685 * sysdeps/pthread/Makeconfig: New file.
10686 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10687 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10689 2012-08-16 Gary Benson <gbenson@redhat.com>
10691 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10692 unmapping the first object in a namespace.
10694 2012-08-16 Roland McGrath <roland@hack.frob.com>
10696 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10697 (__internal_setnetgrent): ... this. Add internal_function to
10698 definition. Add libc_hidden_def.
10699 (setnetgrent): Update caller.
10700 (internal_endnetgrent): Renamed to ...
10701 (__internal_endnetgrent): ... this. Add internal_function to
10702 definition. Add libc_hidden_def.
10703 (endnetgrent): Update caller.
10704 (internal_getnetgrent_r): Renamed to ...
10705 (__internal_getnetgrent_r): ... this. Add internal_function to
10706 definition. Add libc_hidden_def.
10707 (__getnetgrent_r): Update caller.
10708 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10710 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10712 * stdlib/longlong.h: Update from GCC.
10714 2012-08-16 Roland McGrath <roland@hack.frob.com>
10716 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10717 on _QL, which is set by umul_ppmm but never used.
10718 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10719 variables, which are set by GMP macros but never used.
10720 * stdio-common/_itowa.c (_itowa): Likewise.
10721 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10722 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10724 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10726 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10727 struct La_sh_regs is not constant.
10728 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10729 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10730 and struct La_sparc64_regs are not constant.
10732 2012-08-16 Joseph Myers <joseph@codesourcery.com>
10734 * sysdeps/unix/sysv/linux/kernel-features.h
10735 (__ASSUME_POSIX_TIMERS): Remove.
10736 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10737 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10738 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10739 Make code unconditional.
10740 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10741 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10742 Make code unconditional.
10743 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10744 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10745 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10746 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10747 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10748 Make code unconditional.
10749 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10750 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10751 (__libc_missing_posix_timers): Remove.
10753 2012-08-15 Roland McGrath <roland@hack.frob.com>
10755 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10756 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10758 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10760 * elf/dl-sym.c: Include <stdlib.h>.
10762 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10763 constants, which avoids warnings in 32-bit builds.
10765 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10766 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10768 * misc/lseek.c: File moved to ...
10769 * io/lseek.c: ... here.
10771 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10773 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10774 shifting LEN more than 31 bits at once.
10776 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10779 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10780 segmentation fault for a case of two empty input strings.
10781 * string/test-strncasecmp.c (check1): Renamed to...
10782 (bz12205): ...this.
10783 (bz14195): Add new testcase for two empty input strings and N > 0.
10784 (test_main): Call new testcase, adapt for renamed function.
10786 2012-08-15 Andreas Jaeger <aj@suse.de>
10789 * crypt/md5test2.c: New test, based on test supplied by Serge
10790 Belyshev <belyshev@depni.sinp.msu.ru>.
10791 * crypt/Makefile (xtests): Add md5test-giant..
10792 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10794 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10797 * crypt/md5.c (md5_process_block): Don't assume the buffer
10798 length is less than 2**32.
10799 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10800 length is less than 2**64.
10802 2012-08-15 Roland McGrath <roland@hack.frob.com>
10804 * string/str-two-way.h: Include <sys/param.h>.
10805 (MAX): Macro removed.
10807 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10808 Move #define and #undef of memmove to just before and after
10809 including <string.h>.
10811 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10812 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10813 and after including <string.h>. Move declarations of
10814 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10815 to before #include "string/memmove.c".
10817 * include/dirent.h: Declare __getdirentries.
10819 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10820 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10822 2012-08-14 Mike Frysinger <vapier@gentoo.org>
10824 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10825 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10826 * sysdeps/i386/configure: Regenerated.
10827 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10828 STABS_CURRENT_FILE, and STABS_FUN.
10829 (END): Remove call to STABS_FUN_END.
10830 (STABS_CURRENT_FILE1): Delete.
10831 (STABS_CURRENT_FILE): Likewise.
10832 (STABS_FUN): Likewise.
10833 (STABS_FUN_END): Likewise.
10834 (STABS_FUN2): Likewise.
10835 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10836 * sysdeps/x86_64/configure: Regenerated.
10838 2012-08-14 Roland McGrath <roland@hack.frob.com>
10840 * elf/dl-open.c: Include <atomic.h>.
10841 * elf/dl-lookup.c: Likewise.
10843 2012-08-14 Joseph Myers <joseph@codesourcery.com>
10845 * sysdeps/unix/sysv/linux/kernel-features.h
10846 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10847 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10849 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10851 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10852 condition on __ASSUME_CLONE_THREAD_FLAGS.
10854 2012-08-14 Andreas Jaeger <aj@suse.de>
10856 * sysdeps/i386/fpu/libm-test-ulps: Update.
10858 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10860 * include/atomic.h (atomic_exchange_and_add): Split into ...
10861 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10864 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10868 2012-08-13 Jeff Law <law@redhat.com>
10870 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10871 null byte in the output string.
10873 2012-08-10 Joseph Myers <joseph@codesourcery.com>
10875 * sysdeps/unix/sysv/linux/kernel-features.h
10876 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10877 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10878 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10879 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10880 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10881 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10882 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10884 2012-08-09 Jeff Law <law@redhat.com>
10887 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10888 When avoid_arena is set, don't retry in the that arena. Pick the
10889 next one, whatever it might be.
10890 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10891 (arena_lock): Pass in new parameter to arena_get2.
10892 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10894 (__libc_malloc): Unify retrying after main arena failure with
10895 __libc_memalign version.
10896 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10898 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10901 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10902 to __redirect_strstr.
10903 (__strstr_sse42): Use typeof __redirect_strstr.
10904 (__strstr_ia32): Likewise.
10905 (__libc_strstr): New prototype.
10906 (strstr): Renamed to ...
10907 (__libc_strstr): This.
10908 (strstr): New strong alias of __libc_strstr.
10909 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10910 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10913 (__libc_time): New prototype.
10914 (time_ifunc): Replace time with __libc_time.
10915 (time): New strong alias and hidden definition of __libc_time.
10916 (__GI_time): Remove strong alias.
10917 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10918 Include <stddef.h>.
10919 (memmove): Redefined to __redirect_memmove.
10920 (__memmove_sse2): Use typeof __redirect_memmove.
10921 (__memmove_ssse3): Likewise.
10922 (__memmove_ssse3_back): Likewise.
10923 (__libc_memmove): New prototype.
10924 (memmove): Renamed to ...
10925 (__libc_memmove): This.
10926 (memmove): New strong alias of __libc_memmove.
10928 2012-08-08 Mark Salter <msalter@redhat.com>
10931 (R_MN10300_TLS_GD): Define.
10932 (R_MN10300_TLS_LD): Likewise.
10933 (R_MN10300_TLS_LDO): Likewise.
10934 (R_MN10300_TLS_GOTIE): Likewise.
10935 (R_MN10300_TLS_IE): Likewise.
10936 (R_MN10300_TLS_LE): Likewise.
10937 (R_MN10300_TLS_DTPMOD): Likewise.
10938 (R_MN10300_TLS_DTPOFF): Likewise.
10939 (R_MN10300_TLS_TPOFF): Likewise.
10940 (R_MN10300_SYM_DIFF): Likewise.
10941 (R_MN10300_ALIGN): Likewise.
10942 (R_MN10300_NUM): Update.
10944 2012-08-08 Joseph Myers <joseph@codesourcery.com>
10946 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10949 2012-08-08 Roland McGrath <roland@hack.frob.com>
10951 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10953 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10954 sysdeps/unix -> sysdeps/posix move.
10955 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10957 2012-08-07 Allan McRae <allan@archlinux.org>
10960 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10961 (SUNOS_CPP): Likewise.
10962 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10964 (open_input): Call CPP using execvp.
10966 2012-08-07 Joseph Myers <joseph@codesourcery.com>
10968 * sysdeps/unix/sysv/linux/kernel-features.h
10969 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10970 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10971 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10972 (__ASSUME_WAITID_SYSCALL): Likewise.
10973 * sysdeps/unix/sysv/linux/dl-execstack.c
10974 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10975 code unconditional.
10976 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10978 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10979 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10980 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10982 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10984 [__ASSUME_WAITID_SYSCALL]: Likewise.
10985 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10987 2012-08-07 Roland McGrath <roland@hack.frob.com>
10989 * sysdeps/unix/closedir.c: Renamed to ...
10990 * sysdeps/posix/closedir.c: ... here.
10991 * sysdeps/unix/dirfd.c: Renamed to ...
10992 * sysdeps/posix/dirfd.c: ... here.
10993 * sysdeps/unix/dirstream.h: Renamed to ...
10994 * sysdeps/posix/dirstream.h: ... here.
10995 * sysdeps/unix/fdopendir.c: Renamed to ...
10996 * sysdeps/posix/fdopendir.c: ... here.
10997 * sysdeps/unix/opendir.c: Renamed to ...
10998 * sysdeps/posix/opendir.c: ... here.
10999 * sysdeps/unix/readdir.c: Renamed to ...
11000 * sysdeps/posix/readdir.c: ... here.
11001 * sysdeps/unix/readdir_r.c: Renamed to ...
11002 * sysdeps/posix/readdir_r.c: ... here.
11003 * sysdeps/unix/rewinddir.c: Renamed to ...
11004 * sysdeps/posix/rewinddir.c: ... here.
11005 * sysdeps/unix/seekdir.c: Renamed to ...
11006 * sysdeps/posix/seekdir.c: ... here.
11007 * sysdeps/unix/telldir.c: Renamed to ...
11008 * sysdeps/posix/telldir.c: ... here.
11009 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
11010 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11011 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11012 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11014 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
11015 * bits/fcntl.h: ... here.
11017 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
11019 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
11020 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
11021 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
11022 (struct flock): Move l_start, l_len to the beginning.
11023 Use __pid_t for l_pid.
11024 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
11025 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
11026 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
11027 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
11028 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
11029 [__USE_LARGEFILE64] (struct flock64): New type.
11030 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
11032 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
11033 * bits/dirent.h: ... here.
11035 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
11036 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11038 2012-08-07 Joseph Myers <joseph@codesourcery.com>
11040 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11041 Change from 2.6.0 to 2.6.16.
11042 * sysdeps/unix/sysv/linux/configure: Regenerated.
11043 * sysdeps/unix/sysv/linux/kernel-features.h
11044 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11045 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11047 (__ASSUME_UTIMES): Likewise.
11048 (__ASSUME_CLONE_STOPPED): Remove.
11049 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11050 architectures, not kernel version.
11051 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11052 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11053 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11054 (__ASSUME_WAITID_SYSCALL): Likewise.
11055 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11056 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11057 * README: State 2.6.16 as minimum Linux kernel version. Do not
11058 refer to older versions.
11060 2012-08-06 Roland McGrath <roland@hack.frob.com>
11062 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11063 Define alphasort64 as an alias.
11064 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11065 Define versionsort64 as an alias.
11066 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11067 Define scandir64 as an alias.
11068 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11069 Define scandirat64 as an alias.
11070 * dirent/alphasort64.c (alphasort64):
11071 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11072 * dirent/versionsort64.c: Likewise.
11073 * dirent/scandir64.c: Likewise.
11074 * dirent/scandirat64.c: Likewise.
11075 * sysdeps/wordsize-64/alphasort.c: File removed.
11076 * sysdeps/wordsize-64/alphasort64.c: File removed.
11077 * sysdeps/wordsize-64/scandir.c: File removed.
11078 * sysdeps/wordsize-64/scandir64.c: File removed.
11079 * sysdeps/wordsize-64/scandirat.c: File removed.
11080 * sysdeps/wordsize-64/scandirat64.c: File removed.
11081 * sysdeps/wordsize-64/versionsort.c: File removed.
11082 * sysdeps/wordsize-64/versionsort64.c: File removed.
11083 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11084 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11085 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11086 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11087 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11088 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11089 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11090 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11092 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11093 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11094 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11095 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11096 [defined __arch64__ || defined __sparcv9]
11097 (__INO_T_MATCHES_INO64_T): New macro.
11098 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11099 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11100 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11101 * sysdeps/unix/sysv/linux/bits/dirent.h
11102 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11103 (_DIRENT_MATCHES_DIRENT64): New macro.
11105 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11106 Define lockf64 as an alias.
11107 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11108 Define fseeko64 as an alias.
11109 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11110 Define ftello64 as an alias.
11111 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11112 Define _IO_fgetpos64 and fgetpos64 as aliases.
11113 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11114 Define _IO_fsetpos64 and fsetpos64 as aliases.
11115 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11116 Conditionalize body on this.
11117 * libio/fseeko64.c: Likewise.
11118 * libio/ftello64.c: Likewise.
11119 * libio/iofgetpos64.c: Likewise.
11120 * libio/iofsetpos64.c: Likewise.
11121 * sysdeps/wordsize-64/lockf.c: File removed.
11122 * sysdeps/wordsize-64/lockf64.c: File removed.
11123 * sysdeps/wordsize-64/fseeko.c: File removed.
11124 * sysdeps/wordsize-64/fseeko64.c: File removed.
11125 * sysdeps/wordsize-64/ftello.c: File removed.
11126 * sysdeps/wordsize-64/ftello64.c: File removed.
11127 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11128 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11129 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11130 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11131 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11132 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11133 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11134 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11135 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11136 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11137 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11138 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11139 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11140 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11142 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11143 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11144 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11145 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11146 [defined __arch64__ || defined __sparcv9]
11147 (__OFF_T_MATCHES_OFF64_T): New macro.
11148 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11149 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11150 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11151 (__OFF_T_MATCHES_OFF64_T): New macro.
11153 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11155 * stdlib/secure-getenv.c (__secure_getenv): Replace
11156 GLIBC_2_16 with GLIBC_2_17.
11158 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11160 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11161 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11163 2012-08-03 David S. Miller <davem@davemloft.net>
11165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11167 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11169 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11171 (__ASSUME_CORRECT_SI_PID): Likewise.
11172 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11173 (__ASSUME_TMPFS_NAME): Likewise.
11174 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11175 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11176 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11177 (HAVE_AUX_SECURE): Make definition unconditional.
11178 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11179 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11181 2012-08-03 Roland McGrath <roland@hack.frob.com>
11183 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11184 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11185 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11186 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11187 __eloop_threshold instead of SYMLOOP_MAX.
11189 * sysdeps/generic/eloop-threshold.h: New file.
11190 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11192 * elf/chroot_canon.c (chroot_canon): Likewise.
11194 2012-08-03 Joseph Myers <joseph@codesourcery.com>
11197 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11198 Change to 2.6.0 everywhere.
11199 * sysdeps/unix/sysv/linux/configure: Regenerated.
11200 * sysdeps/unix/sysv/linux/kernel-features.h
11201 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11202 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11204 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11205 (__ASSUME_FUTEX_REQUEUE): Remove.
11206 (__ASSUME_STATFS64): Define unconditionally.
11207 (__ASSUME_AT_SECURE): Likewise.
11208 (__ASSUME_CORRECT_SI_PID): Likewise.
11209 (__ASSUME_TGKILL): Define without depending on kernel version for
11211 (__ASSUME_UTIMES): Likewise.
11212 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11214 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11215 (__ASSUME_TMPFS_NAME): Likewise.
11216 * README: Update reference to Linux kernel versions.
11218 2012-08-02 Marek Polacek <polacek@redhat.com>
11221 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
11222 libc_cv_asm_type_prefix with %.
11223 * configure: Regenerated.
11224 * include/libc-symbols.h: Remove comment about
11225 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11226 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11227 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11228 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11229 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11230 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11231 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11232 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11233 * elf/tst-unique2mod1.c: Likewise.
11234 * elf/tst-unique1mod2.c: Likewise.
11235 * elf/tst-unique1mod1.c: Likewise.
11236 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11237 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11238 Replace ASM_TYPE_DIRECTIVE with .type.
11239 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11240 * sysdeps/i386/sysdep.h: Likewise.
11241 * sysdeps/x86_64/sysdep.h: Likewise.
11242 * sysdeps/sh/sysdep.h: Likewise.
11243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11244 Do not define ASM_TYPE_DIRECTIVE.
11245 * sysdeps/powerpc/sysdep.h: Likewise.
11246 * sysdeps/powerpc/powerpc32/sysdep.h:
11247 Replace ASM_TYPE_DIRECTIVE with .type.
11248 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11249 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11250 * sysdeps/i386/fpu/e_powf.S: Likewise.
11251 * sysdeps/i386/fpu/e_expl.S: Likewise.
11252 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11253 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11254 * sysdeps/i386/fpu/e_pow.S: Likewise.
11255 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11256 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11257 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11258 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11259 * sysdeps/i386/fpu/e_log2.S: Likewise.
11260 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11261 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11262 * sysdeps/i386/fpu/e_powl.S: Likewise.
11263 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11264 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11265 * sysdeps/i386/fpu/e_logl.S: Likewise.
11266 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11267 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11268 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11269 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11270 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11271 * sysdeps/i386/fpu/e_log.S: Likewise.
11272 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11273 * sysdeps/i386/fpu/e_logf.S: Likewise.
11274 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11275 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11276 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11277 * sysdeps/i386/fpu/e_log10.S: Likewise.
11278 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11279 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11280 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11281 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11282 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11283 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11284 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11285 * sysdeps/i386/i686/strtok.S: Likewise.
11286 * sysdeps/i386/i386-mcount.S: Likewise.
11287 * sysdeps/i386/strtok.S: Likewise.
11288 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11289 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11290 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11291 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11292 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11293 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11294 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11295 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11296 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11297 * sysdeps/x86_64/_mcount.S: Likewise.
11298 * sysdeps/x86_64/strtok.S: Likewise.
11299 * sysdeps/sh/_mcount.S: Likewise.
11301 2012-08-01 Roland McGrath <roland@hack.frob.com>
11303 * libio/iofopen.c: Include <fcntl.h>.
11304 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11305 (_IO_fopen64, fopen64): Define as aliases.
11306 * libio/iofopen64.c: Include <fcntl.h>.
11307 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11308 Conditionalize body on this.
11309 * sysdeps/wordsize-64/iofopen.c: File removed.
11310 * sysdeps/wordsize-64/iofopen64.c: File removed.
11312 2012-08-01 Marek Polacek <polacek@redhat.com>
11314 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11315 Use dlfcn directly instead of a variable.
11316 (binfmt-subdir): Do not define.
11319 2012-08-01 Joseph Myers <joseph@codesourcery.com>
11321 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11322 Remove all definitions.
11323 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11324 <kernel-features.h>.
11325 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11326 (miss_F_GETOWN_EX): Remove all definitions.
11327 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11329 [!__ASSUME_FCNTL64]: Remove conditional code.
11330 [__ASSUME_FCNTL64]: Make code unconditional.
11331 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11332 <kernel-features.h>.
11333 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11334 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11335 (lockf64) [__NR_fcntl64]: Make code unconditional.
11336 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11338 * sysdeps/unix/sysv/linux/kernel-features.h
11339 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11340 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11341 Make code unconditional.
11342 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11343 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11345 [__NR_vfork]: Make code unconditional.
11346 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11347 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11349 [__NR_vfork]: Make code unconditional.
11350 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11351 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11353 2012-08-01 Roland McGrath <roland@hack.frob.com>
11355 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11356 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11358 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11359 Define mkstemp64 as an alias.
11360 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11361 Define mkstemps64 as an alias.
11362 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11363 Define mkostemp64 as an alias.
11364 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11365 Define mkostemps64 as an alias.
11366 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11367 Conditionalize body on this.
11368 * misc/mkostemp64.c: Likewise.
11369 * misc/mkostemps64.c: Likewise.
11370 * misc/mkstemps64.c: Likewise.
11371 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11372 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11373 * sysdeps/wordsize-64/mkostemp.c: File removed.
11374 * sysdeps/wordsize-64/mkstemp.c: File removed.
11375 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11376 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11377 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11378 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11381 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11382 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11383 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11384 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11386 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11387 compat_symbol macros from <shlib-compat.h> rather than the underlying
11388 default_symbol_version and symbol_version macros, so that DEFAULT
11389 lines in shlib-versions are respected.
11390 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11392 2012-08-01 Florian Weimer <fweimer@redhat.com>
11394 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11395 Declare with warn_unused_result.
11396 (setgid, setregid, setegid, setresgid): Likewise.
11397 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11399 * WUR-REPORT: Remove set*id functions.
11401 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11403 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11405 2012-07-31 Roland McGrath <roland@hack.frob.com>
11408 * include/sys/socket.h (__libc_accept, __libc_accept4):
11409 Add attribute_hidden.
11410 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11412 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11414 * inet/getnetgrent_r.c (setup): Likewise.
11416 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11418 2012-07-31 David S. Miller <davem@davemloft.net>
11420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11422 2012-07-31 Joseph Myers <joseph@codesourcery.com>
11425 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11426 value between 1.0 and 2.0 and smaller part has absolute value less
11428 * math/s_clog10.c (__clog10): Likewise.
11429 * math/s_clog10f.c (__clog10f): Likewise.
11430 * math/s_clog10l.c (__clog10l): Likewise.
11431 * math/s_clogf.c (__clogf): Likewise.
11432 * math/s_clogl.c (__clogl): Likewise.
11433 * math/libm-test.inc (clog_test): Add more tests.
11434 (clog10_test): Likewise.
11435 * sysdeps/i386/fpu/libm-test-ulps: Update.
11436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11438 2012-07-31 Florian Weimer <fweimer@redhat.com>
11440 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11441 Exit with zero in case no suitable GID is found, and write a
11442 message to standard error.
11444 2012-07-30 Roland McGrath <roland@hack.frob.com>
11446 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11448 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11449 (MAXPATHLEN): Removed.
11450 (NOGROUP, NODEV): New macros.
11451 (setbit, clrbit, isset, isclr): New macros.
11452 (howmany, roundup, powerof2): New macros.
11453 (DEV_BSIZE): New macro.
11455 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11456 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11458 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11459 definition on [!__NO_LONG_DOUBLE_MATH].
11461 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11462 PTR_MANGLE and PTR_DEMANGLE.
11464 * socket/accept4.c (accept4): Rename to __libc_accept4.
11465 Define accept4 as a weak alias.
11467 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11468 on [_DIRENT_HAVE_D_TYPE].
11469 * io/ftw.c (ftw_dir): Likewise.
11471 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11473 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11475 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11476 Use the BSD numbers rather than the arbitrary ones we had.
11477 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11478 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11479 (SIGXCPU, SIGXFSZ): New macros.
11482 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11483 initializer on [_LIBC_REENTRANT].
11485 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11486 definitions inside [_POSIX_MAPPED_FILES].
11488 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11490 * dirent/opendir.c: Include <fcntl.h>.
11492 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11493 (__libc_getspecific): Likewise.
11494 (__libc_key_create): Likewise.
11496 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11497 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11498 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11499 (tmpfile64): Define as alias.
11500 * sysdeps/wordsize-64/tmpfile.c: File removed.
11501 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11502 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11503 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11505 * stdio-common/vfscanf.c: Include <stdbool.h>.
11506 * nss/makedb.c: Likewise.
11507 * stdio-common/_i18n_number.h: Likewise.
11508 * argp/argp-help.c: Likewise.
11509 * posix/wordexp.c: Likewise.
11510 * sysdeps/posix/spawni.c: Likewise.
11511 * nss/nss_files/files-initgroups.c: Likewise.
11512 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11513 * nss/nss_files/files-initgroups.c: Likewise.
11514 * nss/nss_db/db-netgrp.c: Likewise.
11515 * nss/nss_db/db-initgroups.c: Likewise.
11516 * io/fchmodat.c: Include <sys/stat.h>.
11518 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11519 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11521 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11524 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11525 Add multiple inclusion protection.
11527 2012-07-27 David S. Miller <davem@davemloft.net>
11529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11531 2012-07-27 Gary Benson <gbenson@redhat.com>
11534 * elf/rtld.c: Include <stap-probe.h>.
11535 (dl_main): Added static probes "init_start" and "init_complete".
11536 * elf/dl-load.c: Include <stap-probe.h>.
11537 (lose): Take new parameter "nsid".
11538 Added static probe "map_failed".
11539 (_dl_map_object_from_fd): Pass namespace id to lose.
11540 Added static probe "map_start".
11541 (open_verify): Pass namespace id to lose.
11542 * elf/dl-open.c: Include <stap-probe.h>.
11543 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11544 and "reloc_complete".
11545 * elf/dl-close.c: Include <stap-probe.h>.
11546 (_dl_close_worker): Added static probes "unmap_start" and
11548 * elf/rtld-debugger-interface.txt: New file documenting the above.
11550 2012-07-26 Roland McGrath <roland@hack.frob.com>
11552 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11553 rather than a string variable.
11554 * sunrpc/rpc_main.c (h_output): Likewise.
11555 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11557 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11559 * inet/check_native.c: New file.
11561 2012-07-26 Joseph Myers <joseph@codesourcery.com>
11564 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11565 if larger part has absolute value 1.0.
11566 * math/s_clog10.c (__clog10): Likewise.
11567 * math/s_clog10f.c (__clog10f): Likewise.
11568 * math/s_clog10l.c (__clog10l): Likewise.
11569 * math/s_clogf.c (__clogf): Likewise.
11570 * math/s_clogl.c (__clogl): Likewise.
11571 * math/libm-test.inc (clog_test): Add more tests.
11572 (clog10_test): Likewise.
11573 * sysdeps/i386/fpu/libm-test-ulps: Update.
11574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11576 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11577 (pltexit): Likewise.
11578 (La_regs): Likewise.
11579 (La_retval): Likewise.
11580 (int_retval): Likewise.
11581 Update #error for removed macros to refer only to definitions in
11583 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11585 (pltexit): Likewise.
11586 (La_regs): Likewise.
11587 (La_retval): Likewise.
11588 (int_retval): Likewise.
11589 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11591 (pltexit): Likewise.
11592 (La_regs): Likewise.
11593 (La_retval): Likewise.
11594 (int_retval): Likewise.
11595 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11597 (pltexit): Likewise.
11598 (La_regs): Likewise.
11599 (La_retval): Likewise.
11600 (int_retval): Likewise.
11601 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11603 (pltexit): Likewise.
11604 (La_regs): Likewise.
11605 (La_retval): Likewise.
11606 (int_retval): Likewise.
11607 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11609 (pltexit): Likewise.
11610 (La_regs): Likewise.
11611 (La_retval): Likewise.
11612 (int_retval): Likewise.
11613 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11615 (pltexit): Likewise.
11616 (La_regs): Likewise.
11617 (La_retval): Likewise.
11618 (int_retval): Likewise.
11619 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11620 macro definitions in tst-audit.h.
11621 * sysdeps/i386/tst-audit.h: New file.
11622 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11623 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11624 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11625 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11626 * sysdeps/sh/tst-audit.h: Likewise.
11627 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11628 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11629 * sysdeps/x86_64/tst-audit.h: Likewise.
11631 2012-07-26 Andreas Jaeger <aj@suse.de>
11633 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11636 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11637 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11638 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11640 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11641 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11642 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11644 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11647 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11649 (si_call_addr, si_syscall, si_arch): Define new macro.
11650 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11652 (si_call_addr, si_syscall, si_arch): Define new marcro.
11653 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11655 (si_call_addr, si_syscall, si_arch): Define new macro.
11656 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11658 (si_call_addr, si_syscall, si_arch): Define new macro.
11660 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11663 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11664 Change to 2.4.21 where previously 2.4.1.
11665 * sysdeps/unix/sysv/linux/configure: Regenerated.
11666 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11667 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11668 Linux kernel version.
11669 (__ASSUME_STD_AUXV): Remove.
11670 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11672 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11673 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11674 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11675 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11676 (__ASSUME_NETLINK_SUPPORT): Likewise.
11677 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11678 (__no_netlink_support): Remove conditional definition.
11679 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11681 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11682 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11683 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11684 (if_nameindex_ioctl): Remove.
11685 (if_nameindex_netlink): Do not handle __no_netlink_support.
11686 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11688 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11689 Remove conditional code.
11690 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11692 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11694 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11695 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11696 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11698 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11699 [!__ASSUME_STD_AUXV]: Remove conditional code.
11700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11701 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11702 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11704 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11705 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11707 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11709 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11710 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11712 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11714 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11717 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11720 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11721 code unconditional.
11722 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11724 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11726 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11729 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11731 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11734 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11735 code unconditional.
11736 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11738 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11740 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11743 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11744 code unconditional.
11745 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11747 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11749 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11752 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11754 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11755 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11756 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11757 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11758 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11759 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11760 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11761 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11762 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11763 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11764 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11765 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11766 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11767 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11768 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11769 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11770 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11771 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11772 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11774 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11775 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11776 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11778 2012-07-25 Florian Weimer <fweimer@redhat.com>
11780 * Versions.def: Add GLIBC_2.17.
11781 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11782 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11783 Introduce __libc_secure_getenv.
11784 * stdlib/Versions (2.17): Add secure_getenv
11785 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11786 * stdlib/secure-getenv.c: Rename __secure_getenv to
11787 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11788 symbol __secure_getenv for GLIBC_2.0.
11789 * stdlib/tst-secure-getenv.c: New.
11790 * stdlib/Makefile (tests): Add testcase.
11791 * manual/startup.texi (Environment Access): Document
11793 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11794 __libc_secure_getenv.
11795 * inet/ruserpass.c (ruserpass): Likewise.
11796 * malloc/mtrace.c (mtrace): Likewise.
11797 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
11798 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11799 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11800 * sysdeps/posix/tempname.c: Likewise. Evaluate
11801 HAVE_SECURE_GETENV.
11802 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
11803 __secure_getenv to __libc_secure_getenv.
11804 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
11805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11811 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11817 2012-07-25 Joseph Myers <joseph@codesourcery.com>
11819 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11820 (struct La_i86_retval): Likewise.
11821 (struct La_x86_64_regs): Likewise.
11822 (struct La_x86_64_retval): Likewise.
11823 (struct La_x32_regs): Likewise.
11824 (struct La_x32_retval): Likewise.
11825 (struct La_ppc32_regs): Likewise.
11826 (struct La_ppc32_retval): Likewise.
11827 (struct La_ppc64_regs): Likewise.
11828 (struct La_ppc64_retval): Likewise.
11829 (struct La_sh_regs): Likewise.
11830 (struct La_sh_retval): Likewise.
11831 (struct La_s390_32_regs): Likewise.
11832 (struct La_s390_32_retval): Likewise.
11833 (struct La_s390_64_regs): Likewise.
11834 (struct La_s390_64_retval): Likewise.
11835 (struct La_sparc32_regs): Likewise.
11836 (struct La_sparc32_retval): Likewise.
11837 (struct La_sparc64_regs): Likewise.
11838 (struct La_sparc64_retval): Likewise.
11839 (struct audit_ifaces): Remove architecture-specific pltenter and
11841 * sysdeps/i386/ldsodefs.h: New file.
11842 * sysdeps/powerpc/ldsodefs.h: Likewise.
11843 * sysdeps/s390/ldsodefs.h: Likewise.
11844 * sysdeps/sh/ldsodefs.h: Likewise.
11845 * sysdeps/sparc/ldsodefs.h: Likewise.
11846 * sysdeps/x86_64/ldsodefs.h: Likewise.
11848 2012-07-25 Marek Polacek <polacek@redhat.com>
11851 * math/libm-test.inc (yn_test): Add another test.
11852 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11853 to ERANGE when the result is +-Inf.
11854 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11855 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11856 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11857 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11859 2012-07-24 Joseph Myers <joseph@codesourcery.com>
11861 * conform/data/time.h-data (NULL): Use macro-constant. Require
11863 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11865 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11867 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11869 * configure.in <sysdeps resolving>: Correct printing
11871 * configure: Regenerate.
11873 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11875 * math/w_ilogb.c: Include <limits.h>.
11876 * math/w_ilogbl.c: Likewise.
11878 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11880 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11881 va_copy. Document allowing for unavailable va_copy only as
11882 pre-C99 compatibility.
11883 * manual/string.texi (Copying and Concatenation): Use va_copy
11884 instead of __va_copy in concat example.
11886 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11888 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11889 (__sendto): Use create_address_port. Initialize APORT and deallocate
11892 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11893 with O_NOLINK passed to __file_name_lookup.
11895 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11896 with O_NOLINK passed to __file_name_lookup.
11898 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11899 negative N or less than NGIDS.
11901 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11902 type to string_t. Set ERANGE as errno and return it if NAME is not big
11903 enough. Use memcpy instead of strncpy.
11905 2012-07-20 Joseph Myers <joseph@codesourcery.com>
11907 * elf/Makefile (check-data): Remove.
11908 (localplt.data): New vpath directive.
11909 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11910 instead of $(check-data).
11911 * scripts/data/localplt-generic.data: Move to ...
11912 * sysdeps/generic/localplt.data: ... here.
11913 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11914 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11915 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11918 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11921 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11924 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11927 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11930 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11934 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11936 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11937 PPC32 and PPC64 files.
11938 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11939 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11941 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11943 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11944 __makecontext_ret to ...
11945 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11946 ... here and call exit if uc_link is NULL. New file.
11947 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11948 __makecontext_ret.S.
11949 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11950 __makecontext_ret to ...
11951 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11952 ... here and call exit if uc_link is NULL. New file.
11953 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11954 __makecontext_ret.S.
11956 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11958 * elf/elf.h (R_390_IRELATIVE): New definition.
11959 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11960 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11961 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11962 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11963 (elf_machine_lazy_rel): Likewise.
11964 * sysdeps/s390/dl-irel.h: New file.
11965 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11966 * sysdeps/s390/s390-64/memset.S: New asm code.
11967 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11968 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11969 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11970 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11971 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11972 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11973 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11974 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11975 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11976 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11977 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11978 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11979 * sysdeps/s390/s390-32/memset.S: New asm code.
11980 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11982 2012-07-17 Marek Polacek <polacek@redhat.com>
11985 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11986 * sysdeps/s390/s390-64/configure.in: Likewise.
11987 * sysdeps/sparc/configure.in: Likewise.
11988 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11989 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11990 * sysdeps/i386/configure.in: Likewise.
11991 * sysdeps/x86_64/configure.in: Likewise.
11992 * sysdeps/sh/configure.in: Likewise.
11993 * sysdeps/s390/s390-32/configure: Regenerated.
11994 * sysdeps/s390/s390-64/configure: Likewise.
11995 * sysdeps/x86_64/configure: Likewise.
11996 * sysdeps/sh/configure: Likewise.
11997 * sysdeps/powerpc/powerpc64/configure: Likewise.
11998 * sysdeps/powerpc/powerpc32/configure: Likewise.
11999 * sysdeps/sparc/configure: Likwise.
12000 * sysdeps/i386/configure: Likewise.
12002 * elf/dl-open.c: Comment fixes.
12004 2012-07-17 Joseph Myers <joseph@codesourcery.com>
12006 * Makefile [CXX] (check-data): Remove.
12007 [CXX] (c++-types.data): New vpath directive.
12008 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
12009 vpath. Do not allow for C++ type data being missing.
12010 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
12011 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
12012 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
12013 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
12014 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
12015 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
12016 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
12017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12019 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
12020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12022 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
12023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
12025 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
12026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
12028 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
12029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
12031 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
12032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
12034 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
12035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
12037 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12040 * elf/tls-macros.h (TLS_LE): Move architecture-specific
12041 definitions to architecture-specific files.
12042 (TLS_IE): Likewise.
12043 (TLS_LD): Likewise.
12044 (TLS_GD): Likewise.
12045 * sysdeps/i386/tls-macros.h: New file.
12046 * sysdeps/powerpc/tls-macros.h: Likewise.
12047 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12048 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12049 * sysdeps/sh/tls-macros.h: Likewise.
12050 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12051 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12052 * sysdeps/x86_64/tls-macros.h: Likewise.
12054 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12056 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12057 zero value for regular exit case.
12059 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12060 (__start_context): Preserve zero value for regular exit case.
12062 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12063 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12065 * manual/setjmp.texi (setcontext): Clarify normal process
12066 termination when uc_link is the null pointer.
12067 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12070 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12072 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12073 preprocessor. Test for each exception mask separately.
12075 2012-07-16 Andreas Jaeger <aj@suse.de>
12077 * po/ru.po: Update from translation team.
12079 2012-07-15 Joseph Myers <joseph@codesourcery.com>
12081 * conform/data/string.h-data (NULL): Use macro-constant. Require
12083 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12084 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12085 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12086 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12087 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12089 2012-07-13 Andreas Jaeger <aj@suse.de>
12091 * po/fr.po: Update from translation team.
12093 2012-07-12 Marek Polacek <polacek@redhat.com>
12096 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12097 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12100 2012-07-12 Joseph Myers <joseph@codesourcery.com>
12103 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12104 Change to 2.4.1 where previously 2.4.0.
12105 * sysdeps/unix/sysv/linux/configure: Regenerated.
12106 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12107 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12109 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12110 (__ASSUME_AT_CLKTCK): Remove.
12111 (__ASSUME_AT_PAGESIZE): Likewise.
12112 (__ASSUME_AT_XID): Likewise.
12113 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12114 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12115 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12117 (HAVE_AUX_PAGESIZE): Likewise.
12118 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12119 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12120 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12122 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12126 the temporary buffer used to invoke __gethostbyname2_r,
12127 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12128 host_data / struct gaih_addrtuple.
12129 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12130 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12131 header file nss/nsswitch.h.
12132 * nss/nsswitch.h (global scope): Add definition of implementation
12133 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12134 resolv/nss_dns/dns-host.c).
12136 2012-07-11 Andreas Jaeger <aj@suse.de>
12138 * po/fr.po: Update from translation team.
12140 * po/sv.po: Update from translation team
12141 * po/fr.po: Another update from translation team.
12143 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12145 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12146 for subnormals or multiply small sinh result by itself.
12147 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12150 2012-07-11 David S. Miller <davem@davemloft.net>
12152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12154 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12157 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12158 (INTERNAL_MARK): Shift it here.
12160 2012-07-10 Marek Polacek <polacek@redhat.com>
12163 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12164 libc_cv_asm_global_directive with .globl.
12165 * configure: Regenerated.
12166 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12168 * sysdeps/i386/configure: Regenerated.
12169 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12171 * sysdeps/x86_64/configure: Regenerated.
12172 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12173 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12174 * elf/tst-unique2mod2.c: Likewise.
12175 * elf/tst-unique2mod1.c: Likewise.
12176 * elf/tst-unique1mod2.c: Likewise.
12177 * elf/tst-unique1mod1.c: Likewise.
12178 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12179 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12180 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12181 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12182 * sysdeps/mach/sysdep.h: Likewise.
12183 * sysdeps/i386/sysdep.h: Likewise.
12184 * sysdeps/i386/i386-mcount.S: Likewise.
12185 * sysdeps/x86_64/_mcount.S: Likewise.
12186 * sysdeps/x86_64/sysdep.h: Likewise.
12187 * sysdeps/sh/_mcount.S: Likewise.
12188 * sysdeps/sh/sysdep.h: Likewise.
12189 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12190 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12191 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12192 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12193 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12194 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12195 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12196 * locale/localeinfo.h: Likewise.
12197 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12198 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12200 2012-07-09 Roland McGrath <roland@hack.frob.com>
12203 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12205 * manual/message.texi (The Uniforum approach): Likewise.
12206 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12207 (glibc iconv Implementation): Likewise.
12209 2012-07-09 Joseph Myers <joseph@codesourcery.com>
12212 * math/s_clog.c (__clog): Avoid scaling a value down where that
12213 could result in underflow.
12214 * math/s_clog10.c (__clog10): Likewise.
12215 * math/s_clog10f.c (__clog10f): Likewise.
12216 * math/s_clog10l.c (__clog10l): Likewise.
12217 * math/s_clogf.c (__clogf): Likewise.
12218 * math/s_clogl.c (__clogl): Likewise.
12219 * math/libm-test.inc (clog_test): Add more tests.
12220 (clog10_test): Likewise.
12221 * sysdeps/i386/fpu/libm-test-ulps: Update.
12222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12224 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12227 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12228 by 7 not 8 to examine high bit of fractional part.
12231 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12232 for call to __mcount_internal.
12233 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12234 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12235 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12237 2012-07-06 Joseph Myers <joseph@codesourcery.com>
12240 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12241 approximation for values within 0x1p-13f of an odd multiple of
12243 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12244 exception. Add more tests.
12245 * sysdeps/i386/fpu/libm-test-ulps: Update.
12248 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12249 inputs and return -1 for them. Do not check for +Inf in case not
12250 reachable for +Inf.
12251 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12252 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12253 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12254 and return -1 for them. Do not check for +Inf in case not
12255 reachable for +Inf.
12256 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12258 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12259 and return -1 for them. Do not check for +Inf in case not
12260 reachable for +Inf.
12261 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12262 spurious underflow.
12263 * sysdeps/i386/fpu/libm-test-ulps: Update.
12264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12266 2012-07-06 Mike Frysinger <vapier@gentoo.org>
12268 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12270 2012-07-05 Joseph Myers <joseph@codesourcery.com>
12274 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12275 could result in spurious underflow. Scale down values above
12276 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12277 * math/s_csqrtf.c (__csqrtf): Likewise.
12278 * math/s_csqrtl.c (__csqrtl): Likewise.
12279 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12280 spurious underflow.
12281 * sysdeps/i386/fpu/libm-test-ulps: Update.
12282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12284 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12286 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12288 * catgets/xopen-msg.awk: New file.
12289 * catgets/xopen-msg.sed: Removed.
12291 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12293 * intl/po2test.awk: New file.
12294 * intl/po2test.sed: Removed.
12296 2012-07-04 Joseph Myers <joseph@codesourcery.com>
12299 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12300 or multiply small sinh result by itself.
12301 * math/s_ctanf.c (__ctanf): Likewise.
12302 * math/s_ctanh.c (__ctanh): Likewise.
12303 * math/s_ctanhf.c (__ctanhf): Likewise.
12304 * math/s_ctanhl.c (__ctanhl): Likewise.
12305 * math/s_ctanl.c (__ctanl): Likewise.
12306 * math/libm-test.inc (ctan_test_tonearest): New function.
12307 (ctan_test_towardzero): Likewise.
12308 (ctan_test_downward): Likewise.
12309 (ctan_test_upward): Likewise.
12310 (ctanh_test_tonearest): Likewise.
12311 (ctanh_test_towardzero): Likewise.
12312 (ctanh_test_downward): Likewise.
12313 (ctanh_test_upward): Likewise.
12314 (main): Call these new functions.
12315 * sysdeps/i386/fpu/libm-test-ulps: Update.
12316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12318 2012-07-03 Mike Frysinger <vapier@gentoo.org>
12320 * .gitignore: Delete /ports entry.
12322 2012-07-03 Andreas Jaeger <aj@suse.de>
12324 * po/bg.po: Update from translation team.
12325 * po/cs.po: Likewise.
12326 * po/de.po: Likewise.
12327 * po/hr.po: Likewise.
12328 * po/nl.pl: Likewise.
12329 * po/pl.po: Likewise.
12330 * po/vi.po: Likewise.
12332 2012-07-03 Joseph Myers <joseph@codesourcery.com>
12334 * Makeconfig [!+link] (+link-before-libc): New variable.
12335 [!+link] (+link-after-libc): Likewise.
12336 [!+link] (+link-tests): Likewise.
12337 [!+link] (+link): Define in terms of $(+link-before-libc) and
12338 $(+link-after-libc).
12339 [!+link-static] (+link-static-before-libc): New variable.
12340 [!+link-static] (+link-static-after-libc): Likewise.
12341 [!+link-static] (+link-static-tests): Likewise.
12342 [!+link-static] (+link-static): Define in terms of
12343 $(+link-static-before-libc) and $(+link-static-after-libc).
12344 [build-shared] (link-libc-before-gnulib): New variable.
12345 [build-shared] (link-libc-tests): Likewise.
12346 [build-shared] (link-libc): Define in terms of
12347 $(link-libc-before-gnulib).
12348 [!build-shared] (link-libc-tests): New variable.
12349 (link-libc-static-tests): New variable.
12350 [!gnulib] (gnulib-arch): New variable.
12351 [!gnulib] (gnulib-tests): Likewise.
12352 [!gnulib] (static-gnulib-arch): Likewise.
12353 [!gnulib] (static-gnulib-tests): Likewise.
12354 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12355 Define with "=" instead of ":=".
12356 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12357 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12358 * Rules (binaries-all-notests): New variable.
12359 (binaries-all-tests): Likewise.
12360 (binaries-static-notests): Likewise.
12361 (binaries-static-tests): Likewise.
12362 (binaries-all): Define using $(binaries-all-notests) and
12363 $(binaries-all-tests).
12364 (binaries-static): Define using $(binaries-static-notests) and
12365 $(binaries-static-tests).
12366 (binaries-shared-tests): New variable.
12367 (binaries-shared-notests): Likewise.
12368 (binaries-shared): Remove variable.
12369 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12370 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12371 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12372 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12373 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12374 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12375 * elf/Makefile (sln-modules): New variable.
12376 (extra-objs): Add $(sln-modules:=.o).
12377 (ldconfig-modules): Add static-stubs.
12378 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12379 * elf/static-stubs.c: New file.
12382 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12383 by 7 not 8 to examine high bit of fractional part. Use volatile
12384 variables when splitting into final array of floats if
12385 __FLT_EVAL_METHOD__ != 0.
12386 * math/libm-test.inc (cos_test): Add another test.
12387 (sin_test): Likewise.
12388 * sysdeps/i386/fpu/libm-test-ulps: Update.
12391 * math/libm-test.inc (cosh_test): Add more tests.
12393 * version.h (RELEASE): Set to "development".
12394 (VERSION): Set to "2.16.90".
12396 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12398 * NEWS: Update copyright. Remove last-updated date.
12399 Mention math library bug fixes and timezone data changes.
12400 * README: Mention GNU/Hurd, x32, and HPPA support status.
12402 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12404 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12406 2012-06-27 Andreas Jaeger <aj@suse.de>
12408 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12410 2012-06-25 Andreas Jaeger <aj@suse.de>
12412 * sysdeps/s390/fpu/libm-test-ulps: Update.
12414 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12415 Thomas Schwinge <thomas@codesourcery.com>
12417 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12418 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12419 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12422 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12424 * sysdeps/mach/start.c: Remove file.
12425 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12426 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12427 * sysdeps/sh/init-first.c: Likewise.
12429 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12430 registers for frame unwinding purposes, add CFI directives.
12431 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12432 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12433 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12436 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12437 __fortify_fail returning.
12438 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12440 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12441 sysdeps/sh/____longjmp_chk.S.
12442 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12443 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12444 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12445 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12447 * sysdeps/sh/abort-instr.h: New file.
12448 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12449 process in case exit returns.
12451 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12452 initialize the GOT register before use.
12454 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12455 calculation of ARGC > 4.
12457 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12458 meaningful names to some local labels.
12460 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12461 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12463 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12464 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12465 (__arch_compare_and_exchange_val_16_acq): Likewise.
12466 (__arch_compare_and_exchange_val_32_acq): Likewise.
12467 (atomic_exchange_and_add): Fix gUSA sequence.
12468 (atomic_add): Likewise.
12469 (atomic_add_negative): Likewise.
12470 (atomic_add_zero): Likewise.
12471 (atomic_bit_test_set): Likewise.
12473 2012-06-22 Andreas Schwab <schwab@redhat.com>
12476 * include/link.h (struct link_map): Add l_free_initfini.
12477 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12479 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12480 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12481 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12484 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12486 * configure.in: Use AC_LANG_SOURCE.
12487 * configure: Regenerate.
12489 2012-06-22 Roland McGrath <roland@hack.frob.com>
12491 * configure.in (libc_cv_localstatedir): New substituted variable.
12492 * configure: Regenerated.
12493 * config.make.in (localstatedir): New variable, substituted from
12494 libc_cv_localstatedir.
12495 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12496 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12497 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12498 * sysdeps/gnu/configure: Regenerated.
12500 2012-06-21 Jeff Law <law@redhat.com>
12503 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12504 free. Simplify list management for _LIBC case.
12506 2012-06-21 Joseph Myers <joseph@codesourcery.com>
12509 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12510 Clear sign bit of 64-bit integer value before comparing against
12513 * sysdeps/mach/configure: Regenerated.
12515 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12518 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12520 2012-06-21 Jeff Law <law@redhat.com>
12523 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12524 uint16_t for elements in the "seen" array to avoid char overflows.
12525 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12526 * elf/dl-open.c (dl_open_worker): Likewise.
12528 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12530 * scripts/list-sources.sh: Scan PORTS for translations.
12531 * po/libc.pot: Regenerated.
12533 2012-06-21 Andreas Jaeger <aj@suse.de>
12536 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12538 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12539 * bits/byteswap-16.h (__bswap_16): Likewise.
12540 * bits/byteswap.h (__bswap_constant_16): Likewise.
12542 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12545 * sysdeps/i386/fpu_control.h: Removed.
12546 * sysdeps/x86_64/fpu_control.h: Moved to ...
12547 * sysdeps/x86/fpu_control.h: Here.
12549 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12550 (_FPU_SETCW): Likewise.
12552 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12555 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12556 * sysdeps/x86/fpu/bits/mathinline.h: This.
12557 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12561 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12562 functions if __x86_64__ is defined.
12564 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12566 * string/endian.h: Add !__ASSEMBLER__ condition for including
12567 conversion interfaces.
12569 2012-06-15 Joseph Myers <joseph@codesourcery.com>
12572 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12573 of ABS(x) in calculating zero to negative powers other than odd
12575 * math/libm-test.inc (pow_test): Add more tests.
12577 2012-06-15 Andreas Jaeger <aj@suse.de>
12579 * manual/contrib.texi (Contributors): Update entry of Liubov
12580 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12583 2012-06-15 Cyril Hrubis <metan@ucw.cz>
12585 * string/string.h: Add __wur to GNU version of strerror_r.
12587 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12590 * string/Makefile (tests): Add tst-strtok_r.
12591 * string/tst-strtok_r.c: New file.
12592 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12593 RAX_LP/RDX_LP on SAVE_PTR.
12595 2012-06-14 Roland McGrath <roland@hack.frob.com>
12597 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12599 2012-06-14 Joseph Myers <joseph@codesourcery.com>
12601 * libm_test.inc (csqrt_test): Allow more spurious underflow
12603 (j0_test): Likewise.
12604 (j1_test): Likewise.
12605 (y0_test): Likewise.
12606 (y1_test): Likewise.
12608 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12610 * po/Makefile (libc.pot): Use UTF-8 charset.
12612 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12615 Suppress sign-conversion warning from FD_SET.
12616 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12617 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12618 not unsigned long int.
12619 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12621 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12625 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12626 __extern_always_inline instead of __extern_inline.
12627 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12628 (__signbit): Likewise.
12629 (__signbitl): Support C++ namespace.
12630 (lrintf): New inline function.
12632 (llrintf): Likewise.
12633 (llrint): Likewise.
12643 (floorf): Likewise.
12644 (nearbyint): Likewise.
12645 (nearbyintf): Likewise.
12647 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12649 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12650 non-default versions.
12652 2012-06-11 Roland McGrath <roland@hack.frob.com>
12655 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12657 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12659 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12660 (FE_UPWARD, FE_DOWNWARD): Don't define.
12661 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12662 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12664 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12666 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12667 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12669 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12671 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12672 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12673 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12674 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12676 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12679 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12680 * sysdeps/i386/fpu/Implies: New file.
12681 * sysdeps/x86_64/fpu/Implies: Likewise.
12682 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12683 * sysdeps/x86/fpu/bits/fenv.h: This.
12685 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12688 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12691 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12692 character 0xffff that matches the last element of the
12695 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12697 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12700 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12702 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12703 values higher than 25.6283.
12705 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12707 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12708 subnormal exponent extraction and add some __builtin_expect.
12709 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12710 Fix for subnormal mantissa calculation.
12712 2012-06-04 Mike Frysinger <vapier@gentoo.org>
12714 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12715 cpu2 is -1 and errno is not ENOSYS.
12717 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12720 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12721 * sysdeps/x86/bits/string.h: This.
12722 * sysdeps/x86_64/bits/string.h: Removed.
12724 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12725 if not compiling for x86-64, but compiling for >= i486.
12727 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12728 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12730 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12731 New macro from Linux kernel 3.4.0.
12732 (FP_XSTATE_MAGIC2): Likewise.
12733 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12734 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12735 (struct _fpx_sw_bytes): New struct.
12736 (struct _xsave_hdr): Likewise.
12737 (struct _ymmh_state): Likewise.
12738 (struct _xstate): Likewise.
12740 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12741 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12742 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12743 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12744 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12745 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12747 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12748 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12749 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12750 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12751 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12752 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12754 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12757 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12758 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12759 (sysdep_headers): Include sys/platform/ppc.h.
12760 * sysdeps/powerpc/test-gettimebase.c: Test for
12761 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12762 * manual/Makefile (appendices): Include platform.texi.
12763 * manual/contrib.texi (Contributors): Update @node pointers.
12764 * manual/maint.texi (Maintenance): Likewise.
12765 (Platform): New node.
12766 * manual/platform.texi: New file. Document the new features.
12768 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12769 Jakub Jelinek <jakub@redhat.com>
12772 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12773 where __builtin_expect is unavailable.
12775 2012-06-03 David S. Miller <davem@davemloft.net>
12777 * stdlib/longlong.h: Updated from GCC.
12779 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12782 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12783 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12786 (GLIBC_2.16): Likewise.
12788 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12790 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12792 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12795 (default-abi): New variable.
12796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12797 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12799 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12801 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12803 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12806 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12807 definition. Document in comment.
12809 2012-06-01 David S. Miller <davem@davemloft.net>
12811 * stdlib/longlong.h: Updated from GCC.
12813 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12816 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12817 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12818 sys/debugreg.h sys/io.h here.
12819 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12820 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12822 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12823 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12824 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12825 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12826 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12827 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12829 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12830 Define only if __x86_64__ is defined.
12832 2012-06-01 Joseph Myers <joseph@codesourcery.com>
12835 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12836 Use int64_t for variable i.
12837 * math/libm-test.inc (fmod_test): Add more tests.
12839 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12840 z computation is not scheduled after fetestexcept.
12841 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12842 Use math_force_eval instead of asm to ensure calculation scheduled
12843 before exception test.
12844 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12845 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12847 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12850 computation is not scheduled after fetestexcept.
12852 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12855 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12856 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12858 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12860 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12861 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12863 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12866 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12868 (__WCHAR_MIN): Support __WORDSIZE == 64.
12869 (__WCHAR_MAX): Likewise.
12871 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12872 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12875 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12876 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12879 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12880 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12882 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12883 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12885 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12886 Defined to 1 if __x86_64__ isn't defined.
12887 (_STAT_VER_LINUX_OLD): New.
12888 (st_atime): Remove duplicate.
12889 (st_mtime): Likewise.
12890 (st_ctime): Likewise.
12892 2012-05-31 David S. Miller <davem@davemloft.net>
12894 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12897 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12899 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12903 * elf/dl-reloc.c: Include <_itoa.h>.
12904 (_dl_reloc_bad_type): Remove use of INTUSE.
12905 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12906 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12907 * stdio-common/psiginfo.c (psiginfo): Likewise.
12908 * stdio-common/psignal.c (psignal): Likewise.
12909 * string/strsignal.c (strsignal): Likewise.
12910 * include/signal.h (_sys_siglist): Declare hidden proto.
12911 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12912 INTVARDEF with libc_hidden_data_def.
12913 * stdio-common/itoa-udigits.c: Likewise.
12914 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12915 (_itoa_lower_digits_internal): Remove declaration.
12916 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12917 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12918 (_sys_sigabbrev_internal): Remove aliases.
12919 (_sys_siglist): Define hidden alias.
12921 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12923 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12926 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12929 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12930 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12932 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12933 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12934 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12935 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12936 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12937 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12939 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12940 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12941 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12943 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12951 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12952 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12953 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12955 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12956 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12957 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12958 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12959 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12960 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12962 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12963 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12965 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12966 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12968 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12969 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12970 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12972 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12973 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12975 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12977 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12978 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12979 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12981 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12983 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12985 2012-05-31 Joseph Myers <joseph@codesourcery.com>
12987 * math/math.h (M_El): Use two more decimal places.
12988 (M_LOG2El): Likewise.
12989 (M_LOG10El): Likewise.
12990 (M_LN2l): Likewise.
12991 (M_LN10l): Likewise.
12993 (M_PI_2l): Likewise.
12994 (M_PI_4l): Likewise.
12995 (M_1_PIl): Likewise.
12996 (M_2_PIl): Likewise.
12997 (M_2_SQRTPIl): Likewise.
12998 (M_SQRT2l): Likewise.
12999 (M_SQRT1_2l): Likewise.
13001 2012-05-31 David S. Miller <davem@davemloft.net>
13003 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
13004 values between float registers.
13005 * sysdeps/sparc/sparc64/memset.S: Likewise.
13006 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13008 2012-05-31 Mike Frysinger <vapier@gentoo.org>
13010 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
13011 -D_FORTIFY_SOURCE=1.
13012 (CPPFLAGS-tst-longjmp_chk.c): Define.
13013 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
13014 (CPPFLAGS-tst-longjmp_chk2.c): Define.
13015 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
13016 CFLAGS-tst-wchar-h.c.
13018 2012-05-31 Marek Polacek <polacek@redhat.com>
13021 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
13022 __endmntent_internal): Remove declaration.
13023 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
13024 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
13025 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
13027 2012-05-30 David S. Miller <davem@davemloft.net>
13029 * sysdeps/sparc/sparc32/soft-fp/q_util.c
13030 (___Q_simulate_exceptions): Use real FP ops rather than writing
13032 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
13035 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13038 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13039 * sysdeps/x86/bits/xtitypes.h: This.
13041 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13042 * sysdeps/x86/bits/wordsize.h: This.
13044 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13045 * sysdeps/x86/bits/huge_vall.h: This.
13047 * sysdeps/i386/bits/select.h: Removed.
13048 * sysdeps/x86_64/bits/select.h: Renamed to ...
13049 * sysdeps/x86/bits/select.h: This.
13051 * sysdeps/i386/bits/setjmp.h: Removed.
13052 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13053 * sysdeps/x86/bits/setjmp.h: This.
13055 * sysdeps/i386/bits/mathdef.h: Removed.
13056 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13057 * sysdeps/x86/bits/mathdef.h: This.
13059 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13062 * include/sys/socket.h (__connect_internal)
13063 (__libc_sa_len_internal): Remove declaration.
13064 (__connect, __libc_sa_len): Declare hidden_proto.
13065 (SA_LEN): Remove use of INTUSE.
13066 * socket/connect.c: Add libc_hidden_def.
13067 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13068 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13069 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13071 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13072 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13073 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13074 of adding _internal alias.
13076 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13079 * sysdeps/i386/bits/link.h: Removed.
13080 * sysdeps/i386/bits/linkmap.h: Likewise.
13081 * sysdeps/x86_64/bits/link.h: Renamed to ...
13082 * sysdeps/x86/bits/link.h: This.
13083 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13084 * sysdeps/x86/bits/linkmap.h: This.
13086 * sysdeps/i386/bits/endian.h: Removed.
13087 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13088 * sysdeps/x86/bits/endian.h: This.
13090 * sysdeps/i386/bits/byteswap.h: Removed.
13091 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13092 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13093 * sysdeps/x86/bits/byteswap.h: This.
13094 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13095 * sysdeps/x86/bits/byteswap-16.h: This.
13096 * sysdeps/i386/Implies: Add x86.
13097 * sysdeps/x86_64/Implies: Likewise.
13099 2012-05-30 David S. Miller <davem@davemloft.net>
13101 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13102 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13103 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13104 (FP_TRAPPING_EXCEPTIONS): Define.
13105 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13106 (FP_TRAPPING_EXCEPTIONS): Define.
13107 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13108 subnormals only when inexact has been signalled or underflow
13109 exceptions are enabled.
13110 (_FP_PACK_CANONICAL): Likewise.
13112 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13115 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13116 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13118 2012-05-30 Richard Henderson <rth@twiddle.net>
13120 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13121 with #ifndef NOT_IN_libc.
13123 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13124 marked to avoid plt entry.
13126 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13129 * Makeconfig (default-abi): New macro.
13130 (abi-includes): Likewise.
13131 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13132 $(abi-$(default-abi)-lib-soname) for soname if defined.
13133 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13135 * Makefile (installed-stubs): Likewise.
13136 * include/stubs-biarch.h: Removed.
13137 * scripts/lib-names.awk: Only handle one library at a time.
13138 * scripts/soversions.awk: Remove WORDSIZE support.
13139 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13141 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13143 (syscall-list-default-condition): Likewise.
13144 (syscall-list-default-condition): Likewise.
13145 (syscall-list-includes): Likewise.
13146 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13147 syscall-list-* with abi-*. Handle undefined abi-variants.
13148 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13149 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13150 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13151 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13152 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13153 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13155 (syscall-list-32-options): Likewise.
13156 (syscall-list-32-condition): Likewise.
13157 (syscall-list-64-options): Likewise.
13158 (syscall-list-64-condition): Likewise.
13159 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13161 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13164 (abi-64-ld-soname): New macro.
13165 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13166 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13169 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13170 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13172 2012-05-30 Joseph Myers <joseph@codesourcery.com>
13174 * sysdeps/unix/sysv/linux/kernel-features.h
13175 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13176 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13177 include <kernel-features.h>.
13178 [!__NR_ftruncate64]: Remove conditional code.
13179 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13180 [__NR_ftruncate64]: Make code unconditional.
13181 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13182 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13183 include <kernel-features.h>.
13184 [!__NR_ftruncate64]: Remove conditional code.
13185 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13186 [__NR_ftruncate64]: Make code unconditional.
13187 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13189 include <kernel-features.h>.
13190 [!__NR_ftruncate64]: Remove conditional code.
13191 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13192 [__NR_ftruncate64]: Make code unconditional.
13193 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13195 include <kernel-features.h>.
13196 [!__NR_ftruncate64]: Remove conditional code.
13197 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13198 [__NR_ftruncate64]: Make code unconditional.
13199 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13201 * configure.in (libc_cv_fpie): Weaken to a compile test using
13202 LIBC_TRY_CC_OPTION.
13203 * configure: Regenerated.
13205 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13220 2012-05-27 David S. Miller <davem@davemloft.net>
13222 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13224 (__Q_simulate_exceptions): Return void. Change to simulate
13225 exceptions by writing into the %fsr.
13226 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13227 (__Qp_handle_exceptions): Likewise.
13229 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13230 __Qp_handle_exceptions.
13231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13232 __Qp_handle_exceptions.
13233 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13234 as unused and give dummy FP_RND_NEAREST initializer.
13235 (FP_INHIBIT_RESULTS): Define.
13236 (___Q_simulate_exceptions): Update declaration.
13237 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13239 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13240 as unused and give dummy FP_RND_NEAREST initializer.
13241 (__Qp_handle_exceptions): Update declaration.
13242 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13245 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13247 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13248 the temporary FPU control word.
13249 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13250 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13251 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13252 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13253 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13254 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13255 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13256 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13257 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13258 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13259 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13261 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13263 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13266 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13268 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13269 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13270 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13271 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13273 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13274 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13277 2012-05-27 Ulrich Drepper <drepper@gmail.com>
13279 * po/h.po: Update from translation team.
13281 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13283 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13285 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13286 handling of denormals.
13287 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13288 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13289 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13290 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13291 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13292 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13293 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13296 2012-05-26 Marek Polacek <polacek@redhat.com>
13299 * math/libm-test.inc (fma_test): Don't always expect underflow
13302 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13305 * elf/tst-execstack.c: Include stackinfo.h.
13306 (do_test): Adjust test case to ensure that pthread_getattr_np
13307 behaviour remains the same after marking stack executable.
13309 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13311 * sysdeps/unix/sysv/linux/kernel-features.h
13312 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13313 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13315 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13316 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13317 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13319 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13320 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13322 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13324 * configure.in: Define the default includes to being none.
13325 * configure: Regenerated.
13327 2012-05-25 Roland McGrath <roland@hack.frob.com>
13329 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13330 * sysdeps/x86_64/setjmp.S: Likewise.
13331 * sysdeps/i386/bsd-setjmp.S: Likewise.
13332 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13333 * sysdeps/i386/setjmp.S: Likewise.
13334 * sysdeps/i386/__longjmp.S: Likewise.
13335 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13336 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13338 * include/stap-probe.h: New file.
13339 * configure.in: Handle --enable-systemtap.
13340 * configure: Regenerated.
13341 * config.h.in (USE_STAP_PROBE): New #undef.
13342 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13343 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13344 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13346 2012-05-25 Joseph Myers <joseph@codesourcery.com>
13349 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13350 to 2.4.0 where earlier.
13351 * sysdeps/unix/sysv/linux/configure: Regenerated.
13352 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
13361 [__ASSUME_32BITUIDS]: Make code unconditional.
13362 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13363 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13364 <kernel-features.h>.
13365 [__ASSUME_32BITUIDS]: Make code unconditional.
13366 [!__ASSUME_32BITUIDS]: Remove conditional code.
13367 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13368 <kernel-features.h>.
13369 [__ASSUME_32BITUIDS]: Make code unconditional.
13370 [!__ASSUME_32BITUIDS]: Remove conditional code.
13371 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13372 <kernel-features.h>.
13373 [__ASSUME_32BITUIDS]: Make code unconditional.
13374 [!__ASSUME_32BITUIDS]: Remove conditional code.
13375 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13376 <kernel-features.h>.
13377 [__ASSUME_32BITUIDS]: Make code unconditional.
13378 [!__ASSUME_32BITUIDS]: Remove conditional code.
13379 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13380 <kernel-features.h>.
13381 [__ASSUME_32BITUIDS]: Make code unconditional.
13382 [!__ASSUME_32BITUIDS]: Remove conditional code.
13383 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13384 <kernel-features.h>.
13385 [__ASSUME_32BITUIDS]: Make code unconditional.
13386 [!__ASSUME_32BITUIDS]: Remove conditional code.
13387 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13388 <kernel-features.h>.
13389 [__ASSUME_32BITUIDS]: Make code unconditional.
13390 [!__ASSUME_32BITUIDS]: Remove conditional code.
13391 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13392 <kernel-features.h>.
13393 [__ASSUME_32BITUIDS]: Make code unconditional.
13394 [!__ASSUME_32BITUIDS]: Remove conditional code.
13395 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13396 <kernel-features.h>.
13397 [__ASSUME_32BITUIDS]: Make code unconditional.
13398 [!__ASSUME_32BITUIDS]: Remove conditional code.
13399 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13400 <kernel-features.h>.
13401 [__ASSUME_32BITUIDS]: Make code unconditional.
13402 [!__ASSUME_32BITUIDS]: Remove conditional code.
13403 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13404 <kernel-features.h>.
13405 [__NR_setresgid] (__setresgid): Do not declare.
13406 [__ASSUME_32BITUIDS]: Make code unconditional.
13407 [!__ASSUME_32BITUIDS]: Remove conditional code.
13408 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13409 <kernel-features.h>.
13410 [__NR_setresuid] (__setresuid): Do not declare.
13411 [__ASSUME_32BITUIDS]: Make code unconditional.
13412 [!__ASSUME_32BITUIDS]: Remove conditional code.
13413 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13414 <kernel-features.h>.
13415 [__ASSUME_32BITUIDS]: Make code unconditional.
13416 [!__ASSUME_32BITUIDS]: Remove conditional code.
13417 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13418 <kernel-features.h>.
13419 [__ASSUME_32BITUIDS]: Make code unconditional.
13420 [!__ASSUME_32BITUIDS]: Remove conditional code.
13421 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13422 <kernel-features.h>.
13423 [__ASSUME_32BITUIDS]: Make code unconditional.
13424 [!__ASSUME_32BITUIDS]: Remove conditional code.
13425 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13426 <kernel-features.h>.
13427 [__ASSUME_32BITUIDS]: Make code unconditional.
13428 [!__ASSUME_32BITUIDS]: Remove conditional code.
13429 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13430 <kernel-features.h>.
13431 [__ASSUME_32BITUIDS]: Make code unconditional.
13432 [!__ASSUME_32BITUIDS]: Remove conditional code.
13433 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13434 <kernel-features.h>.
13435 [__ASSUME_32BITUIDS]: Make code unconditional.
13436 [!__ASSUME_32BITUIDS]: Remove conditional code.
13437 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13438 <kernel-features.h>.
13439 [__ASSUME_32BITUIDS]: Make code unconditional.
13440 [!__ASSUME_32BITUIDS]: Remove conditional code.
13441 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13442 <kernel-features.h>.
13443 [__ASSUME_32BITUIDS]: Make code unconditional.
13444 [!__ASSUME_32BITUIDS]: Remove conditional code.
13445 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13446 <kernel-features.h>.
13447 [__ASSUME_32BITUIDS]: Make code unconditional.
13448 [!__ASSUME_32BITUIDS]: Remove conditional code.
13449 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13450 <kernel-features.h>.
13451 [__ASSUME_32BITUIDS]: Make code unconditional.
13452 [!__ASSUME_32BITUIDS]: Remove conditional code.
13453 * sysdeps/unix/sysv/linux/kernel-features.h
13454 (__ASSUME_SETRESUID_SYSCALL): Remove.
13455 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13456 (__ASSUME_32BITUIDS): Likewise.
13457 (__ASSUME_LDT_WORKS): Likewise.
13458 (__ASSUME_O_DIRECTORY): Likewise.
13459 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13460 architecture but not kernel version.
13461 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13462 (__ASSUME_MMAP2_SYSCALL): Likewise.
13463 (__ASSUME_STAT64_SYSCALL): Likewise.
13464 (__ASSUME_IPC64): Likewise.
13465 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13466 <kernel-features.h>.
13467 [__ASSUME_32BITUIDS]: Make code unconditional.
13468 [!__ASSUME_32BITUIDS]: Remove conditional code.
13469 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13470 <kernel-features.h>.
13471 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13472 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13473 132096]: Remove conditional code.
13474 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13475 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13476 <kernel-features.h>.
13477 [__ASSUME_32BITUIDS]: Make code unconditional.
13478 [!__ASSUME_32BITUIDS]: Remove conditional code.
13479 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13480 <kernel-features.h>.
13481 [__ASSUME_32BITUIDS]: Make code unconditional.
13482 [!__ASSUME_32BITUIDS]: Remove conditional code.
13483 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13484 <kernel-features.h>.
13485 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13487 (__setresgid): Do not declare.
13488 [__ASSUME_32BITUIDS]: Make code unconditional.
13489 [!__ASSUME_32BITUIDS]: Remove conditional code.
13490 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13491 <kernel-features.h>.
13492 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13494 (__setresuid): Do not declare.
13495 [__ASSUME_32BITUIDS]: Make code unconditional.
13496 [!__ASSUME_32BITUIDS]: Remove conditional code.
13497 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13498 <kernel-features.h>.
13499 [__ASSUME_32BITUIDS]: Make code unconditional.
13500 [!__ASSUME_32BITUIDS]: Remove conditional code.
13501 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13502 <kernel-features.h>.
13503 [__ASSUME_32BITUIDS]: Make code unconditional.
13504 [!__ASSUME_32BITUIDS]: Remove conditional code.
13506 2012-05-25 Richard Henderson <rth@twiddle.net>
13508 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13509 dl_hwcap to ifunc resolver.
13510 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13512 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13513 dl_hwcap to ifunc resolver.
13514 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13516 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13519 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13520 for |x| <= 2**-26, not 2**-57.
13521 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13524 2012-05-24 Jeff Law <law@redhat.com>
13526 * stdio-common/Makefile (tests): Add bug25.
13527 * stdio-common/bug25.c: New test.
13529 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13532 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13533 multiple of MALLOC_ALIGNMENT in size.
13534 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13536 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13538 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13540 (FILENAME_MAX): Use macro-int-constant.
13541 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13542 (_IOFBF): Use macro-int-constant.
13543 (_IOLBF): Likewise.
13544 (_IONBF): Likewise.
13545 (SEEK_CUR): Likewise.
13546 (SEEK_END): Likewise.
13547 (SEEK_SET): Likewise.
13548 (TMP_MAX): Likewise.
13549 (EOF): Use macro-int-constant. Require < 0.
13550 (NULL): Use macro-constant. Require == 0.
13551 (stdin): Require type to be FILE *.
13552 (stdout): Likewise.
13553 (stderr): Likewise.
13554 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13555 macro-int-constant.
13556 (EXIT_SUCCESS): Likewise.
13557 (NULL): Use macro-constant. Require == 0.
13558 (RAND_MAX): Use macro-int-constant.
13559 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13560 [C99-based standards] (strtof): Require function.
13561 [C99-based standards] (strtold): Likewise.
13562 [C99-based standards] (strtoll): Likewise.
13563 [C99-based standards] (strtoull): Likewise.
13564 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13565 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13566 [ISO || ISO99 || ISO11] (math.h): Likewise.
13567 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13568 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13569 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13571 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13574 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13575 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13576 * intl/dgettext.c (DCGETTEXT): Likewise.
13577 * intl/gettext.c (DCGETTEXT): Likewise.
13578 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13579 * posix/regex_internal.h (gettext): Likewise.
13580 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13581 Remove declaration.
13582 * include/argz.h (__argz_count_internal)
13583 (__argz_stringify_internal): Remove declaration.
13584 (__argz_count, __argz_stringify): Declare hidden proto.
13585 * intl/dcgettext.c: Remove use of INTDEF.
13586 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13587 * string/argz-stringify.c: Likewise.
13588 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13589 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13590 Declare hidden proto.
13591 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13592 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13593 Declare hidden proto.
13594 * include/stdio.h (__asprintf_internal): Don't declare.
13595 (__asprintf): Don't define as macro. Declare hidden proto.
13596 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13597 (__fsetlocking): Declare hidden proto.
13598 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13599 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13601 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13602 (_IO_setlinebuf): Remove use of INTUSE.
13603 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13604 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13605 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13606 Remove declaration.
13607 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13608 (_IO_do_flush): Remove use of INTUSE.
13609 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13610 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13611 (_IO_adjust_column, _IO_least_wmarker)
13612 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13613 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13614 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13615 (_IO_default_doallocate, _IO_wdefault_doallocate)
13616 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13617 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13618 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13619 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13620 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13621 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13622 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13623 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13624 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13625 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13626 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13627 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13628 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13630 (_IO_flush_all_internal, _IO_adjust_column_internal)
13631 (_IO_default_uflow_internal, _IO_default_finish_internal)
13632 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13633 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13634 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13635 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13636 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13637 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13638 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13639 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13640 (_IO_file_close_internal, _IO_file_close_it_internal)
13641 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13642 (_IO_file_init_internal, _IO_file_attach_internal)
13643 (_IO_file_fopen_internal, _IO_file_read_internal)
13644 (_IO_file_sync_internal, _IO_file_seek_internal)
13645 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13646 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13647 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13648 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13649 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13650 (_IO_list_all_internal, _IO_link_in_internal)
13651 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13652 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13653 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13654 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13655 (_IO_do_write_internal, _IO_padn_internal)
13656 (_IO_getline_info_internal, _IO_getline_internal)
13657 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13658 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13659 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13660 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13661 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13662 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13663 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13664 with libc_hidden_ver, remove use of INTUSE.
13665 * libio/genops.c: Likewise.
13666 * libio/freopen.c: Likewise.
13667 * libio/freopen64.c: Likewise.
13668 * libio/iofclose.c: Likewise.
13669 * libio/iofdopen.c: Likewise.
13670 * libio/iofflush.c: Likewise.
13671 * libio/iofflush_u.c: Likewise.
13672 * libio/iofgets.c: Likewise.
13673 * libio/iofgets_u.c: Likewise.
13674 * libio/iofopen.c: Likewise.
13675 * libio/iofopncook.c: Likewise.
13676 * libio/iofread.c: Likewise.
13677 * libio/iofread_u.c: Likewise.
13678 * libio/ioftell.c: Likewise.
13679 * libio/iofwrite.c: Likewise.
13680 * libio/iogetline.c: Likewise.
13681 * libio/iogets.c: Likewise.
13682 * libio/iogetwline.c: Likewise.
13683 * libio/iopadn.c: Likewise.
13684 * libio/iopopen.c: Likewise.
13685 * libio/ioseekoff.c: Likewise.
13686 * libio/ioseekpos.c: Likewise.
13687 * libio/iosetbuffer.c: Likewise.
13688 * libio/iosetvbuf.c: Likewise.
13689 * libio/ioungetc.c: Likewise.
13690 * libio/ioungetwc.c: Likewise.
13691 * libio/iovdprintf.c: Likewise.
13692 * libio/iovsprintf.c: Likewise.
13693 * libio/iovsscanf.c: Likewise.
13694 * libio/memstream.c: Likewise.
13695 * libio/obprintf.c: Likewise.
13696 * libio/oldfileops.c: Likewise.
13697 * libio/oldiofclose.c: Likewise.
13698 * libio/oldiofdopen.c: Likewise.
13699 * libio/oldiofopen.c: Likewise.
13700 * libio/oldiopopen.c: Likewise.
13701 * libio/oldstdfiles.c: Likewise.
13702 * libio/putc.c: Likewise.
13703 * libio/setbuf.c: Likewise.
13704 * libio/setlinebuf.c: Likewise.
13705 * libio/stdfiles.c: Likewise.
13706 * libio/strops.c: Likewise.
13707 * libio/vasprintf.c: Likewise.
13708 * libio/vscanf.c: Likewise.
13709 * libio/vsnprintf.c: Likewise.
13710 * libio/vswprintf.c: Likewise.
13711 * libio/wfiledoalloc.c: Likewise.
13712 * libio/wfileops.c: Likewise.
13713 * libio/wgenops.c: Likewise.
13714 * libio/wmemstream.c: Likewise.
13715 * libio/wstrops.c: Likewise.
13716 * libio/__fpurge.c: Likewise.
13717 * libio/__fsetlocking.c: Likewise.
13718 * assert/assert.c: Likewise.
13719 * debug/fgets_chk.c: Likewise.
13720 * debug/fgets_u_chk.c: Likewise.
13721 * debug/fread_chk.c: Likewise.
13722 * debug/fread_u_chk.c: Likewise.
13723 * debug/gets_chk.c: Likewise.
13724 * debug/obprintf_chk.c: Likewise.
13725 * debug/vasprintf_chk.c: Likewise.
13726 * debug/vdprintf_chk.c: Likewise.
13727 * debug/vsnprintf_chk.c: Likewise.
13728 * debug/vsprintf_chk.c: Likewise.
13729 * malloc/mtrace.c: Likewise.
13730 * misc/error.c: Likewise.
13731 * misc/syslog.c: Likewise.
13732 * stdio-common/asprintf.c: Likewise.
13733 * stdio-common/fxprintf.c: Likewise.
13734 * stdio-common/getw.c: Likewise.
13735 * stdio-common/isoc99_fscanf.c: Likewise.
13736 * stdio-common/isoc99_scanf.c: Likewise.
13737 * stdio-common/isoc99_vfscanf.c: Likewise.
13738 * stdio-common/isoc99_vscanf.c: Likewise.
13739 * stdio-common/isoc99_vsscanf.c: Likewise.
13740 * stdio-common/printf-prs.c: Likewise.
13741 * stdio-common/printf_fp.c: Likewise.
13742 * stdio-common/printf_fphex.c: Likewise.
13743 * stdio-common/printf_size.c: Likewise.
13744 * stdio-common/putw.c: Likewise.
13745 * stdio-common/scanf.c: Likewise.
13746 * stdio-common/sprintf.c: Likewise.
13747 * stdio-common/tmpfile.c: Likewise.
13748 * stdio-common/vfprintf.c: Likewise.
13749 * stdio-common/vfscanf.c: Likewise.
13750 * stdlib/strfmon_l.c: Likewise.
13751 * sunrpc/openchild.c: Likewise.
13752 * sunrpc/xdr_stdio.c: Likewise.
13753 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13754 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13756 2012-05-24 Roland McGrath <roland@hack.frob.com>
13758 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13760 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13761 in the third column, to generate for the shared library an IFUNC
13762 that uses _dl_vdso_vsym.
13763 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13764 * Makeconfig (object-suffixes-noshared): New variable.
13766 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13767 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13768 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13769 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13772 * include/sys/time.h (__gettimeofday): Remove macro.
13773 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13774 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13776 (__gettimeofday): Add libc_hidden_def.
13777 (gettimeofday): Add libc_hidden_weak.
13778 * sysdeps/mach/gettimeofday.c: Likewise.
13779 * sysdeps/posix/gettimeofday.c: Likewise.
13780 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13781 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13782 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13783 (__gettimeofday_internal): Remove strong_alias.
13784 (__gettimeofday): Add libc_hidden_def.
13785 (gettimeofday): Add libc_hidden_weak.
13786 * sysdeps/unix/syscalls.list (gettimeofday):
13787 Remove __gettimeofday_internal alias.
13789 2012-05-24 Daniel Jacobowitz <drow@false.org>
13790 H.J. Lu <hongjiu.lu@intel.com>
13793 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13794 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13795 (largebin_index_32_big): New.
13796 (largebin_index): Use it for 16-byte alignment.
13797 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13798 correction with front_misalign.
13800 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13828 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13829 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13831 2012-05-24 Joseph Myers <joseph@codesourcery.com>
13835 * math/libm-test.inc (exp_test): Add test from bug 14036.
13836 (pow_test): Add test from bug 10846.
13838 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13840 (special_function): Do not include flags in test name.
13841 (parse_args): Likewise.
13842 * sysdeps/i386/fpu/libm-test-ulps: Update.
13843 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13844 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13845 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13848 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13850 * math/libm-test.inc ("Philosophy"): Update comment about
13852 (UNDERFLOW_EXCEPTION): New macro.
13853 (UNDERFLOW_EXCEPTION_OK): Likewise.
13854 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13855 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13856 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13857 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13858 (INVALID_EXCEPTION_OK): Update value.
13859 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13860 (OVERFLOW_EXCEPTION_OK): Likewise.
13861 (IGNORE_ZERO_INF_SIGN): Likewise.
13862 (test_exceptions): Handle underflow exceptions.
13863 (acos_test): Update for underflow exception expectations.
13864 (cexp_test): Likewise.
13865 (clog_test): Likewise.
13866 (clog10_test): Likewise.
13867 (csqrt_test): Likewise.
13868 (ctan_test): Likewise.
13869 (ctanh_test): Likewise.
13870 (exp_test): Likewise.
13871 (exp10_test): Likewise.
13872 (exp2_test): Likewise.
13873 (expm1_test): Likewise.
13874 (fma_test): Likewise.
13875 (j0_test): Likewise.
13876 (jn_test): Likewise.
13877 (nexttoward_test): Likewise.
13878 (pow_test): Likewise.
13879 (scalbn_test): Likewise.
13880 (scalbln_test): Likewise.
13881 (tan_test): Likewise.
13882 (y1_test): Likewise.
13883 * sysdeps/i386/fpu/libm-test-ulps: Update.
13884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13886 2012-05-23 David S. Miller <davem@davemloft.net>
13888 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13889 (__libc_sigaction): Remove unused local variables.
13891 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13893 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13895 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13897 mktime: avoid signed integer overflow
13898 * time/mktime.c (__mktime_internal): Do not mishandle the case
13899 where diff == INT_MIN.
13901 mktime: simplify computation of average
13902 * time/mktime.c (ranged_convert): Use new time_t_avg function
13903 instead of rolling our own (probably-slower) code.
13905 mktime: do not assume signed right shift propagates sign bit
13906 * time/mktime.c (isdst_differ): New static function.
13907 (__mktime_internal): No need to normalize tm_isdst now.
13908 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13911 mktime: merge another wrapv change from gnulib
13912 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13913 from some compilers.
13915 mktime: remove incorrect attempt at unusual arithmetics
13916 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13917 The code didn't really work on such machines anyway.
13918 (TYPE_MINIMUM): Assume two's complement.
13919 (twos_complement_arithmetic): Verify that long_int and time_t
13920 are two's complement (or unsigned, in the latter case).
13922 mktime: check signed shifts on long_int and time_t, too
13923 * time/mktime.c (SHR): Check that shifts work as desired
13924 on the types long_int and time_t too, as SHR is used on
13927 mktime: do not assume 'long' is wide enough
13928 * time/mktime.c (verify): Move decl up.
13929 (long_int): New type.
13930 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13931 to remove assumption in the code that 'long' is wide enough to
13932 store year values. This assumption is not true on x32 and on
13933 some non-glibc platforms.
13935 mktime: merge wrapv change from gnulib
13936 * time/mktime.c (WRAPV): New macro.
13937 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13938 (guess_time_tm, __mktime_internal): Do not assume that signed
13939 integer overflow wraps around; modern compilers generate code
13940 where this assumption is no longer valid.
13942 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13944 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13945 Replace "jmp L(pseudo_end)" with "ret".
13946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13949 2012-05-23 Andreas Jaeger <aj@suse.de>
13951 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13952 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13954 2012-05-23 Andreas Jaeger <aj@suse.de>
13955 Maximilian Attems <max@stro.at>
13957 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13960 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13962 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13963 code so that pseudo_end is just ret and the stack pointer is
13964 correct also for static library in error case.
13966 2012-05-23 Joseph Myers <joseph@codesourcery.com>
13968 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13969 move to syscalls.list.
13970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13975 * manual/install.texi (Running make install): Do not mention Linux
13976 kernel version for which pt_chown is not needed.
13977 (Linux): Do not mention problems with nscd with 2.0 kernels.
13978 * INSTALL: Regenerated.
13980 2012-05-23 Andreas Jaeger <aj@suse.de>
13982 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13983 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13985 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13986 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13987 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13988 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13989 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13990 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13991 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13992 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13993 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13994 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13995 * sysdeps/unix/sysv/linux/bits/in.h
13996 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13998 2012-05-22 Roland McGrath <roland@hack.frob.com>
14000 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
14001 (PREPARE_VERSION): Just use assert instead, it will be elided
14002 under [NDEBUG] anyway.
14004 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14006 * sysdeps/unix/sysv/linux/Makefile: Include
14007 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
14008 (sysdep_routines): Remove sysctl.
14009 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
14010 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
14011 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
14012 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
14013 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
14015 2012-05-22 Andreas Jaeger <aj@suse.de>
14017 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
14018 that pseudo_end is just ret and the stack pointer is correct also
14019 for static library in error case.
14021 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14024 * nss/nsswitch.c (defconfig_entries): New variable.
14025 (__nss_database_lookup): Don't leak defconfig entries.
14026 (nss_parse_service_list): Don't leak on error paths.
14027 (free_database_entries): New function.
14028 (free_defconfig): New function.
14029 (free_mem): Move common code to free_database_entries.
14031 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14033 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
14035 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
14037 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14038 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14039 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14041 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14042 (INTERNAL_SYSCALL_TYPES): Likewise.
14043 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14044 (LOAD_REGS_TYPES_[1-6]): Likewise.
14045 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14046 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14048 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14050 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14051 copysignl for GLIBC_2_0.
14052 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14053 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14055 logbl for GLIBC_2_0.
14056 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14057 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14059 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14061 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14062 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14064 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14067 * time/mktime.c: Update copyright years.
14069 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14071 mktime: merge comment-quoting-style change from gnulib
14072 * time/mktime.c: Quote 'like this' in comments.
14073 The GNU coding standards suggest that we no longer quote `like this',
14074 as "`" and "'" are typically rendered asymmetrically nowadays.
14075 The typical gnulib style is to quote 'like this' when quoting
14076 code, and "like this" when quoting English.
14078 * time/mktime.c (compile-command): Add "-I.".
14080 mktime: merge mktime-internal.h change from gnulib
14081 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14083 mktime: merge time_r change from gnulib
14084 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14086 mktime: merge DEBUG change from gnulib
14087 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14088 case system <time.h> has a #define.
14090 mktime: merge <sys/types.h> change from gnulib
14091 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14092 since <time.t> is now guaranteed to define time_t.
14094 mktime: merge HAVE_CONFIG_H change from gnulib
14095 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14097 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14099 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14102 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14104 (struct rusage): Use anonymous union to pad each field to
14107 2012-05-21 David S. Miller <davem@davemloft.net>
14109 * Makefules (o-iterator): Remove .s cases.
14110 (compile-command.s): Delete.
14111 (COMPILE.s): Delete.
14112 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14114 2012-05-21 Joseph Myers <joseph@codesourcery.com>
14116 * configure.in (libc_cv_predef_stack_protector): Only consider
14117 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14118 * configure: Regenerated.
14120 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14122 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14123 New macro. Use R*LP on int and pointer.
14124 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
14125 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14126 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
14127 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14129 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14130 [__WORDSIZE_TIME64_COMPAT32] instead of
14131 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14132 (struct utmp): Likewise.
14133 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14134 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14136 (__WORDSIZE_TIME64_COMPAT32): This.
14137 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14138 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14139 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14140 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14141 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14142 (__WORDSIZE_TIME64_COMPAT32): New macro.
14144 2012-05-21 Andreas Jaeger <aj@suse.de>
14146 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14147 only if [SHARED]. Add prototype for __wcschr_ia32.
14149 2012-05-21 Roland McGrath <roland@hack.frob.com>
14151 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14152 of %rbp unmolested in the jmp_buf while mangling the low bits.
14153 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14154 unmolested high bits of %rbp while demangling the low bits.
14155 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14157 2012-05-21 Andreas Jaeger <aj@suse.de>
14159 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14160 * sunrpc/svc_simple.c: Use it for registerrpc.
14161 * sunrpc/xcrypt.c: Use it for passwd2des.
14163 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14165 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14167 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14168 Don't define if [__SYSCALL_WORDSIZE != 32].
14169 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14172 2012-05-21 Bruno Haible <bruno@clisp.org>
14173 Andreas Jaeger <aj@suse.de>
14175 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14176 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14177 inptr and inend for must_buffer_ch.
14178 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14179 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14180 * stdio-common/Makefile (tests): Remove bug15.
14181 (bug15-ENV): Remove macro.
14182 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14185 2012-05-19 Andreas Jaeger <aj@suse.de>
14186 Roland McGrath <roland@hack.frob.com>
14188 * manual/contrib.texi: Completely rewritten. It contains now an
14189 alphabetical list of contributors and their contributions.
14191 2012-05-21 Richard Henderson <rth@twiddle.net>
14193 * misc/getauxval.c (__getauxval): Use unsigned long int.
14194 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14195 (getauxval): Use unsigned long int.
14197 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14199 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14201 2012-05-21 Roland McGrath <roland@hack.frob.com>
14203 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14204 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14205 __alignof__ (long double).
14207 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14211 2012-05-20 Richard Henderson <rth@twiddle.net>
14213 * misc/getauxval.c: New file.
14214 * misc/sys/auxv.h: New file.
14215 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14216 (routines): Add getauxval.
14217 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14218 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14219 * elf/dl-sysdep.c (_dl_auxv): Remove.
14220 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14221 * elf/dl-support.c (_dl_auxv): New variable.
14222 (_dl_aux_init): Initialize it.
14223 * manual/startup.texi (Auxiliary Vector): New node.
14224 * sysdeps/generic/bits/hwcap.h: New file.
14225 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14226 * sysdeps/powerpc/sysdep.h: ... here. Include it.
14227 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14228 * sysdeps/sparc/sysdep.h: ... here. Include it.
14229 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14230 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
14231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14236 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14242 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14246 2012-05-19 David S. Miller <davem@davemloft.net>
14248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14250 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14253 * math/s_ccosh.c: Include <float.h>
14254 (__ccosh): Avoid internal overflow calculating sinh and cosh
14255 values before multiplying by sin and cos values.
14256 * math/s_ccoshf.c: Likewise.
14257 * math/s_ccoshl.c: Likewise.
14258 * math/s_csin.c: Likewise.
14259 * math/s_csinf.c: Likewise.
14260 * math/s_csinl.c: Likewise.
14261 * math/s_csinh.c: Likewise.
14262 * math/s_csinhf.c: Likewise.
14263 * math/s_csinhl.c: Likewise.
14264 * math/libm-test.inc (ccos_test): Add more tests.
14265 (ccosh_test): Likewise.
14266 (csin_test): Likewise.
14267 (csinh_test): Likewise.
14268 * sysdeps/i386/fpu/libm-test-ulps: Update.
14269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14271 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14273 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14274 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14276 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14278 2012-05-19 Joseph Myers <joseph@codesourcery.com>
14280 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14281 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14282 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14283 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14284 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14285 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14286 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14287 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14288 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14289 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14290 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14291 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14292 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14293 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14294 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14295 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14296 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14297 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14298 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14299 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14300 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14301 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14302 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14303 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14304 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14305 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14306 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14307 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14308 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14309 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14310 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14312 2012-05-18 Andreas Jaeger <aj@suse.de>
14314 * csu/.gitignore: Delete.
14316 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14318 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14319 (timex): Use __syscall_slong_t.
14321 2012-05-18 Andreas Jaeger <aj@suse.de>
14322 Carlos O'Donell <carlos_odonell@mentor.com>
14324 * manual/install.texi (Configuring and compiling): Update
14325 description about files modified in the source directory.
14326 * INSTALL: Regenerated.
14328 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14330 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14331 value. Use "or" to set return value to -1.
14332 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14333 negate return value.
14335 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14337 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14338 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14339 failure if the compiler has Graphite support disabled.
14340 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14342 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14343 CFLAGS-memmove.c): Likewise.
14344 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14347 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14349 * sysdeps/x86_64/x32/_itoa.h: New file.
14351 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14352 getdents system call only if kernel and user dirents have the
14353 same d_ino and d_off.
14355 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14356 LLONG_MAX != LONG_MAX.
14357 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14358 (_fitoa_word): Likewise.
14360 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14362 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14363 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14364 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14366 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14367 include <bits/wordsize.h>. Check __x86_64__ instead of
14369 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14370 if __x86_64__ is defined. Use anonymous union on fpstate.
14372 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14375 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14377 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14378 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14379 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14380 Refer to _rtld_local_ro instead of _rtld_global_ro.
14381 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14383 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14385 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14387 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14388 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14389 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14391 * sysdeps/powerpc/powerpc32/dl-machine.c
14392 (__elf_machine_runtime_setup) [PROF]: Don't reference
14395 2012-05-18 Andreas Jaeger <aj@suse.de>
14397 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14398 function only available for GCCs before 3.4 since GCC 3.4
14399 introduced a builtin.
14401 (llrintf): Likewise.
14402 (llrint): Likewise.
14409 (nearbyint): Likewise.
14410 (nearbyintf): Likewise.
14414 (floorf): Likewise.
14416 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14418 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14419 on both fields and cast pointer to __syscall_ulong_t.
14421 * bits/types.h (__fsword_t): New type.
14422 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14423 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14424 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14425 (__FSWORD_T_TYPE): Likewise.
14426 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14427 (__FSWORD_T_TYPE): Likewise.
14428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14429 (__FSWORD_T_TYPE): Likewise.
14430 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14431 (__FSWORD_T_TYPE): Likewise.
14432 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14433 __SWORD_TYPE with __fsword_t.
14434 (statfs64): Likewise.
14436 2012-05-17 David S. Miller <davem@davemloft.net>
14438 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14440 2012-05-17 Andreas Jaeger <aj@suse.de>
14442 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14445 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14447 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14449 2012-05-17 Andreas Jaeger <aj@suse.de>
14451 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14454 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14456 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14458 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14460 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14461 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14463 2012-05-17 Andreas Jaeger <aj@suse.de>
14464 Carlos O'Donell <carlos_odonell@mentor.com>
14467 * sysdeps/x86_64/multiarch/init-arch.h
14468 (bit_YMM_Usable): Rename to...
14469 (bit_AVX_Usable): ... this.
14470 (bit_FMA4_Usable): New macro.
14471 (bit_XMM_state): New macro.
14472 (bit_YMM_state): New macro.
14473 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14474 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14475 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14476 (CPUID_OSXSAVE): New macro.
14477 (CPUID_AVX): New macro.
14478 (CPUID_FMA4): New macro.
14479 (index_YMM_Usable): Rename to...
14480 (index_AVX_Usable): ... this.
14481 (HAS_AVX): Use HAS_ARCH_FEATURE.
14482 (HAS_FMA4): Likewise.
14483 (HAS_YMM_USABLE): Remove.
14484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14485 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14487 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14488 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14489 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14490 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14491 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14493 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14495 * math/libm-test.c: Support platforms without multiple rounding modes.
14496 * math/bug-nextafter.c: Support platforms without FP exceptions.
14497 * math/bug-nexttoward.c: Likewise.
14498 * math/test-fenv.c: Likewise.
14499 * math/test-misc.c: Likewise.
14500 * stdlib/bug-getcontext.c: Likewise.
14502 2012-05-17 Andreas Jaeger <aj@suse.de>
14504 * manual/examples/search.c (critter_cmp): Change signature to
14506 * manual/string.texi (Collation Functions): Likewise.
14508 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14510 * bits/types.h: Fold copyright years.
14511 * bits/typesizes.h: Likewise.
14512 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14513 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14514 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14515 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14516 * time/time.h: Likewise.
14518 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14521 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14522 in instead of returning them. Return void.
14523 (__libc_mallinfo): Accumulate over all arenas.
14524 (__malloc_stats): Adjust for change in int_mallinfo interface.
14526 2012-05-16 Roland McGrath <roland@hack.frob.com>
14529 * configure.in (NM): Add AC_CHECK_TOOL for it.
14530 (libc_extra_cflags): New substituted variable.
14531 Check for -fstack-protector being used implicitly.
14532 * configure: Regenerated.
14533 * config.make.in (config-extra-cflags): New variable,
14534 gets @libc_extra_cflags@.
14535 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14538 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14539 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14540 * configure: Regenerated.
14541 * config.make.in (CPPUNDEFS): New substituted variable.
14542 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14543 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14544 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14546 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14548 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14549 (mq_attr): Use __syscall_slong_t.
14551 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14553 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14554 Check __x86_64__ instead of __WORDSIZE.
14555 (_STAT_VER_LINUX): Likewise.
14556 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14557 __syscall_ulong_t and __syscall_slong_t.
14558 (stat64): Likewise.
14560 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14562 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14564 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14566 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14568 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14570 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14573 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14574 include <bits/wordsize.h>. Check __x86_64__ instead of
14576 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14578 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14580 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14581 include <bits/wordsize.h>. Check __x86_64__ instead of
14583 (user_regs_struct): Use "__extension__ unsigned long long"
14584 instead of "unsigned long" if __x86_64__ is defined.
14585 (user): Likewise. Pad after pointer field if __ILP32__ is
14588 2012-05-16 Joseph Myers <joseph@codesourcery.com>
14590 * configure.in (makeinfo): Require version 4.5 or later. Allow
14592 * configure: Regenerated.
14593 * manual/install.texi (texinfo): Increase version requirement to
14595 * INSTALL: Regenerated.
14597 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14599 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14601 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14603 * sysdeps/x86_64/x32/ffs.c: New file.
14605 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14607 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14608 defined. Use __syscall_ulong_t.
14609 (shminfo): Use __syscall_ulong_t.
14610 (shm_info): Likewise.
14612 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14615 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14617 (msgqnum_t): Use __syscall_ulong_t.
14618 (msglen_t): Likewise.
14619 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14622 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14623 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14625 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14627 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14628 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14630 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14633 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14634 include <bits/wordsize.h>. Check __x86_64__ instead of
14637 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14638 "unsigned long long int" if __x86_64__ is defined.
14639 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14641 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14642 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14643 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14645 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14647 (GET_PC): Cast to uintptr_t first.
14648 (GET_FRAME): Likewise.
14649 (GET_STACK): Likewise.
14651 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14652 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14653 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14654 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14655 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14656 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14657 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14658 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14659 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14660 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14661 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14662 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14663 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14664 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14665 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14666 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14667 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14668 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14669 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14670 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14671 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14672 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14673 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14674 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14675 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14676 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14677 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14678 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14679 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14681 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14683 * Makerules (+depfiles): Also collect depfiles from .oS in
14685 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14686 .oS, $(libnldbl-routines)).
14688 * Makerules (native-compile-mkdep-flags): Define.
14689 * sunrpc/Makefile (extra-objs): Add $(addprefix
14690 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14691 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14692 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14693 calling $(make-target-directory).
14695 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14697 * bits/types.h (__snseconds_t): Removed.
14698 * time/time.h (struct timespec): Replace __snseconds_t with
14700 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14701 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14703 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14704 (__SNSECONDS_T_TYPE): Likewise.
14705 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14706 (__SNSECONDS_T_TYPE): Likewise.
14707 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14708 (__SNSECONDS_T_TYPE): Likewise.
14710 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14712 * sysdeps/mach/hurd/bits/typesizes.h
14713 (__SYSCALL_SLONG_TYPE): New macro.
14714 (__SYSCALL_ULONG_TYPE): Likewise.
14716 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14718 * bits/types.h (__syscall_slong_t): New type.
14719 (__syscall_ulong_t): Likewise.
14721 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14722 (__SYSCALL_ULONG_TYPE): Likewise.
14723 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14724 (__SYSCALL_SLONG_TYPE): Likewise.
14725 (__SYSCALL_ULONG_TYPE): Likewise.
14726 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14727 (__SYSCALL_SLONG_TYPE): Likewise.
14728 (__SYSCALL_ULONG_TYPE): Likewise.
14729 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14730 (__SYSCALL_SLONG_TYPE): Likewise.
14731 (__SYSCALL_ULONG_TYPE): Likewise.
14733 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14735 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14736 Add sigaltstack-offsets.sym.
14737 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14738 <sigaltstack-offsets.h>.
14739 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14740 longjmp_msg pointer.
14741 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14742 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14744 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14746 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14748 * elf/stackguard-macros.h: Remove file.
14749 * sysdeps/generic/stackguard-macros.h: New file.
14750 * sysdeps/i386/stackguard-macros.h: Likewise.
14751 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14752 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14753 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14754 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14755 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14756 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14757 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14758 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14759 <elf/stackguard-macros.h>.
14762 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14763 __aligned__ in attribute.
14764 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14765 (gregset_t): Likewise.
14767 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14769 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14770 * sysdeps/x86_64/64/Implies-after: Here. New file.
14771 * sysdeps/x86_64/x32/Implies-after: New file.
14773 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14775 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14776 and access return value for _dl_profile_fixup. Use R10_LP to
14779 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14781 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14783 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14785 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14786 * sysdeps/x86_64/x32/sysdep.h: New file.
14788 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14790 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14791 * sysdeps/x86_64/setjmp.S: Likewise.
14793 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14795 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14796 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14797 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14798 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14799 remove unused global constant.
14801 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14803 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14804 include of <not-cancel.h>.
14806 2012-05-15 Roland McGrath <roland@hack.frob.com>
14808 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14810 2012-05-15 Jeff Law <law@redhat.com>
14811 Andreas Jaeger <aj@suse.de>
14814 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14816 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14817 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14818 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14819 code changing __hst_map_handle.map.
14821 2012-05-15 Roland McGrath <roland@hack.frob.com>
14823 * configure.in (sysnames): Look for Implies-before and Implies-after
14825 * configure: Regenerated.
14827 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14829 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14830 8-byte data alignment with LP_SIZE alignment.
14832 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14834 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14837 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14839 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14841 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14843 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14844 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14845 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14847 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14849 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14851 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14852 (stackinfo_sub_sp): Likewise.
14854 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14856 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14859 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14861 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14864 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14866 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14869 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14871 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14875 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14876 into R11_LP and load __x86_64_shared_cache_size_half into
14879 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14881 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14884 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14886 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14890 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14892 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14893 powerpc32/power7/fpu/s_logb.c via #include.
14894 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14895 powerpc32/power7/fpu/s_logbf.c via #include.
14896 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14897 powerpc32/power7/fpu/s_logbl.c via #include.
14899 2012-05-15 Joseph Myers <joseph@codesourcery.com>
14901 * README.libm: Remove file.
14903 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14905 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14906 count for x32. Use R*_LP and omit operand-size suffix.
14908 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14910 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14911 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14912 * sysdeps/x86_64/x32/shlib-versions: New file.
14914 2012-05-14 Roland McGrath <roland@hack.frob.com>
14916 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14917 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14918 Use _dl_fatal_printf instead.
14920 2012-05-14 Joseph Myers <joseph@codesourcery.com>
14922 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14923 set if not set by the user. Do not allow for being unset.
14924 * sysdeps/unix/sysv/linux/configure: Regenerated.
14926 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14928 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14929 the `q' suffix from lea and replace .quad with ASM_ADDR.
14931 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14933 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14934 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14936 (PTR_DEMANGLE): Likewise.
14938 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14940 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14942 (ASM_ADDR): Likewise.
14943 (RAX_LP): Likewise.
14944 (RBP_LP): Likewise.
14945 (RBX_LP): Likewise.
14946 (RCX_LP): Likewise.
14947 (RDI_LP): Likewise.
14948 (RSI_LP): Likewise.
14949 (RSP_LP): Likewise.
14952 (R10_LP): Likewise.
14953 (R10_LP): Likewise.
14954 (R11_LP): Likewise.
14955 (R12_LP): Likewise.
14956 (R13_LP): Likewise.
14957 (R14_LP): Likewise.
14958 (R15_LP): Likewise.
14960 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14962 * sysdeps/x86_64/x32/dl-machine.h: New file.
14964 2012-05-14 Andreas Jaeger <aj@suse.de>
14966 * manual/Makefile (subdir): Remove export of subdir.
14967 (all): Remove target.
14968 (.PHONY): Remove all from list.
14969 (mkinstalldirs): Remove.
14970 (.PHONY): Remove installdirs from list.
14971 ($(inst_infodir)/libc.info): Use make-target-directory.
14972 (installdirs): Remove.
14973 (subdir_%): Remove.
14974 (glibc-targets): Remove.
14977 ($(objpfx)stubs ../po/manual.pot): Remove.
14978 ($(objpfx)stamp%): Remove.
14979 (make-target-directory): Remove.
14980 (subdir_install): Remove.
14981 (routines): Remove.
14988 * manual/.gitignore: Remove, it's not needed anymore.
14989 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14991 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14993 (texis): Renamed to $(objpfx)texis.
14994 (texis-path): New, contains path to generated files.
14995 (chapters.%): Use texis-path for complete path, add extra argument
14997 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14998 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14999 (summary,texi, stamp-summary): Use complete path of
15000 files. Generate files in build dir.
15001 (dir-add.texi): Build in build dir.
15002 (libm-err.texi,stamp-libm-err): Likewise.
15003 (version.texi, stamp-version): Likewise.
15004 (.%c.texi): Likewise.
15005 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
15006 (mostlyclean): Remove target.
15007 (realclean): Remove target.
15008 (generated): Add new variable with contents from mostlyclean and
15009 realclean, remove entries duplicated in common-mostlyclean, add
15010 stamp-libm-err and stamp-version.
15011 (generated-dirs): Add libc directory.
15012 ($(inst_infodir)/libc.info): Install files from build dir.
15014 * manual/install.texi (Configuring and compiling): Adjust since
15015 the info files are not part of the tar ball anymore.
15017 2012-05-14 Andreas Jaeger <aj@suse.de>
15019 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
15022 2012-05-14 Joseph Myers <joseph@codesourcery.com>
15025 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15026 to 2.2.0 where earlier.
15027 * sysdeps/unix/sysv/linux/configure: Regenerated.
15028 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
15029 Remove conditional code.
15030 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
15031 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
15032 Remove conditional code.
15033 [!__NR_lchown]: Likewise.
15034 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15035 [__NR_lchown]: Likewise.
15036 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15037 comment referencing __ASSUME_LCHOWN_SYSCALL.
15038 * sysdeps/unix/sysv/linux/i386/sigaction.c
15039 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15040 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15041 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15042 Remove conditional code.
15043 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15044 (__protocol_available): Remove #if 0 code.
15045 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15047 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15048 * sysdeps/unix/sysv/linux/kernel-features.h
15049 (__ASSUME_GETCWD_SYSCALL): Don't define.
15050 (__ASSUME_REALTIME_SIGNALS): Likewise.
15051 (__ASSUME_PREAD_SYSCALL): Likewise.
15052 (__ASSUME_PWRITE_SYSCALL): Likewise.
15053 (__ASSUME_POLL_SYSCALL): Likewise.
15054 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15055 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15057 (__ASSUME_SIOCGIFNAME): Don't define.
15058 (__ASSUME_MSG_NOSIGNAL): Likewise.
15059 (__ASSUME_SENDFILE): Define unconditionally.
15060 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15061 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15063 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15064 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15065 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15066 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15067 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15068 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15069 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15071 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15072 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15074 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15075 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15077 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15078 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15080 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15081 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15083 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15086 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15087 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15089 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15090 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15092 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15093 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15094 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15095 Remove conditional code.
15096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15097 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15098 Remove conditional code.
15099 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15100 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15101 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15102 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15103 Remove conditional code.
15104 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15105 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15106 Remove conditional code.
15107 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15108 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15109 Remove conditional code.
15110 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15111 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15112 Remove conditional code.
15113 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15114 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15115 Remove conditional code.
15116 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15117 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15118 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15119 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15120 * sysdeps/unix/sysv/linux/sigaction.c
15121 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15122 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15123 * sysdeps/unix/sysv/linux/sigpending.c
15124 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15125 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15126 * sysdeps/unix/sysv/linux/sigprocmask.c
15127 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15128 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15129 * sysdeps/unix/sysv/linux/sigsuspend.c
15130 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15131 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15132 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15133 (__libc_missing_rt_sigs): Remove.
15134 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15135 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15136 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15137 Remove conditional code.
15138 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15139 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15141 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15142 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15143 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15144 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15146 2012-05-14 Andreas Jaeger <aj@suse.de>
15148 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15149 it's not used in glibc.
15150 (__coshm1): Likewise.
15151 (__acosh1p): Likewise.
15154 * manual/string.texi (Copying and Concatenation): Add missing
15155 variable in concat example.
15156 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15158 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15161 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15162 __builtin_clzl with __builtin_clzll.
15164 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15167 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15170 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15172 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15173 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15174 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15175 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15177 2012-05-14 Mike Frysinger <vapier@gentoo.org>
15179 * NEWS: Update ia64 info.
15181 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15183 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15186 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15188 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15189 * sysdeps/unix/syscalls.list (dup3): Likewise.
15190 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15191 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15193 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15195 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15196 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15198 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15200 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15202 (TLS_IE): Use mov/add instead of movq/addq to load thread
15204 (TLS_GD_PREFIX): New.
15207 2012-05-11 David S. Miller <davem@davemloft.net>
15209 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15210 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15211 (_FPU_SETCW): Likewise.
15213 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15215 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15216 is 32-byte aligned.
15218 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
15221 * iconvdata/gb18030.c: Update tables.
15222 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
15223 characters specially.
15224 (BODY for TO_LOOP): Add encoding of missing ranges.
15226 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
15229 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15230 * sysdeps/mach/hurd/dup3.c: Likewise.
15231 * sysdeps/mach/hurd/readlinkat.c: Likewise.
15232 * sysdeps/powerpc/memmove.c:: Likewise.
15234 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15236 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15237 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15239 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15241 * elf/elf.h (R_X86_64_RELATIVE64): New.
15242 (R_X86_64_NUM): Updated.
15243 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15244 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15245 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15246 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15247 tst-quad1pie tst-quad2pie
15248 (modules-names): Add tst-quadmod1 tst-quadmod2.
15249 ($(objpfx)tst-quad1): New dependency.
15250 ($(objpfx)tst-quad2): Likewise.
15251 ($(objpfx)tst-quad1pie): Likewise.
15252 ($(objpfx)tst-quad2pie): Likewise.
15253 * sysdeps/x86_64/tst-quad1.c: New file.
15254 * sysdeps/x86_64/tst-quad1pie.c: New file.
15255 * sysdeps/x86_64/tst-quad2.c: Likewise.
15256 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15257 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15258 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15259 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15260 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15262 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15264 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15265 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15266 * streams/stropts.h (t_scalar_t): Define type.
15268 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15269 (_PATH_PRESERVE): Set to "/var/lib".
15270 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15272 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15275 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15276 if __dir_mkfile succeeded.
15278 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15279 checking for _hurd_dtablesize. Unlock it right after having
15280 finished _hurd_dtable allocation.
15282 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15284 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15285 * sysdeps/mach/hurd/configure: Regenerated.
15286 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15287 special-casing to...
15288 * sysdeps/gnu/configure.in: ... this new file.
15289 * sysdeps/unix/sysv/linux/configure: Regenerated.
15290 * sysdeps/gnu/configure: New generated file.
15292 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15293 for Linux: use nsec instead of usec, as well as:
15294 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15295 members of type struct timespec.
15296 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15298 (struct stat64): Likewise.
15299 (_STATBUF_ST_NSEC): New macro.
15300 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15302 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15303 __strtoul_internal rather than strtoul.
15305 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15307 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15310 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15312 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15313 which preserves existing values.
15314 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15316 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15318 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15319 TIMEOUT values. Return EINVAL for NFDS values either negative or
15320 greater than FD_SETSIZE.
15322 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15324 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15325 allocated, call __vm_protect to finish enabling the existing space, and
15326 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15327 allocate the remainder.
15329 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15331 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15332 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15334 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15336 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15337 sysdeps/mach/hurd/readlink.c.
15339 * posix/tst-sysconf.c (posix_options): Only use
15340 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15341 _POSIX_SYNCHRONIZED_IO when they are defined
15342 * sysdeps/mach/hurd/bits/posix_opt.h:
15343 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15344 (_XOPEN_REALTIME): Undefine macro.
15345 (_XOPEN_REALTIME_THREADS): Undefine macro.
15346 (_XOPEN_SHM): Undefine macro.
15347 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15349 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15351 (_POSIX_ASYNC_IO): Undefine macro.
15352 (_POSIX_PRIORITIZED_IO): Undefine macro.
15353 (_POSIX_SPIN_LOCKS): Define macro to -1.
15355 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15356 SA_NODEFER, SA_RESETHAND.
15357 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15358 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15361 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15363 * elf/Makefile (pldd-modules): Define unconditionally.
15365 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15367 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15369 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15371 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15372 Return ENOENT when name is empty.
15373 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15375 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15377 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15379 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15381 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15383 Fix mlock in all cases except non-readable pages.
15384 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15385 instead of VM_PROT_ALL as parameter to __vm_wire function.
15387 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15388 (__mkdir): When path is `/', just fail with EEXIST.
15389 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15391 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15393 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15394 <sys/uio.h> (for writev).
15395 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15396 and <sys/param.h> (for MIN).
15398 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15400 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15401 REQUESTED_TIME. Properly set the remaining time and return EINTR
15404 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15406 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15407 Depend on against $(link-rpcuserlibs).
15409 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15411 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15412 (__libc_stack_end): Do not use attribute_relro.
15413 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15414 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
15415 to libthread-provided value.
15416 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15419 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15422 * bits/libc-lock.h (__libc_once_get): New macro.
15423 * sysdeps/mach/bits/libc-lock.h: Likewise.
15424 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15425 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15426 instead of using implementation details.
15428 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15429 * libio/freopen.c: Likewise.
15430 * libio/freopen64.c: Likewise.
15431 * misc/syslog.c: Likewise.
15432 * nscd/connections.c: Likewise.
15433 * nscd/netgroupcache.c: Likewise.
15434 * sysdeps/posix/getcwd.c: Likewise.
15436 2012-05-10 Roland McGrath <roland@hack.frob.com>
15438 * math/w_ilogbf.c: Add #include <limits.h>.
15440 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15442 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
15443 path instead of returning without unlocking.
15445 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15446 immediate-write ioctls.
15447 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15449 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15451 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15452 __builtin_frame_address instead of making assumptions about the
15453 location of the return address relative to DATA. Force early load of
15454 the return address.
15455 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15456 __builtin_frame_address.
15459 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15460 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15461 implement dup3 and do some further code clean-ups.
15462 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15463 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15465 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15467 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15469 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15470 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15471 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15472 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15473 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15476 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15477 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15478 when handler == SIG_ERR, not when handler != SIG_ERR.
15480 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15482 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15483 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15486 accept4 for GNU Hurd.
15487 * include/sys/socket.h (__libc_accept4): New prototype.
15488 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15489 to implement __libc_accept4.
15490 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15492 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15494 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15495 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15496 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15497 signal-defines.sym.
15499 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15501 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
15503 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
15505 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15506 assertion on O_CLOEXEC flag.
15507 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15508 * hurd/intern-fd.c: Likewise.
15509 * hurd/port2fd.c: Likewise.
15511 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15514 * bits/in.h (IPV6_PKTINFO): Define new macro.
15515 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15517 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15522 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15523 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15524 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15525 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15526 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15527 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15528 * math/libm-test.inc (logb_test) : Additional logb tests.
15530 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15531 Andreas Jaeger <aj@suse.de>
15533 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15534 * configure: Regenerated.
15535 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15536 * config.make.in (link-obsolete-rpc): New substituted variable.
15537 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15538 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15539 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15540 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15541 so that libc.a contains the symbols.
15542 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15543 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15544 * sunrpc/auth_none.c: Likewise.
15545 * sunrpc/auth_unix.c: Likewise.
15546 * sunrpc/authdes_prot.c: Likewise.
15547 * sunrpc/authuxprot.c: Likewise.
15548 * sunrpc/clnt_gen.c: Likewise.
15549 * sunrpc/clnt_perr.c: Likewise.
15550 * sunrpc/clnt_raw.c: Likewise.
15551 * sunrpc/clnt_simp.c: Likewise.
15552 * sunrpc/clnt_tcp.c: Likewise.
15553 * sunrpc/clnt_udp.c: Likewise.
15554 * sunrpc/clnt_unix.c: Likewise.
15555 * sunrpc/des_crypt.c: Likewise.
15556 * sunrpc/des_soft.c: Likewise.
15557 * sunrpc/get_myaddr.c: Likewise.
15558 * sunrpc/key_call.c: Likewise.
15559 * sunrpc/key_prot.c: Likewise.
15560 * sunrpc/netname.c: Likewise.
15561 * sunrpc/pm_getmaps.c: Likewise.
15562 * sunrpc/pm_getport.c: Likewise.
15563 * sunrpc/pmap_clnt.c: Likewise.
15564 * sunrpc/pmap_prot.c: Likewise.
15565 * sunrpc/pmap_prot2.c: Likewise.
15566 * sunrpc/pmap_rmt.c: Likewise.
15567 * sunrpc/publickey.c: Likewise.
15568 * sunrpc/rpc_cmsg.c: Likewise.
15569 * sunrpc/rpc_common.c: Likewise.
15570 * sunrpc/rpc_dtable.c: Likewise.
15571 * sunrpc/rpc_prot.c: Likewise.
15572 * sunrpc/rpc_thread.c: Likewise.
15573 * sunrpc/rtime.c: Likewise.
15574 * sunrpc/svc.c: Likewise.
15575 * sunrpc/svc_auth.c: Likewise.
15576 * sunrpc/svc_raw.c: Likewise.
15577 * sunrpc/svc_run.c: Likewise.
15578 * sunrpc/svc_tcp.c: Likewise.
15579 * sunrpc/svc_udp.c: Likewise.
15580 * sunrpc/svc_unix.c: Likewise.
15581 * sunrpc/svcauth_des.c: Likewise.
15582 * sunrpc/xcrypt.c: Likewise.
15583 * sunrpc/xdr.c: Likewise.
15584 * sunrpc/xdr_array.c: Likewise.
15585 * sunrpc/xdr_float.c: Likewise.
15586 * sunrpc/xdr_intXX_t.c: Likewise.
15587 * sunrpc/xdr_mem.c: Likewise.
15588 * sunrpc/xdr_rec.c: Likewise.
15589 * sunrpc/xdr_ref.c: Likewise.
15590 * sunrpc/xdr_sizeof.c: Likewise.
15591 * sunrpc/xdr_stdio.c: Likewise.
15593 2012-05-10 Roland McGrath <roland@hack.frob.com>
15595 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15596 change. Update copyright years.
15598 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15600 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15602 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15603 Joseph Myers <joseph@codesourcery.com>
15604 Paul Pluzhnikov <ppluzhnikov@google.com>
15607 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15609 [cross-compiling] (extra-libs): Likewise.
15610 [cross-compiling] (extra-libs-others): Likewise.
15611 [cross-compiling] (librpcsvc-routines): Likewise.
15612 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15613 [cross-compiling] (omit-deps): Likewise.
15614 (sunrpc-CPPFLAGS): New variable.
15615 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15616 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15617 (cross-rpcgen-objs): New variable.
15618 (extra-objs): Append $(cross-rpcgen-objs).
15619 ($(cross-rpcgen-objs)): New rule.
15620 ($(objpfx)cross-rpcgen): Likewise.
15621 (rpcgen-cmd): Define to use $(built-program-file). Expand
15623 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15624 ($(objpfx)x%.stmp): Likewise.
15625 * sunrpc/proto.h [IS_IN_build] (_): Define.
15626 [IS_IN_build] (_libc_intl_domainname): Likewise.
15628 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15630 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15631 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15632 and R_X86_64_TPOFF64.
15634 2012-05-10 Joseph Myers <joseph@codesourcery.com>
15636 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15637 sysdeps/unix/sysv/syscalls.list.
15640 * sysdeps/unix/sysv/syscalls.list: Remove file.
15642 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15645 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15646 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15647 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15648 (__LC_IDENTIFICATION): Make these macros useful in #if
15649 expressions, as required by C99.
15651 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15653 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15654 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15657 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15659 * stdlib/longlong.h: Updated from GCC.
15661 2012-05-09 Andreas Jaeger <aj@suse.de>
15663 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15664 default is first entry.
15665 (run_mode): Set type.
15666 (main): Remove informal message about syslog.
15667 (options): Fix typo.
15670 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
15673 (llrintf): Likewise.
15674 (llrint): Likewise.
15677 (nearbyint): Likewise.
15678 (nearbyintf): Likewise.
15680 2012-05-09 Andreas Jaeger <aj@suse.de>
15681 Pedro Alves <palves@redhat.com>
15683 * nscd/nscd.c (run_mode): Use enum.
15684 (main): Cleanup coding style issue.
15686 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
15687 Andreas Jaeger <aj@suse.de>
15689 * nscd/nscd.c (go_background): Replaced with...
15690 (run_mode): ... this.
15691 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
15692 (options): Add -F --foreground.
15693 (main): Implement it.
15694 (parse_opt): Parse it.
15696 2012-05-09 Andreas Jaeger <aj@suse.de>
15699 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15700 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15701 -Wconversion warning.
15702 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15705 2012-05-09 Joseph Myers <joseph@codesourcery.com>
15707 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15709 (LC_ALL): Use macro-int-constant.
15710 (LC_COLLATE): Likewise.
15711 (LC_CTYPE): Likewise.
15712 (LC_MESSAGES): Likewise.
15713 (LC_MONETARY): Likewise.
15714 (LC_NUMERIC): Likewise.
15715 (LC_TIME): Likewise.
15716 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15717 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15718 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15719 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15721 [C99-based standards] (float_t): Expect type.
15722 [C99-based standards] (double_t): Expect type.
15723 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15725 [C99-based standards] (HUGE_VALL): Likewise.
15726 [C99-based standards] (INFINITY): Likewise.
15727 [C99-based standards] (NAN): Likewise.
15728 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15729 [C99-based standards] (FP_NAN): Likewise.
15730 [C99-based standards] (FP_NORMAL): Likewise.
15731 [C99-based standards] (FP_SUBNORMAL): Likewise.
15732 [C99-based standards] (FP_ZERO): Likewise.
15733 [C99-based standards] (FP_FAST_FMA): Use
15734 optional-macro-int-constant. Specify type. Require == 1.
15735 [C99-based standards] (FP_FAST_FMAF): Likewise.
15736 [C99-based standards] (FP_FAST_FMAL): Likewise.
15737 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15738 [C99-based standards] (FP_ILOGBNAN): Likewise.
15739 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15741 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15742 [C99-based standards] (math_errhandling): Specify type.
15743 [ISO99 || ISO11] (signgam): Do not allow.
15744 [non-C99-based standards] (copysignf): Do not allow.
15745 [non-C99-based standards] (exp2f): Likewise.
15746 [non-C99-based standards] (log2f): Likewise.
15747 [non-C99-based standards] (modff): Allow.
15748 [non-C99-based standards] (erff): Do not allow.
15749 [non-C99-based standards] (erfcf): Likewise.
15750 [non-C99-based standards] (gammaf): Likewise.
15751 [non-C99-based standards] (hypotf): Likewise.
15752 [non-C99-based standards] (j0f): Likewise.
15753 [non-C99-based standards] (j1f): Likewise.
15754 [non-C99-based standards] (jnf): Likewise.
15755 [non-C99-based standards] (lgammaf): Likewise.
15756 [non-C99-based standards] (tgammaf): Likewise.
15757 [non-C99-based standards] (y0f): Likewise.
15758 [non-C99-based standards] (y1f): Likewise.
15759 [non-C99-based standards] (ynf): Likewise.
15760 [non-C99-based standards] (isnanf): Likewise.
15761 [non-C99-based standards] (acoshf): Likewise.
15762 [non-C99-based standards] (asinhf): Likewise.
15763 [non-C99-based standards] (atanhf): Likewise.
15764 [non-C99-based standards] (cbrtf): Likewise.
15765 [non-C99-based standards] (expm1f): Likewise.
15766 [non-C99-based standards] (ilogbf): Likewise.
15767 [non-C99-based standards] (log1pf): Likewise.
15768 [non-C99-based standards] (logbf): Likewise.
15769 [non-C99-based standards] (nextafterf): Likewise.
15770 [non-C99-based standards] (remainderf): Likewise.
15771 [non-C99-based standards] (rintf): Likewise.
15772 [non-C99-based standards] (scalbf): Likewise.
15773 [non-C99-based standards] (copysignl): Likewise.
15774 [non-C99-based standards] (exp2l): Likewise.
15775 [non-C99-based standards] (log2l): Likewise.
15776 [non-C99-based standards] (modfl): Allow.
15777 [non-C99-based standards] (erfl): Do not allow.
15778 [non-C99-based standards] (erfcl): Likewise.
15779 [non-C99-based standards] (gammal): Likewise.
15780 [non-C99-based standards] (hypotl): Likewise.
15781 [non-C99-based standards] (j0l): Likewise.
15782 [non-C99-based standards] (j1l): Likewise.
15783 [non-C99-based standards] (jnl): Likewise.
15784 [non-C99-based standards] (lgammal): Likewise.
15785 [non-C99-based standards] (tgammal): Likewise.
15786 [non-C99-based standards] (y0l): Likewise.
15787 [non-C99-based standards] (y1l): Likewise.
15788 [non-C99-based standards] (ynl): Likewise.
15789 [non-C99-based standards] (isnanl): Likewise.
15790 [non-C99-based standards] (acoshl): Likewise.
15791 [non-C99-based standards] (asinhl): Likewise.
15792 [non-C99-based standards] (atanhl): Likewise.
15793 [non-C99-based standards] (cbrtl): Likewise.
15794 [non-C99-based standards] (expm1l): Likewise.
15795 [non-C99-based standards] (ilogbl): Likewise.
15796 [non-C99-based standards] (log1pl): Likewise.
15797 [non-C99-based standards] (logbl): Likewise.
15798 [non-C99-based standards] (nextafterl): Likewise.
15799 [non-C99-based standards] (remainderl): Likewise.
15800 [non-C99-based standards] (rintl): Likewise.
15801 [non-C99-based standards] (scalbl): Likewise.
15802 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15803 [non-C99-based standards] (FP_*): Do not allow.
15804 [C99-based standards] (FP_*): Change to
15805 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15806 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15808 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15809 (SIG_ERR): Likewise.
15810 [X/Open-based standards] (SIG_HOLD): Likewise.
15811 (SIG_IGN): Likewise.
15812 (SIGABRT): Use macro-int-constant. Specify type. Require
15814 (SIGFPE): Likewise.
15815 (SIGILL): Likewise.
15816 (SIGINT): Likewise.
15817 (SIGSEGV): Likewise.
15818 (SIGTER): Likewise.
15819 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15820 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15821 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15822 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15823 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15824 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15825 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15826 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15827 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15828 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15829 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15830 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15831 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15832 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15833 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15834 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15835 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15836 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15837 [X/Open-based standards] (SIGTRAP): Likewise.
15838 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15839 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15840 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15841 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15842 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15845 2012-05-08 Ian Wienand <ianw@vmware.com>
15848 * time/tzset.c (__tzset_parse_tz): Update default rules for
15849 daylight time changes in the Energy Policy Act of 2005.
15851 2012-05-09 Andreas Jaeger <aj@suse.de>
15854 * elf/ldconfig.c (parse_conf): Change string to make clear that
15855 ldconfig only issued a warning if ld.so.conf does not exist.
15857 2012-05-08 David S. Miller <davem@davemloft.net>
15859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15860 movxtod instead of popping the value on the stack.
15862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15864 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15866 * config.h.in: Add HAVE_ARM_PCS_VFP.
15868 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
15871 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15872 checking but the checks are disabled for any reason.
15874 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15876 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15877 and ELF64_R_TYPE with ELFW(R_TYPE).
15879 2012-05-08 Joseph Myers <joseph@codesourcery.com>
15881 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15882 (ulimit): Likewise.
15884 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15885 (settimeofday): Likewise.
15887 2012-05-08 Mike Frysinger <vapier@gentoo.org>
15889 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15890 a struct th_u2 inside the union, and move tu_block/tu_code into
15891 a new th_u3 union of tu_block/tu_code inside of that. Move
15892 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15893 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15894 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15895 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15896 (th_stuff): Change to th_u1.tu_stuff.
15898 (th_msg): Change to th_u1.th_u2.tu_data.
15900 2012-05-07 David S. Miller <davem@davemloft.net>
15902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15905 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15906 (SETUP_PIC_REG): Use it.
15907 (SETUP_PIC_REG_LEAF): Use it.
15909 2012-05-07 Joseph Myers <joseph@codesourcery.com>
15913 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15915 (EXPL_FINITE): Likewise.
15916 (FLDLOG): Likewise.
15917 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15918 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15920 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15922 (EXPL_FINITE): Likewise.
15923 (FLDLOG): Likewise.
15924 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15925 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15927 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15928 test of -max_value argument for long double.
15929 * sysdeps/i386/fpu/libm-test-ulps: Update.
15930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15932 2012-05-06 David S. Miller <davem@davemloft.net>
15934 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15935 quad soft-float symbols whose references which are compiler
15937 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15939 2012-05-06 Joseph Myers <joseph@codesourcery.com>
15943 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15945 (EXPL_FINITE): Likewise.
15946 (FLDLOG): Likewise.
15949 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15950 Adjust comments for base varying.
15951 (__expl_finite): Change alias to EXPL_FINITE.
15952 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15954 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15955 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15956 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15957 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15958 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15960 (EXPL_FINITE): Likewise.
15961 (FLDLOG): Likewise.
15964 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15965 Adjust comments for base varying.
15966 (__expl_finite): Change alias to EXPL_FINITE.
15967 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15972 * math/libm-test.inc (check_float_internal): Correct ulp
15973 calculation for subnormal expected results.
15975 2012-05-06 Andreas Jaeger <aj@suse.de>
15977 * Makeconfig (+math-flags): New, set to -frounding-math.
15978 (+cflags): Add +math-flags so that all of glibc gets compiled with
15981 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15983 2012-05-05 Joseph Myers <joseph@codesourcery.com>
15985 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15991 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15992 (__ieee754_expl): Allow for and saturate large arguments.
15993 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15994 (u_threshold): Likewise.
15995 (__exp): Call __ieee754_exp before checking for overflow and
15997 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15998 (u_threshold): Likewise.
15999 (__expf): Call __ieee754_expf before checking for overflow and
16001 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
16002 (u_threshold): Likewise.
16003 (__expl): Call __ieee754_expl before checking for overflow and
16005 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
16006 (__ieee754_expl): Allow for and saturate large arguments.
16007 * math/libm-test.inc (exp_test): Add another test. Do not allow
16008 missing overflow exception on overflow.
16009 (expm1_test): Do not allow missing overflow exception on overflow.
16011 * sysdeps/i386/fpu/e_expl.c: Move to ...
16012 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
16013 rather than using inline asm.
16014 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
16015 * sysdeps/x86_64/fpu/e_expl.S: Copy from
16016 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
16018 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
16021 (signal): Likewise.
16025 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16027 * sysdeps/unix/syscalls.list (adjtime): Add entry from
16028 sysdeps/unix/common/syscalls.list.
16029 (fchmod): Likewise.
16030 (fchown): Likewise.
16031 (ftruncate): Likewise.
16032 (getrusage): Likewise.
16033 (gettimeofday): Likewise.
16034 (setpgid): Likewise.
16035 (setregid): Likewise.
16036 (setreuid): Likewise.
16037 (sigaction): Likewise.
16038 (truncate): Likewise.
16039 (vhangup): Likewise.
16040 * sysdeps/unix/common/syscalls.list: Remove file.
16041 * sysdeps/unix/bsd/Implies: Don't include unix/common.
16042 * sysdeps/unix/sysv/linux/Implies: Likewise.
16044 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
16046 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16048 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16052 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16055 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16058 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16061 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16064 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16067 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16070 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16074 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16078 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16081 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16085 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16089 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16091 * sysdeps/unix/common/bits/dirent.h: Remove file.
16092 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16094 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16095 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16096 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16097 * sysdeps/unix/bsd/isatty.c: Likewise.
16098 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16099 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16100 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16102 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16105 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16106 long double comparison inaccuracies.
16107 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16110 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16112 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16113 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16115 2012-05-04 Joseph Myers <joseph@codesourcery.com>
16118 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16119 nonzero digits before rounding a hex value.
16120 * stdlib/tst-strtod.c (tests): Add another test.
16122 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16124 * sysdeps/s390/fpu/libm-test-ulps: Update.
16126 2012-05-03 Andreas Jaeger <aj@suse.de>
16128 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16129 does not get optimized out.
16130 (malloc_opt_barrier): New.
16132 2012-05-03 Andreas Jaeger <aj@suse.de>
16133 Roland McGrath <roland@hack.frob.com>
16135 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
16136 intermediate file deletion.
16137 (generated): Add .symlist files.
16139 2012-05-03 Joseph Myers <joseph@codesourcery.com>
16142 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16143 Redirect under this condition.
16144 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16145 [__USE_GNU] (__dprintf_chk): Not under this condition.
16146 [__USE_GNU] (__vdprintf_chk): Likewise.
16147 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16148 under this condition.
16149 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16150 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16151 [__USE_XOPEN2K8] (vdprintf): Likewise.
16152 [__USE_GNU] (__dprintf_chk): Not under this condition.
16153 [__USE_GNU] (__vdprintf_chk): Likewise.
16154 [__USE_GNU] (dprintf): Likewise.
16155 [__USE_GNU] (vdprintf): Likewise.
16157 2012-05-03 Roland McGrath <roland@hack.frob.com>
16159 * elf/Makefile (common-generated): Set this instead of generated for
16160 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16161 $(all-built-dso)-derived lists.
16163 2012-05-03 Andreas Jaeger <aj@suse.de>
16165 * sysdeps/i386/fpu/libm-test-ulps: Update.
16168 * FAQ.in: Likewise.
16169 * scripts/gen-FAQ.pl: Likewise.
16170 * manual/install.texi (Installation): Point to online location of
16172 * Makefile (files-for-dist): Remove FAQ.
16175 2012-05-02 Allan McRae <allan@archlinux.org>
16177 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16178 (LDFLAGS-reldepmod5.so): Likewise.
16179 (LDFLAGS-reldep6mod1.so): Likewise.
16180 (LDFLAGS-reldep6mod4.so): Likewise.
16181 (LDFLAGS-reldep8mod3.so): Likewise.
16182 (LDFLAGS-unload4mod1.so): Likewise.
16183 (LDFLAGS-unload4mod2.so): Likewise.
16184 (LDFLAGS-tst-initorder): Likewise.
16185 (LDFLAGS-tst-initordera2.so): Likewise.
16186 (LDFLAGS-tst-initordera3.so): Likewise.
16187 (LDFLAGS-tst-initordera4.so): Likewise.
16188 (LDFLAGS-tst-initorderb2.so): Likewise.
16189 (LDFLAGS-noload): Likewise.
16190 (LDFLAGS-next): Likewise.
16191 (LDFLAGS-order2mod1.so): Likewise.
16192 (LDFLAGS-order2mod2.so): Likewise.
16193 (LDFLAGS-tst-initorder2): Likewise.
16194 (LDFLAGS-tst-initorder2a.so): Likewise.
16195 (LDFLAGS-tst-initorder2b.so): Likewise.
16196 (LDFLAGS-tst-initorder2c.so): Likewise.
16197 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16199 2012-05-02 David S. Miller <davem@davemloft.net>
16201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16203 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16206 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16208 2012-05-02 Andreas Jaeger <aj@suse.de>
16210 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16211 since we manipulate rounding mode.
16212 (CPPFLAGS-test-idouble.c): Likewise.
16213 (CPPFLAGS-test-ifloat.c): Likewise.
16214 (CFLAGS-test-ldouble.c): Likewise.
16215 (CFLAGS-test-double.c): Likewise.
16216 (CFLAGS-test-float.c): Likewise.
16217 (CFLAGS-test-misc.c): Likewise.
16218 (CFLAGS-test-test-fenv.c): Likewise.
16220 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16224 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16225 comparisons to determine direction to adjust input.
16227 2012-05-01 Roland McGrath <roland@hack.frob.com>
16229 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16230 output to the target.
16232 * scripts/localplt.awk: New file.
16233 * elf/Makefile ($(objpfx)check-localplt): Target removed.
16234 (check-localplt-CFLAGS): Variable removed.
16235 ($(all-built-dso:=.jmprel)): New static pattern rule.
16236 (generated): Add those targets.
16237 (localplt-built-dso): New variable.
16238 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16240 * elf/check-localplt.c: File removed.
16242 * scripts/check-execstack.awk: New file.
16243 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16244 (check-execstack-CFLAGS): Variable removed.
16245 ($(objpfx)check-execstack.h): Target removed.
16246 ($(objpfx)execstack-default): New target.
16247 (generated): Add that instead of check-execstack.h.
16248 ($(all-built-dso:=.phdr)): New static pattern rule.
16249 (generated): Add those targets.
16250 * elf/check-execstack.c: File removed.
16252 * scripts/check-textrel.awk: New file.
16253 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16254 (check-textrel-CFLAGS): Variable removed.
16255 (all-built-dso): Use := to define.o
16256 ($(all-built-dso:=.dyn)): New static pattern rule.
16257 (generated): Add those targets.
16258 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16259 * config.make.in (READELF): New substituted variable.
16260 * elf/check-textrel.c: File removed.
16262 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16264 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16266 * conform/data/ctype.h-data [C99-based standards] (isblank):
16268 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16269 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16270 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16271 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16272 Specify type. Require positive value.
16273 (EILSEQ): Likewise.
16274 (ERANGE): Likewise.
16275 [ISO || POSIX] (EILSEQ): Do not expect.
16276 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16277 Specify type. Require positive value.
16278 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16279 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16280 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16281 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16282 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16283 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16284 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16285 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16286 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16287 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16288 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16289 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16290 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16291 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16292 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16293 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16294 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16295 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16296 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16297 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16298 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16299 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16300 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16301 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16302 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16303 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16304 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16305 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16306 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16307 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16308 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16309 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16310 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16311 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16312 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16313 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16314 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16315 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16316 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16317 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16318 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16319 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16320 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16321 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16322 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16323 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16324 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16325 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16326 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16327 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16328 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16329 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16330 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16331 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16332 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16333 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16334 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16335 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16336 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16337 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16338 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16339 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16340 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16341 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16342 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16343 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16344 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16345 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16346 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16347 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16348 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16349 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16350 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16351 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16352 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16353 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16354 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16356 (FLT_ROUNDS): Expect as macro, not constant.
16357 (FLT_MANT_DIG): Use macro-int-constant.
16358 (DBL_MANT_DIG): Likewise.
16359 (LDBL_MANT_DIG): Likewise.
16360 (FLT_DIG): Likewise.
16361 (DBL_DIG): Likewise.
16362 (LDBL_DIG): Likewise.
16363 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16364 (DBL_MIN_EXP): Likewise.
16365 (LDBL_MIN_EXP): Likewise.
16366 (FLT_MAX_EXP): Use macro-int-constant.
16367 (DBL_MAX_EXP): Likewise.
16368 (LDBL_MAX_EXP): Likewise.
16369 (FLT_MAX_10_EXP): Likewise.
16370 (DBL_MAX_10_EXP): Likewise.
16371 (LDBL_MAX_10_EXP): Likewise.
16372 (FLT_MAX): Use macro-constant.
16373 (DBL_MAX): Likewise.
16374 (LDBL_MAX): Likewise.
16375 (FLT_EPSILON): Use macro-constant. Give upper bound.
16376 (DBL_EPSILON): Likewise.
16377 (LDBL_EPSILON): Likewise.
16378 (FLT_MIN): Likewise.
16379 (DBL_MIN): Likewise.
16380 (LDBL_MIN): Likewise.
16381 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16382 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16383 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16384 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16385 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16386 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16387 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16388 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16389 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16390 [ISO11] (FLT_TRUE_MIN): Likewise.
16391 [ISO11] (LDBL_TRUE_MIN): Likewise.
16392 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16393 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16394 (SCHAR_MIN): Use macro-int-constant. Specify type.
16395 (SCHAR_MAX): Likewise.
16396 (UCHAR_MAX): Likewise.
16397 (CHAR_MIN): Likewise.
16398 (CHAR_MAX): Likewise.
16399 (MB_LEN_MAX): Use macro-int-constant.
16400 (SHRT_MIN): Use macro-int-constant. Specify type.
16401 (SHRT_MAX): Likewise.
16402 (USHRT_MAX): Likewise.
16403 (INT_MAX): Likewise.
16404 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16406 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16408 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16410 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16411 bound negative. Suffix upper bound with "L".
16412 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16414 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16416 [C99-based standards] (LLONG_MAX): Likewise.
16417 [C99-based standards] (ULLONG_MAX): Likewise.
16418 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16420 [ISO11] (max_align_t): Require type.
16421 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16423 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16424 from $CFLAGS, without defining away __attribute__ calls.
16425 (checknamespace): Use $CFLAGS_namespace.
16427 * conform/conformtest.pl (@keywords): Only include C99 keywords
16428 for standards based on C99 or C11.
16430 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16432 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16435 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16436 usability of symbols in #if.
16438 * conform/conformtest.pl: If macro or constant types start
16439 "promoted:", expect the symbol to be of the following type
16440 promoted by the integer promotions.
16442 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16443 in one place. Also handle "macro-constant".
16445 * conform/conformtest.pl: Only accept expected macro values with
16446 "==". Parse all "macro" lines in one place.
16447 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16449 * conform/conformtest.pl: Handle braced types on "constant" lines
16450 instead of handling "typed-constant".
16451 * conform/data/signal.h-data: Use "constant" instead of
16454 * conform/conformtest.pl: Handle "optional-" at start of lines in
16455 one place rather than duplicating several cases. Handle each
16456 format of "macro" line with initial "optional-".
16458 * conform/conformtest.pl: Only accept expected constant or
16459 optional-constant values with "==". Parse all "constant" lines in
16460 one place. Parse all "optional-constant" lines in one place.
16461 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16462 * conform/data/fmtmsg.h-data: Likewise.
16463 * conform/data/netinet/in.h-data: Likewise.
16464 * conform/data/tar.h-data: Likewise.
16465 * conform/data/limits.h-data: Use "==" form on "constant" and
16466 "optional-constant" lines.
16468 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16469 Use -std=c99 for XOPEN2K.
16470 (@knownproblems): Remove.
16471 (newtoken): Don't check %isknown.
16473 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16474 Do not expect macro.
16475 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16476 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16477 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16478 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16479 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16480 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16481 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16482 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16483 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16484 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16485 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16486 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16487 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16488 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16489 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16490 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16491 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16492 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16493 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16494 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16495 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16496 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16497 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16498 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16499 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16500 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16501 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16502 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16503 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16504 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16505 [XPG3] (acosh): Likewise.
16506 [XPG3] (asinh): Likewise.
16507 [XPG3] (atanh): Likewise.
16508 [XPG3] (cbrt): Likewise.
16509 [XPG3] (expm1): Likewise.
16510 [XPG3] (ilogb): Likewise.
16511 [XPG3] (log1p): Likewise.
16512 [XPG3] (logb): Likewise.
16513 [XPG3] (nextafter): Likewise.
16514 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16515 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16516 [XPG3] (remainder): Likewise.
16517 [XPG3] (rint): Likewise.
16518 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16519 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16520 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16521 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16522 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16523 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16524 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16525 [UNIX98 || XOPEN2K] (scalb): Expect.
16526 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16527 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16528 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16529 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16530 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16531 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16532 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16533 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16534 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16535 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16536 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16537 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16538 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16539 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16540 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16541 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16542 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16543 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16544 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16545 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16546 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16547 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16548 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16549 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16550 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16551 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16552 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16553 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16554 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16555 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16556 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16557 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16558 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16559 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16560 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16561 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16562 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16563 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16564 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16565 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16566 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16567 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16568 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16569 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16570 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16571 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16572 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16573 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16574 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16575 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16576 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16577 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16578 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16579 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16580 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16581 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16582 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16583 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16584 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16585 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16586 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16587 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16588 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16589 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16590 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16591 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16592 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16593 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16594 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16595 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16596 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16597 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16598 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16599 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16600 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16601 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16602 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16603 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16604 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16605 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16606 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16607 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16608 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16609 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16610 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16611 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16612 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16613 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16614 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16615 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16616 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16617 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16618 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16619 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16620 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16621 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16622 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16623 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16624 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16625 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16626 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16627 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16628 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16629 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16630 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16631 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16632 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16633 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16634 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16635 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16636 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16637 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16638 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16639 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16640 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16641 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16642 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16643 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16644 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16645 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16646 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16647 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16648 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16649 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16650 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16651 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16652 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16653 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16654 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16655 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16656 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16657 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16658 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16659 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16660 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16661 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16662 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16664 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16665 _XOPEN_SOURCE_EXTENDED for XPG4.
16667 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16669 * Makeconfig (localtime): Remove variable.
16670 (inst_localtime-file): Likewise.
16672 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16693 2012-05-01 Joseph Myers <joseph@codesourcery.com>
16697 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16698 comparisons to determine direction to adjust input.
16699 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16700 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16701 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16703 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16705 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16707 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16708 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16710 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16712 * math/libm-test.inc (nexttoward_test): Add more tests.
16714 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16717 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16718 in version GLIBC_2.1, not GLIBC_2.0.
16719 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16722 2012-04-30 Joseph Myers <joseph@codesourcery.com>
16725 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16727 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16728 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16729 * math/libm-test.inc (acos_test): Add more tests.
16730 (asin_test): Likewise.
16731 * sysdeps/i386/fpu/libm-test-ulps: Update.
16732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16735 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16737 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16738 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16739 * math/libm-test.inc (acos_test_tonearest): New function.
16740 (acos_test_towardzero): Likewise.
16741 (acos_test_downward): Likewise.
16742 (acos_test_upward): Likewise.
16743 (asin_test_tonearest): Likewise.
16744 (asin_test_towardzero): Likewise.
16745 (asin_test_downward): Likewise.
16746 (asin_test_upward): Likewise.
16747 (main): Call the new functions.
16748 * sysdeps/i386/fpu/libm-test-ulps: Update.
16749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16753 * math/e_exp10.c: Include <float.h>.
16754 (__ieee754_exp10): Handle underflow here rather than multiplying
16755 large negative argument by M_LN10.
16756 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16758 * math/e_exp10l.c: Include <float.h>.
16759 (__ieee754_exp10l): Handle underflow here rather than multiplying
16760 large negative argument by M_LN10l.
16761 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16762 spurious overflow exception on underflow.
16764 2012-04-29 Marek Polacek <polacek@redhat.com>
16766 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16767 (__fortify_function): New macro.
16768 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16769 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16770 __extern_always_inline.
16771 * libio/bits/stdio2.h: Likewise.
16772 * libio/bits/stdio.h: Likewise.
16773 * string/string.h: Likewise.
16774 * string/bits/string3.h: Likewise.
16775 * include/stdio.h: Likewise.
16776 * stdlib/bits/stdlib.h: Likewise.
16777 * stdlib/stdlib.h: Likewise.
16778 * rt/bits/mqueue2.h: Likewise.
16779 * rt/mqueue.h: Likewise.
16780 * posix/bits/unistd.h: Likewise.
16781 * posix/unistd.h: Likewise.
16782 * io/bits/poll2.h: Likewise.
16783 * io/bits/fcntl2.h: Likewise.
16784 * io/fcntl.h: Likewise.
16785 * io/sys/poll.h: Likewise.
16786 * misc/bits/syslog.h: Likewise.
16787 * misc/bits/syslog-ldbl.h: Likewise.
16788 * misc/sys/syslog.h: Likewise.
16789 * socket/bits/socket2.h: Likewise.
16790 * socket/sys/socket.h: Likewise.
16791 * debug/tst-chk1.c: Likewise.
16792 * wcsmbs/bits/wchar2.h: Likewise.
16793 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16794 * wcsmbs/wchar.h: Likewise.
16796 2012-04-29 Andreas Jaeger <aj@suse.de>
16798 * Makerules (tests): Remove enable-check-abi protection.
16799 (check-abi-warn): Remove.
16800 (check-abi-%): Remove check-abi-warn usage.
16802 * configure.in: Remove check-abi configure option.
16803 * configure: Regenerated.
16804 * config.make.in (enable-check-abi): Remove.
16806 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16809 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16810 double functions to double *_finite functions.
16813 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16814 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16816 * stdio-common/Makefile (tests): Add tst-sprintf3.
16817 * stdio-common/tst-sprintf3.c: New file.
16819 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16820 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16822 2012-04-28 Joseph Myers <joseph@codesourcery.com>
16824 * conform/conformtest.pl: Remove duplicate typed-constant
16827 2012-04-28 David S. Miller <davem@davemloft.net>
16829 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16830 (check-abi-%): Remove AWK script prerequisite and explicit
16832 (check-abi): Rewrite to just diff the symlist with the abilist.
16833 (config-tls, config-abi-config): Delete, no longer used.
16834 (update-abi-%): Remove AWK script and explicit abilist directory.
16835 (update-abi): Rewrite to simply compare and conditionally copy the
16836 symlist and the sysdep abilist file. Remove update-abi-config
16838 * abilist/ld.abilist: Remove.
16839 * abilist/libBrokenLocale.abilist: Remove.
16840 * abilist/libanl.abilist: Remove.
16841 * abilist/libcrypt.abilist: Remove.
16842 * abilist/libdl.abilist: Remove.
16843 * abilist/librt.abilist: Remove.
16844 * abilist/libthread_db.abilist: Remove.
16845 * abilist/libutil.abilist: Remove.
16846 * scripts/extract-abilist.awk: Remove.
16847 * scripts/merge-abilist.awk: Remove.
16848 * sysdeps/generic/libcidn.abilist: New file.
16849 * sysdeps/generic/libnss_compat.abilist: New file.
16850 * sysdeps/generic/libnss_db.abilist: New file.
16851 * sysdeps/generic/libnss_dns.abilist: New file.
16852 * sysdeps/generic/libnss_files.abilist: New file.
16853 * sysdeps/generic/libnss_hesiod.abilist: New file.
16854 * sysdeps/generic/libnss_nis.abilist: New file.
16855 * sysdeps/generic/libnss_nisplus.abilist: New file.
16856 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16857 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16858 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16860 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16861 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16862 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16863 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16864 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16865 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16866 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16867 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16868 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16870 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16871 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16872 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16873 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16875 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16876 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16877 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16878 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16879 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16880 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16882 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16883 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16884 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16886 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16887 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16889 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16891 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16893 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16895 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16897 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16901 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16903 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16907 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16911 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16989 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16990 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16991 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16993 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16994 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16995 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16996 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16997 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16998 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16999 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
17000 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
17001 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
17002 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
17003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
17004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
17006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
17010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
17012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
17014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
17016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
17018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
17024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
17028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
17029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
17031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
17035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
17037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17054 2012-04-28 Joseph Myers <joseph@codesourcery.com>
17056 * conform/conformtest.pl: Fix typo in handling typed-constant from
17059 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17061 * README: Cut down references to pre-2.6 Linux kernels and
17062 Linuxthreads. Update lists of configurations in libc and ports
17063 and sort alphabetically. Say "or newer" with Linux kernel version
17066 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17068 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17071 * math/libm-test.inc (logb_test_downward): New test to expose
17072 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17075 2012-04-27 Joseph Myers <joseph@codesourcery.com>
17078 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17080 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17081 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17083 2012-04-26 Joseph Myers <joseph@codesourcery.com>
17085 * sysdeps/unix/i386/brk.S: Remove file.
17086 * sysdeps/unix/i386/dl-brk.S: Likewise.
17087 * sysdeps/unix/i386/pipe.S: Likewise.
17088 * sysdeps/unix/i386/sigreturn.S: Likewise.
17089 * sysdeps/unix/i386/syscall.S: Likewise.
17090 * sysdeps/unix/i386/vfork.S: Likewise.
17091 * sysdeps/unix/i386/wait.S: Likewise.
17093 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17094 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17096 * configure.in (arm*-none*): Do not allow without
17097 --enable-hacker-mode.
17098 (netbsd*): Remove case setting base_os.
17099 (386bsd*): Likewise.
17100 (freebsd*): Likewise.
17103 (sunos*): Likewise.
17104 (ultrix*): Likewise.
17105 (newsos*): Likewise.
17106 (dynix*): Likewise.
17112 (minix*): Likewise.
17113 (irix4*): Likewise.
17114 (irix6*): Likewise.
17115 (solaris[2-9]*): Likewise.
17117 * configure: Regenerated.
17119 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17122 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17123 overflow or cancellation in calculating denominator.
17124 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17125 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17126 down expression to avoid unexpected rounding in newer GCCs.
17127 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17129 2012-04-26 David S. Miller <davem@davemloft.net>
17131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17132 long-double compat symbols.
17133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17147 2012-04-25 David S. Miller <davem@davemloft.net>
17149 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17150 HWCAP_* values only after the memory barriers have been defined.
17151 (atomic_full_barrier): Define.
17152 (atomic_read_barrier): Define.
17153 (atomic_write_barrier): Define.
17155 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17157 * shlib-versions: Add libgcc_s version information.
17158 * sysdeps/generic/libgcc_s.h: Remove.
17159 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17161 * sysdeps/gnu/unwind-resume.c: Likewise.
17162 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17164 2012-04-25 David S. Miller <davem@davemloft.net>
17166 * sysdeps/unix/sparc/brk.S: Delete.
17167 * sysdeps/unix/sparc/dl-brk.S: Delete.
17168 * sysdeps/unix/sparc/pipe.S: Delete.
17169 * sysdeps/unix/sparc/sysdep.S: Delete.
17170 * sysdeps/unix/sparc/sysdep.h: Delete.
17171 * sysdeps/unix/sparc/vfork.S: Delete.
17172 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17173 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17174 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17175 ret_ERRVAL, r0, r1, MOVE): Define.
17176 (JUMPTARGET): Remove.
17177 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17178 sysdeps/unix/sparc/sysdep.h
17179 (ENTRY, END): Remove.
17180 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17182 2012-04-25 Joseph Myers <joseph@codesourcery.com>
17184 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17185 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17188 * timezone/README: Update upstream location and email address for
17190 * timezone/zdump.c: Update from tzcode 2012b.
17191 * timezone/zic.c: Likewise.
17193 * configure.in (libc_cv_as_needed): Remove test.
17194 * configure: Regenerated.
17195 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17196 conditional definition.
17197 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17198 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17199 * config.make.in (have-as-needed): Remove variable.
17201 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17202 Paul Pluzhnikov <ppluzhnikov@google.com>
17204 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17207 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17209 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17210 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17211 * sysdeps/sh/strlen.S: Likewise.
17213 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17215 * sysdeps/unix/fork.S: Remove file.
17216 * sysdeps/unix/i386/fork.S: Likewise.
17217 * sysdeps/unix/sparc/fork.S: Likewise.
17219 * sysdeps/unix/system.c: Remove file.
17220 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17222 * sysdeps/unix/getegid.S: Remove file.
17223 * sysdeps/unix/geteuid.S: Likewise.
17225 2012-04-24 Roland McGrath <roland@hack.frob.com>
17227 * scripts/check-localplt.awk: New file.
17228 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17230 * scripts/data/localplt-generic.data: Add a comment.
17232 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17233 NODE when __dir_mkfile failed.
17234 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17235 Reported by Ludovic Courtès <ludo@gnu.org>.
17237 2012-04-24 Andreas Jaeger <aj@suse.de>
17239 * Makerules (common-clean): Also remove gen-as-const-headers
17242 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17244 * Makerules (native-compile): Do not change working directory for
17245 build. Use $(OUTPUT_OPTION) in command.
17246 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17248 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17251 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17252 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17253 * math/libm-test.inc (floor_test): Add more tests.
17254 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17256 2012-04-24 Joseph Myers <joseph@codesourcery.com>
17258 * sysdeps/unix/getdents.c: Remove file.
17259 * sysdeps/unix/sysv/getdents.c: Likewise.
17260 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17262 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17263 sysdeps/unix/mman/syscalls.list.
17265 (mprotect): Likewise.
17267 (munmap): Likewise.
17268 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17269 * sysdeps/unix/mman/syscalls.list: Remove.
17270 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17272 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17273 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17274 * configure: Regenerated.
17275 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17276 $(libgcc_s_suffix).
17277 * config.make.in (libgcc_s_suffix): Remove variable.
17279 2012-04-23 Joseph Myers <joseph@codesourcery.com>
17281 * sysdeps/unix/sysv/gethostname.c: Move to ...
17282 * sysdeps/posix/gethostname.c: ... here.
17284 * sysdeps/unix/execve.S: Remove file.
17286 * sysdeps/unix/_exit.S: Remove file.
17288 2012-04-23 Andreas Jaeger <aj@suse.de>
17291 * manual/Makefile: Remove make dist support, there's no
17292 need for a stand-alone documentation tar ball.
17293 (TEXI2DVI): Define always, it's not in Makeconfig.
17296 (edition): Removed.
17297 (glibc-doc-$(edition).tar): Removed
17301 (ETAGS): Remove, it's in Makeconfig.
17302 (move-if-change): Remove, it's in Makeconfig.
17304 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
17307 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17308 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17309 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17310 (strtod_l, strtof_l, strtold_l): Remove __wur.
17311 It is not necessarily an error to ignore strtol's return value.
17312 One can reliably look at the stored endptr to decide whether
17313 the number had valid syntax.
17315 2012-04-21 Andreas Jaeger <aj@suse.de>
17318 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17320 2012-04-21 Joseph Myers <joseph@codesourcery.com>
17322 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17323 * sysdeps/unix/sysv/Versions: Remove file.
17325 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17330 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
17333 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17334 version from __vm86.
17336 2012-04-20 Joseph Myers <joseph@codesourcery.com>
17338 * sysdeps/unix/common/lxstat.c: Remove file.
17339 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17341 * sysdeps/unix/sysv/Makefile: Remove file.
17343 * sysdeps/unix/sysv/direct.h: Remove file.
17345 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17346 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17347 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17348 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17349 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17350 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17351 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17353 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17355 * sysdeps/unix/xmknod.c: Remove file.
17356 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17358 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17360 * sysdeps/unix/sysv/i386/time.S: Remove file.
17362 * sysdeps/unix/fxstat.c: Remove file.
17363 * sysdeps/unix/xstat.c: Likewise.
17364 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17366 * sysdeps/unix/sysv/sigaction.c: Remove file.
17368 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17369 (sysdep_headers): Remove variable.
17370 [termio.h not in sysdep_headers] (generated): Likewise.
17371 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17372 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17373 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17374 * sysdeps/unix/sysv/tcflow.c: Likewise.
17375 * sysdeps/unix/sysv/tcflush.c: Likewise.
17376 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17377 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17378 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17379 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17380 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17382 * sysdeps/unix/siglist.c: Remove file.
17384 * sysdeps/unix/getppid.S: Remove file.
17386 * sysdeps/unix/mkdir.c: Remove file.
17387 * sysdeps/unix/rmdir.c: Likewise.
17389 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17391 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17393 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17394 errlist-compat value.
17396 2012-04-18 David S. Miller <davem@davemloft.net>
17398 * sysdeps/generic/memcopy.h (reg_char): Delete.
17399 * debug/strcat_chk.c: Use char, not reg_char.
17400 * debug/strcpy_chk.c: Likewise.
17401 * debug/strncat_chk.c: Likewise.
17402 * debug/strncpy_chk.c: Likewise.
17403 * string/memchr.c: Likewise.
17404 * string/memrchr.c: Likewise.
17405 * string/rawmemchr.c: Likewise.
17406 * string/strcat.c: Likewise.
17407 * string/strchr.c: Likewise.
17408 * string/strchrnul.c: Likewise.
17409 * string/strcmp.c: Likewise.
17410 * string/strcpy.c: Likewise.
17411 * string/strncat.c: Likewise.
17412 * string/strncmp.c: Likewise.
17413 * string/strncpy.c: Likewise.
17415 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17417 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17418 __builtin_memcopy is called when src and dest ranges are known to not
17421 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17423 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17424 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17425 fwd_align_merge macro call.
17426 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17427 bwd_align_merge macro call.
17428 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17430 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17432 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17433 bwd_align_merge macros.
17434 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17435 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17436 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17438 2012-04-18 David S. Miller <davem@davemloft.net>
17440 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17442 2012-04-18 Andreas Jaeger <aj@suse.de>
17445 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17446 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17447 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17449 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17450 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17451 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17453 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17454 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17455 Adjust for changed ldbl-128 files.
17457 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17458 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17459 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17461 2012-04-17 David S. Miller <davem@davemloft.net>
17463 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17465 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17467 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17468 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17469 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17470 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17471 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17472 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17474 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17477 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17478 * math/libm-test.inc: Add ilogb errno and exception tests.
17479 * math/w_ilogb.c: New file: ilogb wrapper.
17480 * math/w_ilogbf.c: New file: ilogbf wrapper.
17481 * math/w_ilogbl.c: New file: ilogbl wrapper.
17482 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17483 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17484 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17485 exception being thrown with 0.0 as argument.
17486 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17487 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17488 exception being thrown with 0.0 as argument.
17489 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17490 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17491 exception being thrown with 0.0 as argument.
17492 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17493 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17494 exception being thrown with 0.0 as argument.
17495 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17496 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
17497 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
17498 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17499 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17500 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17501 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17502 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17503 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17505 2012-04-17 Petr Baudis <pasky@ucw.cz>
17507 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17510 2012-04-16 Marek Polacek <polacek@redhat.com>
17512 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17514 2012-04-16 Marek Polacek <polacek@redhat.com>
17516 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17517 operands of fdivp instruction.
17519 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17521 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17522 * elf/tst-auditmod3b.c: Likewise.
17523 * elf/tst-auditmod4b.c: Likewise.
17524 * elf/tst-auditmod5b.c: Likewise.
17525 * elf/tst-auditmod6b.c: Likewise.
17526 * elf/tst-auditmod6c.c: Likewise.
17527 * elf/tst-auditmod7b.c: Likewise.
17528 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17529 * sysdeps/x86_64/preconfigure.in: Likewise.
17530 * sysdeps/x86_64/preconfigure: Regenerated.
17532 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17534 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17537 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
17539 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17540 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17542 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17545 * locale/iso-639.def: Fix gl language name. Spotted by
17548 2012-04-12 Roland McGrath <roland@hack.frob.com>
17551 * libio/libio.h (__io_write_fn): Update comment.
17553 2012-04-12 Petr Baudis <pasky@ucw.cz>
17556 * stdio.texi (Hook Functions): The user provided writer function
17557 is not allowed to return -1.
17559 2012-04-11 David S. Miller <davem@davemloft.net>
17561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17563 2012-04-11 Mike Frysinger <vapier@gentoo.org>
17565 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17566 Add a leading slash to rtkaio.
17568 2012-04-11 Jim Meyering <meyering@redhat.com>
17571 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17572 It is not necessarily an error to ignore fwrite's return
17573 value. One can reliably use ferror to test for errors after
17576 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17578 * bits/types.h (__snseconds_t): New type.
17579 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17581 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17582 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17583 (__SNSECONDS_T_TYPE): Likewise.
17584 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17585 (__SNSECONDS_T_TYPE): Likewise.
17586 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17587 (__SNSECONDS_T_TYPE): Likewise.
17589 2012-04-10 Andreas Jaeger <aj@suse.de>
17592 * manual/time.texi (Processor Time): Return type of times is
17593 elapsed real time since an arbitrary point in the past.
17594 (CPU Time): Move CLK_TCK from here...
17595 (Processor Time): ...to here. Correct description.
17596 * manual/conf.texi (Constants for Sysconf): Correct description of
17599 2012-04-10 David S. Miller <davem@davemloft.net>
17602 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17603 where the is a gap between DT_REL(A) and DT_JMPREL.
17605 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17607 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17608 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17609 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17611 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17613 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17614 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17615 (dl_main): Handle --inhibit-cache.
17616 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17618 * elf/dl-load.c (_dl_map_object): Use it.
17619 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17621 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17624 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17625 (__ieee754_powl): Saturate large exponents rather than testing for
17626 overflow of y*log2(x).
17627 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17628 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17632 * math/s_ctan.c: Include <float.h>.
17633 (__ctan): Avoid internal overflow or cancellation in calculating
17635 * math/s_ctanf.c: Likewise.
17636 * math/s_ctanl.c: Likewise.
17637 * math/s_ctanh.c: Likewise.
17638 * math/s_ctanhf.c: Likewise.
17639 * math/s_ctanhl.c: Likewise.
17640 * math/libm-test.inc (ctan_test): Add more tests.
17641 (ctanh_test): Likewise.
17642 * sysdeps/i386/fpu/libm-test-ulps: Update.
17643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17645 2012-04-09 Andreas Jaeger <aj@suse.de>
17648 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17649 is an optional BSD extension.
17652 * manual/stdio.texi (Opening Streams): Document additional fopen
17655 2012-04-09 Roland McGrath <roland@hack.frob.com>
17657 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17658 %eax without telling the compiler.
17660 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17663 * manual/install.texi: Use sourceware.org.
17665 2012-04-09 Joseph Myers <joseph@codesourcery.com>
17668 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17669 (__ieee754_pow): Generate overflow and underflow using huge*huge
17670 and tiny*tiny rather than just returning constant infinity or zero
17671 for large exponents.
17672 * math/libm-test.inc (pow_test): Require overflow exceptions for
17673 applicable cases of large exponents.
17676 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17677 (__ieee754_pow): Use iterative multiplication algorithm only for
17678 integer exponents with absolute value below 1024. Check for odd
17679 integer exponents when using algorithm for real exponents.
17680 * math/libm-test.inc (pow_test): Add more tests.
17681 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17683 2012-04-08 Joseph Myers <joseph@codesourcery.com>
17686 * math/libm-test.inc (exp_test): Do not allow overflow exception
17689 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17692 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17693 instead of __kernel_standard_f.
17695 2012-04-08 Mike Frysinger <vapier@gentoo.org>
17697 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17698 * sysdeps/x86_64/memset_chk.S: Likewise.
17700 2012-04-08 Andreas Jaeger <aj@suse.de>
17703 * manual/startup.texi (Environment Access): Describe return value
17704 for putenv and setenv.
17707 * manual/filesys.texi (Directory Entries): Add description for
17711 * manual/filesys.texi (Directory Entries): Clarify that it's file
17712 system not operating system in the description of DT_UNKNOWN.
17715 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17717 2012-04-08 Stephen Compall <s11@member.fsf.org>
17720 * manual/llio.texi (Opening and Closing Files): Add cross
17721 reference to explain mode argument.
17723 2012-04-07 Mike Frysinger <vapier@gentoo.org>
17725 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17726 * sysdeps/x86_64/memset_chk.S: Likewise.
17728 2012-04-07 David S. Miller <davem@davemloft.net>
17730 * elf/elf.h (R_SPARC_WDISP10): Define.
17731 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17733 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17734 R_SPARC_SIZE64 and R_SPARC_H34.
17736 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17738 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17739 conditions and remove no longer applicable assertion.
17741 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17743 * bits/byteswap.h: Include <features.h>.
17744 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17745 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17747 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17749 * bits/byteswap.h (__bswap_16): Removed.
17750 Include <bits/byteswap-16.h> to get __bswap_16.
17751 * sysdeps/i386/bits/byteswap.h: Likewise.
17752 * sysdeps/s390/bits/byteswap.h: Likewise.
17753 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17754 * bits/byteswap-16.h: New file.
17755 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17756 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17757 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17758 * string/Makefile (headers): Add bits/byteswap-16.h.
17760 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17763 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17765 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17766 * nss/tst-nss-static.c: New.
17768 2012-04-06 Robert Millan <rmh@gnu.org>
17771 * manual/llio.texi (File Position Primitive): lseek
17772 refers to WHENCE when it really means OFFSET.
17774 2012-04-06 Andreas Jaeger <aj@suse.de>
17776 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17777 strncmp declarations.
17779 * abilist/libc.abilist: Add __poll and __ppoll.
17781 2012-04-05 David S. Miller <davem@davemloft.net>
17783 * scripts/check-local-headers.sh: Accept a host triplet in the
17784 path matched by the exclude regexp.
17786 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17788 * sysdeps/powerpc/powerpc32/dl-machine.h
17789 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17790 * sysdeps/s390/s390-32/dl-machine.h
17791 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17792 * sysdeps/sparc/sparc32/dl-machine.h
17793 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17794 * sysdeps/sparc/sparc64/dl-machine.h
17795 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17797 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17799 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
17800 undefined symbol errors.
17802 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
17805 2012-04-05 Michael Matz <matz@suse.de>
17808 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17810 2012-04-05 Andreas Jaeger <aj@suse.de>
17813 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17816 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17818 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17819 which ROUND is no valid rounding mode.
17821 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17823 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17825 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17827 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17829 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17830 an exception using FPU order intentionally.
17832 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17834 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17835 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17836 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17837 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17839 2012-04-05 Simon Josefsson <simon@josefsson.org>
17842 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17843 EINVAL when BUFLEN is too smal.
17845 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17848 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17849 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17851 2012-04-03 Andreas Jaeger <aj@suse.de>
17854 * manual/setjmp.texi (System V contexts): Fix sentence.
17857 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17858 New macro for this case.
17859 [!__GNUC__] (__bswap_64): New inline function for this case.
17860 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17861 * bits/byteswap.h: Likewise.
17862 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17863 ull, guard with __GLIBC_HAVE_LONG_LONG.
17865 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17866 __GLIBC_HAVE_LONG_LONG.
17868 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17869 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17871 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17874 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17875 inptr and inend, rather than using last_ch.
17877 2012-04-02 David S. Miller <davem@davemloft.net>
17879 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17880 * stdio-common/printf-parse.h (read_int): Change return type to
17881 'int', return -1 on INT_MAX overflow.
17882 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17883 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17884 overflows INT_MAX. Check for overflow of in-format-string precision
17885 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17886 SIZE_MAX not INT_MAX for integer overflow test.
17887 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17888 skip the construct in the format string but do not record anything.
17889 * stdio-common/bug22.c: Adjust to test both width/prevision
17890 INT_MAX overflow as well as total length INT_MAX overflow. Check
17891 explicitly for proper errno values.
17893 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17895 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17897 * string/test-strcmp.c [! WIDE]: Likewise.
17898 * time/tst-mktime2.c: Likewise for INT_MAX.
17899 * string/test-string.h: #include <sys/param.h> for MIN.
17901 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17902 * sysdeps/i386/init-first.c (init): Likewise.
17903 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17904 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17905 * sysdeps/sh/init-first.c (init): Likewise.
17907 2012-04-01 Ulrich Drepper <drepper@gmail.com>
17909 * po/ru.po: Update from translation team.
17910 * po/vi.po: Likewise.
17912 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17914 * resolv/nss_dns/dns-host.c: Merge copyright years.
17916 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17918 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17919 Optimize memcpy with prefetch if
17920 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17921 src, dst pointers have unequal 16 byte alignments.
17923 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17926 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17927 from a CNAME entry and return the minimum ttl for the query.
17928 (gaih_getanswer_slice): Likewise.
17930 2012-03-30 Jeff Law <law@redhat.com>
17932 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17934 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17935 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17937 * resolv/nss_dns/dns-host.c: Update copyright year.
17939 2012-03-30 Ulrich Drepper <drepper@gmail.com>
17941 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
17942 requests to save a system call. Fix check that all bytes are sent.
17944 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17945 comments for sendmmsg.
17947 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17950 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17951 with only 1 character between 0x0041 and 0x01b0.
17952 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17953 * wcsmbs/tst-mbsnrtowcs.c: New file.
17955 2012-03-29 David S. Miller <davem@davemloft.net>
17957 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17958 small copies by hand.
17960 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17963 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17964 _nss_compat_initgroups_dyn): Fall back to malloc/free
17965 for large group memberships.
17967 2012-03-28 David S. Miller <davem@davemloft.net>
17969 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17970 that branches into memcpy.
17971 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17972 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17973 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17974 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17975 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17977 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17978 implementation too.
17979 * sysdeps/sparc/mempcpy.S: New file.
17981 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17982 the IFUNC routine in the libc case.
17983 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17985 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17986 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17987 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17988 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17989 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17990 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17991 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17992 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17994 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17995 loop to 256 bytes instead of 64 bytes and fix test signedness.
17997 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17998 * sysdeps/sparc/sparc32/Makefile: rather than here...
17999 * sysdeps/sparc/sparc64/Makefile: and here.
18001 2012-03-28 Ulrich Drepper <drepper@gmail.com>
18003 * malloc/mallocbug.c: Avoid warnings about unused variables.
18005 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18008 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
18009 in the right place. Discard and retry query if response is
18010 larger than input buffer size.
18012 2012-03-28 Joseph Myers <joseph@codesourcery.com>
18017 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
18018 x for large integer exponent.
18019 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18020 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
18021 sign of result as needed afterwards.
18022 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18023 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
18024 result for underflowing pow the same as for overflow.
18025 (__kernel_standard_l): Handle powl overflow and underflow here
18026 rather than calling __kernel_standard.
18027 * math/libm-test.inc (pow_test): Add more tests.
18042 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18043 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18044 (__kernel_standard_l): New function.
18045 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18047 * math/w_acosl.c (__acosl): Likewise.
18048 * math/w_asinl.c (__asinl): Likewise.
18049 * math/w_atan2l.c (__atan2l): Likewise.
18050 * math/w_atanhl.c (__atanhl): Likewise.
18051 * math/w_coshl.c (__coshl): Likewise.
18052 * math/w_exp10l.c (__exp10l): Likewise.
18053 * math/w_exp2l.c (__exp2l): Likewise.
18054 * math/w_fmodl.c (__fmodl): Likewise.
18055 * math/w_hypotl.c (__hypotl): Likewise.
18056 * math/w_j0l.c (__j0l, __y0l): Likewise.
18057 * math/w_j1l.c (__j1l, __y1l): Likewise.
18058 * math/w_jnl.c (__jnl, __ynl): Likewise.
18059 * math/w_lgammal.c (__lgammal): Likewise.
18060 * math/w_log10l.c (__log10l): Likewise.
18061 * math/w_log2l.c (__log2l): Likewise.
18062 * math/w_logl.c (__logl): Likewise.
18063 * math/w_powl.c (__powl): Likewise.
18064 * math/w_remainderl.c (__remainderl): Likewise.
18065 * math/w_scalbl.c (sysv_scalbl): Likewise.
18066 * math/w_sinhl.c (__sinhl): Likewise.
18067 * math/w_sqrtl.c (__sqrtl): Likewise.
18068 * math/w_tgammal.c (__tgammal): Likewise.
18069 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18070 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18071 * math/libm-test.inc (acos_test): Add more tests.
18072 (acosh_test): Likewise.
18073 (asin_test): Likewise.
18074 (atanh_test): Likewise.
18075 (exp_test): Likewise.
18076 (exp10_test): Likewise.
18077 (exp2_test): Likewise.
18078 (expm1_test): Likewise.
18079 (lgamma_test): Likewise.
18080 (log_test): Likewise.
18081 (log10_test): Likewise.
18082 (log1p_test): Likewise.
18083 (log2_test): Likewise.
18084 (pow_test): Do not allow some spurious overflow exceptions.
18085 (sqrt_test): Add more tests.
18086 (tgamma_test): Likewise.
18087 (y0_test): Likewise.
18088 (y1_test): Likewise.
18089 (yn_test): Likewise.
18091 2012-03-27 Anton Blanchard <anton@samba.org>
18093 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18095 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18096 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18097 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18099 2012-03-27 David S. Miller <davem@davemloft.net>
18101 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18103 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18104 have-as-vis3 check.
18106 2012-03-27 Andreas Jaeger <aj@suse.de>
18108 * sysdeps/x86_64/elf/configure.in: Moved to ...
18109 * sysdeps/x86_64/configure.in: ... here.
18110 * sysdeps/x86_64/elf/start.S: Moved to ...
18111 * sysdeps/x86_64/start.S: ... here.
18112 * sysdeps/x86_64/elf/configure: Delete.
18114 * sysdeps/x86_64/configure.in: Merge contents from
18115 sysdeps/i386/configure.in (without i686 check).
18117 * sysdeps/i386/elf/Versions: Merge into ...
18118 * sysdeps/i386/Versions: ... this.
18119 * sysdeps/i386/elf/Versions: Delete file.
18120 * sysdeps/i386/elf/start.S: Moved to ...
18121 * sysdeps/i386/start.S: ...here.
18122 * sysdeps/i386/elf/configure.in: Merge into...
18123 * sysdeps/i386/configure.in: ...here.
18124 * sysdeps/i386/elf/configure.in: Delete file.
18125 * sysdeps/i386/elf/configure: Delete file.
18127 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18128 * debug/backtracesyms.c: ... here.
18129 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18130 * debug/backtracesymsfd.c: ... here.
18131 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18132 * sysdeps/generic/ifunc-sel.h: ... here.
18134 * sysdeps/unix/i386/start.c: Delete file.
18135 * sysdeps/unix/sparc/start.c: Delete file.
18136 * sysdeps/unix/start.c: Delete file.
18138 * sysdeps/sh/elf/configure.in: Moved to ...
18139 * sysdeps/sh/configure.in: ... here.
18140 * sysdeps/sh/elf/start.S: Moved to ...
18141 * sysdeps/sh/start.S: ... here.
18142 * sysdeps/sh/elf/configure: Delete file.
18144 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18145 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18146 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18147 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18148 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18149 * sysdeps/powerpc/powerpc64/start.S: here.
18150 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18151 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18152 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18153 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18154 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18156 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18157 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18158 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18159 * sysdeps/powerpc/powerpc32/start.S: ... here.
18160 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18161 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18162 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18164 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18165 * sysdeps/powerpc/ifunc-sel.h: ... here.
18166 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18167 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18169 * sysdeps/sparc/elf/configure.in: Moved to ...
18170 * sysdeps/sparc/configure.in: ... here.
18171 * sysdeps/sparc/elf/configure: Delete file.
18172 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18173 * sysdeps/sparc/sparc32/start.S: ... here.
18174 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18175 * sysdeps/sparc/sparc64/start.S: ... here.
18176 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18177 * sysdeps/sparc/sparc32/Makefile: ... this.
18178 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18179 * sysdeps/sparc/sparc64/Makefile: ... this.
18181 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18182 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18183 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18184 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18185 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18186 * sysdeps/s390/s390-32/setjmp.S: ... here.
18187 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18188 * sysdeps/s390/s390-32/configure.in: ... here.
18189 * sysdeps/s390/s390-32/elf/configure: Delete file.
18190 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18191 * sysdeps/s390/s390-32/start.S: ... here.
18193 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18194 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18195 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18196 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18197 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18198 * sysdeps/s390/s390-64/setjmp.S: ... here.
18199 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18200 * sysdeps/s390/s390-64/configure.in: ... here
18201 * sysdeps/s390/s390-64/elf/configure: Delete file.
18202 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18203 * sysdeps/s390/s390-64/start.S: ... here.
18204 * sysdeps/s390/s390-64/elf/configure: Delete.
18206 * configure.in: Remove support for elf directories in sysdeps.
18208 * configure: Regenerated.
18209 * sysdeps/i386/configure: Regenerated.
18210 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18211 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18212 * sysdeps/s390/s390-32/configure: Regenerated.
18213 * sysdeps/s390/s390-64/configure: Regenerated.
18214 * sysdeps/sh/configure: Regenerated.
18215 * sysdeps/sparc/configure: Regenerated.
18216 * sysdeps/x86_64/configure: Regenerated.
18218 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
18220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18222 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18223 denormal result into account.
18225 2012-03-25 Roland McGrath <roland@hack.frob.com>
18227 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18228 Reported by Allan McRae <allan@archlinux.org>.
18230 2012-03-23 Jeff Law <law@redhat.com>
18232 * nss/getnssent.c (__nss_getent): Fix typo.
18234 2012-03-23 David S. Miller <davem@davemloft.net>
18236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18238 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18240 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18241 to pad to uint64_t for each field.
18242 (dl_tls_index): Replace unsigned long with uint64_t.
18244 2012-03-23 Daniel Jacobowitz <dmj@google.com>
18245 Paul Pluzhnikov <ppluzhnikov@google.com>
18248 * grp/Makefile (otherlibs): Don't set it.
18249 * inet/Makefile (otherlibs): Likewise.
18250 * login/Makefile (otherlibs): Likewise.
18251 * nscd/Makefile (otherlibs): Likewise.
18252 * posix/Makefile (otherlibs): Likewise.
18253 * pwd/Makefile (otherlibs): Likewise.
18254 * rt/Makefile (otherlibs): Likewise.
18255 * sunrpc/Makefile (otherlibs): Likewise.
18256 * nss/Makefile (otherlibs): Likewise.
18257 Add libnss_files to routines and static-only-routines.
18258 ($(objpfx)getent): Remove rule.
18259 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18260 static-only-routines.
18262 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18265 * math/s_cexp.c: Include <float.h>.
18266 (__cexp): Handle exp result overflowing not necessarily
18267 overflowing both real and imaginary parts of result.
18268 * math/s_cexpf.c: Likewise.
18269 * math/s_cexpl.c: Likewise.
18270 * math/libm-test.inc (cexp_test): Add more tests.
18271 * sysdeps/i386/fpu/libm-test-ulps: Update.
18272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18274 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18276 * include/link.h (ELFW): New macro.
18277 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18278 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18280 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18282 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18285 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18287 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18289 (struct La_x32_retval): Likewise.
18291 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18293 * sysdeps/x86_64/preconfigure.in: New file.
18294 * sysdeps/x86_64/preconfigure: New generated file.
18296 2012-03-22 Joseph Myers <joseph@codesourcery.com>
18299 * math/e_exp2l.c: Include <float.h>.
18300 (__ieee754_exp2l): Handle overflow and underflow cases
18301 separately. Only pass fractional part of argument to
18303 * math/libm-test.inc (exp2_test): Add more tests.
18305 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18306 negating x to take absolute value.
18307 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18309 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18310 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18312 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18313 computing low part if x was negated.
18314 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18316 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18318 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18319 la_x32_gnu_pltexit.
18320 (pltexit): Cast int_retval to ptrdiff_t.
18321 * elf/tst-auditmod3b.c: Likewise.
18322 * elf/tst-auditmod4b.c: Likewise.
18323 * elf/tst-auditmod5b.c: Likewise.
18324 * elf/tst-auditmod6b.c: Likewise.
18325 * elf/tst-auditmod6c.c: Likewise.
18326 * elf/tst-auditmod7b.c: Likewise.
18328 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18329 and x32_gnu_pltexit.
18331 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18332 __ELF_NATIVE_CLASS.
18333 (La_x32_regs): New macro.
18334 (La_x32_retval): Likewise.
18335 (la_x32_gnu_pltenter): New function prototype.
18336 (la_x32_gnu_pltexit): Likewise.
18338 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18340 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18345 * configure.in (libc_cv_cc_nofma): Check for option to disable
18346 generation of FMA instructions.
18347 * configure: Regenerate.
18348 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18349 * sysdeps/ieee754/dbl-64/Makefile: New file.
18350 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18351 Remove brandred-fma4.
18352 (CFLAGS-brandred-fma4.c): Remove.
18353 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18354 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18356 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18359 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18361 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18362 LLONG_MAX != LONG_MAX.
18363 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18364 (_fitoa_word): Likewise.
18365 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18366 LLONG_MAX != LONG_MAX.
18367 * stdio-common/_itowa.h: Include <_itoa.h>.
18368 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18369 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18370 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18371 only if not defined.
18372 (_ITOA_WORD_TYPE): Likewise.
18373 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18374 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18376 2012-03-21 David S. Miller <davem@davemloft.net>
18378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18380 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18382 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18383 of x86_64 when setting libc_cv_slibdir, libdir and
18385 * sysdeps/unix/sysv/linux/configure: Regenerated.
18387 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18389 * manual/lang.texi (Old Varargs): Remove section.
18390 (How Variadic): Update menu.
18391 (va_start): Do not mention varargs.h.
18393 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18394 Joseph Myers <joseph@codesourcery.com>
18396 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18398 * configure: Regenerated.
18400 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18402 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18403 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18406 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18409 * Makefile (files-for-dist): Remove NOTES.
18410 (NOTES): Remove rule.
18411 * README: Don't refer to NOTES.
18412 * manual/creature.texi: Don't include macros.texi.
18413 * manual/intro.texi (creature.texi): Remove comment referring to
18416 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18417 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18418 * configure: Regenerated.
18419 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18420 LIBC_TRY_CC_OPTION.
18421 (libc_cv_as_i686): Likewise.
18422 (libc_cv_cc_avx): Likewise.
18423 (libc_cv_cc_sse2avx): Likewise.
18424 (libc_cv_cc_fma4): Likewise.
18425 (libc_cv_cc_novzeroupper): Likewise.
18426 * sysdeps/i386/configure: Regenerated.
18429 * sysdeps/i386/fpu/s_cexp.S: Remove.
18430 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18431 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18432 * math/libm-test.inc (cexp_test): Add more tests.
18433 * sysdeps/i386/fpu/libm-test-ulps: Update.
18434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18436 2012-03-21 Allan McRae <allan@archlinux.org>
18438 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18440 2012-03-21 Joseph Myers <joseph@codesourcery.com>
18443 * math/w_exp2.c: Do not include <float.h>.
18444 (o_threshold, u_threshold): Remove.
18445 (__exp2): Calculate result before checking finiteness and calling
18447 * math/w_exp2f.c: Likewise.
18448 * math/w_exp2l.c: Likewise.
18449 * math/libm-test.inc (exp2_test): Require overflow exception for
18453 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18454 range of signed 64-bit integers before using fistpll. Remove
18455 checks for whether integers fit in mantissa bits.
18456 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18457 the range of signed 32-bit integers before using fistpl. Remove
18458 checks for whether integers fit in mantissa bits.
18459 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18460 (__ieee754_powl): Test for y outside the range of signed 64-bit
18461 integers before using fistpll. Reduce 64-bit values to 63-bit
18463 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18464 divide-by-zero is raised for zero to large negative powers.
18465 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18466 (__ieee754_powl): Test for y outside the range of signed 64-bit
18467 integers before using fistpll. Reduce 64-bit values to 63-bit
18469 * math/libm-test.inc (pow_test): Add more tests.
18471 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18473 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18474 <stdio-common/_itoa.h>.
18475 * debug/segfault.c: Likewise.
18476 * elf/dl-cache.c: Likewise.
18477 * elf/dl-minimal.c: Likewise.
18478 * elf/dl-misc.c: Likewise.
18479 * elf/dl-sysdep.c: Likewise.
18480 * elf/dl-version.c: Likewise.
18481 * elf/rtld.c: Likewise.
18482 * hurd/hurdsock.c: Likewise.
18483 * hurd/lookup-retry.c: Likewise.
18484 * malloc/malloc.c: Likewise.
18485 * malloc/mtrace.c: Likewise.
18486 * nscd/nscd_getgr_r.c: Likewise.
18487 * nscd/nscd_getpw_r.c: Likewise.
18488 * nscd/nscd_getserv_r.c: Likewise.
18489 * posix/getopt_init.c: Likewise.
18490 * posix/wordexp.c: Likewise.
18491 * stdio-common/_itoa.c: Likewise.
18492 * stdio-common/printf_fphex.c: Likewise.
18493 * stdio-common/vfprintf.c: Likewise.
18494 * string/_strerror.c: Likewise.
18495 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18496 * sysdeps/i386/i686/hp-timing.h: Likewise.
18497 * sysdeps/mach/_strerror.c: Likewise.
18498 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18499 * sysdeps/mach/hurd/sethostid.c: Likewise.
18500 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18501 * sysdeps/mach/xpg-strerror.c: Likewise.
18502 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18503 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18504 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18505 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18506 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18507 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18508 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18509 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18510 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18511 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18512 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18513 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18514 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18515 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18516 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18517 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18518 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18519 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18520 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18521 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18522 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18524 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18526 * stdio-common/_itoa.h: Moved to ...
18527 * sysdeps/generic/_itoa.h: Here.
18529 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18531 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18532 instead of "_itoa.h" and "_itowa.h".
18533 * stdio-common/vfprintf.: Likewise.
18535 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18537 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18539 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18540 (__signbit): Likwise.
18541 (llrintf): Likwise.
18544 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18546 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18549 2012-03-20 Joseph Myers <joseph@codesourcery.com>
18551 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18552 OVERFLOW_EXCEPTION_OK.
18553 * math/libm-test.inc ("Philosophy"): Update comment about
18555 (OVERFLOW_EXCEPTION): Define.
18556 (OVERFLOW_EXCEPTION_OK): Likewise.
18557 (INVALID_EXCEPTION_OK): Renumber.
18558 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18559 (IGNORE_ZERO_INF_SIGN): Likewise.
18560 (test_exceptions): Handle FE_OVERFLOW.
18561 (exp10_test): Expect overflow exceptions.
18562 (exp2_test): Likewise.
18563 (expm1_test): Likewise.
18564 (nextafter_test): Likewise.
18565 (pow_test): Likewise.
18566 (scalbn_test): Likewise.
18567 (scalbln_test): Likewise.
18569 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18571 * sysdeps/x86_64/bits/atomic.h
18572 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18574 (atomic_exchange_acq): Likewise.
18575 (__arch_exchange_and_add_body): Likewise.
18576 (__arch_add_body): Likewise.
18577 (atomic_add_negative): Likewise.
18578 (atomic_add_zero): Likewise.
18580 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18582 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
18583 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18585 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18587 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18588 Check __x86_64__ instead of __WORDSIZE.
18590 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18592 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18594 2012-03-19 David S. Miller <davem@davemloft.net>
18596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18598 * sysdeps/sparc/fpu/fenv_private.h: New file.
18599 * sysdeps/sparc/fpu/math_private.h: Use it.
18600 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18602 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18603 (libc_feholdexcept_setroundl): Remove.
18604 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18606 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18607 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18609 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18611 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18612 int64_t instead of long int.
18613 (INSERT_WORDS64): Likwise.
18615 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18617 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18618 _Unwind_GetCFA return to _Unwind_Ptr first.
18620 2012-03-19 Joseph Myers <joseph@codesourcery.com>
18623 * math/s_clog.c: Include <float.h>.
18624 (__clog): Scale large or subnormal inputs.
18625 * math/s_clogf.c: Likewise.
18626 * math/s_clogl.c: Likewise.
18627 * math/s_clog10.c: Include <float.h>.
18628 (M_LOG10_2): Define.
18629 (__clog10): Scale large or subnormal inputs.
18630 * math/s_clog10f.c: Likewise.
18631 * math/s_clog10l.c: Likewise.
18632 * math/libm-test.inc (clog_test): Add more tests.
18633 (clog10_test): Likewise.
18634 * sysdeps/i386/fpu/libm-test-ulps: Update.
18635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18638 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18640 * math/libm-test.inc (atan2_test): Add another test.
18642 * Makerules (common-objdir-compile): Remove.
18643 * sysdeps/unix/Makefile (config-generated): Do not add
18644 $(unix-generated) to variable.
18645 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18646 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18648 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18650 [generic bits/local_lim.h] (before-compile): Do not append to
18652 [generic bits/local_lim.h] (common-generated): Likewise.
18653 [generic sys/param.h] (before-compile): Do not append to variable.
18654 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18655 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18656 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18657 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18659 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18660 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18661 [generic sys/param.h] ($(addprefix
18662 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18663 [generic sys/param.h] (common-generated): Do not append to
18665 [generic sys/param.h] (sysdep_headers): Likewise.
18666 [generic bits/errno.h] (before-compile): Do not append to
18668 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18670 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18671 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18672 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18673 [generic bits/errno.h] (common-generated): Do not append to
18675 [generic bits/ioctls.h] (before-compile): Do not append to
18677 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18679 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18680 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18681 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18683 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18684 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18685 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18686 [generic bits/ioctls.h] (common-generated): Do not append to
18688 [generic sys/syscall.h] (syscall.h): Remove variable.
18689 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18691 [generic sys/syscall.h] (before-compile): Do not append to
18693 [generic sys/syscall.h] (common-generated): Likewise.
18694 * sysdeps/unix/errnos-tmpl.c: Remove file.
18695 * sysdeps/unix/errnos.awk: Likewise.
18696 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18697 * sysdeps/unix/ioctls.awk: Likewise.
18698 * sysdeps/unix/mk-local_lim.c: Likewise.
18699 * sysdeps/unix/snarf-ioctls: Likewise.
18701 2012-03-19 Richard Henderson <rth@twiddle.net>
18703 * sysdeps/i386/fpu/fenv_private.h: New file.
18704 * sysdeps/i386/fpu/math_private.h: Use it.
18705 (math_opt_barrier, math_force_eval): Remove.
18706 (libc_feholdexcept_setround_53bit): Remove.
18707 (libc_feupdateenv_53bit): Remove.
18708 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18709 (math_opt_barrier, math_force_eval): Remove.
18710 (libc_feholdexcept): Remove.
18711 (libc_feholdexcept_setround): Remove.
18712 (libc_fetestexcept, libc_fesetenv): Remove.
18713 (libc_feupdateenv_test): Remove.
18714 (libc_feupdateenv, libc_feholdsetround): Remove.
18715 (libc_feresetround): Remove.
18717 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18718 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18720 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18721 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18722 (libc_feupdateenv_testl): New.
18723 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18724 (libc_feupdateenv_testf): New.
18725 (libc_feupdateenv): Use libc_feupdateenv_test.
18726 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18727 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18729 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18730 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18731 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18732 (libc_feresetround_noex): New.
18733 (libc_feresetround_noexf): New.
18734 (libc_feresetround_noexl): New.
18735 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18736 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18737 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18738 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18740 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18741 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18743 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18744 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18745 SET_RESTORE_ROUND_NOEX.
18746 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18747 SET_RESTORE_ROUND_NOEXF.
18748 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18749 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18750 (libc_feholdsetroundf): New.
18751 (libc_feresetround, libc_feresetroundf): New.
18753 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18754 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18755 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18757 * sysdeps/generic/math_private.h: Include <fenv.h>.
18758 (default_libc_feholdexcept): New.
18759 (default_libc_feholdexcept_setround): New.
18760 (default_libc_fesetenv, default_libc_feupdateenv): New.
18761 (libc_feholdexcept): Only define if undefined.
18762 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18763 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18764 (libc_feholdexcept_setroundl): Likewise.
18765 (libc_feholdexcept_setround_53bit): Likewise.
18766 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18767 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18768 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18769 (libc_feupdateenv_53bit): Likewise.
18770 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18771 (libc_feholdexcept): Convert from macro to inline function.
18772 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18773 (libc_fesetenv, libc_feupdateenv): Likewise.
18775 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18776 not previously defined.
18777 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18778 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18779 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18780 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18781 * sysdeps/ieee754/flt-32/math_private.h: New file.
18782 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18783 math_private.h below SET_FLOAT_WORD.
18784 (__isnan, __isinf_ns, __finite): Remove.
18785 (__isnanf, __isinf_nsf, __finitef): Remove.
18787 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18791 2012-03-17 David S. Miller <davem@davemloft.net>
18794 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18797 2012-03-16 David S. Miller <davem@davemloft.net>
18799 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18803 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18805 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18806 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18807 sysdep_routines when subdir is sysvipc.
18808 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18809 __getshmlba helper.
18811 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18813 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18815 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18818 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18820 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18821 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18822 (__lround): Renamed to ...
18823 (__llround): This. Replace long int with long long int.
18824 Define lround functions as aliases of llround functions.
18825 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18827 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18829 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18830 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18831 adresses to uintptr_t. Replace "long int" and "unsigned long
18832 int" with "greg_t" on va_arg.
18834 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18836 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18837 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18839 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18840 Move e_machine check before EI_CLASS check. Handle x32
18841 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18842 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18843 SKIP_EM_IA_64 and include
18844 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18846 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18847 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18848 (add_system_dir): New macro.
18850 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18851 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18853 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18864 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18866 * math/w_j0f.c (j0f): Likewise.
18868 * math/w_j0l.c (__j0l): Likewise.
18870 * math/w_j1.c (j1): Likewise.
18872 * math/w_j1f.c (j1f): Likewise.
18874 * math/w_j1l.c (__j1l): Likewise.
18876 * math/w_jn.c (jn): Likewise.
18878 * math/w_jnf.c (jnf): Likewise.
18880 * math/w_jnl.c (__jnl): Likewise.
18882 * math/libm-test.inc (j0_test): Add more tests.
18883 (j1_test): Likewise.
18884 (jn_test): Likewise. Add trailing semicolon to existing test.
18885 (y0_test): Likewise.
18886 (y1_test): Likewise.
18887 * sysdeps/i386/fpu/libm-test-ulps: Update.
18888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18892 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18893 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18894 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18895 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18896 (__tanl): Set errno for infinite argument.
18897 * sysdeps/i386/fpu/mptan.c: Remove.
18898 * sysdeps/i386/fpu/s_tan.S: Likewise.
18899 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18900 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18901 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18902 * math/libm-test.inc (tan_test): Add more tests and enable more
18903 tests for double and long double.
18904 * sysdeps/i386/fpu/libm-test-ulps: Update.
18905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18907 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18909 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18910 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18912 2012-03-16 Roland McGrath <roland@hack.frob.com>
18914 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18915 * configure.in: Use it for both main tree and add-ons.
18916 * configure: Regenerated.
18918 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18920 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18922 2012-03-16 Joseph Myers <joseph@codesourcery.com>
18924 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18928 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18929 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18930 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18931 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18932 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18934 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18935 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18936 != 0 for prec == 2.
18937 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18938 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18939 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18940 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18941 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18942 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18943 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18944 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18945 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18946 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18947 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18948 * math/libm-test.inc (cos_test): Add more tests and enable more
18949 tests for long double.
18950 (sin_test): Likewise.
18951 (sincos_test): Likewise.
18952 * sysdeps/i386/fpu/libm-test-ulps: Update.
18953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18955 2012-03-16 David S. Miller <davem@davemloft.net>
18957 * sysdeps/sparc/fpu/math_private.h: New file.
18959 2012-03-15 David S. Miller <davem@davemloft.net>
18961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
18964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18971 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18975 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18976 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18978 * sysdeps/sparc/sparc-ifunc.h: New file.
18979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
18995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
19002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
19003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19004 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19005 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
19006 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
19007 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19008 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
19010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
19011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
19012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
19013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
19014 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19015 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
19016 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19017 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
19018 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19019 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
19020 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19021 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
19022 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19024 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19026 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
19028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19030 2012-03-15 Andreas Jaeger <aj@suse.de>
19033 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
19034 ieee754/flt-32 implementation for sin, cos and sincos.
19035 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
19036 * sysdeps/i386/fpu/s_cosf.S: Likewise.
19037 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19038 * sysdeps/i386/fpu/s_sinf.S: Likewise.
19039 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19040 ieee754/flt-32 implementation for tan.
19042 * math/libm-test.inc (cos_test): Enable some large input tests for
19044 (sin_test): Likewise.
19045 (sincos_test): Likewise.
19046 (tan_test): Add tests for large input.
19048 * sysdeps/i386/fpu/libm-test-ulps: Update.
19050 2012-03-15 Andreas Jaeger <aj@suse.de>
19053 * math/libm-test.inc (cos_test): Add more test cases.
19054 (sin_test): Likewise.
19055 (sincos_test): Likewise.
19057 2012-03-15 Andreas Jaeger <aj@suse.de>
19060 * math/libm-test.inc (cos_test): Add a test case for large input
19062 (sin_test): Likewise.
19063 (sincos_test): Likewise.
19065 2012-03-15 Andreas Jaeger <aj@suse.de>,
19066 Joseph Myers <joseph@codesourcery.com>
19069 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
19070 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19071 * sysdeps/i386/fpu/branred.c: Likewise.
19072 * sysdeps/i386/fpu/dosincos.c: Likewise.
19073 * sysdeps/i386/fpu/mpa.c: Likewise.
19074 * sysdeps/i386/fpu/s_cos.S: Likewise.
19075 * sysdeps/i386/fpu/s_sin.S: Likewise.
19076 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19077 * sysdeps/i386/fpu/sincos32.c: Likewise.
19079 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19081 (libc_feupdateenv_53bit): Define.
19082 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19084 (libc_feupdateenv_53bit): Define.
19086 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19087 53 bit (without extend i386 double precision).
19089 * math/libm-test.inc (sincos_test): Add tests for large input.
19093 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19095 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19099 2012-03-15 David S. Miller <davem@davemloft.net>
19101 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19102 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19103 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19104 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
19116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
19119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
19122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
19125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19128 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19129 fmin/fmax sysdep routines.
19130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19132 2012-03-14 David S. Miller <davem@davemloft.net>
19134 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19135 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19136 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19137 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19138 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19139 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19140 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19141 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19143 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19154 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19155 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19156 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19157 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19159 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19160 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19161 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
19162 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
19167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
19170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
19173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
19176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
19179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
19194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
19197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
19200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
19203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19206 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19211 * sysdeps/sparc/configure.in: New file.
19212 * sysdeps/sparc/configure: Generate.
19213 * configure.in (libc_cv_sparc_as_vis3): Substitute.
19214 * configure: Regenerate.
19215 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19216 * config.make.in (have-as-vis3): New.
19217 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19218 available use -Av9d instead of -Av9a.
19219 * sysdeps/sparc/sparc64/Makefile: Likewise.
19220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
19221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19229 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19230 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19231 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19232 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19233 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19235 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19236 fzeros/fnegs to load 0x80000000 into a float register instead of
19238 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19240 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19242 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19244 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19245 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19246 ($(inst_includedir)/bits/syscall.h): Remove rule.
19247 ($(objpfx)bits/syscall.d): Include instead of
19248 $(objpfx)syscall-list.d.
19249 (generated): Change syscall-list.h and syscall-list.d to
19250 bits/syscall.h and bits/syscall.d.
19252 2012-03-14 Roland McGrath <roland@hack.frob.com>
19255 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19257 2012-03-14 Joseph Myers <joseph@codesourcery.com>
19260 * math/s_csqrt.c: Include <float.h>.
19261 (__csqrt): Scale large or subnormal inputs.
19262 * math/s_csqrtf.c: Likewise.
19263 * math/s_csqrtl.c: Likewise.
19264 * math/libm-test.inc (csqrt_test): Add more tests.
19265 * sysdeps/i386/fpu/libm-test-ulps: Update.
19266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19269 * math/libm-test.inc (hypot_test): Add more tests.
19271 2012-03-13 David S. Miller <davem@davemloft.net>
19274 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19275 double-precision for the calculation instead of scaling.
19277 2012-03-13 Joseph Myers <joseph@codesourcery.com>
19279 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19280 manipulate bits before adding and subtracting TWO52[sx].
19281 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19282 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19284 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19286 2012-03-13 David S. Miller <davem@davemloft.net>
19288 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19289 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19290 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19291 rtld-global-offsets.h
19292 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19294 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19297 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19299 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19300 'err' in the ifdef scope in which it is actually used.
19302 * nss/nss_db/db-init.c: Include string.h
19304 2012-03-12 David S. Miller <davem@davemloft.net>
19306 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19307 masking out of the most significant byte of random value used.
19308 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19309 Fix coding style in previous change.
19311 * sysdeps/unix/sysv/linux/kernel-features.h
19312 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19313 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19315 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19318 2012-03-11 David S. Miller <davem@davemloft.net>
19320 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19321 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19322 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19323 for 'resultvar' otherwise things get truncated on 64-bit.
19325 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19326 Fix masking out of the most significant byte of random value used.
19328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19330 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19334 2012-03-09 David S. Miller <davem@davemloft.net>
19336 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19337 variables with appropriate CPP guards.
19338 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19339 frame pointer, not the stack pointer. Correct layout comments. Fix test
19340 on resulting framesize and the management of the outregs buffer for pltexit.
19341 Preserve floating point return values across _dl_call_pltexit call.
19342 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19343 framesize and the management of the outregs buffer for pltexit.
19344 Preserve floating point return values across _dl_call_pltexit
19346 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19347 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19348 (print_exit): Fix format string for return register value.
19350 2012-03-10 Joseph Myers <joseph@codesourcery.com>
19352 * sunrpc/Makefile (others): Add rpcgen.
19353 ($(objpfx)rpcgen): Remove special build rule and dependency on
19355 * sunrpc/rpcgen.c: New file.
19357 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19360 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19361 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19362 * sysdeps/i386/crti.S: Likewise.
19363 * sysdeps/i386/crtn.S: Likewise.
19364 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19365 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19366 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19367 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19368 * sysdeps/sh/crti.S: Likewise.
19369 * sysdeps/sh/crtn.S: Likewise.
19370 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19373 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19375 * locale/programs/locfile-kw.gperf: Likewise.
19376 * locale/programs/charmap-kw.h: Regenerated.
19377 * locale/programs/locfile-kw.h: Likewise.
19380 * intl/plural.y: Replace FSF snail mail address with URL.
19381 * intl/plural.c: Regenerated.
19383 2012-03-09 Richard Henderson <rth@twiddle.net>
19385 * include/math_private.h: Remove file.
19386 * math/math_private.h: Move file ...
19387 * sysdeps/generic/math_private.h: ... here.
19389 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19390 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19391 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19393 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
19394 and <math_private.h>.
19395 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19396 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19397 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19398 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19399 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19400 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19401 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19402 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19403 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19404 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19405 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19406 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19407 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19408 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19409 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19410 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19411 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19412 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19413 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19414 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19415 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19416 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19417 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19421 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19422 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19424 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19425 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19426 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19427 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19428 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19429 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19430 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19431 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19432 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19433 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19434 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19435 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19436 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19437 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19438 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19439 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19440 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19441 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19442 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19443 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19444 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19445 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19446 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19447 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19448 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19449 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19450 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19451 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19452 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19453 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19454 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19455 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19456 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19457 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19458 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19459 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19460 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19461 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19462 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19463 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19464 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19465 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19466 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19467 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19468 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19469 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19470 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19471 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19472 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19473 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19474 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19475 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19476 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19477 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19478 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19479 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19480 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19481 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19482 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19483 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19484 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19485 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19486 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19487 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19488 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19489 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19490 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19491 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19492 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19493 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19494 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19495 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19496 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19497 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19498 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19499 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19500 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19501 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19502 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19503 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19504 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19505 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19506 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19507 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19508 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19509 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19510 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19511 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19512 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19513 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19514 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19515 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19516 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19517 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19518 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19519 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19520 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19521 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19522 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19523 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19524 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19525 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19526 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19527 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19528 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19529 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19530 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19531 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19532 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19533 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19534 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19535 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19536 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19537 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19538 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19539 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19540 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19541 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19542 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19543 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19544 * sysdeps/ieee754/k_standard.c: Likewise.
19545 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19546 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19547 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19548 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19549 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19550 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19551 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19552 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19553 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19554 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19555 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19558 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19559 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19560 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19561 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19562 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19563 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19564 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19565 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19566 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19567 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19568 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19569 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19570 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19571 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19572 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19573 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19574 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19575 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19576 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19577 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19578 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19579 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19580 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19581 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19582 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19583 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19584 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19585 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19586 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19587 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19588 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19589 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19590 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19591 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19592 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19593 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19594 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19595 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19596 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19597 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19598 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19599 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19600 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19601 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19602 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19603 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19604 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19605 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19606 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19607 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19608 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19609 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19610 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19611 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19612 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19613 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19614 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19615 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19616 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19617 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19618 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19619 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19620 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19621 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19622 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19623 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19624 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19625 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19626 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19627 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19628 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19629 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19630 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19631 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19632 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19633 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19634 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19635 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19636 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19637 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19638 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19639 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19640 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19641 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19642 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19643 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19644 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19645 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19646 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19647 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19648 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19649 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19650 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19651 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19652 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19653 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19654 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19655 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19656 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19657 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19658 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19659 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19660 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19661 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19662 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19663 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19664 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19665 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19666 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19667 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19668 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19669 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19670 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19671 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19672 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19673 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19674 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19675 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19676 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19677 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19678 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19679 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19680 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19681 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19682 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19683 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19684 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19685 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19686 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19687 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19688 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19689 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19690 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19691 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19692 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19693 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19694 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19695 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19696 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19697 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19698 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19699 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19700 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19701 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19702 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19703 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19704 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19705 * sysdeps/ieee754/s_lib_version.c: Likewise.
19706 * sysdeps/ieee754/s_matherr.c: Likewise.
19707 * sysdeps/ieee754/s_signgam.c: Likewise.
19708 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19709 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19710 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19711 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19712 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19713 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19714 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19715 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19716 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19717 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19718 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19719 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19720 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19721 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19722 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19723 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19724 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19725 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19726 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19727 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19728 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19730 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19732 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19733 * sunrpc/rpc_main.c: Likewise.
19734 * sunrpc/rpc_svcout.c: Likewise.
19736 2012-03-09 David S. Miller <davem@davemloft.net>
19738 * include/math_private.h: New file.
19740 2012-03-09 Joseph Myers <joseph@codesourcery.com>
19742 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19743 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19744 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19745 from <bits/socket_type.h>.
19746 (enum __socket_type): Don't define here.
19747 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19749 bits/socket_type.h.
19752 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19753 checking __USE_GNU.
19755 * Makerules ($(inst_includedir)/%.h): New rule.
19756 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19757 (install-others): Remove variable setting.
19758 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19760 2012-03-08 Richard Henderson <rth@twiddle.net>
19762 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19763 from macro to inline function; merge with the
19764 !__LIBC_INTERNAL_MATH_INLINES version.
19765 (__ieee754_sqrtf): Likewise.
19767 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19768 to inline function.
19769 (__rintf, __floor, __floorf): Likewise.
19771 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19772 macro to inline function.
19773 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19775 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19776 not <math/math_private.h>.
19778 2012-03-08 David S. Miller <davem@davemloft.net>
19780 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19782 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19784 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19786 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19788 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19789 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19791 2012-03-08 Ulrich Drepper <drepper@gmail.com>
19793 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19794 be defined individually, they must be defined as a block. Define
19795 S for printing a string instead of hidint the different by using a
19796 macro for adding the 'l'.
19797 * stdio-common/tst-fphex-wide.c: Adjust.
19799 2012-03-07 Marek Polacek <polacek@redhat.com>
19801 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19803 2012-03-08 Marek Polacek <polacek@redhat.com>
19806 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19807 * stdio-common/tst-fphex.c: Define a few macros to make the
19808 test reusable. Use them.
19809 * stdio-common/tst-fphex-wide.c: New file.
19811 2012-03-08 Joseph Myers <joseph@codesourcery.com>
19814 * manual/macros.texi (gnusystems): New macro.
19815 (nongnusystems): Likewise.
19816 (gnulinuxhurdsystems): Likewise.
19817 (gnuhurdsystems): Likewise..
19818 (gnulinuxsystems): Likewise.
19819 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19820 variants of the GNU system, not "GNU system".
19821 * manual/conf.texi: Likewise.
19822 * manual/errno.texi: Likewise. Update example of errno macro
19824 * manual/filesys.texi: Likewise.
19825 (getumask): Document as specific to GNU/Hurd.
19826 * manual/install.texi: Likewise. Reword some references to
19828 * manual/intro.texi: Likewise.
19829 * manual/io.texi: Likewise.
19830 (File Name Portability): Detail which constraints are inapplicable
19831 to all GNU systems and which are only inapplicable to GNU/Hurd.
19832 * manual/job.texi: Likewise.
19833 * manual/llio.texi: Likewise.
19834 (O_NOCTTY): Document as present on GNU/Linux.
19835 * manual/maint.texi: Likewise.
19836 * manual/memory.texi: Likewise.
19837 * manual/pattern.texi: Likewise.
19838 * manual/pipe.texi: Likewise.
19839 * manual/process.texi: Likewise.
19840 * manual/resource.texi: Likewise.
19841 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19843 * manual/setjmp.texi: Likewise.
19844 * manual/signal.texi: Likewise.
19845 * manual/startup.texi: Likewise.
19846 * manual/stdio.texi: Likewise.
19847 * manual/terminal.texi: Likewise.
19848 (ONLCR): Document as POSIX.
19849 (OXTABS): Document availability on GNU/Linux as XTABS.
19850 (ONOEOT): Document availability separately from other bits.
19851 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19852 * manual/time.texi: Likewise.
19853 * manual/users.texi: Likewise.
19854 * INSTALL: Regenerated.
19855 * sysdeps/gnu/errlist.c: Regenerated.
19857 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19858 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19859 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19861 * configure: Regenerated.
19863 2012-03-07 Joseph Myers <joseph@codesourcery.com>
19865 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19866 default includes instead of AC_HEADER_CHECK.
19867 * sysdeps/i386/configure: Regenerated.
19870 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19871 * math/s_cacoshf.c (__cacoshf): Likewise.
19872 * math/s_cacoshl.c (__cacoshl): Likewise.
19873 * math/s_casinh.c (__casinh): Set signs of result from argument.
19874 * math/s_casinhf.c (__casinhf): Likewise.
19875 * math/s_casinhl.c (__casinhl): Likewise.
19876 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19877 (casinh_test): Add more tests.
19878 * sysdeps/i386/fpu/libm-test-ulps: Update.
19879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19881 2012-03-07 Ulrich Drepper <drepper@gmail.com>
19883 * po/zh_TW.po: Update from translation team.
19885 * login/Makefile (distribute): Remove variable.
19886 * catgets/Makefile: Likewise.
19887 * mach/Makefile: Likewise.
19888 * malloc/Makefile: Likewise.
19889 * misc/Makefile: Likewise.
19890 * iconv/Makefile: Likewise.
19891 * nscd/Makefile: Likewise.
19892 * hurd/Makefile: Likewise.
19893 * manual/Makefile: Likewise.
19894 * locale/Makefile: Likewise.
19895 * intl/Makefile: Likewise.
19896 * conform/Makefile: Likewise.
19897 * nss/Makefile: Likewise.
19898 * time/Makefile: Likewise.
19899 * soft-fp/Makefile: Likewise.
19900 * dirent/Makefile: Likewise.
19901 * gmon/Makefile: Likewise.
19902 * po/Makefile: Likewise.
19903 * rt/Makefile: Likewise.
19904 * socket/Makefile: Likewise.
19905 * math/Makefile: Likewise.
19906 * signal/Makefile: Likewise.
19907 * debug/Makefile: Likewise.
19908 * elf/Makefile: Likewise.
19909 * timezone/Makefile: Likewise.
19910 * stdlib/Makefile: Likewise.
19911 * iconvdata/Makefile: Likewise.
19912 * sunrpc/Makefile: Likewise.
19913 * io/Makefile: Likewise.
19914 * argp/Makefile: Likewise.
19915 * inet/Makefile: Likewise.
19916 * hesiod/Makefile: Likewise.
19917 * grp/Makefile: Likewise.
19918 * csu/Makefile: Likewise.
19919 * wctype/Makefile: Likewise.
19920 * crypt/Makefile: Likewise.
19921 * libio/Makefile: Likewise.
19922 * string/Makefile: Likewise.
19923 * nis/Makefile: Likewise.
19924 * resolv/Makefile: Likewise.
19925 * stdio-common/Makefile: Likewise.
19926 * wcsmbs/Makefile: Likewise.
19927 * dlfcn/Makefile: Likewise.
19928 * posix/Makefile: Likewise.
19931 * timezone/Makefile: Don't install timezone files, just the programs
19934 2012-03-06 Ulrich Drepper <drepper@gmail.com>
19936 * nss/databases.def: Add missing gshadow entry.
19938 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19940 2012-03-06 Marek Polacek <polacek@redhat.com>
19943 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19944 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19945 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19946 * stdio-common/tst-long-dbl-fphex.c: New file.
19948 2012-03-06 David S. Miller <davem@davemloft.net>
19950 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19951 (set_obp_int): New function.
19952 (get_obp_int): New function.
19953 (__get_clockfreq_via_dev_openprom): Likewise.
19954 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19955 Avoid unused variable warnings on 'val' and use builtin_expect.
19956 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19958 (INLINE_CLONE_SYSCALL): Likewise.
19960 2012-03-05 David S. Miller <davem@davemloft.net>
19962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19964 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19968 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19969 only for |x| >= 40.
19970 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19972 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
19974 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19975 Replace gettimeofday with __vdso_gettimeofday.
19977 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19978 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19979 __vdso_clock_gettime and __vdso_getcpu.
19981 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19982 time with __vdso_time.
19984 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19986 * manual/lang.texi (size_t): Note types to which size_t may be
19987 equivalent with the GNU C Library, but do not describe when
19988 differences between them are significant.
19990 2012-03-05 Andreas Jaeger <aj@suse.de>
19992 * sysdeps/i386/fpu/libm-test-ulps: Update.
19994 2012-03-05 Joseph Myers <joseph@codesourcery.com>
19997 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19998 (__ieee754_pow): Save and restore rounding mode and use
19999 round-to-nearest for main computations.
20000 * math/libm-test.inc (pow_test_tonearest): New function.
20001 (pow_test_towardzero): Likewise.
20002 (pow_test_downward): Likewise.
20003 (pow_test_upward): Likewise.
20004 (main): Call the new functions.
20005 * sysdeps/i386/fpu/libm-test-ulps: Update.
20006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20009 * math/libm-test.inc (cosh_test_tonearest): New function.
20010 (cosh_test_towardzero): Likewise.
20011 (cosh_test_downward): Likewise.
20012 (cosh_test_upward): Likewise.
20013 (sinh_test_tonearest): Likewise.
20014 (sinh_test_towardzero): Likewise.
20015 (sinh_test_downward): Likewise.
20016 (sinh_test_upward): Likewise.
20017 (main): Call the new functions.
20018 * sysdeps/i386/fpu/libm-test-ulps: Update.
20019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20021 2012-03-05 Tom de Vries <tom@codesourcery.com>
20023 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
20024 default stack guard is set in last bytes.
20025 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
20027 2012-03-05 Kees Cook <keescook@chromium.org>
20029 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
20032 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
20033 possibly allocate from heap instead of stack.
20034 * stdio-common/bug-vfprintf-nargs.c: New file.
20035 * stdio-common/Makefile (tests): Add nargs overflow test.
20037 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
20039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20041 2012-03-03 Marek Polacek <polacek@redhat.com>
20043 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20044 * math/math_private.h: Likewise.
20045 * stdlib/tst-strtod.c: Likewise.
20046 * sysdeps/i386/i486/bits/atomic.h: Likewise.
20047 * sysdeps/x86_64/bits/atomic.h: Likewise.
20049 2012-03-02 David S. Miller <davem@davemloft.net>
20051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20055 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20056 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20057 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20058 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20060 2012-03-02 Roland McGrath <roland@hack.frob.com>
20063 * manual/examples/README: New file, says the example source files
20064 can be used under GPL>=2.
20065 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20066 line containing just "*/".
20067 * manual/examples/add.c: Add copyright header (GPL>=2).
20068 * manual/examples/argp-ex1.c: Likewise.
20069 * manual/examples/argp-ex2.c: Likewise.
20070 * manual/examples/argp-ex3.c: Likewise.
20071 * manual/examples/argp-ex4.c: Likewise.
20072 * manual/examples/atexit.c: Likewise.
20073 * manual/examples/db.c: Likewise.
20074 * manual/examples/dir.c: Likewise.
20075 * manual/examples/dir2.c: Likewise.
20076 * manual/examples/execinfo.c: Likewise.
20077 * manual/examples/filecli.c: Likewise.
20078 * manual/examples/filesrv.c: Likewise.
20079 * manual/examples/fmtmsgexpl.c: Likewise.
20080 * manual/examples/genpass.c: Likewise.
20081 * manual/examples/inetcli.c: Likewise.
20082 * manual/examples/inetsrv.c: Likewise.
20083 * manual/examples/isockad.c: Likewise.
20084 * manual/examples/longopt.c: Likewise.
20085 * manual/examples/memopen.c: Likewise.
20086 * manual/examples/memstrm.c: Likewise.
20087 * manual/examples/mkfsock.c: Likewise.
20088 * manual/examples/mkisock.c: Likewise.
20089 * manual/examples/mygetpass.c: Likewise.
20090 * manual/examples/pipe.c: Likewise.
20091 * manual/examples/popen.c: Likewise.
20092 * manual/examples/rprintf.c: Likewise.
20093 * manual/examples/search.c: Likewise.
20094 * manual/examples/select.c: Likewise.
20095 * manual/examples/setjmp.c: Likewise.
20096 * manual/examples/sigh1.c: Likewise.
20097 * manual/examples/sigusr.c: Likewise.
20098 * manual/examples/stpcpy.c: Likewise.
20099 * manual/examples/strdupa.c: Likewise.
20100 * manual/examples/strftim.c: Likewise.
20101 * manual/examples/strncat.c: Likewise.
20102 * manual/examples/subopt.c: Likewise.
20103 * manual/examples/swapcontext.c: Likewise.
20104 * manual/examples/termios.c: Likewise.
20105 * manual/examples/testopt.c: Likewise.
20106 * manual/examples/testpass.c: Likewise.
20107 * manual/examples/timeval_subtract.c: Likewise.
20110 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20112 * manual/timeval_subtract.c.texi: ... here, new file.
20114 2012-03-02 David S. Miller <davem@davemloft.net>
20116 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20118 2012-03-02 Joseph Myers <joseph@codesourcery.com>
20121 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20122 (__sin): Save and restore rounding mode and use round-to-nearest
20123 for all computations.
20124 (__cos): Save and restore rounding mode and use round-to-nearest
20125 for all computations.
20126 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20128 (tan): Save and restore rounding mode and use round-to-nearest for
20130 * math/libm-test.inc (cos_test_tonearest): New function.
20131 (cos_test_towardzero): Likewise.
20132 (cos_test_downward): Likewise.
20133 (cos_test_upward): Likewise.
20134 (sin_test_tonearest): Likewise.
20135 (sin_test_towardzero): Likewise.
20136 (sin_test_downward): Likewise.
20137 (sin_test_upward): Likewise.
20138 (tan_test_tonearest): Likewise.
20139 (tan_test_towardzero): Likewise.
20140 (tan_test_downward): Likewise.
20141 (tan_test_upward): Likewise.
20142 (main): Call the new functions.
20143 * sysdeps/i386/fpu/libm-test-ulps: Update.
20144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20147 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20148 small n, then large n, before computing and testing k+n.
20149 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20150 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20152 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20154 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20155 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20156 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20157 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20158 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20159 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20160 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20161 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20162 * math/libm-test.inc (scalbn_test): Add more tests.
20163 (scalbln_test): Likewise.
20165 * manual/filesys.texi (mode_t): Describe constraints on size and
20166 signedness, not exact equivalence to a particular type.
20168 (ino64_t): Likewise.
20170 (nlink_t): Likewise.
20171 (blkcnt_t): Likewise.
20172 (blkcnt64_t): Likewise.
20173 * manual/llio.texi (off_t): Likewise.
20176 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20177 (__ieee754_exp): Save and restore rounding mode and use
20178 round-to-nearest for all computations.
20179 * math/libm-test.inc (exp_test_tonearest): New function.
20180 (exp_test_towardzero): Likewise.
20181 (exp_test_downward): Likewise.
20182 (exp_test_upward): Likewise.
20183 (main): Call the new functions.
20184 * sysdeps/i386/fpu/libm-test-ulps: Update.
20185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20187 2012-03-01 Chris Demetriou <cgd@google.com>
20189 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20190 have predictable order.
20192 2012-03-01 David S. Miller <davem@davemloft.net>
20194 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20196 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20197 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20198 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20199 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20201 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20202 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20203 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20205 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20206 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20207 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20208 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20209 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20213 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20214 * sysdeps/sparc/fpu/libm-test-ulps: to here.
20215 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20217 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20218 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20219 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20220 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20221 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20222 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20223 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20224 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20225 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20226 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20227 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20228 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20229 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20230 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20231 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20232 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20233 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20234 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20235 * sysdeps/sparc/elf/configure: Regenerated.
20237 2012-03-01 Joseph Myers <joseph@codesourcery.com>
20239 * configure.in (AS, LD): Require binutils 2.20 or later.
20240 * configure: Regenerated.
20241 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20242 as required minimum version.
20243 * INSTALL: Regenerated.
20247 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20248 before squaring exponent.
20249 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20250 bottom long double and 27 bits of top long double before squaring
20252 * math/libm-test.inc (erfc_test): Add more tests.
20253 * sysdeps/i386/fpu/libm-test-ulps: Update.
20254 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20257 2012-03-01 Kai Tietz <ktietz@redhat.com>
20259 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20260 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20261 containing bit-fields.
20262 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20263 * soft-fp/single.h (_FP_UNION_S): Likewise.
20264 * soft-fp/double.h (_FP_UNION_D): Likewise.
20266 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20269 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20270 not include ../strcmp.S.
20271 [USE_AS_STRNCASECMP_L]: Likewise.
20272 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20273 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20274 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20275 (__strncasecmp_l_ia32): Define as alias to
20276 __strncasecmp_l_nonascii.
20279 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20280 * sysdeps/i386/fpu/libm-test-ulps: Update.
20281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20283 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20286 2012-02-29 Jeff Law <law@redhat.com>
20288 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20289 out of bounds read.
20291 2012-02-29 Marek Polacek <polacek@redhat.com>
20294 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20295 * elf/Makefile: Add rules to run tst-unused-dep.out.
20297 2012-02-28 David S. Miller <davem@davemloft.net>
20299 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20300 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20301 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20302 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20303 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20304 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20306 2012-02-29 Joseph Myers <joseph@codesourcery.com>
20308 * math/libm-test.inc (llround_test): Move one test from
20309 lround_test. Use TEST_f_L in moved test.
20310 (lround_test): Move misplaced test to llround_test. Add testcase
20313 2012-02-28 Ulrich Drepper <drepper@gmail.com>
20315 * sysdeps/x86_64/fpu/e_expf.S: New file.
20316 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20318 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20321 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20322 of remain_len that may cause incomplete multi-byte character and
20324 * posix/bug-regex33.c: New file.
20325 * posix/Makefile (tests): Add bug-regex33.
20327 2012-02-28 Joseph Myers <joseph@codesourcery.com>
20329 * manual/macros.texi: New file.
20330 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20331 * manual/libc.texinfo: Include macros.texi.
20332 * manual/creatute.texi: Likewise.
20333 * manual/install.texi: Likewise.
20334 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20335 @glibcadj{} in references to the GNU C Library.
20336 * manual/charset.texi: Likewise.
20337 * manual/conf.texi: Likewise.
20338 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20339 when not using those macros.
20340 * manual/creature.texi: Likewise.
20341 * manual/crypt.texi: Likewise.
20342 * manual/errno.texi: Likewise.
20343 * manual/filesys.texi: Likewise.
20344 * manual/header.texi: Likewise.
20345 * manual/install.texi: Likewise.
20346 * manual/intro.texi: Likewise.
20347 * manual/io.texi: Likewise.
20348 * manual/job.texi: Likewise.
20349 * manual/lang.texi: Likewise.
20350 * manual/libc.texiinfo: Likewise.
20351 * manual/llio.texi: Likewise.
20352 * manual/locale.texi: Likewise.
20353 * manual/maint.texi: Likewise.
20354 * manual/math.texi: Likewise.
20355 * manual/memory.texi: Likewise.
20356 * manual/message.texi: Likewise.
20357 * manual/nss.texi: Likewise.
20358 * manual/pattern.texi: Likewise.
20359 * manual/process.texi: Likewise.
20360 * manual/resource.texi: Likewise.
20361 * manual/search.texi: Likewise.
20362 * manual/setjmp.texi: Likewise.
20363 * manual/signal.texi: Likewise.
20364 * manual/socket.texi: Likewise.
20365 * manual/startup.texi: Likewise.
20366 * manual/stdio.texi: Likewise.
20367 * manual/string.texi: Likewise.
20368 * manual/sysinfo.texi: Likewise.
20369 * manual/syslog.texi: Likewise.
20370 * manual/terminal.texi: Likewise.
20371 * manual/time.texi: Likewise.
20372 * manual/users.texi: Likewise.
20373 * INSTALL: Regenerated.
20374 * NOTES: Regenerated.
20375 * sysdeps/gnu/errlist.c: Regenerated.
20377 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20379 * include/dirent.h: Include <dirstream.h> before
20382 2012-02-28 David S. Miller <davem@davemloft.net>
20384 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20385 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20386 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20387 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20389 2012-02-27 David S. Miller <davem@davemloft.net>
20391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20393 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20394 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20397 frame pointer instead of stack pointer relative arg slot.
20398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20399 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20400 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20402 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20405 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20407 2012-02-27 David S. Miller <davem@davemloft.net>
20409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20413 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20414 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20415 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20416 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20418 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20420 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20421 later. Allow versions 5-9.
20422 * configure: Regenerated.
20423 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20424 required minimum version and 4.6 as recommended version. Do not
20425 mention bugs in GCC 2.7 and 2.8.
20426 * INSTALL: Regenerated.
20428 2012-02-27 David S. Miller <davem@davemloft.net>
20430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20434 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20435 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20436 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20437 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20439 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20440 manipulate bits before adding and subtracting TWO112[sx].
20441 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20443 2012-02-27 Roland McGrath <roland@hack.frob.com>
20446 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20447 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20448 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20449 being in POSIX, because they are in 1003.1-2008.
20451 * rt/tst-aio.c: Include <fcntl.h>.
20452 * rt/tst-aio7.c: Likewise.
20453 * rt/tst-aio64.c: Likewise.
20455 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20457 2012-02-27 Joseph Myers <joseph@codesourcery.com>
20459 * manual/install.texi (--with-headers): Describe headers as
20460 interface headers, not private headers.
20461 (Specific advice for GNU/Linux systems): Describe use of headers
20462 from "make headers_install", not private headers from older
20464 * INSTALL: Regenerated.
20465 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20467 * sysdeps/unix/sysv/linux/configure: Regenerated.
20469 * manual/llio.texi (fclean): Remove documentation.
20471 * manual/Makefile (libc-texi-generated): New variable. Include
20473 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20474 $(libc-texi-generated), not duplicated list of files.
20475 (version.texi, stamp-version): New rules.
20476 (realclean): Remove $(libc-texi-generated), not individual files
20477 from that list. Do not remove dir-add.texinfo.
20478 * manual/libc.texinfo: Comment out uses of edition numbers and
20479 references to printed manual. Remove last-updated dates.
20480 (EDITION): Comment out.
20482 (VERSION, UPDATED): Remove.
20483 (version.texi): Include.
20485 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20487 * sysdeps/posix/spawni.c: Include <signal.h>.
20488 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20489 * sysdeps/pthread/aio_fsync.c: Likewise.
20491 2012-02-26 Ulrich Drepper <drepper@gmail.com>
20493 * conform/Makefile (tests): Run only when not cross-compiling and
20494 when fast-check is not defined.
20496 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20497 * conform/data/limits.h-data: Fixes for POSIX2008.
20498 * conform/run-conformtest.sh: Run all tests.
20499 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20501 * include/bits/dlfcn.h: Likewise.
20502 * include/langinfo.h: Likewise.
20503 * include/monetary.h: Likewise.
20504 * include/sys/poll.h: Likewise.
20506 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20508 * posix/spawn.h: Define __need_sigset_t.
20509 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20510 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20511 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20512 to get sigevent_t only.
20513 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20514 only for __USE_GNU.
20515 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20516 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20517 process_vm_writev only for __USE_GNU.
20518 * termios/termios.h: Declare tcgetsid also for POSIX2008.
20520 * conform/Makefile: For now ignore errors from run-conformtest.
20521 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20522 POSIX to avoid namespace pollution. Don't prepend headers.
20523 * conform/data/aio.h-data: Fixes for POSIX testing.
20524 * conform/data/fcntl.h-data: Likewise.
20525 * conform/data/glob.h-data: Likewise.
20526 * conform/data/grp.h-data: Likewise.
20527 * conform/data/pthread.h-data: Likewise.
20528 * conform/data/pwd.h-data: Likewise.
20529 * conform/data/signal.h-data: Likewise.
20530 * conform/data/spawn.h-data: Likewise.
20531 * conform/data/stdio.h-data: Likewise.
20532 * conform/data/stdlib.h-data: Likewise.
20533 * conform/data/stropts.h-data: Likewise.
20534 * conform/data/sys/mman.h-data: Likewise.
20535 * conform/data/sys/stat.h-data: Likewise.
20536 * conform/data/sys/types.h-data: Likewise.
20537 * conform/data/sys/wait.h-data: Likewise.
20538 * conform/data/time.h-data: Likewise.
20539 * conform/data/unistd.h-data: Likewise.
20540 * conform/data/utime.h-data: Likewise.
20542 * io/sys/stat.h: fchmod was always in POSIX.
20543 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20544 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20545 * rt/aio.h: Define __need_timespec before including <time.h>.
20546 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20547 struct. Add forward declaration of pthread_attr_t and use it in
20549 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20550 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20551 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20552 always remove CLK_TCK definition.
20554 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20556 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20558 2012-02-25 Ulrich Drepper <drepper@gmail.com>
20560 * conform/run-conformtest.sh: New file.
20561 * conform/Makefile: Run run-conformtest for tests.
20562 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20565 * conform/data/uchar.h-data: New file.
20566 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20567 * conform/data/arpa/inet.h-data: Likewise.
20568 * conform/data/assert.h-data: Likewise.
20569 * conform/data/complex.h-data: Likewise.
20570 * conform/data/cpio.h-data: Likewise.
20571 * conform/data/ctype.h-data: Likewise.
20572 * conform/data/dirent.h-data: Likewise.
20573 * conform/data/dlfcn.h-data: Likewise.
20574 * conform/data/errno.h-data: Likewise.
20575 * conform/data/fcntl.h-data: Likewise.
20576 * conform/data/float.h-data: Likewise.
20577 * conform/data/fmtmsg.h-data: Likewise.
20578 * conform/data/fnmatch.h-data: Likewise.
20579 * conform/data/ftw.h-data: Likewise.
20580 * conform/data/glob.h-data: Likewise.
20581 * conform/data/grp.h-data: Likewise.
20582 * conform/data/iconv.h-data: Likewise.
20583 * conform/data/inttypes.h-data: Likewise.
20584 * conform/data/langinfo.h-data: Likewise.
20585 * conform/data/libgen.h-data: Likewise.
20586 * conform/data/limits.h-data: Likewise.
20587 * conform/data/locale.h-data: Likewise.
20588 * conform/data/math.h-data: Likewise.
20589 * conform/data/monetary.h-data: Likewise.
20590 * conform/data/mqueue.h-data: Likewise.
20591 * conform/data/ndbm.h-data: Likewise.
20592 * conform/data/net/if.h-data: Likewise.
20593 * conform/data/netdb.h-data: Likewise.
20594 * conform/data/netinet/in.h-data: Likewise.
20595 * conform/data/nl_types.h-data: Likewise.
20596 * conform/data/poll.h-data: Likewise.
20597 * conform/data/pthread.h-data: Likewise.
20598 * conform/data/pwd.h-data: Likewise.
20599 * conform/data/regex.h-data: Likewise.
20600 * conform/data/sched.h-data: Likewise.
20601 * conform/data/search.h-data: Likewise.
20602 * conform/data/semaphore.h-data: Likewise.
20603 * conform/data/setjmp.h-data: Likewise.
20604 * conform/data/signal.h-data: Likewise.
20605 * conform/data/spawn.h-data: Likewise.
20606 * conform/data/stdarg.h-data: Likewise.
20607 * conform/data/stdio.h-data: Likewise.
20608 * conform/data/stdlib.h-data: Likewise.
20609 * conform/data/string.h-data: Likewise.
20610 * conform/data/strings.h-data: Likewise.
20611 * conform/data/stropts.h-data: Likewise.
20612 * conform/data/sys/ipc.h-data: Likewise.
20613 * conform/data/sys/mman.h-data: Likewise.
20614 * conform/data/sys/msg.h-data: Likewise.
20615 * conform/data/sys/resource.h-data: Likewise.
20616 * conform/data/sys/select.h-data: Likewise.
20617 * conform/data/sys/sem.h-data: Likewise.
20618 * conform/data/sys/shm.h-data: Likewise.
20619 * conform/data/sys/socket.h-data: Likewise.
20620 * conform/data/sys/stat.h-data: Likewise.
20621 * conform/data/sys/statvfs.h-data: Likewise.
20622 * conform/data/sys/time.h-data: Likewise.
20623 * conform/data/sys/timeb.h-data: Likewise.
20624 * conform/data/sys/times.h-data: Likewise.
20625 * conform/data/sys/types.h-data: Likewise.
20626 * conform/data/sys/uio.h-data: Likewise.
20627 * conform/data/sys/un.h-data: Likewise.
20628 * conform/data/sys/utsname.h-data: Likewise.
20629 * conform/data/sys/wait.h-data: Likewise.
20630 * conform/data/syslog.h-data: Likewise.
20631 * conform/data/tar.h-data: Likewise.
20632 * conform/data/termios.h-data: Likewise.
20633 * conform/data/utime.h-data: Likewise.
20634 * conform/data/utmpx.h-data: Likewise.
20635 * conform/data/varargs.h-data: Likewise.
20636 * conform/data/wchar.h-data: Likewise.
20637 * conform/data/wctype.h-data: Likewise.
20638 * conform/data/wordexp.h-data: Likewise.
20640 * include/stropts.h: New file.
20641 * include/uchar.h: New file.
20642 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20643 * include/assert.h: Likewise.
20644 * include/ctype.h: Likewise.
20645 * include/dirent.h: Likewise.
20646 * include/dlfcn.h: Likewise.
20647 * include/fcntl.h: Likewise.
20648 * include/fnmatch.h: Likewise.
20649 * include/glob.h: Likewise.
20650 * include/grp.h: Likewise.
20651 * include/libio.h: Likewise.
20652 * include/locale.h: Likewise.
20653 * include/math.h: Likewise.
20654 * include/net/if.h: Likewise.
20655 * include/netdb.h: Likewise.
20656 * include/netinet/in.h: Likewise.
20657 * include/pthread.h: Likewise.
20658 * include/pwd.h: Likewise.
20659 * include/regex.h: Likewise.
20660 * include/sched.h: Likewise.
20661 * include/search.h: Likewise.
20662 * include/setjmp.h: Likewise.
20663 * include/signal.h: Likewise.
20664 * include/stdio.h: Likewise.
20665 * include/stdlib.h: Likewise.
20666 * include/string.h: Likewise.
20667 * include/sys/cdefs.h: Likewise.
20668 * include/sys/mman.h: Likewise.
20669 * include/sys/msg.h: Likewise.
20670 * include/sys/resource.h: Likewise.
20671 * include/sys/select.h: Likewise.
20672 * include/sys/socket.h: Likewise.
20673 * include/sys/stat.h: Likewise.
20674 * include/sys/statvfs.h: Likewise.
20675 * include/sys/time.h: Likewise.
20676 * include/sys/times.h: Likewise.
20677 * include/sys/uio.h: Likewise.
20678 * include/sys/utsname.h: Likewise.
20679 * include/sys/wait.h: Likewise.
20680 * include/termios.h: Likewise.
20681 * include/time.h: Likewise.
20682 * include/ulimit.h: Likewise.
20683 * include/unistd.h: Likewise.
20684 * include/utime.h: Likewise.
20685 * include/wchar.h: Likewise.
20686 * include/wctype.h: Likewise.
20687 * include/wordexp.h: Likewise.
20689 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20691 * time/time.h: TIME_UTC must be a macro.
20692 Make timespec_get available for ISO C11 only as well.
20694 2012-02-24 Ulrich Drepper <drepper@gmail.com>
20696 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20697 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20699 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20701 * configure.in: Use -o not -a in test for unsupported multi-arch.
20703 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20705 * manual/texinfo.tex: Update to version 2012-01-19.16.
20707 2012-02-24 Joseph Myers <joseph@codesourcery.com>
20709 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20711 2012-02-24 Roland McGrath <roland@hack.frob.com>
20714 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20715 * manual/fdl-1.3.texi: New file.
20716 * manual/fdl-1.1.texi: File removed.
20719 * manual/libc.texinfo (FDL_VERSION): New @set.
20720 Use it for mention of FDL in cover text.
20721 (Documentation License): Use it in @include file name.
20723 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20724 Roland McGrath <roland@hack.frob.com>
20727 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20728 not LONG_LONG_MAX and LONG_LONG_MIN.
20729 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20730 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20732 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20734 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20738 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20739 manipulate bits before adding and subtracting TWO23[sx].
20740 * math/libm-test.inc (nearbyint_test): Add more tests.
20742 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20745 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20746 bits before adding and subtracting TWO23[sx].
20747 * math/libm-test.inc (rint_test): Add more tests.
20748 (rint_test_tonearest): Likewise.
20749 (rint_test_towardzero): Likewise.
20750 (rint_test_downward): Likewise.
20751 (rint_test_upward: Likewise.
20753 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20756 * include/stdc-predef.h: New file. Extracted from features.h.
20757 * include/features.h: Include stdc-predef.h.
20758 * Makefile (headers): Add stdc-predef.h.
20759 * CONFORMANCE (Compiler limitations): Update.
20761 2012-02-22 Joseph Myers <joseph@codesourcery.com>
20763 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20765 2012-02-21 David S. Miller <davem@davemloft.net>
20767 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20768 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20770 2012-02-20 David S. Miller <davem@davemloft.net>
20772 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20773 using a normal save/restore sequence, rather than allocating a
20774 dummy stack frame just to store a frame pointer and restore.
20775 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20777 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20779 * manual/install.texi: Fix stray word in line-wrapped comment.
20781 2012-02-20 David S. Miller <davem@davemloft.net>
20783 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20784 both binutils and gcc support GOTDATA.
20786 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20787 "rd %pc" in the PIC register setup sequences.
20789 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20790 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20791 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20792 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20793 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20794 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20795 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20796 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20797 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20798 (SYSCALL_ERROR_HANDLER): Likewise.
20799 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20800 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20801 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20802 (SYSCALL_ERROR_HANDLER): Likewise.
20804 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20805 (HAVE_GCC_GOTDATA): New.
20806 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20807 relocation support in both binutils and gcc.
20808 * sysdeps/sparc/elf/configure: Regenerate.
20810 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20811 * sysdeps/sparc/sparc32/elf/configure: Delete.
20812 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20813 * sysdeps/sparc/sparc64/elf/configure: Delete.
20814 * sysdeps/sparc/elf/configure.in: New file.
20815 * sysdeps/sparc/elf/configure: Generate.
20817 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20818 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20819 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20820 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20821 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20823 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20825 * manual/install.texi: Do not mention specific glibc version
20827 * manual/libc.texinfo (VERSION, UPDATED): Update.
20828 (@copying): Use @copyright{} and range of years.
20830 2012-02-21 Joseph Myers <joseph@codesourcery.com>
20833 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20834 [crti.S not in sysdirs] (generated): Do not append.
20835 [crti.S not in sysdirs] (omit-deps): Likewise.
20836 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20837 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20838 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20839 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20840 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20842 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20843 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20844 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20845 * csu/defs.awk: Remove file.
20846 * sysdeps/generic/initfini.c: Likewise.
20847 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20849 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20852 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20854 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20855 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20856 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20857 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20858 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20859 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20861 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20862 (__EPOLL_PACKED): Define to empty if not defined by
20864 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20868 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20870 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20871 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20872 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20873 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20875 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20879 2012-02-20 Joseph Myers <joseph@codesourcery.com>
20881 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20883 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20884 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20885 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20888 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20890 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20891 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20893 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20895 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20896 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20898 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20900 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20903 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20905 * math/w_acos.c: Use non-signaling floating-point comparisons.
20906 * math/w_acosf.c: Likewise.
20907 * math/w_acosh.c: Likewise.
20908 * math/w_acoshf.c: Likewise.
20909 * math/w_acoshl.c: Likewise.
20910 * math/w_acosl.c: Likewise.
20911 * math/w_asin.c: Likewise.
20912 * math/w_asinf.c: Likewise.
20913 * math/w_asinl.c: Likewise.
20914 * math/w_atanh.c: Likewise.
20915 * math/w_atanhf.c: Likewise.
20916 * math/w_atanhl.c: Likewise.
20917 * math/w_exp2.c: Likewise.
20918 * math/w_exp2f.c: Likewise.
20919 * math/w_exp2l.c: Likewise.
20920 * math/w_j0.c: Likewise.
20921 * math/w_j0f.c: Likewise.
20922 * math/w_j0l.c: Likewise.
20923 * math/w_j1.c: Likewise.
20924 * math/w_j1f.c: Likewise.
20925 * math/w_j1l.c: Likewise.
20926 * math/w_jn.c: Likewise.
20927 * math/w_jnf.c: Likewise.
20928 * math/w_log.c: Likewise.
20929 * math/w_log10.c: Likewise.
20930 * math/w_log10f.c: Likewise.
20931 * math/w_log10l.c: Likewise.
20932 * math/w_log2.c: Likewise.
20933 * math/w_log2f.c: Likewise.
20934 * math/w_log2l.c: Likewise.
20935 * math/w_logf.c: Likewise.
20936 * math/w_logl.c: Likewise.
20937 * math/w_sqrt.c: Likewise.
20938 * math/w_sqrtf.c: Likewise.
20939 * math/w_sqrtl.c: Likewise.
20940 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20941 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20942 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20943 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20944 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20946 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20949 * manual/string.texi (strnlen): Use correct parameter name in
20950 equivalent expression.
20952 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20955 * manual/users.texi (seteuid): Consistently use neweuid for
20958 2012-02-19 Joseph Myers <joseph@codesourcery.com>
20961 * manual/nss.texi (Services in the NSS configuration): Correct
20962 list of services in example configuration file.
20964 2012-02-19 Nick Bowler <nbowler@draconx.ca>
20967 * manual/arith.texi: Remove statements about negative zero
20968 behaving identically to zero.
20970 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20973 * manual/install.texi: Do not document upgrading from libc5.
20975 2012-02-18 Joseph Myers <joseph@codesourcery.com>
20978 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20980 2012-02-18 David S. Miller <davem@davemloft.net>
20982 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20983 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20984 %o7 across the call.
20985 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20987 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20988 SETUP_PIC_REG_LEAF.
20989 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20990 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20991 * sysdeps/sparc/crtn.S: Likewise.
20993 2012-02-17 Ulrich Drepper <drepper@gmail.com>
20995 * aout/Makefile: Remove.
20997 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
21000 * manual/examples/argp-ex1.c (main): Format definition in GNU
21002 * manual/examples/argp-ex2.c (main): Likewise.
21003 * manual/examples/argp-ex3.c (main): Likewise.
21004 * manual/examples/argp-ex4.c (main): Likewise.
21005 * manual/examples/longopt.c (main): Use new-style prototype
21007 * manual/examples/strncat.c (main): Specify return type and use
21008 (void) for arguments.
21009 * manual/examples/subopt.c (main): Use char **argv argument.
21011 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21014 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
21017 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
21020 * manual/string.texi (strchr): Change when strchrnul is
21023 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
21026 * manual/locale.texi (setlocale): Document LOCPATH.
21028 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21031 * manual/process.texi (execle): Move @dots{} before last argument.
21033 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
21036 * manual/charset.texi (Generic Charset Conversion): Fix typo
21037 (LC_TYPE -> LC_CTYPE).
21039 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
21042 * manual/arith.texi (scalbn): Use @var{} on parameter names.
21043 (scalbnf): Likewise.
21044 (scalbnl): Likewise.
21045 (scalbln): Likewise.
21046 (scalblnf): Likewise.
21047 (scalblnl): Likewise.
21048 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21049 (vwarnx): Likewise.
21052 * manual/filesys.texi (telldir): Use braces around return type.
21053 * manual/llio.texi (mmap): Add space after comma.
21054 (mmap64): Likewise.
21055 * manual/math.texi (jn): Use @var{} on parameter names.
21061 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21063 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21065 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21066 (sched_get_priority_max): Likewise.
21067 * manual/signal.texi (sigvec): Add space after comma.
21068 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21070 (if_indextoname): Likewise.
21071 (if_freenameindex): Likewise.
21072 (sendto): Use ',' instead of '.' in prototype.
21073 * manual/startup.texi (syscall): Use @dots{} instead of literal
21075 * manual/stdio.texi (__fpending): Separate initial words of
21076 paragraph from @deftypefun line.
21077 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21079 (vsyslog): Use @var{} on parameter names.
21080 * manual/terminal.texi (stty): Use @var{} on parameter names.
21081 * manual/users.texi (getutmp): Use @var{} on parameter names.
21082 (getutmpx): Likewise.
21084 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21087 * manual/stdio.texi (fopen): Fix typos in description of
21090 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21093 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21094 get clock_id definition.
21096 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
21099 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21100 (madvise): Cast every argument to void on its own.
21102 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21105 * manual/startup.texi (Exit Status): Fix typo.
21107 2012-02-17 Joseph Myers <joseph@codesourcery.com>
21110 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21111 * manual/examples/argp-ex2.c: Likewise.
21112 * manual/examples/argp-ex3.c: Likewise.
21114 2012-02-16 Richard Henderson <rth@redhat.com>
21116 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21117 * sysdeps/s390/s390-32/initfini.c: Remove.
21118 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21119 * sysdeps/s390/s390-64/initfini.c: Remove.
21121 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21123 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21124 compiler output for sysdeps/generic/initfini.c.
21125 * sysdeps/sh/elf/initfini.c: Remove file.
21127 2012-02-16 David S. Miller <davem@davemloft.net>
21130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21132 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21133 * sysdeps/sparc/crti.S: New file.
21134 * sysdeps/sparc/crtn.S: New file.
21135 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21136 * sysdeps/sparc/sparc64/Makefile: Likewise.
21138 2012-02-15 Mike Frysinger <vapier@gentoo.org>
21141 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21143 2012-02-15 Roland McGrath <roland@hack.frob.com>
21146 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21148 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21149 (write, read, close): Likewise.
21150 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21152 2012-02-15 Joseph Myers <joseph@codesourcery.com>
21154 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21155 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21156 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21157 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21159 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21163 2012-02-14 Marek Polacek <polacek@redhat.com>
21165 * sysdeps/x86_64/crti.S: New file.
21166 * sysdeps/x86_64/crtn.S: New file.
21167 * sysdeps/x86_64/elf/initfini.c: Remove file.
21169 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21171 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21172 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21173 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21174 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21176 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21177 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21180 2012-02-13 Joseph Myers <joseph@codesourcery.com>
21182 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21183 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21184 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21185 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21187 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21188 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21191 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21193 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21194 __feraiseexcept instead of feraiseexcept.
21196 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21197 nanosleep invocations.
21198 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21199 strings, and add error checking for a nanosleep invocations.
21201 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21203 Replace FSF snail mail address with URLs, as per GNU coding standards.
21204 Most of the snail mail addresses were wrong anyway, and omitting
21205 them makes the source code easier to maintain. Almost all of the
21206 changes are to license notices and to locale LC_IDENTIFICATION
21207 addresses, except for this one:
21208 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21209 not its snail mail address.
21211 2012-02-09 Richard Henderson <rth@twiddle.net>
21213 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21214 of kernel-features.h.
21216 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21218 2012-02-08 Marek Polacek <polacek@redhat.com>
21220 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21221 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21222 * sysdeps/gnu/_G_config.h: Likewise.
21223 * sysdeps/generic/_G_config.h: Likewise.
21225 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
21227 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21231 * sysdeps/powerpc/powerpc32/crti.S: New file.
21232 * sysdeps/powerpc/powerpc32/crtn.S: New file.
21233 * sysdeps/powerpc/powerpc64/crti.S: New file.
21234 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21236 * Makeconfig (have-initfini): Don't set.
21237 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21238 * configure.in (nopic_initfini): Don't substitute.
21239 * config.h.in (HAVE_INITFINI): Don't #undef.
21240 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21241 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21243 2012-02-08 Joseph Myers <joseph@codesourcery.com>
21245 Support crti.S and crtn.S provided directly by architectures.
21246 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21247 [crti.S in sysdirs] (omit-deps): Likewise.
21248 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21249 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21250 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21251 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21252 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21253 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21254 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21255 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21256 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21257 compiler output for sysdeps/generic/initfini.c.
21258 * sysdeps/i386/elf/Makefile: Remove file.
21259 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21261 2012-02-07 Marek Polacek <polacek@redhat.com>
21263 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21264 * sysdeps/gnu/_G_config.h: Likewise.
21265 * sysdeps/mach/hurd/_G_config.h: Likewise.
21267 2012-02-07 Marek Polacek <polacek@redhat.com>
21269 * math/Makefile (tests): Add tst-CMPLX2.
21270 * math/tst-CMPLX2.c: New file.
21272 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21274 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21276 * math/libm-test.inc (jn_test): Add missing L suffix.
21278 2012-02-06 Marek Polacek <polacek@redhat.com>
21280 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21281 * sysdeps/i386/fpu/e_powf.S: Likewise.
21282 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21283 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21284 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21285 * sysdeps/i386/fpu/e_pow.S: Likewise.
21286 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21287 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21288 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21289 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21290 * sysdeps/i386/fpu/e_log2.S: Likewise.
21291 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21292 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21293 * sysdeps/i386/fpu/e_powl.S: Likewise.
21294 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21295 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21296 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21297 * sysdeps/i386/fpu/e_logl.S: Likewise.
21298 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21299 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21300 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21301 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21302 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21303 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21304 * sysdeps/i386/fpu/e_log.S: Likewise.
21305 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21306 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21307 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21308 * sysdeps/i386/fpu/e_logf.S: Likewise.
21309 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21310 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21311 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21312 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21313 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21314 * sysdeps/i386/fpu/e_log10.S: Likewise.
21315 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21316 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21317 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21318 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21319 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21320 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21321 * sysdeps/i386/asm-syntax.h: Likewise.
21322 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21323 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21324 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21325 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21326 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21327 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21328 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21329 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21330 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21331 * sysdeps/powerpc/sysdep.h: Likewise.
21332 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21333 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21335 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21338 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21340 2012-02-06 Joseph Myers <joseph@codesourcery.com>
21342 * sysdeps/i386/sysdep.h: Include <features.h>.
21343 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21346 2012-02-05 Joseph Myers <joseph@codesourcery.com>
21348 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21350 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21353 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21355 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21356 (SETUP_PIC_REG): Use GET_PC_THUNK.
21357 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21360 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21362 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21363 for non-PIC compilation.
21364 (SETUP_PIC_REG): Add .p2align directive.
21365 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21366 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21367 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21368 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21369 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21370 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21371 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21372 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21373 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21374 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21375 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21376 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21377 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21378 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21379 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21380 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21381 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21382 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21383 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21384 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21385 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21386 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21387 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21388 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21389 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21390 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21391 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21392 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21393 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21394 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21395 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21396 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21397 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21398 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21399 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21400 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21401 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21402 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21403 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21404 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21405 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21407 2012-02-03 Joseph Myers <joseph@codesourcery.com>
21409 * math/tst-CMPLX.c: Include <stdio.h>.
21411 2012-01-31 Joseph Myers <joseph@codesourcery.com>
21413 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21415 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21416 * sysdeps/sparc/bits/mathdef.h: Likewise.
21418 2012-01-31 Marek Polacek <polacek@redhat.com>
21420 * libio/libio.h: Don't define _PARAMS.
21421 * locale/programs/config.h: Don't define PARAMS.
21422 * stdlib/strtol_l.c: Likewise.
21423 (__strtol_l): Remove PARAMS from the prototype.
21425 2012-01-31 Ulrich Drepper <drepper@gmail.com>
21427 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21428 names. Just use the correct names. Remove unnecessary wrapper
21430 * malloc/arena.c: Likewise.
21431 * malloc/hooks.c: Likewise.
21433 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21434 ARENA_TEST says not to. Simplify test for creation of a new arena.
21435 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21437 2012-01-30 Ulrich Drepper <drepper@gmail.com>
21439 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21441 (update_get_addr): New function.
21442 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21443 GET_ADDR_MODULE parameter.
21445 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21447 * crypt/cert.c: Remove __STDC__ conditionals.
21448 * crypt/crypt-entry.c: Likewise.
21449 * crypt/crypt_util.c: Likewise.
21450 * libio/filedoalloc.c: Likewise.
21451 * libio/fileops.c: Likewise.
21452 * libio/genops.c: Likewise.
21453 * libio/iofclose.c: Likewise.
21454 * libio/iofdopen.c: Likewise.
21455 * libio/iofopen.c: Likewise.
21456 * libio/iofopen64.c: Likewise.
21457 * libio/iogetdelim.c: Likewise.
21458 * libio/iopopen.c: Likewise.
21459 * libio/obprintf.c: Likewise.
21460 * libio/oldfileops.c: Likewise.
21461 * libio/oldiofclose.c: Likewise.
21462 * libio/oldiofdopen.c: Likewise.
21463 * libio/oldiofopen.c: Likewise.
21464 * libio/oldiopopen.c: Likewise.
21465 * libio/wfiledoalloc.c: Likewise.
21466 * libio/wgenops.c: Likewise.
21467 * locale/programs/xmalloc.c: Likewise.
21468 * misc/syslog.c: Likewise.
21469 * stdio-common/xbug.c: Likewise.
21470 * string/memchr.c: Likewise.
21471 * string/memcmp.c: Likewise.
21472 * string/memrchr.c: Likewise.
21473 * string/rawmemchr.c: Likewise.
21474 * sysdeps/posix/getcwd.c: Likewise.
21475 * time/strftime_l.c: Likewise.
21477 2012-01-30 Joseph Myers <joseph@codesourcery.com>
21479 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
21480 * config.make.in (config-cflags-sse2avx): Define.
21481 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21484 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21486 * scripts/config.guess: Update from upstream config git repository.
21487 * scripts/config.sub: Likewise.
21489 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21491 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21493 (R_TILEPRO_*, R_TILEGX_*): New macros.
21495 * scripts/firstversions.awk: Fix bug in version range handling.
21497 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21499 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21501 * include/sys/epoll.h: New file.
21502 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21505 2012-01-28 Ulrich Drepper <drepper@gmail.com>
21507 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21508 Avoid unnecessary __WORDSIZE == 64 test.
21509 (fmaxf): Use VEX format if possible.
21514 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21515 * math/math_private.h: Remove libc_fegetround* and
21517 * sysdeps/i386/configure.in: Check for -msse2avx.
21518 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21519 also if SSE2AVX is defined.
21520 Remove libc_fegetround* and libc_fesetround*.
21521 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21522 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21523 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21525 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21526 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21527 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21528 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21529 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21531 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21533 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21535 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21537 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21539 2012-01-27 Ulrich Drepper <drepper@gmail.com>
21542 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21544 * Makeconfig (libm): Define.
21545 * elf/Makefile: Add rules to build and run tst-relsort1.
21546 * elf/tst-relsort1.c: New file.
21547 * elf/tst-relsort1mod1.c: New file.
21548 * elf/tst-relsort1mod2.c: New file.
21550 2012-01-27 Joseph Myers <joseph@codesourcery.com>
21552 * math/s_ldexp.c: Remove __STDC__ conditionals.
21553 * math/s_ldexpf.c: Likewise.
21554 * math/s_ldexpl.c: Likewise.
21555 * math/s_nextafter.c: Likewise.
21556 * math/s_nexttowardf.c: Likewise.
21557 * math/s_significand.c: Likewise.
21558 * math/s_significandf.c: Likewise.
21559 * math/s_significandl.c: Likewise.
21560 * math/w_jnl.c: Likewise.
21561 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21562 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21563 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21564 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21565 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21566 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21567 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21568 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21569 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21570 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21571 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21572 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21573 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21574 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21575 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21576 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21577 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21578 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21579 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21580 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21581 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21582 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21583 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21584 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21585 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21586 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21587 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21588 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21589 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21590 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21591 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21592 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21593 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21594 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21595 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21596 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21597 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21598 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21599 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21600 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21601 * sysdeps/ieee754/k_standard.c: Likewise.
21602 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21603 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21604 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21605 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21606 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21607 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21608 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21609 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21610 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21611 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21612 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21613 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21614 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21615 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21616 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21617 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21618 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21619 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21620 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21621 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21622 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21623 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21624 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21625 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21626 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21627 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21628 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21629 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21630 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21631 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21632 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21633 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21634 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21635 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21636 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21637 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21638 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21639 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21640 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21641 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21642 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21643 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21644 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21645 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21646 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21647 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21648 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21649 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21650 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21651 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21652 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21653 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21654 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21655 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21656 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21657 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21658 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21659 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21660 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21661 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21662 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21663 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21664 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21665 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21666 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21667 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21668 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21669 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21670 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21671 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21672 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21673 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21674 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21675 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21676 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21677 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21678 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21679 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21680 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21681 * sysdeps/ieee754/s_matherr.c: Likewise.
21682 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21683 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21684 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21685 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21687 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21689 * crypt/md5.h: Remove __STDC__ conditionals.
21690 * libio/libioP.h: Likewise.
21691 * locale/programs/config.h: Likewise.
21692 * sysdeps/generic/sysdep.h: Likewise.
21693 * sysdeps/i386/asm-syntax.h: Likewise.
21694 * sysdeps/s390/asm-syntax.h: Likewise.
21695 * sysdeps/unix/sysdep.h: Likewise.
21696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21699 2012-01-26 Joseph Myers <joseph@codesourcery.com>
21701 * libio/libio.h: Remove __STDC__ conditionals.
21702 * malloc/obstack.h: Likewise.
21703 * math/complex.h: Likewise.
21704 * math/math.h: Likewise.
21705 * sysdeps/generic/_G_config.h: Likewise.
21706 * sysdeps/gnu/_G_config.h: Likewise.
21707 * sysdeps/mach/hurd/_G_config.h: Likewise.
21708 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21709 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21710 * sysdeps/sparc/bits/mathdef.h: Likewise.
21712 2012-01-26 Ulrich Drepper <drepper@gmail.com>
21715 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
21716 Clean up HAS_* macros.
21717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
21718 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21720 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21722 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21723 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21724 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21725 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21726 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21728 2012-01-25 Joseph Myers <joseph@codesourcery.com>
21730 * elf/tst-unique3.cc (gets): Remove declaration.
21731 * elf/tst-unique3lib.cc (gets): Likewise.
21732 * elf/tst-unique3lib2.cc (gets): Likewise.
21733 * elf/tst-unique4.cc (gets): Likewise.
21735 2012-01-24 Ulrich Drepper <drepper@gmail.com>
21737 * include/stdio.h: Add C++ protection. Add gets declarations and
21739 * debug/tst-chk1.c: Don't declare gets here.
21740 * stdio-common/tst-gets.c: Likewise.
21742 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21744 * posix/glob: Remove directory.
21746 2012-01-24 Joseph Myers <joseph@codesourcery.com>
21748 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21750 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21752 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21753 of the non-standard EPFNOSUPPORT.
21755 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21757 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21758 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21759 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21761 2012-01-21 Ulrich Drepper <drepper@gmail.com>
21763 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21765 2012-01-20 Ulrich Drepper <drepper@gmail.com>
21767 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21769 * nscd/grpcache.c (cache_addgr): Likewise.
21770 * nscd/hstcache.c (cache_addhst): Likewise.
21771 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21772 * nscd/pwdcache.c (cache_addpw): Likewise.
21773 * nscd/servicescache.c (cache_addserv): Likewise.
21775 2012-01-16 Ulrich Drepper <drepper@gmail.com>
21777 * malloc/malloc.c: Various cleanups.
21778 * malloc/hooks.c: Likewise.
21780 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21781 * stdlib/bug-fmtmsg1.c: New file.
21783 * stdlib/fmtmsg.c (init): Add missing unlock.
21784 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21786 2012-01-12 Marek Polacek <polacek@redhat.com>
21788 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21791 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21793 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21794 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21795 macro to ensure uniqueness of label name.
21796 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21797 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21799 2012-01-11 Ulrich Drepper <drepper@gmail.com>
21801 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21803 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21804 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21805 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21806 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21808 2012-01-10 Ulrich Drepper <drepper@gmail.com>
21810 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21812 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21813 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21814 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21816 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21818 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
21819 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21820 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21821 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
21823 * math/bits/math-finite.h: Add ldexp support.
21825 2012-01-10 Marek Polacek <polacek@redhat.com>
21827 * locale/programs/localedef.h (show_archive_content): Add noreturn
21830 2012-01-09 Ulrich Drepper <drepper@gmail.com>
21832 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21834 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21836 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21838 * io/Makefile (headers): Add bits/poll2.h.
21840 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21843 typo #include statement.
21845 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21847 * include/sys/cdefs.h: Define __attribute_alloc_size.
21848 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21849 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21850 * elf/pldd.c: Likewise.
21851 * iconv/iconv_charmap.c: Likewise.
21852 * iconv/iconvconfig.c: Likewise.
21853 * iconv/strtab.c: Likewise.
21854 * locale/programs/locale.c: Likewise.
21855 * locale/programs/localedef.h: Likewise.
21856 * locale/programs/simple-hash.c: Likewise.
21857 * nscd/nscd.h: Likewise.
21858 * nss/makedb.c: Likewise.
21859 * sysdeps/generic/ldconfig.h: Likewise.
21860 * locale/programs/localedef.c: Remove xmalloc prototype.
21861 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21863 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21865 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21868 2012-01-08 Ulrich Drepper <drepper@gmail.com>
21870 * math/Makefile (tests): Add tst-CMPLX.
21871 * math/tst-CMPLX.c: New file.
21873 * math/complex.h (CMPLXL): Fix typo.
21875 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21876 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21878 * debug/tst-chk1.c: Add poll and ppoll tests.
21879 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21880 * include/sys/poll.h: Add hidden proto for ppoll.
21881 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21882 * sysdeps/mach/hurd/ppoll.c: Likewise.
21883 * io/ppoll.c: Likewise.
21884 * debug/poll_chk.c: New file.
21885 * debug/ppoll_chk.c: New file.
21886 * include/bits/poll2.h: New file.
21887 * io/bits/poll2.h: New file.
21890 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21892 * configure.in: static is always set to yes. Remove.
21893 * config.make.in: Don't set build-static.
21894 * Makeconfig: Remove use of build-static.
21895 * dlfcn/Makefile: Likewise.
21896 * elf/Makefile: Likewise.
21897 * math/Makefile: Likewise.
21898 * misc/Makefile: Likewise.
21899 * nptl/Makefile: Likewise.
21900 * sysdeps/mach/hurd/Makefile: Likewise.
21902 * configure.in: PWD_P is not used anymore.
21903 * config.make.in: Remove PWD_P entry.
21905 * configure.in: Remove last remnants of RANLIB.
21906 No need to check for signed size_t anymore.
21907 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21909 Remove __builtin_expect test because we require at least gcc 3.4.
21910 * aclocal.m4: Likewise.
21912 * wcsmbs/mbrtoc16.c: Implement using towc function.
21913 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21914 * wcsmbs/wcsmbsload.c: Likewise.
21915 * iconv/gconv_simple.c: Likewise.
21916 * iconv/gconv_int.h: Likewise.
21917 * iconv/gconv_builtin.h: Likewise.
21918 * iconv/iconv_prog.c: Remove CHAR16 handling.
21920 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21922 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21924 * configure.in: Remove --with-elf and --enable-bounded options.
21925 Dont set base_machine for ia64. More non-ELF conditions removed.
21926 Remove testing and setting of leading underscore information.
21927 * config.make.in (build-bounded): Set to no.
21928 * config.h.in: Remove NO_UNDERSCORES entry.
21929 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21931 * csu/start.c: Remove !NO_UNDERSCORE code.
21932 * locale/localeinfo.h: Likewise.
21933 * sysdeps/generic/machine-gmon.h: Likewise.
21934 * sysdeps/generic/sysdep.h: Likewise.
21935 * sysdeps/i386/sysdep.h: Likewise.
21936 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21937 * sysdeps/mach/sysdep.h: Likewise.
21938 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21939 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21940 * sysdeps/sh/sysdep.h: Likewise.
21941 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21942 * sysdeps/unix/i386/sysdep.S: Likewise.
21943 * sysdeps/unix/sparc/start.c: Likewise.
21944 * sysdeps/unix/sparc/sysdep.S: Likewise.
21945 * sysdeps/unix/sparc/sysdep.h: Likewise.
21946 * sysdeps/unix/start.c: Likewise.
21947 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21948 * sysdeps/x86_64/sysdep.h: Likewise.
21950 2012-01-07 Ulrich Drepper <drepper@gmail.com>
21953 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21955 * argp/argp-fmtstream.h: Use const instead __const.
21956 * argp/argp.h: Likewise.
21957 * assert/assert.h: Likewise.
21958 * bits/fenv.h: Likewise.
21959 * bits/sched.h: Likewise.
21960 * bits/sigset.h: Likewise.
21961 * bits/sigthread.h: Likewise.
21962 * catgets/nl_types.h: Likewise.
21963 * conform/data/pthread.h-data: Likewise.
21964 * crypt/crypt-private.h: Likewise.
21965 * crypt/crypt.h: Likewise.
21966 * crypt/crypt_util.c: Likewise.
21967 * ctype/ctype.h: Likewise.
21968 * debug/execinfo.h: Likewise.
21969 * debug/mbsnrtowcs_chk.c: Likewise.
21970 * debug/mbsrtowcs_chk.c: Likewise.
21971 * debug/wcsnrtombs_chk.c: Likewise.
21972 * debug/wcsrtombs_chk.c: Likewise.
21973 * debug/wcstombs_chk.c: Likewise.
21974 * dirent/dirent.h: Likewise.
21975 * dlfcn/dlfcn.h: Likewise.
21976 * elf/neededtest4.c: Likewise.
21977 * grp/grp.h: Likewise.
21978 * gshadow/gshadow.h: Likewise.
21979 * iconv/gconv.h: Likewise.
21980 * iconv/gconv_int.h: Likewise.
21981 * iconv/gconv_simple.c: Likewise.
21982 * iconv/iconv.h: Likewise.
21983 * iconv/loop.c: Likewise.
21984 * iconv/skeleton.c: Likewise.
21985 * include/aio.h: Likewise.
21986 * include/aliases.h: Likewise.
21987 * include/argz.h: Likewise.
21988 * include/arpa/inet.h: Likewise.
21989 * include/assert.h: Likewise.
21990 * include/dirent.h: Likewise.
21991 * include/dlfcn.h: Likewise.
21992 * include/execinfo.h: Likewise.
21993 * include/fcntl.h: Likewise.
21994 * include/fenv.h: Likewise.
21995 * include/glob.h: Likewise.
21996 * include/grp.h: Likewise.
21997 * include/libintl.h: Likewise.
21998 * include/mntent.h: Likewise.
21999 * include/netdb.h: Likewise.
22000 * include/pwd.h: Likewise.
22001 * include/rpc/netdb.h: Likewise.
22002 * include/sched.h: Likewise.
22003 * include/search.h: Likewise.
22004 * include/shadow.h: Likewise.
22005 * include/signal.h: Likewise.
22006 * include/stdio.h: Likewise.
22007 * include/stdlib.h: Likewise.
22008 * include/string.h: Likewise.
22009 * include/sys/socket.h: Likewise.
22010 * include/sys/stat.h: Likewise.
22011 * include/sys/statfs.h: Likewise.
22012 * include/sys/statvfs.h: Likewise.
22013 * include/sys/syslog.h: Likewise.
22014 * include/sys/time.h: Likewise.
22015 * include/sys/uio.h: Likewise.
22016 * include/time.h: Likewise.
22017 * include/unistd.h: Likewise.
22018 * include/utmp.h: Likewise.
22019 * include/wchar.h: Likewise.
22020 * include/wctype.h: Likewise.
22021 * inet/aliases.h: Likewise.
22022 * inet/arpa/inet.h: Likewise.
22023 * inet/netinet/ether.h: Likewise.
22024 * inet/netinet/in.h: Likewise.
22025 * intl/libintl.h: Likewise.
22026 * io/bits/fcntl2.h: Likewise.
22027 * io/fcntl.h: Likewise.
22028 * io/ftw.h: Likewise.
22029 * io/sys/poll.h: Likewise.
22030 * io/sys/stat.h: Likewise.
22031 * io/sys/statfs.h: Likewise.
22032 * io/sys/statvfs.h: Likewise.
22033 * io/utime.h: Likewise.
22034 * libio/bits/stdio.h: Likewise.
22035 * libio/bits/stdio2.h: Likewise.
22036 * libio/libio.h: Likewise.
22037 * libio/libioP.h: Likewise.
22038 * libio/stdio.h: Likewise.
22039 * locale/lc-ctype.c: Likewise.
22040 * locale/locale.h: Likewise.
22041 * login/utmp.h: Likewise.
22042 * malloc/arena.c: Likewise.
22043 * malloc/malloc.c: Likewise.
22044 * malloc/malloc.h: Likewise.
22045 * malloc/mcheck.c: Likewise.
22046 * malloc/mtrace.c: Likewise.
22047 * math/bits/mathcalls.h: Likewise.
22048 * math/fenv.h: Likewise.
22049 * math/math_private.h: Likewise.
22050 * misc/bits/error.h: Likewise.
22051 * misc/bits/syslog.h: Likewise.
22052 * misc/err.h: Likewise.
22053 * misc/error.h: Likewise.
22054 * misc/fstab.h: Likewise.
22055 * misc/mntent.h: Likewise.
22056 * misc/regexp.h: Likewise.
22057 * misc/search.h: Likewise.
22058 * misc/sgtty.h: Likewise.
22059 * misc/sys/mman.h: Likewise.
22060 * misc/sys/syslog.h: Likewise.
22061 * misc/sys/uio.h: Likewise.
22062 * misc/sys/xattr.h: Likewise.
22063 * misc/ttyent.h: Likewise.
22064 * nis/rpcsvc/ypclnt.h: Likewise.
22065 * nss/nss.h: Likewise.
22066 * posix/bits/unistd.h: Likewise.
22067 * posix/fnmatch.h: Likewise.
22068 * posix/glob.h: Likewise.
22069 * posix/sched.h: Likewise.
22070 * posix/spawn.h: Likewise.
22071 * posix/sys/wait.h: Likewise.
22072 * posix/unistd.h: Likewise.
22073 * posix/wordexp.h: Likewise.
22074 * pwd/pwd.h: Likewise.
22075 * resolv/netdb.h: Likewise.
22076 * resource/sys/resource.h: Likewise.
22077 * rt/aio.h: Likewise.
22078 * rt/bits/mqueue2.h: Likewise.
22079 * rt/mqueue.h: Likewise.
22080 * shadow/shadow.h: Likewise.
22081 * signal/signal.h: Likewise.
22082 * socket/send.c: Likewise.
22083 * socket/sendto.c: Likewise.
22084 * socket/sys/socket.h: Likewise.
22085 * stdio-common/printf.h: Likewise.
22086 * stdlib/bits/stdlib.h: Likewise.
22087 * stdlib/fmtmsg.h: Likewise.
22088 * stdlib/monetary.h: Likewise.
22089 * stdlib/stdlib.h: Likewise.
22090 * stdlib/ucontext.h: Likewise.
22091 * streams/stropts.h: Likewise.
22092 * string/argz.h: Likewise.
22093 * string/bits/string2.h: Likewise.
22094 * string/string.h: Likewise.
22095 * string/strings.h: Likewise.
22096 * sunrpc/rpc/auth.h: Likewise.
22097 * sunrpc/rpc/auth_des.h: Likewise.
22098 * sunrpc/rpc/clnt.h: Likewise.
22099 * sunrpc/rpc/netdb.h: Likewise.
22100 * sunrpc/rpc/pmap_clnt.h: Likewise.
22101 * sunrpc/rpc/xdr.h: Likewise.
22102 * sysdeps/generic/inttypes.h: Likewise.
22103 * sysdeps/generic/net/if.h: Likewise.
22104 * sysdeps/generic/sys/swap.h: Likewise.
22105 * sysdeps/gnu/net/if.h: Likewise.
22106 * sysdeps/gnu/utmpx.h: Likewise.
22107 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22108 * sysdeps/i386/i486/bits/string.h: Likewise.
22109 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22110 * sysdeps/s390/bits/string.h: Likewise.
22111 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22112 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22113 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22114 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22115 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22116 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22117 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22118 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22119 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22120 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22121 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22122 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22123 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22124 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22125 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22126 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22127 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22128 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22129 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22130 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22131 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22132 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22133 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22134 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22135 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22136 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22137 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22138 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22139 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22140 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22141 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22142 * sysvipc/sys/ipc.h: Likewise.
22143 * sysvipc/sys/msg.h: Likewise.
22144 * sysvipc/sys/sem.h: Likewise.
22145 * sysvipc/sys/shm.h: Likewise.
22146 * termios/termios.h: Likewise.
22147 * time/sys/time.h: Likewise.
22148 * time/time.h: Likewise.
22149 * wcsmbs/bits/wchar2.h: Likewise.
22150 * wcsmbs/uchar.h: Likewise.
22151 * wcsmbs/wchar.h: Likewise.
22152 * wctype/wctype.h: Likewise.
22155 * Makeconfig: Remove all but ELF support including AIX support.
22156 * Makerules: Likewise.
22157 * config.h.in: Likewise.
22158 * config.make.in: Likewise.
22159 * configure: Likewise.
22160 * configure.in: Likewise.
22161 * csu/Makefile: Likewise.
22162 * csu/version.c: Likewise.
22163 * debug/Makefile: Likewise.
22164 * dlfcn/Makefile: Likewise.
22165 * elf/Makefile: Likewise.
22166 * extra-lib.mk: Likewise.
22167 * iconv/Makefile: Likewise.
22168 * include/libc-symbols.h: Likewise.
22169 * include/shlib-compat.h: Likewise.
22170 * resolv/Makefile: Likewise.
22171 * resolv/res_libc.c: Likewise.
22172 * rt/Makefile: Likewise.
22173 * sysdeps/i386/asm-syntax.h: Likewise.
22174 * sysdeps/i386/sysdep.h: Likewise.
22175 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22176 * sysdeps/mach/sysdep.h: Likewise.
22177 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22178 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22179 * sysdeps/s390/asm-syntax.h: Likewise.
22180 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22181 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22182 * sysdeps/sh/sysdep.h: Likewise.
22183 * sysdeps/unix/sparc/sysdep.h: Likewise.
22184 * sysdeps/wordsize-32/divdi3.c: Likewise.
22185 * sysdeps/x86_64/sysdep.h: Likewise.
22187 * argp/Versions: Remove _argp_unlock_xxx.
22190 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22191 * abilist/libBrokenLocale.abilist: Likewise.
22192 * abilist/libanl.abilist: Likewise.
22193 * abilist/libc.abilist: Likewise.
22194 * abilist/libcrypt.abilist: Likewise.
22195 * abilist/libdl.abilist: Likewise.
22196 * abilist/libm.abilist: Likewise.
22197 * abilist/libnsl.abilist: Likewise.
22198 * abilist/libpthread.abilist: Likewise.
22199 * abilist/libresolv.abilist: Likewise.
22200 * abilist/librt.abilist: Likewise.
22201 * abilist/libthread_db.abilist: Likewise.
22202 * abilist/libutil.abilist: Likewise.
22203 * abilist/libnss_db.abilist: New file.
22205 * scripts/abilist.awk: Add support for indirect functions.
22207 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22209 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22211 * shlib-versions: Remove entries for ports architectures.
22213 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
22215 * elf/stackguard-macros.h: Remove support for IA-64.
22216 * elf/tst-auditmod1.c: Likewise.
22217 * sysdeps/generic/ldsodefs.h: Likewise.
22219 * sysdeps/unix/sysv/linux/configure.in: Ports should define
22220 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22224 * configure.in: Remove --enable-omitfp support.
22226 * config.make.in: Likewise.
22227 * Makeconfig: Likewise.
22228 * manual/install.texi: Likewise.
22230 In case anyone cares, the IA-64 architecture could move to ports.
22231 * sysdeps/ia64/*: Removed.
22232 * sysdeps/unix/sysv/linux/ia64/*: Removed.
22233 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
22236 * configure.in: Remove entries for unsupported architectures.
22239 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22240 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22242 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22243 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22244 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22245 fall back to using wcrtomb.
22246 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22247 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22249 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22250 * wcsmbs/tst-c16c32-1.c: New file.
22252 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22255 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22257 * elf/tst-unique3.cc: Add explicit declaration of gets.
22258 * elf/tst-unique3lib.cc: Likewise.
22259 * elf/tst-unique3lib2.cc: Likewise.
22260 * elf/tst-unique4.cc: Likewise.
22262 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22264 2012-01-06 Joseph Myers <joseph@codesourcery.com>
22267 * assert/assert.h (static_assert): Don't define for C++.
22268 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22269 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22271 2012-01-03 Ulrich Drepper <drepper@gmail.com>
22273 * iconv/loop.c (single loop): Fix assertion in storing of
22276 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22278 2012-01-01 Ulrich Drepper <drepper@gmail.com>
22280 * posix/getconf.c: Update copyright year.
22281 * nss/getent.c: Likewise.
22282 * nss/makedb.c: Likewise.
22283 * iconv/iconvconfig.c: Likewise.
22284 * iconv/iconv_prog.c: Likewise.
22285 * elf/ldconfig.c: Likewise.
22286 * elf/pldd.c: Likewise.
22287 * elf/sotruss.ksh: Likewise.
22288 * catgets/gencat.c: Likewise.
22289 * csu/version.c: Likewise.
22290 * elf/ldd.bash.in: Likewise.
22291 * elf/sprof.c (print_version): Likewise.
22292 * locale/programs/locale.c: Likewise.
22293 * locale/programs/localedef.c: Likewise.
22294 * login/programs/pt_chown.c: Likewise.
22295 * nscd/nscd.c (print_version): Likewise.
22296 * debug/xtrace.sh: Likewise.
22297 * malloc/memusage.sh: Likewise.
22298 * malloc/mtrace.pl: Likewise.
22299 * debug/catchsegv.sh: Likewise.
22301 2011-12-30 Jakub Jelinek <jakub@redhat.com>
22303 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22306 2011-12-24 Ulrich Drepper <drepper@gmail.com>
22309 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22310 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22312 * iconv/gconv_int.h: Likewise.
22313 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22314 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22315 from libc for GLIBC_2.16.
22316 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22317 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22318 * wcsmbs/uchar.h: Really define mbstate_t.
22319 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22320 * wcsmbs/c16rtomb.c: New file.
22321 * wcsmbs/mbrtoc16.c: New file.
22322 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22323 for C/POSIX locale.
22324 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22325 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22327 * wcsmbs/wchar.h: Add missing __restrict.
22329 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22332 * time/Makefile (routines): Add timespec_get.
22333 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22334 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22335 timespec for ISO C11.
22336 * time/timespec_get.c: New file.
22337 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22338 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22341 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22342 * stdlib/stdlib.h: Declare aligned_alloc.
22343 * Versions.def: Add GLIBC_2.16 for libc.
22344 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22347 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22350 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
22354 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22357 * assert/assert.h (static_assert): Define.
22359 * version.h: Update for 2.16 development version.
22362 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22365 * version.h (RELEASE): Bump for 2.15 release.
22366 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22368 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22369 Patch by Marek Polacek <mpolacek@redhat.com>.
22371 * bits/byteswap.h: Protect long long constants with __extension__.
22372 * sysdeps/i386/bits/byteswap.h: Likewise.
22373 * sysdeps/ia64/bits/byteswap.h: Likewise.
22374 * sysdeps/s390/bits/byteswap.h: Likewise.
22375 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22377 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22380 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22381 destination buffer.
22382 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22384 2011-12-23 Marek Polacek <polacek@redhat.com>
22386 * elf/dl-addr.c (determine_info): Add inline keyword.
22387 * elf/tst-auditmod4b.c (check_avx): Likewise.
22388 * elf/tst-auditmod6b.c (check_avx): Likewise.
22389 * elf/tst-auditmod6c.c (check_avx): Likewise.
22390 * elf/tst-auditmod7b.c (check_avx): Likewise.
22392 2011-12-23 Ulrich Drepper <drepper@gmail.com>
22394 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22397 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22400 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22401 processing for last bytes.
22403 2011-08-06 Bruno Haible <bruno@clisp.org>
22406 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22407 U+0385, not to U+1FEE.
22410 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22411 entry for U+00A5 U+0301.
22413 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22416 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22417 buffer for the output is too small.
22419 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22423 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22424 SSE flags if possible.
22426 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22429 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22430 processing for last bytes.
22432 2011-12-22 Joseph Myers <joseph@codesourcery.com>
22434 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22435 (syscall-list-default-options, syscall-list-default-condition)
22436 (syscall-list-includes): Define.
22437 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22438 list of ABIs and options and #if conditions for each ABI. Do not
22439 handle common syscalls between ABIs specially.
22440 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22442 (syscall-list-variants, syscall-list-32bit-options)
22443 (syscall-list-32bit-condition, syscall-list-64bit-options)
22444 (syscall-list-64bit-condition): Define.
22445 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22446 (syscall-list-variants, syscall-list-32bit-options)
22447 (syscall-list-32bit-condition, syscall-list-64bit-options)
22448 (syscall-list-64bit-condition): Define.
22449 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22451 (syscall-list-variants, syscall-list-32bit-options)
22452 (syscall-list-32bit-condition, syscall-list-64bit-options)
22453 (syscall-list-64bit-condition): Define.
22454 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22456 (syscall-list-variants, syscall-list-32bit-options)
22457 (syscall-list-32bit-condition, syscall-list-64bit-options)
22458 (syscall-list-64bit-condition): Define.
22460 2011-12-22 Ulrich Drepper <drepper@gmail.com>
22462 * locale/iso-639.def: Add brx entry.
22465 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22466 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22468 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22469 __feraiseexcept_renamed.
22471 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22474 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22475 EPOLLET with unsigned values.
22476 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22477 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22479 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22480 to large cancellation.
22481 * math/s_cacoshf.c: Likewise.
22482 * math/s_cacoshl.c: Likewise.
22484 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22488 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22489 * math/s_cacoshf.c: Likewise.
22490 * math/s_cacoshl.c: Likewise.
22492 2011-12-21 Ulrich Drepper <drepper@gmail.com>
22495 * iconv/gconv.h: Define __GCONV_SWAP.
22496 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22497 * iconvdata/utf-16.c: Likewise.
22498 * iconvdata/utf-32.c: Likewise.
22500 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22503 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22504 numerator after shifting it by one limb.
22506 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22508 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22509 under [__USE_EXTERN_INLINES].
22511 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22514 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22516 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22518 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22519 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22521 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22522 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22523 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22524 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22525 for strncasecmp/strncasecmp_l compilation.
22526 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22527 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22529 2011-12-08 Marek Polacek <mpolacek@redhat.com>
22532 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22535 2011-12-17 Ulrich Drepper <drepper@gmail.com>
22538 * time/tzfile.c (__tzfile_read): Check values from file header.
22540 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22542 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22543 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22544 * powerpc/powerpc32/dl-start.S: Likewise.
22545 * powerpc/powerpc32/elf/start.S: Likewise.
22546 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22547 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22548 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22549 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22550 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22551 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22552 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22553 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22554 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22555 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22556 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22557 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22558 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22559 * powerpc/powerpc32/memset.S: Likewise.
22560 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22561 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22562 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22563 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22564 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22565 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22566 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22567 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22568 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22569 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22570 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22571 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22572 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22574 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22576 * math/libm-test.inc: Added more nearbyint tests.
22577 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22578 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22579 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22580 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22582 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22584 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22587 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22589 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22590 Add wcscpy-ssse3 wcscpy-c.
22591 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22592 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22593 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22594 * sysdeps/x86_64/wcschr.S: New file.
22595 * sysdeps/x86_64/wcsrchr.S: New file.
22596 * string/test-strcmp.c: Remove checking of wcscmp function for
22598 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22599 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22600 wcsrchr-sse2 wcsrchr-c.
22601 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22602 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22603 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22604 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22605 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22606 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22607 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22608 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22609 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22610 * wcsmbc/wcschr.c (WCSCHR): New macro.
22612 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22614 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22615 * wcsmbs/test-wcsrchr.c: New file.
22616 * string/test-strrchr.c: Add wcsrchr support.
22618 * wcsmbs/test-wcscpy.c: New file.
22619 * string/test-strcpy.c: Add wcscpy support.
22622 2011-12-10 Ulrich Drepper <drepper@gmail.com>
22624 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22627 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22630 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22632 2011-12-04 Ulrich Drepper <drepper@gmail.com>
22634 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
22635 Minor optimizations.
22637 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22638 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22639 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22641 2011-12-03 Ulrich Drepper <drepper@gmail.com>
22643 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22644 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22645 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22646 for gcc to avoid warnings.
22647 * inet/Makefile (tests): Add tst-checks.
22648 * inet/tst-checks.c: New file.
22650 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22653 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22656 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22657 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22659 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22661 2011-12-02 Ulrich Drepper <drepper@gmail.com>
22663 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22666 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22668 2011-11-29 Joseph Myers <joseph@codesourcery.com>
22670 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22671 conditional on GCC version.
22672 (__arch_compare_and_exchange_val_8_acq)
22673 (__arch_compare_and_exchange_val_16_acq)
22674 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22675 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22676 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22678 2011-12-02 Joseph Myers <joseph@codesourcery.com>
22680 * sysdeps/sh/backtrace.c: New file.
22682 2011-12-02 Andreas Schwab <schwab@redhat.com>
22684 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22687 2011-12-01 Andreas Schwab <schwab@redhat.com>
22689 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22690 falling back to utime.
22692 2011-11-30 Andreas Schwab <schwab@redhat.com>
22694 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22695 expectations for float.
22697 2011-11-29 Andreas Schwab <schwab@redhat.com>
22699 * locale/weight.h (findidx): Add parameter len.
22700 * locale/weightwc.h (findidx): Likewise.
22701 * posix/fnmatch_loop.c (FCT): Adjust caller.
22702 * posix/regcomp.c (build_equiv_class): Likewise.
22703 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22704 * posix/regexec.c (check_node_accept_bytes): Likewise.
22705 * string/strcoll_l.c (STRCOLL): Likewise.
22706 * string/strxfrm_l.c (STRXFRM): Likewise.
22708 2011-11-17 Ulrich Drepper <drepper@gmail.com>
22710 * Makefile.in: Remove CVSOPT handling.
22711 * configure.in: Remove use of AC_REVISION.
22712 * iconvdata/Makefile (distribute): No need to filter out CVS.
22713 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22716 2011-11-16 Andreas Schwab <schwab@redhat.com>
22718 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22719 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22720 [USE_AS_STRNCASECMP_L]: Likewise.
22721 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22722 NO_TLS_DIRECT_SEG_REFS.
22723 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22724 Fix argument offsets for non-PIC.
22725 [USE_AS_STRNCASECMP_L]: Likewise.
22726 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22727 NO_TLS_DIRECT_SEG_REFS.
22729 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22731 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
22733 * locale/loadlocale.c (_nl_load_locale): Likewise.
22735 2011-11-15 Andreas Schwab <schwab@redhat.com>
22737 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22738 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22739 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22740 (SYSCALL_GETTIME): Set errno on error.
22742 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22743 count references to noai6ai_cached.
22745 2011-11-15 Ulrich Drepper <drepper@gmail.com>
22747 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22749 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22750 FD_CLOEXEC for /proc/self/maps.
22752 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22753 FD_CLOEXEC for /proc/meminfo.
22755 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22758 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22759 FD_CLOEXEC for given file.
22761 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22763 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22764 FD_CLOEXEC for /etc/hosts.
22765 (_gethtent): Likewise.
22767 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22769 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22770 cancellation and set FD_CLOEXEC for /etc/netgroup.
22772 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22773 reading /etc/publickey.
22775 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22776 allow cancellation when reading /etc/group.
22778 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22780 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22782 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22783 when using data file.
22785 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22787 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22788 (write_nis_obj): Use "c" and "e" in fopen.
22790 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22792 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22794 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22796 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22798 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22801 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22803 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22805 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22807 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22808 file parsing and set FD_CLOEXEC.
22810 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22812 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22814 2011-11-14 Andreas Schwab <schwab@redhat.com>
22816 * malloc/arena.c (arena_get2): Don't call reused_arena when
22817 _int_new_arena failed.
22819 2011-11-14 Ulrich Drepper <drepper@gmail.com>
22821 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22822 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22823 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22824 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22825 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22826 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22827 to compile strcasecmp and strncasecmp.
22828 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22829 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22831 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22833 2011-11-13 Ulrich Drepper <drepper@gmail.com>
22835 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22836 locale-defines.sym to gen-as-const-headers.
22837 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22838 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22839 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22840 to compile strcasecmp and strncasecmp.
22841 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22842 strcasecmp_l and strncasecmp_l.
22843 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22844 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22845 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22846 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22847 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22848 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22849 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22850 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22851 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22852 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22853 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22855 2011-11-12 Ulrich Drepper <drepper@gmail.com>
22857 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22858 result of SYSDEP_GETTIME_CPU to retval.
22859 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22860 parameter list to macro. Remove trailing semicolon. Adjust users.
22862 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22865 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22867 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22869 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22870 from unused variable.
22872 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22874 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22877 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22880 * sunrpc/rpc_prot.c (rejected): Fix case value.
22882 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22883 unsigned long long int to avoid warnings in shift.
22885 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22887 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22890 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22891 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22892 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22894 * nis/nis_table.c (nis_list): Use variable of correct type for
22895 result of __follow_path call.
22897 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22899 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22900 of math functions ceil, trunc, floor, round, and sqrt, when
22901 avaliable on the platform.
22902 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22904 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22905 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22906 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22908 2011-10-30 Marek Polacek <mpolacek@redhat.com>
22910 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22911 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22913 2011-11-11 Roland McGrath <roland@hack.frob.com>
22915 * include/unistd.h: Fix __readlink return type.
22916 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22918 2011-11-11 Ulrich Drepper <drepper@gmail.com>
22920 * stdlib/ucontext.h: Undo last change for makecontext.
22922 2011-11-11 Andreas Schwab <schwab@redhat.com>
22924 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22926 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22927 * setjmp/setjmp.h: Mark functions as non-leaf.
22928 * setjmp/bits/setjmp2.h: Likewise.
22929 * stdlib/ucontext.h: Likewise.
22931 2011-11-10 Andreas Schwab <schwab@redhat.com>
22933 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22934 (reused_arena): Don't check arena limit.
22935 (arena_get2): Atomically check arena limit.
22937 2011-11-08 Ulrich Drepper <drepper@gmail.com>
22939 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22940 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22945 2011-11-07 Andreas Schwab <schwab@redhat.com>
22947 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22948 handler when locking.
22950 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22951 Fix size of allocated buffer.
22953 2011-11-04 Andreas Schwab <schwab@redhat.com>
22956 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22957 declarations for long double functions.
22958 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22960 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22962 2011-11-03 Andreas Schwab <schwab@redhat.com>
22964 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22967 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22970 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22972 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22974 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22976 * include/alloca.h (stackinfo_alloca_round): Define.
22977 (extend_alloca): Use it.
22978 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22979 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22982 * scripts/check-local-headers.sh: Ignore libaudit.h.
22984 * nscd/Makefile (extra-objs): Make recursively expanded.
22986 2011-11-01 Ulrich Drepper <drepper@gmail.com>
22988 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22989 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22991 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22992 * posix/tst-rfc3484-2.c: Likewise.
22993 * posix/tst-rfc3484-3.c: Likewise.
22995 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22997 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22999 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
23000 process_vm_writev from libc using GLIBC_2.15 version.
23002 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
23004 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
23006 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
23009 2011-10-31 Ulrich Drepper <drepper@gmail.com>
23012 * nss/getent.c (initgroups_keys): Show error message in case no group
23015 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
23016 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
23017 __bump_nl_timestamp.
23018 * nscd/connections (nscd_init): When host database is served open
23019 netlink socket and request notification about configuration changes.
23020 (main_loop_poll): Track netlink file descriptor and bump timestamp
23021 in case data becomes available.
23022 (main_loop_epoll): Likewise.
23023 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
23024 (database_pers_head): Add extra_data fileds.
23025 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
23026 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
23027 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
23029 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
23030 in6ai data, call __free_in6ai.
23031 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
23032 Add -DHAVE_NETLINK.
23033 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
23034 interface information. Reuse previous data if netlink timestamp
23036 (__bump_nl_timestamp): New function.
23037 (__free_in6ai): New function.
23039 2011-10-30 Ulrich Drepper <drepper@gmail.com>
23041 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23042 close_not_cancel_no_status here.
23043 (__check_pf): Reorganize code a bit to not call close twice if OOM.
23045 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23048 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23051 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
23052 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23053 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23055 2011-07-03 Andreas Jaeger <aj@suse.de>
23058 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23059 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23060 * math/libm-test.inc (sin_test): Add test case.
23062 2011-10-29 Ulrich Drepper <drepper@gmail.com>
23065 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23066 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23068 * elf/chroot_canon.c (chroot_canon): Cleanups.
23070 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23073 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23074 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23076 * string/test-strchr.c: Make usable for strchrnul testing.
23077 * string/test-strchrnul.c: New file.
23078 * string/Makefile (strop-tests): Add strchrnul.
23080 * po/it.po: Update from translation team.
23081 * po/es.po: Likewise.
23083 2011-10-28 Ulrich Drepper <drepper@gmail.com>
23085 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23086 the three constants needed as parameters. Drop the others.
23087 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23088 __m128i_strloadu_tolower.
23089 Create and initialize variable zero and use it in all the places
23090 where _mm_setzero_si128 was used.
23092 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23093 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23094 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23095 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23097 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23098 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23099 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23100 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23101 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23102 __mpranred, __mptan.
23103 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23104 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23105 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23106 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23107 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23108 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23109 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23110 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23111 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23113 2011-10-28 Andreas Schwab <schwab@redhat.com>
23115 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23116 redefine if SHARED.
23117 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23120 wide char related routines to wcsmbs subdir.
23122 2011-10-27 Andreas Schwab <schwab@redhat.com>
23125 * misc/sys/cdefs.h (__THROWNL): Define.
23126 * posix/unistd.h: Use __THREADNL instead of __THREAD
23127 for memory synchronization functions.
23129 2011-10-26 Roland McGrath <roland@hack.frob.com>
23132 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23134 * manual/stdio.texi (Obstack Streams): Node removed.
23136 2011-10-26 Andreas Schwab <schwab@redhat.com>
23138 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23139 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23140 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23142 * math/math_private.h (math_force_eval): Allow non-addressable
23144 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23146 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23148 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23149 file is not needed.
23151 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23152 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23153 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23154 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23155 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23156 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23157 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23158 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23160 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23161 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23162 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23163 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23164 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23165 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23166 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23167 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23168 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23169 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23170 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23171 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23172 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23173 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23174 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23175 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23176 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23177 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23178 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23180 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23181 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23183 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23184 place. Use VEX encoding when compiling for AVX.
23186 2011-10-25 Andreas Schwab <schwab@redhat.com>
23188 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23189 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23191 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23193 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23195 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
23196 useless if() expression.
23197 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23198 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23199 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23200 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23201 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23202 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23203 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23204 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23206 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23207 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23208 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23209 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23210 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23211 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23212 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23213 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23214 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23215 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23217 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23219 2011-10-25 Andreas Schwab <schwab@redhat.com>
23221 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23223 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23225 2011-10-25 Ulrich Drepper <drepper@gmail.com>
23227 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23228 .text section. Avoid duplicate constants.
23229 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23230 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23231 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23232 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23233 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23234 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23235 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23236 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23237 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23238 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23239 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23240 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23241 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23242 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23243 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23244 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23245 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23246 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23247 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23248 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23249 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23250 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23251 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23252 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23253 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23254 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23255 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23256 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23257 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23258 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23259 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23260 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23261 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23262 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23263 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23264 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23265 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23266 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23267 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23268 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23269 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23270 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23271 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23272 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23273 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23275 2011-10-24 Ulrich Drepper <drepper@gmail.com>
23277 * sysdeps/x86_64/dla.h: Move to ...
23278 * sysdeps/x86_64/fpu/dla.h: ...here.
23279 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23280 situations. Use __builtin_fma only for gcc 4.6 and up.
23282 * config.make.in: Add have-mfma4 entry.
23283 * configure.in: Substitute libc_cv_cc_fma4.
23284 * math/Makefile (dbl-only-routines): Add sincostab.
23285 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23286 Use __sincostab not sincos.
23287 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23289 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23290 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23291 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23292 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23294 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23295 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23296 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23297 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23299 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23300 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23302 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23303 define aliases when function name is a macro.
23304 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23305 sysdeps/ieee754/dbl-64/sincos.tbl.
23306 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23307 fma4-enabled routines.
23308 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23309 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23310 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23311 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23312 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23313 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23314 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23315 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23316 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23317 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23318 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23319 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23320 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23321 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23322 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23323 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23324 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23325 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23326 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23327 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23328 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23329 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23330 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23331 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23332 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23333 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23334 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23335 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23336 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23337 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23339 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23341 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23342 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23343 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23344 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23345 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23346 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23347 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23348 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23350 2011-10-24 Andreas Schwab <schwab@redhat.com>
23352 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23354 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23356 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23358 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23360 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23362 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23363 Remove unused variable magic_bits.
23364 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23366 * string/strnlen.c: Define and use STRNLEN macro.
23367 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23368 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23369 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23370 * wcsmbs/wcslen.c: Define and use WCSLEN.
23371 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23372 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23373 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23374 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23375 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23376 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23377 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23379 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23381 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23382 strnlen-sse2-no-bsf.
23383 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23384 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23385 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23386 Add strnlen support.
23387 (USE_AS_STRNLEN): New macro.
23388 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23389 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23390 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23391 * sysdeps/x86_64/wcslen.S: New file.
23393 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23395 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23396 XMM-moves are used for copying on small sizes.
23398 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23400 * wcsmbs/Makefile (strop-tests): Add wcschr.
23401 * wcsmbs/test-wcschr.c: New file.
23402 * string/test-strchr.c: Update.
23403 Add wcschr support.
23406 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23408 * wcsmbs/Makefile (strop-tests): Add wcslen.
23409 * wcsmbs/test-wcslen.c: New file.
23410 * string/test-strlen.c: Update.
23411 Add wcslen support.
23414 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23416 * po/it.po: Update from translation team.
23418 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23420 * sysdeps/x86_64/wcscmp.S: Update.
23421 Fix wrong comparison semantics.
23422 wcscmp shall use signed comparison not unsigned.
23423 Don't use substraction to avoid overflow bug.
23424 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23425 * wcsmbc/wcscmp.c: Likewise.
23426 * string/test-strcmp.c: Likewise.
23427 Add new tests to check cases with negative values.
23429 2011-10-23 Ulrich Drepper <drepper@gmail.com>
23431 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23432 * sysdeps/x86_64/dla.h: ...here. New file.
23433 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23434 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23435 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23437 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23438 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23439 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23440 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23441 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23443 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23445 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23446 __ynl_finite aliases.
23448 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23452 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23454 [DLA_FMA] (EMULV): Use DLA_FMA.
23455 [DLA_FMA] (MUL12): Use EMULV.
23456 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23457 that are not needed.
23458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23459 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23462 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23463 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23464 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23466 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23468 * math/s_nan.c: Undef __nan.
23469 * math/s_nanf.c: Undef __nanf.
23470 * math/s_nanl.c: Undef __nanl.
23471 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23474 2011-10-22 Ulrich Drepper <drepper@gmail.com>
23476 * math/s_catan.c: Add branch predictions.
23477 * math/s_catanf.c: Likewise.
23478 * math/s_catanh.c: Likewise.
23479 * math/s_catanhf.c: Likewise.
23480 * math/s_catanhl.c: Likewise.
23481 * math/s_catanl.c: Likewise.
23482 * math/s_cexp.c: Likewise.
23483 * math/s_cexpf.c: Likewise.
23484 * math/s_cexpl.c: Likewise.
23485 * math/s_clog.c: Likewise.
23486 * math/s_clog10.c: Likewise.
23487 * math/s_clog10f.c: Likewise.
23488 * math/s_clog10l.c: Likewise.
23489 * math/s_clogf.c: Likewise.
23490 * math/s_clogl.c: Likewise.
23491 * math/s_csqrt.c: Likewise.
23492 * math/s_csqrtf.c: Likewise.
23493 * math/s_csqrtl.c: Likewise.
23494 * math/s_ctanf.c: Likewise.
23495 * math/s_ctanh.c: Likewise.
23496 * math/s_ctanhf.c: Likewise.
23497 * math/s_ctanhl.c: Likewise.
23498 * math/s_ctanl.c: Likewise.
23500 * math/math_private.h: Define __nan, __nanf, __nanl.
23501 * math/s_cacosh.c: Include <math_private.h>.
23502 * math/s_cacoshl.c: Likewise.
23503 * math/s_casinh.c: Likewise.
23504 * math/s_casinhf.c: Likewise.
23505 * math/s_casinhl.c: Likewise.
23506 * math/s_ccos.c: Rely entire on ccosh.
23507 * math/s_ccosf.c: Rely entire on ccoshf.
23508 * math/s_ccosl.c: Rely entirely on ccoshl.
23509 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23510 Remove tests for FE_INVALID.
23511 * math/s_ccoshf.c: Likewise.
23512 * math/s_ccoshl.c: Likewise.
23513 * math/s_csin.c: Likewise.
23514 * math/s_csinf.c: Likewise.
23515 * math/s_csinh.c Likewise.
23516 * math/s_csinhf.c: Likewise.
23517 * math/s_csinhl.c: Likewise.
23518 * math/s_csinl.c: Likewise.
23519 * math/s_ctan.c: Likewise.
23520 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23521 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23522 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23524 2011-10-21 Ulrich Drepper <drepper@gmail.com>
23526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23527 compilation problems.
23529 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23532 2011-10-20 Ulrich Drepper <drepper@gmail.com>
23534 * sysdeps/i386/configure.in: Test for -mfma4 option.
23535 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23536 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23537 COMMON_CPUID_INDEX_80000001.
23538 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23539 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23540 use it if FMA3 is not supported.
23541 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23543 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23544 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23546 2011-10-20 Andreas Schwab <schwab@redhat.com>
23549 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23550 it would create a cycle with a link time dependency.
23552 2011-10-19 Ulrich Drepper <drepper@gmail.com>
23554 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23556 * string/Makefile (strop-tests): Add rawmemchr.
23557 * string/test-rawmemchr.c: New file.
23559 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23560 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23561 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23562 when compiling str{,n}casecmp and when AVX is available. Hook up
23563 new optimized code in initializers.
23565 2011-10-19 Andreas Schwab <schwab@redhat.com>
23567 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23568 __feraiseexcept instead of feraiseexcept.
23570 2011-10-18 Ulrich Drepper <drepper@gmail.com>
23572 * math/math_private.h: Define defaults for libc_fetestexcept and
23574 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23575 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23576 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23577 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23578 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23579 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23580 libc_fetestexcept and libc_feupdateenv.
23582 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23583 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23584 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23585 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23586 libc_feholdexcept_setround.
23588 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23589 Add s_nearbyint-c and s_nearbyintf-c.
23590 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23591 nearbyintf inlines.
23592 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23593 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23594 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23595 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23597 * math/math_private.h: Define defaults for libc_fegetround,
23598 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23599 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23600 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23601 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23602 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23603 standard functions.
23604 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23605 Remove comments and hacks for old compiler versions.
23606 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23607 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23608 libc_feholdexceptl.
23610 2011-10-18 Andreas Schwab <schwab@redhat.com>
23612 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
23613 (__feraiseexcept_renamed): Add __NTH.
23614 (feraiseexcept): Add __NTH. Rename local variables to fix
23615 namespace violations.
23617 2011-10-17 Ulrich Drepper <drepper@gmail.com>
23619 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23621 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23623 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23624 recently added interfaces.
23625 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23627 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23628 about macro parameter expansion.
23630 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23631 __NO_MATH_INLINES is defined. Cleanups.
23633 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23634 and __floorf is target has SSE4.1.
23635 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23636 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23637 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23638 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23640 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23642 (floorf): Likewise.
23644 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23646 2011-10-17 Andreas Schwab <schwab@redhat.com>
23648 * misc/sys/cdefs.h: Fix last change.
23650 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23653 2011-10-16 Ulrich Drepper <drepper@gmail.com>
23655 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23657 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23658 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23659 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23660 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23661 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23662 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23663 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23664 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23665 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23666 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23667 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23668 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23669 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23670 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23671 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23672 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23673 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23674 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23675 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23676 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23677 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23678 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23680 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23681 ceil, ceilf, floor, floorf.
23683 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23684 Perform IRELATIVE relocations last.
23686 * elf/do-rel.h: Add another parameter nrelative, replacing the
23687 local variable with the same name. Change name of the function
23688 to end in Rel or Rela (uppercase).
23689 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23690 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23691 elf_dynamic_do_##reloc function.
23693 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23695 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23696 is sufficient, at least on modern CPUs.
23698 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23700 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23701 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23703 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23705 * math/bits/math-finite.h: Add entries for exp.
23706 * math/e_expl.c: Add __*_finite alias.
23707 * sysdeps/i386/fpu/e_exp.S: Likewise.
23708 * sysdeps/i386/fpu/e_expf.S: Likewise.
23709 * sysdeps/i386/fpu/e_expl.c: Likewise.
23710 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23711 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23712 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23713 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23714 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23715 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23716 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23718 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23719 is sufficient, at least on modern CPUs.
23721 * ctype/ctype-info.c (__ctype_init): Define.
23722 * include/ctype.h (__ctype_init): Declare.
23723 (__ctype_b_loc): The variable is always initialized.
23724 (__ctype_toupper_loc): Likewise.
23725 (__ctype_tolower_loc): Likewise.
23726 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23727 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23729 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23731 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23733 * configure.in: Also look in $cxxmachine/include for C++ system
23736 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23738 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23739 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23740 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23741 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23742 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23743 (USE_AS_WMEMCMP): New macro.
23745 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23746 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23747 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23748 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23749 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23750 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23751 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23752 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23753 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23754 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23755 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23756 (USE_AS_WMEMCMP): New macro.
23757 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23758 * sysdeps/string/test-memcmp.c: Update.
23759 Fix simple_wmemcmp.
23761 * wcsmbs/wmemcmp.c: Update.
23762 (WMEMCMP): New macro.
23765 2011-10-12 Andreas Jaeger <aj@suse.de>
23768 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23770 2011-10-15 Ulrich Drepper <drepper@gmail.com>
23772 * libio/iofwide.c (do_length): Avoid warning.
23774 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23776 2011-10-14 Ulrich Drepper <drepper@gmail.com>
23778 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23780 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23781 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23782 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23783 * sysdeps/i386/i686/fpu/e_log.S: New file.
23784 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23785 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23787 * ctype/ctype.h: Add support for inlined isXXX functions when
23788 compiling C++ code.
23790 2011-10-14 Andreas Schwab <schwab@redhat.com>
23792 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23794 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23796 2011-10-13 Roland McGrath <roland@hack.frob.com>
23799 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23801 2011-10-13 Andreas Schwab <schwab@redhat.com>
23803 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23804 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23807 * sysdeps/x86_64/memrchr.S: Check for zero size.
23809 * string/stratcliff.c: Add memrchr tests.
23811 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23813 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23814 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23815 rawmemchr-sse2 rawmemchr-sse2-bsf.
23816 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23817 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23818 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23819 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23820 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23821 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23822 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23823 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23824 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23825 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23826 * string/memrchr.c (MEMRCHR): New macro.
23828 2011-10-12 Ulrich Drepper <drepper@gmail.com>
23830 Add integration with gcc's -ffinite-math-only and optimize wrapper
23832 * Versions.def: Define GLIBC_2.15 version for libm.
23833 * math/Makefile (headers): Add bits/math-finite.h.
23834 * math/bits/math-finite.h: New file.
23835 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23836 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23837 * math/e_acoshl.c: Add __*_finite alias.
23838 * math/e_acosl.c: Likewise.
23839 * math/e_asinl.c: Likewise.
23840 * math/e_atan2l.c: Likewise.
23841 * math/e_atanhl.c: Likewise.
23842 * math/e_coshl.c: Likewise.
23843 * math/e_exp10.c: Likewise.
23844 * math/e_exp10f.c: Likewise.
23845 * math/e_exp10l.c: Likewise.
23846 * math/e_exp2l.c: Likewise.
23847 * math/e_fmodl.c: Likewise.
23848 * math/e_gammal_r.c: Likewise.
23849 * math/e_hypotl.c: Likewise.
23850 * math/e_j0l.c: Likewise.
23851 * math/e_j1l.c: Likewise.
23852 * math/e_jnl.c: Likewise.
23853 * math/e_lgammal_r.c: Likewise.
23854 * math/e_log10l.c: Likewise.
23855 * math/e_log2l.c: Likewise.
23856 * math/e_logl.c: Likewise.
23857 * math/e_powl.c: Likewise.
23858 * math/e_sinhl.c: Likewise.
23859 * math/e_sqrtl.c: Likewise.
23860 * math/e_scalb.c: Completely rewritten and optimized.
23861 * math/e_scalbf.c: Likewise.
23862 * math/e_scalbl.c: Likewise.
23863 * math/w_acos.c: Likewise.
23864 * math/w_acosf.c: Likewise.
23865 * math/w_acosl.c: Likewise.
23866 * math/w_acosh.c: Likewise.
23867 * math/w_acoshf.c: Likewise.
23868 * math/w_acoshl.c: Likewise.
23869 * math/w_asin.c: Likewise.
23870 * math/w_asinf.c: Likewise.
23871 * math/w_asinl.c: Likewise.
23872 * math/w_atan2.c: Likewise.
23873 * math/w_atan2f.c: Likewise.
23874 * math/w_atan2l.c: Likewise.
23875 * math/w_atanh.c: Likewise.
23876 * math/w_atanhf.c: Likewise.
23877 * math/w_atanhl.c: Likewise.
23878 * math/w_exp10.c: Likewise.
23879 * math/w_exp10f.c: Likewise.
23880 * math/w_exp10l.c: Likewise.
23881 * math/w_fmod.c: Likewise.
23882 * math/w_fmodf.c: Likewise.
23883 * math/w_fmodl.c: Likewise.
23884 * math/w_j0.c: Likewise.
23885 * math/w_j0f.c: Likewise.
23886 * math/w_j0l.c: Likewise.
23887 * math/w_j1.c: Likewise.
23888 * math/w_j1f.c: Likewise.
23889 * math/w_j1l.c: Likewise.
23890 * math/w_jn.c: Likewise.
23891 * math/w_jnf.c: Likewise.
23892 * math/w_log.c: Likewise.
23893 * math/w_logf.c: Likewise.
23894 * math/w_logl.c: Likewise.
23895 * math/w_log10.c: Likewise.
23896 * math/w_log10f.c: Likewise.
23897 * math/w_log10l.c: Likewise.
23898 * math/w_log2.c: Likewise.
23899 * math/w_log2f.c: Likewise.
23900 * math/w_log2l.c: Likewise.
23901 * math/w_pow.c: Likewise.
23902 * math/w_powf.c: Likewise.
23903 * math/w_powl.c: Likewise.
23904 * math/w_remainder.c: Likewise.
23905 * math/w_remainderf.c: Likewise.
23906 * math/w_remainderl.c: Likewise.
23907 * math/w_scalb.c: Likewise.
23908 * math/w_scalbf.c: Likewise.
23909 * math/w_scalbl.c: Likewise.
23910 * math/w_sqrt.c: Likewise.
23911 * math/w_sqrtf.c: Likewise.
23912 * math/w_sqrtl.c: Likewise.
23913 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23914 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23916 * math/math_private.h: Declare __kernel_standard_f.
23917 * math/w_cosh.c: Remove cruft and optimize a bit.
23918 * math/w_coshf.c: Likewise.
23919 * math/w_coshl.c: Likewise.
23920 * math/w_exp2.c: Likewise.
23921 * math/w_exp2f.c: Likewise.
23922 * math/w_exp2l.c: Likewise.
23923 * math/w_hypot.c: Likewise.
23924 * math/w_hypotf.c: Likewise.
23925 * math/w_hypotl.c: Likewise.
23926 * math/w_lgamma.c: Likewise.
23927 * math/w_lgamma_r.c: Likewise.
23928 * math/w_lgammaf.c: Likewise.
23929 * math/w_lgammaf_r.c: Likewise.
23930 * math/w_lgammal.c: Likewise.
23931 * math/w_lgammal_r.c: Likewise.
23932 * math/w_sinh.c: Likewise.
23933 * math/w_sinhf.c: Likewise.
23934 * math/w_sinhl.c: Likewise.
23935 * math/w_tgamma.c: Likewise.
23936 * math/w_tgammaf.c: Likewise.
23937 * math/w_tgammal.c: Likewise.
23938 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23939 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23940 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23941 Minor optimizations. Pretty printing. Remove cruft.
23942 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23943 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23944 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23945 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23946 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23947 * sysdeps/i386/fpu/e_asin.S: Likewise.
23948 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23949 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23950 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23951 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23952 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23953 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23954 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23955 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23956 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23957 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23958 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23959 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23960 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23961 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23962 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23963 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23964 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23965 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23966 * sysdeps/i386/fpu/e_log.S: Likewise.
23967 * sysdeps/i386/fpu/e_log10.S: Likewise.
23968 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23969 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23970 * sysdeps/i386/fpu/e_log2.S: Likewise.
23971 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23972 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23973 * sysdeps/i386/fpu/e_logf.S: Likewise.
23974 * sysdeps/i386/fpu/e_logl.S: Likewise.
23975 * sysdeps/i386/fpu/e_pow.S: Likewise.
23976 * sysdeps/i386/fpu/e_powf.S: Likewise.
23977 * sysdeps/i386/fpu/e_powl.S: Likewise.
23978 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23979 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23980 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23981 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23982 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23983 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23984 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23985 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23986 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23987 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23988 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23989 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23990 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23991 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23992 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23993 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23994 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23995 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23996 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23997 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23998 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23999 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24000 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24001 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24002 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24003 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24004 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24005 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24006 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24007 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24008 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24009 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24010 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24011 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24012 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24013 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24014 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24015 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
24016 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24017 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24018 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24019 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24020 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24021 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24022 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24023 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24024 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24025 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24026 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24027 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24028 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24029 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24030 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24031 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24032 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24033 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24034 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24035 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24036 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24037 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24038 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24039 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24040 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24041 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24042 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24043 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24044 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24045 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24046 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24047 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24048 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24049 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24050 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24051 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24052 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24053 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24054 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24055 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24056 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24057 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24058 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24059 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24060 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24061 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24062 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24063 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24064 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24065 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24066 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24067 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24068 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24069 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24070 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24071 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24072 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24073 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24074 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24075 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24076 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24077 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24078 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24079 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24080 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24081 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24082 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24083 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24084 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24085 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24086 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24087 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24088 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24089 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24090 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24091 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24092 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24093 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24094 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24095 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24096 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24097 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24098 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24099 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24100 (__isnanf): Likewise.
24101 (__isinf_ns): Likewise.
24102 (__isinf_nsf): Likewise.
24103 (__finite): Likewise.
24104 (__finitef): Likewise.
24105 (__ieee754_sqrt): Define as macro.
24106 (__ieee754_sqrtf): Define as macro.
24107 (__ieee754_sqrtl): Define as macro.
24108 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24110 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24111 __FINITE_MATH_ONLY__ consistent.
24112 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24114 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24116 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24119 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24121 2011-10-09 Ulrich Drepper <drepper@gmail.com>
24123 * po/ja.po: Update from translation team.
24125 2011-10-08 Roland McGrath <roland@hack.frob.com>
24127 * locale/programs/locarchive.c (prepare_address_space): New function.
24128 (create_archive, enlarge_archive, open_archive): Use it.
24130 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24131 inside [SHARED], where it is used.
24133 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24135 * nss/getent.c (netgroup_keys): Remove unused variable.
24136 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24138 2011-10-08 Ulrich Drepper <drepper@gmail.com>
24140 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24141 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24142 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24143 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24144 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24145 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24146 * math/Makefile (libm-calls): Add s_isinf_ns.
24147 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24148 * math/multc3.c: Likewise.
24149 * math/s_casin.c: Likewise.
24150 * math/s_casinf.c: Likewise.
24151 * math/s_casinl.c: Likewise.
24152 * math/s_ccos.c: Likewise.
24153 * math/s_ccosf.c: Likewise.
24154 * math/s_ccosl.c: Likewise.
24155 * math/s_ctan.c: Likewise.
24156 * math/s_ctanf.c: Likewise.
24157 * math/s_ctanh.c: Likewise.
24158 * math/s_ctanhf.c: Likewise.
24159 * math/s_ctanhl.c: Likewise.
24160 * math/s_ctanl.c: Likewise.
24161 * math/w_fmod.c: Likewise.
24162 * math/w_fmodf.c: Likewise.
24163 * math/w_fmodl.c: Likewise.
24164 * math/w_remainder.c: Likewise.
24165 * math/w_remainderf.c: Likewise.
24166 * math/w_remainderl.c: Likewise.
24167 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24168 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24169 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24170 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24171 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24172 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24173 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24174 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24176 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24178 * stdio-common/printf_fphex.c: Likewise.
24179 * stdio-common/printf_size.c: Likewise.
24181 * math/e_exp10.c: Include math_private.h using <...> not "...".
24182 * math/e_exp10f.c: Likewise.
24183 * math/e_exp10l.c: Likewise.
24184 * math/e_exp2l.c: Likewise.
24185 * math/e_j0l.c: Likewise.
24186 * math/e_j1l.c: Likewise.
24187 * math/e_jnl.c: Likewise.
24188 * math/e_lgammal_r.c: Likewise.
24189 * math/e_rem_pio2l.c: Likewise.
24190 * math/e_scalb.c: Likewise.
24191 * math/e_scalbf.c: Likewise.
24192 * math/e_scalbl.c: Likewise.
24193 * math/k_cosl.c: Likewise.
24194 * math/k_sinl.c: Likewise.
24195 * math/k_tanl.c: Likewise.
24196 * math/s_cacoshf.c: Likewise.
24197 * math/s_catan.c: Likewise.
24198 * math/s_catanf.c: Likewise.
24199 * math/s_catanh.c: Likewise.
24200 * math/s_catanhf.c: Likewise.
24201 * math/s_catanhl.c: Likewise.
24202 * math/s_catanl.c: Likewise.
24203 * math/s_ccosh.c: Likewise.
24204 * math/s_ccoshf.c: Likewise.
24205 * math/s_ccoshl.c: Likewise.
24206 * math/s_cexp.c: Likewise.
24207 * math/s_cexpf.c: Likewise.
24208 * math/s_cexpl.c: Likewise.
24209 * math/s_clog.c: Likewise.
24210 * math/s_clog10.c: Likewise.
24211 * math/s_clog10f.c: Likewise.
24212 * math/s_clog10l.c: Likewise.
24213 * math/s_clogf.c: Likewise.
24214 * math/s_clogl.c: Likewise.
24215 * math/s_csin.c: Likewise.
24216 * math/s_csinf.c: Likewise.
24217 * math/s_csinh.c: Likewise.
24218 * math/s_csinhf.c: Likewise.
24219 * math/s_csinhl.c: Likewise.
24220 * math/s_csinl.c: Likewise.
24221 * math/s_csqrt.c: Likewise.
24222 * math/s_csqrtf.c: Likewise.
24223 * math/s_csqrtl.c: Likewise.
24224 * math/s_ctan.c: Likewise.
24225 * math/s_ctanf.c: Likewise.
24226 * math/s_ctanh.c: Likewise.
24227 * math/s_ctanhf.c: Likewise.
24228 * math/s_ctanhl.c: Likewise.
24229 * math/s_ctanl.c: Likewise.
24230 * math/s_ldexp.c: Likewise.
24231 * math/s_ldexpf.c: Likewise.
24232 * math/s_ldexpl.c: Likewise.
24233 * math/s_significand.c: Likewise.
24234 * math/s_significandf.c: Likewise.
24235 * math/s_significandl.c: Likewise.
24236 * math/w_acos.c: Likewise.
24237 * math/w_acosf.c: Likewise.
24238 * math/w_acosh.c: Likewise.
24239 * math/w_acoshf.c: Likewise.
24240 * math/w_acoshl.c: Likewise.
24241 * math/w_acosl.c: Likewise.
24242 * math/w_asin.c: Likewise.
24243 * math/w_asinf.c: Likewise.
24244 * math/w_asinl.c: Likewise.
24245 * math/w_atan2.c: Likewise.
24246 * math/w_atan2f.c: Likewise.
24247 * math/w_atan2l.c: Likewise.
24248 * math/w_atanh.c: Likewise.
24249 * math/w_atanhf.c: Likewise.
24250 * math/w_atanhl.c: Likewise.
24251 * math/w_cosh.c: Likewise.
24252 * math/w_coshf.c: Likewise.
24253 * math/w_coshl.c: Likewise.
24254 * math/w_dremf.c: Likewise.
24255 * math/w_exp10.c: Likewise.
24256 * math/w_exp10f.c: Likewise.
24257 * math/w_exp10l.c: Likewise.
24258 * math/w_exp2.c: Likewise.
24259 * math/w_exp2f.c: Likewise.
24260 * math/w_fmod.c: Likewise.
24261 * math/w_fmodf.c: Likewise.
24262 * math/w_fmodl.c: Likewise.
24263 * math/w_hypot.c: Likewise.
24264 * math/w_hypotf.c: Likewise.
24265 * math/w_hypotl.c: Likewise.
24266 * math/w_j0.c: Likewise.
24267 * math/w_j0f.c: Likewise.
24268 * math/w_j0l.c: Likewise.
24269 * math/w_j1.c: Likewise.
24270 * math/w_j1f.c: Likewise.
24271 * math/w_j1l.c: Likewise.
24272 * math/w_jn.c: Likewise.
24273 * math/w_jnf.c: Likewise.
24274 * math/w_jnl.c: Likewise.
24275 * math/w_lgamma.c: Likewise.
24276 * math/w_lgamma_r.c: Likewise.
24277 * math/w_lgammaf.c: Likewise.
24278 * math/w_lgammaf_r.c: Likewise.
24279 * math/w_lgammal.c: Likewise.
24280 * math/w_lgammal_r.c: Likewise.
24281 * math/w_log.c: Likewise.
24282 * math/w_log10.c: Likewise.
24283 * math/w_log10f.c: Likewise.
24284 * math/w_log10l.c: Likewise.
24285 * math/w_log2.c: Likewise.
24286 * math/w_log2f.c: Likewise.
24287 * math/w_log2l.c: Likewise.
24288 * math/w_logf.c: Likewise.
24289 * math/w_logl.c: Likewise.
24290 * math/w_pow.c: Likewise.
24291 * math/w_powf.c: Likewise.
24292 * math/w_powl.c: Likewise.
24293 * math/w_remainder.c: Likewise.
24294 * math/w_remainderf.c: Likewise.
24295 * math/w_remainderl.c: Likewise.
24296 * math/w_scalb.c: Likewise.
24297 * math/w_scalbf.c: Likewise.
24298 * math/w_scalbl.c: Likewise.
24299 * math/w_sinh.c: Likewise.
24300 * math/w_sinhf.c: Likewise.
24301 * math/w_sinhl.c: Likewise.
24302 * math/w_sqrt.c: Likewise.
24303 * math/w_sqrtf.c: Likewise.
24304 * math/w_sqrtl.c: Likewise.
24305 * math/w_tgamma.c: Likewise.
24306 * math/w_tgammaf.c: Likewise.
24307 * math/w_tgammal.c: Likewise.
24309 * po/ja.po: Update from translation team.
24311 2011-09-29 Andreas Jaeger <aj@suse.de>
24314 * sunrpc/netname.c (netname2host): Fix logic.
24318 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24320 * math/w_remainder.c (__remainder): Likewise.
24321 * math/w_remainderf.c (__remainderf): Likewise.
24322 * math/libm-test.inc (remainder_test): Add test cases.
24324 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24326 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24329 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24331 * string/test-memcmp.c: Avoid unncessary #defines.
24332 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24334 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24336 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24337 Use new sse2 version for core i3 - i7 as it's faster
24338 than sse42 version.
24339 (bit_Prefer_PMINUB_for_stringop): New.
24340 * sysdeps/x86_64/rawmemchr.S: Update.
24341 Replace with faster SSE2 version.
24342 * sysdeps/x86_64/memrchr.S: New file.
24343 * sysdeps/x86_64/memchr.S: Update.
24344 Replace with faster SSE2 version.
24346 2011-09-12 Marek Polacek <mpolacek@redhat.com>
24348 * elf/dl-load.c (lose): Add cast to avoid warning.
24350 2011-10-07 Ulrich Drepper <drepper@gmail.com>
24352 * po/ca.po: Update from translation team.
24354 * inet/getnetgrent_r.c: Hook up nscd.
24355 * nscd/Makefile (routines): Add nscd_netgroup.
24356 (nscd-modules): Add netgroupcache.
24357 (CFLAGS-netgroupcache.c): Define.
24358 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24359 (cache_search): Add const to second parameter.
24360 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24362 (dbs): Add netgrdb entry.
24363 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24364 (verify_persistent_db): Handle netgrdb.
24365 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24366 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24368 (netgroup_response_header): Define.
24369 (innetgroup_response_header): Define.
24370 (datahead): Add netgroup_response_header and innetgroup_response_header
24372 * nscd/nscd.conf: Add entries for netgroup cache.
24373 * nscd/nscd.h (dbtype): Add netgrdb.
24374 (_PATH_NSCD_NETGROUP_DB): Define.
24375 (netgroup_iov_disabled): Declare.
24376 (xmalloc, xcalloc, xrealloc): Move declarations here.
24377 (cache_search): Adjust prototype.
24378 Add netgroup-related prototypes.
24379 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24380 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24381 (__nscd_innetgr): Declare.
24382 * nscd/selinux.c (perms): Use access_vector_t as element type and
24383 add netgroup-related initializers.
24384 * nscd/netgroupcache.c: New file.
24385 * nscd/nscd_netgroup.c: New file.
24386 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24387 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24388 For four parameters use innetgr.
24389 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24390 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24391 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24392 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24394 * nscd/connections.c (register_traced_file): Don't register file
24395 for disabled databases.
24397 2011-10-06 Ulrich Drepper <drepper@gmail.com>
24399 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24401 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24402 from tree and freeing node.
24404 2011-09-25 Jiri Olsa <jolsa@redhat.com>
24406 * nss/nsswitch.c (__nss_database_lookup): Handle
24407 nss_parse_service_list out of memory case.
24409 2011-09-15 Jiri Olsa <jolsa@redhat.com>
24411 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24412 out of memory case.
24414 2011-10-04 Andreas Schwab <schwab@redhat.com>
24416 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24417 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24419 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24420 elf_machine_rela, elf_machine_lazy_rel.
24421 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24422 (ELF_DYNAMIC_DO_REL): Likewise.
24423 (ELF_DYNAMIC_DO_RELA): Likewise.
24424 (ELF_DYNAMIC_RELOCATE): Likewise.
24425 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24426 to ELF_DYNAMIC_DO_REL.
24427 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24428 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24429 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24431 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24432 skip_ifunc, don't call ifunc function if non-zero.
24433 (elf_machine_rela): Likewise.
24434 (elf_machine_lazy_rel): Likewise.
24435 (elf_machine_lazy_rela): Likewise.
24436 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24437 (elf_machine_lazy_rel): Likewise.
24438 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24440 (elf_machine_lazy_rel): Likewise.
24441 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24443 (elf_machine_lazy_rel): Likewise.
24444 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24445 (elf_machine_lazy_rel): Likewise.
24446 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24447 (elf_machine_lazy_rel): Likewise.
24448 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24449 (elf_machine_lazy_rel): Likewise.
24450 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24451 (elf_machine_lazy_rel): Likewise.
24452 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24453 (elf_machine_lazy_rel): Likewise.
24454 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24455 (elf_machine_lazy_rel): Likewise.
24457 2011-09-28 Ulrich Drepper <drepper@gmail.com>
24459 * nss/nss_files/files-init.c (_nss_files_init): Use static
24460 initialization for all the *_traced_file variables.
24462 2011-09-28 Andreas Schwab <schwab@redhat.com>
24464 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24466 2011-09-27 Roland McGrath <roland@hack.frob.com>
24469 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24471 2011-09-27 Andreas Schwab <schwab@redhat.com>
24473 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24474 Reread the line before reparsing it.
24476 2011-09-26 Andreas Schwab <schwab@redhat.com>
24478 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24480 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24481 Maxim Kuvyrkov <maxim@codesourcery.com>
24482 Joseph Myers <joseph@codesourcery.com>
24484 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24485 if needed for __stack_chk_guard.
24487 2011-09-19 Roland McGrath <roland@hack.frob.com>
24489 * sysdeps/posix/spawni.c (script_execute): Always define it.
24490 It will be optimized away if unused.
24491 (maybe_script_execute): New function.
24492 (__spawni): Call it.
24494 * Makerules: Don't include tls.make.
24495 (config-tls): Always set to thread.
24496 * tls.make.c: File removed.
24498 2011-09-19 Mike Frysinger <vapier@gentoo.org>
24500 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24501 * config.make.in (CPPFLAGS-config): New substituted variable.
24503 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24505 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24508 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24509 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24511 2011-09-15 Roland McGrath <roland@hack.frob.com>
24513 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24514 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24515 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24516 (CALL_FAIL): Likewise.
24517 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24518 (CALL_FAIL): Macro removed.
24519 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24521 2011-09-15 Ulrich Drepper <drepper@gmail.com>
24523 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24524 for __FINITE_MATH_ONLY__ == 1.
24526 2011-09-15 Andreas Schwab <schwab@redhat.com>
24528 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24529 __ieee754_sqrt instead of sqrt.
24530 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24531 __ieee754_sqrtf instead of sqrtf.
24532 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24533 __floorf instead of floorf.
24534 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24535 __floorf, __truncf instead of floorf, truncf.
24537 2011-09-14 Ulrich Drepper <drepper@gmail.com>
24539 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24541 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24542 __extern_always_inline.
24543 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24546 2011-09-14 Andreas Schwab <schwab@redhat.com>
24548 * elf/rtld.c (dl_main): Also relocate in dependency order when
24549 doing symbol dependency testing.
24551 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24553 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24554 Always define `refsym'.
24556 2011-09-13 Andreas Schwab <schwab@redhat.com>
24558 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24559 (__FD_ELT): Renamed from __FDELT.
24560 * misc/bits/select2.h (__FD_ELT): Likewise.
24561 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24562 __FD_MASK instead of __FDELT, __FDMASK.
24563 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24565 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24568 * elf/Makefile (gen-ldd): Fix pattern.
24570 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24571 (init_tls): Likewise.
24573 2011-09-12 Ulrich Drepper <drepper@gmail.com>
24575 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24577 2011-09-12 Andreas Schwab <schwab@redhat.com>
24579 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24580 `struct cmsghdr *' instead of `void *'.
24581 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24584 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24586 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24588 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24589 ldd_rewrite_script.
24591 2011-09-11 Ulrich Drepper <drepper@gmail.com>
24593 * configure.in: Remove --with-tls option.
24594 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24595 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24596 out in case it is missing.
24597 * sysdeps/ia64/elf/configure.in: Likewise.
24598 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24599 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24600 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24601 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24602 * sysdeps/sh/elf/configure.in: Likewise.
24603 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24604 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24605 * sysdeps/x86_64/elf/configure.in: Likewise.
24606 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24607 * sysdeps/mach/hurd/tls.h: Likewise.
24610 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24613 * configure.in: Fix use of AC_INIT.
24615 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24617 2011-09-10 Ulrich Drepper <drepper@gmail.com>
24619 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24621 * malloc/hooks.c: Likewise.
24624 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24625 variables statically.
24626 (narenas): Initialize.
24627 (list_lock): Initialize.
24628 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24629 initializtion of main_arena and list_lock. Small cleanups.
24630 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24631 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24632 Add initializers to main_arena and mp_.
24633 (malloc_state): Remove pagesize member. Change all users to use
24636 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24637 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24638 is always initialized.
24640 * malloc/malloc.c: Removed unused configurations and dead code.
24641 * malloc/arena.c: Likewise.
24642 * malloc/hooks.c: Likewise.
24643 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
24645 * include/tls.h: Removed. USE___THREAD must always be defined.
24646 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24647 * elf/dl-libc.c: Likewise.
24648 * elf/dl-tsd.c: Likewise.
24649 * include/errno.h: Likewise.
24650 * include/netdb.h: Likewise.
24651 * include/resolv.h: Likewise.
24652 * inet/herrno-loc.c: Likewise.
24653 * inet/herrno.c: Likewise.
24654 * malloc/arena.c: Likewise.
24655 * malloc/hooks.c: Likewise.
24656 * malloc/malloc.c: Likewise.
24657 * resolv/res-state.c: Likewise.
24658 * resolv/res_libc.c: Likewise.
24659 * sysdeps/i386/dl-machine.h: Likewise.
24660 * sysdeps/ia64/dl-machine.h: Likewise.
24661 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24662 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24663 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24664 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24665 * sysdeps/sh/dl-machine.h: Likewise.
24666 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24667 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24668 * sysdeps/unix/i386/sysdep.S: Likewise.
24669 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24670 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24671 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24672 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24673 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24674 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24675 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24676 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24677 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24679 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24680 * sysdeps/x86_64/dl-machine.h: Likewise.
24681 * tls.make.c: Likewise.
24683 * configure.in: Remove --with-__thread option. Make tests for
24684 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24685 tls_model attribute fail if no support is available. Remove
24687 * Makeconfig: Adjust for dropped configure option. All features are
24689 * Makerules: Likewise.
24690 * Versions.def: Likewise.
24691 * argp/argp-fmtstream.c: Likewise.
24692 * argp/argp-fmtstream.h: Likewise.
24693 * argp/argp-help.c: Likewise.
24694 * assert/assert.c: Likewise.
24695 * config.h.in: Likewise.
24696 * config.make.in: Likewise.
24697 * configure: Likewise.
24698 * configure.in: Likewise.
24699 * csu/Versions: Likewise.
24700 * csu/init.c: Likewise.
24701 * elf/tst-audit2.c: Likewise.
24702 * elf/tst-tls10.c: Likewise.
24703 * elf/tst-tls10.h: Likewise.
24704 * elf/tst-tls11.c: Likewise.
24705 * elf/tst-tls12.c: Likewise.
24706 * elf/tst-tls14.c: Likewise.
24707 * elf/tst-tlsmod11.c: Likewise.
24708 * elf/tst-tlsmod12.c: Likewise.
24709 * elf/tst-tlsmod13.c: Likewise.
24710 * elf/tst-tlsmod13a.c: Likewise.
24711 * elf/tst-tlsmod14a.c: Likewise.
24712 * elf/tst-tlsmod15b.c: Likewise.
24713 * elf/tst-tlsmod16a.c: Likewise.
24714 * elf/tst-tlsmod16b.c: Likewise.
24715 * elf/tst-tlsmod7.c: Likewise.
24716 * elf/tst-tlsmod8.c: Likewise.
24717 * elf/tst-tlsmod9.c: Likewise.
24718 * gmon/gmon.c: Likewise.
24719 * grp/fgetgrent_r.c: Likewise.
24720 * grp/putgrent.c: Likewise.
24721 * hurd/fopenport.c: Likewise.
24722 * include/libc-symbols.h: Likewise.
24723 * include/tls.h: Likewise.
24724 * intl/gettextP.h: Likewise.
24725 * intl/loadinfo.h: Likewise.
24726 * locale/global-locale.c: Likewise.
24727 * locale/localeinfo.h: Likewise.
24728 * mach/devstream.c: Likewise.
24729 * malloc/arena.c: Likewise.
24730 * malloc/set-freeres.c: Likewise.
24731 * misc/err.c: Likewise.
24732 * misc/getttyent.c: Likewise.
24733 * misc/mntent_r.c: Likewise.
24734 * posix/getopt.c: Likewise.
24735 * posix/wordexp.c: Likewise.
24736 * pwd/fgetpwent_r.c: Likewise.
24737 * resolv/Versions: Likewise.
24738 * resolv/res_hconf.c: Likewise.
24739 * shadow/fgetspent_r.c: Likewise.
24740 * shadow/putspent.c: Likewise.
24741 * stdio-common/printf_fphex.c: Likewise.
24742 * stdio-common/tmpfile.c: Likewise.
24743 * stdlib/abort.c: Likewise.
24744 * stdlib/fmtmsg.c: Likewise.
24745 * sunrpc/auth_unix.c: Likewise.
24746 * sunrpc/clnt_perr.c: Likewise.
24747 * sunrpc/clnt_tcp.c: Likewise.
24748 * sunrpc/clnt_udp.c: Likewise.
24749 * sunrpc/clnt_unix.c: Likewise.
24750 * sunrpc/openchild.c: Likewise.
24751 * sunrpc/svc_simple.c: Likewise.
24752 * sunrpc/svc_tcp.c: Likewise.
24753 * sunrpc/svc_udp.c: Likewise.
24754 * sunrpc/svc_unix.c: Likewise.
24755 * sunrpc/xdr.c: Likewise.
24756 * sunrpc/xdr_array.c: Likewise.
24757 * sunrpc/xdr_rec.c: Likewise.
24758 * sunrpc/xdr_ref.c: Likewise.
24759 * sunrpc/xdr_stdio.c: Likewise.
24761 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24763 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24765 2011-07-03 Andreas Jaeger <aj@suse.de>
24767 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24768 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24769 regenerate with gen-libm-tests.pl.
24771 2010-05-12 Petr Baudis <pasky@suse.cz>
24774 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24775 around j0() zero points by switching to j1().
24776 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24777 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24778 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24779 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24781 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24783 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24785 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
24787 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24788 Patch in part by Pavel Roskin <proski@gnu.org>.
24791 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24793 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24794 Free memory block if necessary.
24797 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24798 be NULL. Don't lock in this case.
24800 2011-09-09 Roland McGrath <roland@hack.frob.com>
24802 * elf/elf.h (ELFOSABI_GNU): New macro.
24803 (ELFOSABI_LINUX): Define to that.
24805 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24807 * string/strncat.c (strncat): Undef the symbol in case it has been
24808 defined in bits/string.h.
24810 2011-09-09 Ulrich Drepper <drepper@gmail.com>
24812 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24814 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
24817 2011-08-17 Andreas Jaeger <aj@suse.de>
24819 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24821 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24822 Ian Lance Taylor <iant@google.com>
24824 * math/libm-test.inc (lround_test): New testcase.
24825 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24827 2011-09-08 Ulrich Drepper <drepper@gmail.com>
24829 * Makefile: Remove support for automatic cvs check-ins.
24830 * Makerules: Likewise.
24831 * config.make.in: Likewise.
24832 * configure.in: Likewise.
24833 * intl/Makefile: Likewise.
24834 * locale/Makefile: Likewise.
24835 * po/Makefile: Likewise.
24836 * posix/Makefile: Likewise.
24837 * sysdeps/gnu/Makefile: Likewise.
24838 * sysdeps/mach/hurd/Makefile: Likewise.
24839 * sysdeps/sparc/sparc32/Makefile: Likewise.
24842 * posix/Makefile (bug-regex32-ENV): Define.
24843 Patch by John Stanley <jpsinthemix@verizon.net>.
24845 * misc/Makefile (headers): Add bits/select2.h.
24846 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24847 * misc/bits/select2.h: New file.
24848 * include/bits/select2.h: New file.
24849 * debug/Makefile (routines): Add fdelt_chk.
24850 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24851 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24853 * debug/fdelt_chk.c: New file.
24855 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24856 * wcsmbs/test-wmemcmp.c: Likewise.
24857 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
24858 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
24860 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24862 * string/Makefile (strop-tests): Add memcmp.
24863 * string/test-wmemcmp.c: New file.
24864 * string/test-memcmp.c: Add wmemcmp support.
24866 2011-09-08 Roland McGrath <roland@hack.frob.com>
24869 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24872 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24873 garbage value in a __mach_port_mod_refs call in the cases of the
24874 task-self and thread-self ports.
24876 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24878 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24880 2011-09-08 Andreas Schwab <schwab@redhat.com>
24882 * elf/dl-load.c (lose): Check for non-null L.
24884 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24886 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24888 * elf/dl-libc.c (dlerror_run): Pass back error code from
24892 * elf/dl-load.c (lose): Free l_origin if it is valid.
24894 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24896 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24897 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24898 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24899 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24900 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24901 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24903 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24905 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24906 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24907 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24908 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24909 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24910 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24911 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24912 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24913 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24914 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24916 2011-08-15 Alan Modra <amodra@gmail.com>
24919 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24920 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24921 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24922 ppc_mcount to static-only-routines.
24923 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24925 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24926 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24928 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24930 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24931 for finite and infinity parameters.
24933 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24935 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24936 and add nop instructions for throughput optimization.
24937 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24939 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24941 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24942 aligned copy for power7 with vector-scalar instructions.
24943 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24945 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24950 2011-09-07 Andreas Schwab <schwab@redhat.com>
24953 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24956 2011-09-07 Ulrich Drepper <drepper@gmail.com>
24958 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24959 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24960 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24961 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24964 2011-09-06 Ulrich Drepper <drepper@gmail.com>
24966 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24967 Forgot to demangle the pointer.
24969 * sysdeps/i386/sysdep.h: Define atom_text_section.
24970 * sysdeps/x86_64/sysdep.h: Likewise.
24971 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24972 section with atom_text_section.
24973 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24974 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24975 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24976 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24977 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24979 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24980 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24981 already be defined. Change to take two parameters and don't assign
24982 result to variable. Adjust all users.
24983 Define INTERNAL_GETTIME if not already defined.
24984 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24987 HAVE_CLOCK_GETTIME_VSYSCALL.
24988 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24990 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24991 gettimeofday vsyscall, just use time.
24993 2011-09-06 Andreas Schwab <schwab@redhat.com>
24995 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24998 2011-09-06 Ulrich Drepper <drepper@gmail.com>
25000 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
25002 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
25004 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25005 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
25006 syscall if possible.
25008 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25010 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
25011 e_ident. Don't pass to find_mapsXX.
25012 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
25014 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25017 strchr-sse2-no-bsf strrchr-sse2-no-bsf
25018 * sysdeps/x86_64/multiarch/strchr.S: Update.
25019 Check bit_slow_BSF bit.
25020 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25021 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
25022 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
25024 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25027 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
25029 (tryshell): Define.
25030 (__spawni): Change last parameter to be flag. Test
25031 SPAWN_XFLAGS_USE_PATH flag to use path or not.
25032 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
25033 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
25034 * posix/spawni.c: Likewise.
25035 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
25036 * posix/spawnp.c: Likewise. Change normal version to use
25037 SPAWN_XFLAGS_USE_PATH.
25038 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25039 SPAWN_XFLAGS_TRY_SHELL.
25042 * posix/glob.h: Remove gcc 1.x support.
25045 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25047 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25049 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25050 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25052 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25053 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25054 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25055 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25056 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25057 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25059 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25061 * sysdeps/x86_64/wcscmp.S: New file.
25063 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25064 wcscmp-c wcscmp-sse2
25065 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25066 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25067 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25068 * wcsmbs/wcscmp.c: Allow renaming.
25070 2011-09-05 David S. Miller <davem@davemloft.net>
25072 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25073 stack slot, rather than the struct return pointer slot.
25074 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25075 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25077 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25079 2011-09-05 Ulrich Drepper <drepper@gmail.com>
25081 * po/ja.po: Update from translation team.
25084 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25085 kernel in 64-bit binaries.
25087 2011-09-01 David S. Miller <davem@davemloft.net>
25089 * elf/elf.h (HWCAP_SPARC_*): Move to..
25090 * sysdeps/sparc/sysdep.h: this new file and add new values.
25091 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25092 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25093 _DL_HWCAP_COUNT to 24.
25094 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25096 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25097 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25098 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25099 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25100 instead of magic constants.
25101 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25103 2011-08-31 David S. Miller <davem@davemloft.net>
25105 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25106 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25107 Reimplement to do errno handling inline.
25108 (SYSCALL_ERROR_HANDLER): New macro.
25109 (__SYSCALL_STRING): Do not do errno handling in asm.
25110 (__CLONE_SYSCALL_STRING): Delete.
25111 (__INTERNAL_SYSCALL_STRING): Delete.
25112 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25113 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25114 (PSEUDO): Reimplement to do errno handling inline.
25115 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25116 (SYSCALL_ERROR_HANDLER): New macro.
25117 (__SYSCALL_STRING): Do not do errno handling in asm.
25118 (__CLONE_SYSCALL_STRING): Delete.
25119 (__INTERNAL_SYSCALL_STRING): Delete.
25120 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25121 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25123 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25124 (inline_syscall*): Add 'err' argument.
25125 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25126 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25127 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25128 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25130 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25131 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25133 2011-08-30 Andreas Schwab <schwab@redhat.com>
25135 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25137 2011-08-29 Jiri Olsa <jolsa@redhat.com>
25139 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25142 2011-08-24 David S. Miller <davem@davemloft.net>
25144 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25146 2011-08-24 Andreas Schwab <schwab@redhat.com>
25148 * elf/Makefile: Add rules to build and run unload8 test.
25149 * elf/unload8.c: New file.
25150 * elf/unload8mod1.c: New file.
25151 * elf/unload8mod1x.c: New file.
25152 * elf/unload8mod2.c: New file.
25153 * elf/unload8mod3.c: New file.
25155 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25158 2011-08-23 David S. Miller <davem@davemloft.net>
25160 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25161 subtract stack bias.
25162 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25163 %sp not %fp in calculations.
25164 (_JMPBUF_UNWINDS_ADJ): Likewise.
25166 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25167 (aio_suspend): Call it to force an exception region around the
25168 AIO_MISC_WAIT() invocation.
25170 2011-08-23 Andreas Schwab <schwab@redhat.com>
25172 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25175 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25177 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25179 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25180 and <dl-machine.h>.
25181 (Elf64_FuncDesc): Remove.
25183 2011-08-22 David S. Miller <davem@davemloft.net>
25185 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25186 sigaltstack check, add missing cfi directives.
25187 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25188 missing cfi directives, and sigaltstack handling.
25190 2011-08-16 Andreas Schwab <schwab@redhat.com>
25193 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25194 object is seen twice.
25195 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25197 * elf/Makefile (distribute): Add tst-initorder2.c.
25198 (tests): Add tst-initorder2.
25199 (modules-names): Add tst-initorder2a tst-initorder2b
25200 tst-initorder2c tst-initorder2d. Add rules to build them.
25201 ($(objpfx)tst-initorder2.out): New rule.
25202 * elf/tst-initorder2.c: New file.
25203 * elf/tst-initorder2.exp: New file.
25205 2011-08-22 Andreas Schwab <schwab@redhat.com>
25207 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25209 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25210 dependencies back to end of function.
25212 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25213 $(elfobjdir)/ld.so.
25215 2011-08-21 Ulrich Drepper <drepper@gmail.com>
25217 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25218 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25219 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25220 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25221 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25222 of __vdso_gettimeofday.
25223 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25224 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
25226 (_libc_vdso_platform_setup): Remove initialization of
25227 __vdso_gettimeofday and __vdso_time.
25229 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25231 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25232 and fgetc_unlocked.
25233 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25236 * elf/dl-open.c (add_to_global): Report additions to the global scope
25237 for LD_DEBUG=scopes.
25238 (dl_open_worker): Also print scope of newly loaded dependencies.
25239 (_dl_show_scope): Indicate if there is no scope.
25242 * stdio-common/Makefile (tests): Add bug24.
25243 * stdio-common/bug24.c: New file.
25245 2011-08-19 Andreas Jaeger <aj@suse.de>
25248 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25249 non-existant file when using close-on-exec mode.
25251 2011-08-20 Ulrich Drepper <drepper@gmail.com>
25253 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25254 the very first instruction.
25256 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25257 the CFI state in the end.
25258 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25259 inclusion of dl-trampoline.h.
25260 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25262 2011-08-19 Andreas Schwab <schwab@redhat.com>
25264 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25265 expectations for long double.
25267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25268 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25270 2011-08-14 David S. Miller <davem@davemloft.net>
25272 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25273 artificual limit depends upon the system page size.
25275 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25277 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25278 * resolv/Makefile: Define CFLAGS-libresolv.
25280 2011-08-17 Andreas Schwab <schwab@redhat.com>
25282 * nss/makedb.c (compute_tables): Make variables used in nested
25285 2011-08-17 Ulrich Drepper <drepper@gmail.com>
25287 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25288 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25289 if buffer was too small.
25291 * elf/pldd.c (main): Attach to all threads in the process.
25292 Rewrite /proc handling to use *at functions.
25294 2011-08-16 Ulrich Drepper <drepper@gmail.com>
25296 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25297 specifies first scope to show.
25298 (dl_open_worker): Update callers. Move printing scope of new
25299 object to before the relocation.
25300 * elf/rtld.c (dl_main): Update _dl_show_scope call.
25301 * sysdeps/generic/ldsodefs.h: Update declaration.
25303 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25304 string for the scope number.
25306 2011-08-14 Ulrich Drepper <drepper@gmail.com>
25308 * nscd/servicescache.c (cache_addserv): Make sure written is always
25311 2011-08-14 Roland McGrath <roland@hack.frob.com>
25313 * sysdeps/i386/i486/bits/atomic.h
25314 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25315 statement expression, so as to suppress "set but not used" warning.
25316 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25318 * string/strncat.c (STRNCAT): Use prototype definition.
25320 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25321 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25323 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25324 (localedef-modules): Add localedef.
25325 (locale-modules): Add locale.
25327 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25328 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25329 to avoid a warning.
25331 2011-08-14 David S. Miller <davem@davemloft.net>
25333 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25334 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25336 2011-08-13 Ulrich Drepper <drepper@gmail.com>
25338 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
25339 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25340 * elf/rtld.c (dl_main): Set l_name of vDSO.
25341 Call _dl_show_scope when DL_DEBUG_SCOPES.
25342 (process_dl_debug): Recognize scopes flag and also set it for all.
25343 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25344 Declare _dl_show_scope.
25346 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25347 (do_dlopen): Pass caller_dlopen to dl_open.
25348 (__libc_dlopen_mode): Initialize caller_dlopen.
25350 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25351 of libc. Make tolower call locale-independent. Optimize a bit by
25352 using isdigit instead of isalnum.
25353 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25355 2011-08-12 Ulrich Drepper <drepper@gmail.com>
25357 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25358 was a dependency or dynamically loaded.
25360 2011-08-11 Ulrich Drepper <drepper@gmail.com>
25362 * intl/l10nflist.c: Allow architecture-specific pop function.
25363 * sysdeps/x86_64/l10nflist.c: New file.
25365 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25368 2011-08-10 Andreas Schwab <schwab@redhat.com>
25370 * include/dirent.h: Add libc_hidden_proto for scandirat and
25371 scandirat64. Don't declare __scandirat64.
25372 * dirent/scandirat.c: Add libc_hidden_def.
25373 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25374 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25376 2011-08-10 David S. Miller <davem@davemloft.net>
25378 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25380 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25381 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25382 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25384 2011-08-09 Ulrich Drepper <drepper@gmail.com>
25386 * Versions.def [libc]: Add GLIBC_2.15.
25387 * dirent/Makefile (routines): Add scandirat and scandirat64.
25388 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25390 * dirent/dirent.h: Declare scandirat and scandirat64.
25391 * dirent/scandirat.c: New file.
25392 * dirent/scandirat64.c: New file.
25393 * sysdeps/wordsize-64/scandirat.c: New file.
25394 * sysdeps/wordsize-64/scandirat64.c: New file.
25395 * dirent/opendir.c: Define opendirat.
25396 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25398 * dirent/scandir64.c: Adjust for scandir.c change.
25399 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25400 __scandirat64, and __scandir_cancel_handler.
25401 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25402 additional parameter and use openat instead of open (outside of ld.so).
25403 Add new __opendir as wrapper around __opendirat.
25404 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25405 here without requiring old scandirat implementation.
25407 2011-08-08 Ulrich Drepper <drepper@gmail.com>
25409 * dirent/scandir.c (cancel_handler): Renamed to
25410 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25411 defined. Adjust users.
25412 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25413 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25415 2011-08-04 Ulrich Drepper <drepper@gmail.com>
25417 * string/test-string.h (IMPL): Use __STRING to expand name and then
25420 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25423 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25425 * string/Makefile: Update.
25426 (strop-tests): Append strncat.
25427 * string/test-wcscmp.c: New file.
25428 New comprehensive test for wcscmp.
25429 * string/test-strcmp.c: Update.
25430 (WIDE): New define.
25432 2011-07-22 Andreas Schwab <schwab@redhat.com>
25434 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25437 2011-07-26 Andreas Schwab <schwab@redhat.com>
25439 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25440 encoding to ACE if AI_IDN.
25442 2011-08-01 Jakub Jelinek <jakub@redhat.com>
25444 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25445 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25447 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25449 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25450 Fix overflow bug in strncat.
25451 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25453 * string/test-strncat.c: Update.
25454 Add new tests for checking overflow bugs.
25456 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25459 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25460 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25461 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25462 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25463 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25464 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25465 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25466 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25468 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25469 (USE_AS_STRCAT): Define.
25470 Add strcat and strncat support.
25471 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25473 2011-07-25 Andreas Schwab <schwab@redhat.com>
25475 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25476 __n bigger than INT_MAX+1.
25477 (__strncmp_g): Likewise.
25479 2011-07-23 Ulrich Drepper <drepper@gmail.com>
25481 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25482 * libio/stido.h: Likewise.
25484 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25489 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25490 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25491 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25492 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25493 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25496 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25501 (_dl_x86_64_save_sse): Likewise.
25503 2011-07-22 Ulrich Drepper <drepper@gmail.com>
25505 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25507 (_dl_x86_64_save_sse): Likewise.
25509 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25511 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25513 2011-07-21 Andreas Schwab <schwab@redhat.com>
25515 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25517 (_dl_x86_64_save_sse): Use correct AVX check.
25519 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25521 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25522 bug in strncpy/strncat.
25523 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25525 2011-07-21 Ulrich Drepper <drepper@gmail.com>
25527 * string/tester.c (test_strcat): Add tests for different alignments
25528 of source and destination.
25529 (test_strncat): Likewise.
25531 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25534 * posix/glob.c (glob): Check passed in values before using them in
25535 expressions to avoid some overflows.
25536 (glob_in_dir): Likewise.
25539 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25540 check for AVX enablement so that we don't crash with old kernels and
25542 * elf/tst-audit4.c: Add same checks here.
25543 * elf/tst-audit6.c: Likewise.
25545 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
25547 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25549 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25551 2011-07-20 Ulrich Drepper <drepper@gmail.com>
25553 * po/cs.po: Update from translation team.
25554 * po/bg.po: Likewise.
25556 2011-07-12 Marek Polacek <mpolacek@redhat.com>
25558 * misc/sys/cdefs.h: Add support for const attribute.
25559 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25560 to gnu_dev_{major,minor,makedev} functions.
25562 2011-07-20 Marek Polacek <mpolacek@redhat.com>
25564 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25566 2011-07-20 Andreas Schwab <schwab@redhat.com>
25568 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25571 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25573 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25574 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25575 register in order to avoid conflicts with the soft frame pointer
25576 being held in r11 when necessary.
25577 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25578 (INTERNAL_VSYSCALL_NCS): Likewise.
25580 2011-07-14 Marek Polacek <mpolacek@redhat.com>
25582 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25583 * elf/dl-fini.c (_dl_fini): Adjust caller.
25584 * elf/dl-close.c (_dl_close_worker): Likewise.
25585 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25587 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25589 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25590 "aux_cache->nlibs < 0".
25592 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25593 in the reload-count case.
25595 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25598 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25599 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25600 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25601 * sysdeps/x86_64/multiarch/strcat.S: New file.
25602 * sysdeps/x86_64/multiarch/strncat.S: New file.
25603 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25604 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25605 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25606 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25607 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25608 (USE_AS_STRCAT): Define.
25609 Add strcat and strncat support.
25610 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25611 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25612 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25613 * string/strncat.c: Update.
25614 (USE_AS_STRNCAT): Define.
25615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25616 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25618 * sysdeps/x86_64/multiarch/init-arch.h
25619 (bit_Prefer_PMINUB_for_stringop): New.
25620 (index_Prefer_PMINUB_for_stringop): Likewise.
25621 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25622 bit_Prefer_PMINUB_for_stringop.
25624 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25626 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25628 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25629 of casting of buffer.
25630 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25631 buffer32 and buffer64.
25632 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25633 writes instead of casting of buffer.
25634 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25636 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25639 2011-07-19 Andreas Schwab <schwab@redhat.com>
25641 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25643 2011-07-19 Ulrich Drepper <drepper@gmail.com>
25645 * nscd/nscd.c (termination_handler): Don't do anything for a database
25646 if it has not yet been initialized.
25648 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25650 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25652 2011-07-15 Marek Polacek <mpolacek@redhat.com>
25654 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25656 2011-07-18 Ulrich Drepper <drepper@gmail.com>
25658 * po/nl.po: Update from translation team.
25659 * po/sv.po: Likewise.
25661 2011-07-16 Roland McGrath <roland@hack.frob.com>
25663 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25664 now disallowed by GCC.
25666 * configure.in (use-default-link): Default to yes if a test -shared
25667 link meets our qualifications.
25668 * configure: Regenerated.
25670 * config.make.in (output-format): New variable.
25671 * configure.in: Check for ld --print-output-format support.
25672 * configure: Regenerated.
25673 * Makerules ($(common-objpfx)format.lds)
25674 [$(output-format) != unknown]: Just use $(output-format),
25675 instead of the linker-script munging.
25677 2011-07-14 Roland McGrath <roland@hack.frob.com>
25679 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25680 of $(common-objpfx)shlib.lds.
25681 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25683 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25684 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25686 * configure.in (-z relro check): Adjust test code to add a large
25687 writable data section after it.
25688 * configure: Regenerated.
25690 2011-07-11 Roland McGrath <roland@hack.frob.com>
25692 * configure.in (-z relro check): Fix test code to make the variable
25694 * configure: Regenerated.
25696 2011-07-11 Ulrich Drepper <drepper@gmail.com>
25698 * nscd/nscd.h (struct traced_file): Define.
25699 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25700 elements. Add traced_files.
25701 (inotify_fd): Declare.
25702 (register_traced_file): Declare.
25703 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25704 (inotify_fd): Export.
25705 (resolv_conf_descr): Remove.
25706 (nscd_init): Move inotify descriptor creation to main.
25707 Don't register files for notification here.
25708 (register_traced_file): New function.
25709 (invalidate_cache): Don't use reset_res to determine whether to call
25710 res_init, go through the list of registered files.
25711 (main_loop_poll): The inotify descriptors are now stored in the
25712 structures for the traced files.
25713 (main_loop_epoll): Likewise
25714 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25715 to __nss_disable_nscd.
25716 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25717 for a database anymore. Check the records for all the registered
25719 * nss/Makefile (libnss_files-routines): Add files-init.
25720 (libnss_db-routines): Add db-init.
25721 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25722 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25723 * nss/nss_db/db-init.c: New file.
25724 * nss/nss_files/files-init.c: New file.
25725 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25726 __nss_lookup_function.
25727 (__nss_lookup_function): Call nss_load_library.
25728 (nss_load_all_libraries): New function.
25729 (__nss_disable_nscd): Take parameter with callback function for files
25730 to register. Set is_nscd. Load all the DSOs for the NSS modules
25731 used for the cached services.
25732 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25733 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25734 options for features to all the files in nscd.
25736 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25738 2011-07-10 Roland McGrath <roland@hack.frob.com>
25740 * csu/elf-init.c (__libc_csu_init): Comment typo.
25742 2011-07-09 Ulrich Drepper <drepper@gmail.com>
25744 * po/pl.po: Update from translation team.
25745 * po/ja.po: Likewise.
25746 * po/ru.po: Likewise.
25747 * po/ko.po: Likewise.
25748 * po/fr.po: Likewise.
25750 2011-07-09 Roland McGrath <roland@hack.frob.com>
25752 * configure.in (.ctors/.dtors header and trailer check):
25753 Use an empirical test on a built program.
25754 * configure: Regenerated.
25756 * configure.in (-z relro check): Use an empirical test on a built DSO.
25757 Detect, but do not require, on ia64.
25758 * configure: Regenerated.
25760 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25761 Update tests that use readelf to use $READELF instead.
25762 * configure: Regenerated.
25764 2011-07-08 Ulrich Drepper <drepper@gmail.com>
25766 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25767 if the result is not used.
25769 2011-07-05 Andreas Jaeger <aj@suse.de>
25772 * stdlib/tst-strtod.c: Add testcase.
25774 2011-07-07 Ulrich Drepper <drepper@gmail.com>
25776 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
25777 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
25778 The latter has a higher limit. Take additional parameter to pass to
25780 (__pathconf): Pass file to __statfs_link_max.
25781 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25783 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25787 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25788 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25790 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25791 (__statfs_filesize_max): Likewise.
25792 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25794 2011-07-05 Andreas Jaeger <aj@suse.de>
25796 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25798 2011-07-06 Marek Polacek <mpolacek@redhat.com>
25800 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25802 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25805 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25807 * Makefile (strop-tests): Add strncat.
25808 * string/test-strncat.c: New file.
25810 2011-06-30 Marek Polacek <mpolacek@redhat.com>
25812 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25814 2011-06-21 Andreas Jaeger <aj@suse.de>
25816 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25817 Copy rule from iconvdata/Makefile.
25819 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25822 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25823 but no long options are defined, just return 'W'.
25825 2011-06-22 Marek Polacek <mpolacek@redhat.com>
25828 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25830 2011-07-06 Ulrich Drepper <drepper@gmail.com>
25832 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25834 (innetgr): Likewise.
25836 2011-07-05 Roland McGrath <roland@hack.frob.com>
25838 * config.make.in (install_root): Default to $(DESTDIR).
25840 2011-07-05 Ulrich Drepper <drepper@gmail.com>
25842 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25844 2011-07-02 Roland McGrath <roland@hack.frob.com>
25846 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25848 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25849 containing directory rather than embedding absolute directory names.
25851 * scripts/check-local-headers.sh: Rewritten using awk.
25852 Match by word, not by line. Print error messages for matches.
25853 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25855 * Makerules [shlib-lds-flags empty]:
25856 ($(common-objpfx)libc_pic.opts): New target.
25857 ($(common-objpfx)libc_pic.os.clean): New target.
25858 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25860 * config.make.in (OBJCOPY): New variable.
25861 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25862 * configure: Regenerated.
25864 * config.make.in (use-default-link): New variable.
25865 * configure.in (use_default_link): Grok --with-default-link to set it.
25866 * configure: Regenerated.
25867 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25868 (shlib-lds, shlib-lds-flags): Define to empty.
25870 * Makerules (shlib-lds): New variable.
25871 (shlib-lds-flags): New variable.
25872 (build-shlib, build-moduile, build-module-asneeded): Use it.
25873 ($(common-objpfx)libc.so): Use $(shlib-lds).
25874 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25875 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25877 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25878 DT_FLAGS/DT_FLAGS_1 with zero flags.
25880 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25881 linker script munging.
25883 2011-07-02 Ulrich Drepper <drepper@gmail.com>
25885 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25887 * crypt/sha512.c (sha512_process_block): Perform total addition using
25888 128-bit if possible.
25889 (__sha512_finish_ctx): Likewise.
25890 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25892 * crypt/sha256.c (SWAP64): Define.
25893 (sha256_process_block): Perform total addition using 64-bit if
25895 (__sha256_finish_ctx): Likewise.
25897 2011-07-01 Ulrich Drepper <drepper@gmail.com>
25899 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25900 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25901 * nscd/hstcache.c (cache_addhst): Likewise.
25902 * nscd/grpcache.c (cache_addgr): Likewise.
25903 * nscd/aicache.c (addhstaiX): Likewise
25904 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25906 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
25908 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25909 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25910 * nscd/hstcache.c (cache_addhst): Likewise.
25911 * nscd/grpcache.c (cache_addgr): Likewise.
25912 * nscd/aicache.c (addhstaiX): Likewise
25914 2011-07-01 Andreas Schwab <schwab@redhat.com>
25916 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25917 domain only when needed.
25919 2011-06-30 Andreas Schwab <schwab@redhat.com>
25921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25922 is always restored.
25924 2011-06-29 Ulrich Drepper <drepper@gmail.com>
25926 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25927 are re-adding the entry.
25928 * nscd/servicescache.c (cache_addserv): Likewise.
25930 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25932 * sysdeps/generic/dl-irel.h: fix protection against multiple
25934 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25936 2011-06-28 Ulrich Drepper <drepper@gmail.com>
25939 * malloc/memusage.sh: Fix quoting in message.
25940 * debug/xtrace.sh: Likewise.
25942 * configure.in: Remove support for --experimental-malloc option, make
25944 * config.make.in: Likewise.
25945 * malloc/Makefile: Likewise.
25947 2011-06-27 Andreas Schwab <schwab@redhat.com>
25949 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25950 two-byte characters.
25952 2011-06-27 Roland McGrath <roland@hack.frob.com>
25954 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25955 AC_CACHE_CHECK invocation.
25956 * configure: Regenerated.
25958 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25960 2011-06-27 Ulrich Drepper <drepper@gmail.com>
25963 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25964 bit from old_res_options.
25966 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25968 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25969 value type for setfct.
25971 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25973 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25974 __gettimeofday instead of gettimeofday.
25976 2011-06-26 Ulrich Drepper <drepper@gmail.com>
25978 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25980 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25982 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25984 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25987 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25990 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25991 strcpy-sse2-unaligned strncpy-sse2-unaligned
25992 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25993 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25994 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25995 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25996 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25997 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25998 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25999 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
26000 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
26001 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
26002 (STRCPY): Support SSE2 and SSSE3 versions.
26004 2011-06-24 Ulrich Drepper <drepper@gmail.com>
26007 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
26008 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
26009 kernels which artificially limit size of requests.
26011 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26014 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26015 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
26016 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
26017 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
26018 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
26019 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
26020 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
26021 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
26022 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
26023 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
26024 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
26025 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
26026 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
26027 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
26028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26029 Enable unaligned load optimization for Intel Core i3, i5 and i7
26031 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
26033 (index_Fast_Unaligned_Load): Define.
26034 (HAS_FAST_UNALIGNED_LOAD): Define.
26036 2011-06-23 Marek Polacek <mpolacek@redhat.com>
26038 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26040 2011-06-22 Ulrich Drepper <drepper@gmail.com>
26043 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26044 until it is clear that the information is realy needed.
26045 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26047 2011-06-22 Andreas Schwab <schwab@redhat.com>
26049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26051 2011-06-22 Ulrich Drepper <drepper@gmail.com>
26053 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26054 /sys/devices/system/cpu/online if it is usable.
26056 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26057 reading the information from the /proc filesystem to once a second.
26059 2011-06-21 Andreas Jaeger <aj@suse.de>
26061 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26062 NULL after inclusion of kernel headers.
26064 2011-06-21 Ulrich Drepper <drepper@gmail.com>
26066 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26067 calls to internal_setent.
26070 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26071 addresses using gethostbyname4_r ignore IPv4 addresses.
26073 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26074 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26076 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26078 2011-06-20 David S. Miller <davem@davemloft.net>
26080 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26082 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26084 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26085 (elf_irel): Use it.
26086 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26087 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26088 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26089 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26090 * sysdeps/x86_64/dl-irel.h: Likewise.
26092 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26093 * elf/dl-sym.c: Likewise.
26095 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26097 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26098 need to dereference resplen2.
26100 2011-06-14 Andreas Schwab <schwab@redhat.com>
26102 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26104 2011-06-15 Ulrich Drepper <drepper@gmail.com>
26106 * Makeconfig: Define vardbdir and inst_vardbdir.
26107 * nss/Makefile: Add rules to install db-Makefile.
26109 * nss/nss_db/db-XXX.c: Cleanup.
26111 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26112 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26114 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26115 * nss/makedb.c: Implement -g option to specify that value strings
26116 are generated and should not be added to table iterated over for
26118 * nss/nss_db/db-initgroups.c: New file.
26120 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26123 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26124 (internal_getgrouplist): Adjust to name change.
26125 Update use_initgroups_entry if this is not the first call.
26126 * nss/databases.def: Add initgroups entry.
26128 * nss/makedb.c (compute_tables): Check result of multiple hash table
26129 sizes to minimize maximum chain length.
26131 2011-06-14 Ulrich Drepper <drepper@gmail.com>
26133 * Versions.def: Add entry for libnss_db.
26134 * shlib-versions: Likewise.
26135 * nss/Makefile: Add rules to build libnss_db.
26136 * nss/Versions: Add libnss_db information. Organize libnss_files
26138 * nss/db-Makefile: Add gshadow support. Change rules for the new
26139 makedb progra. Some minor improvements to generate smaller files.
26140 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26142 * nss/makedb.c: ...here.
26143 Improve database format to be smaller and require less memory at
26145 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26147 * nss/nss_db/db-netgrp.c: Likewise.
26148 * nss/nss_db/db-open.c: Likewise.
26149 * nss/nss_files/flies-XXX.x: Adjust comments.
26150 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26151 * nss/nss_files/files-grp.c: Likewise.
26152 * nss/nss_files/files-hosts.c: Likewise.
26153 * nss/nss_files/files-network.c: Likewise.
26154 * nss/nss_files/files-proto.c: Likewise.
26155 * nss/nss_files/files-pwd.c: Likewise.
26156 * nss/nss_files/files-rpc.c: Likewise.
26157 * nss/nss_files/files-service.c: Likewise.
26158 * nss/nss_files/files-sgrp.c: Likewise.
26159 * nss/nss_files/files-spwd.c: Likewise.
26160 * nss/nss_db/db-alias.c: Removed.
26161 * nss/nss_db/dummy-db.h: Removed.
26163 2011-06-02 Ulrich Drepper <drepper@gmail.com>
26165 * nss/makedb.c: Rewritten to not use database library.
26166 * nss/Makefile: Update to build new makedb program.
26168 2011-06-14 Andreas Jaeger <aj@suse.de>
26170 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26171 memset declaration.
26173 2011-06-10 Andreas Schwab <schwab@redhat.com>
26175 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26178 2011-06-10 Roland McGrath <roland@hack.frob.com>
26180 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26181 * elf/Makefile ($(objpfx)ld.so): Likewise.
26183 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26184 Don't list ld.so twice in dependencies.
26186 * posix/bug-regex31.c: Include <stdlib.h>.
26188 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26190 * nis/nss_compat/compat-spwd.c
26191 (getspent_next_nss_netgr): Remove unused variable.
26192 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26194 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26195 nonmembers" output to use the right array.
26197 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26199 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26201 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26202 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26203 * catgets/gencat.c (read_input_file): Likewise.
26204 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26206 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26207 variable definition inside #if's controlling its use.
26209 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26211 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26213 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26215 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26218 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26220 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26221 * configure: Regenerated.
26223 * Makerules: Revert last change.
26224 * elf/Makefile: Likewise.
26226 2011-06-09 Roland McGrath <roland@hack.frob.com>
26228 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26229 * elf/Makefile ($(objpfx)librtld.os): Likewise.
26230 (reloc-link): Likewise.
26232 2011-06-09 Ulrich Drepper <drepper@gmail.com>
26234 * elf/Makefile: Add rules to build pldd.
26235 * elf/pldd.c: New file.
26236 * elf/pldd-xx.c: New file.
26238 2011-06-07 Ulrich Drepper <drepper@gmail.com>
26240 * version.h: Update for 2.15 development version.
26242 2011-06-07 David S. Miller <davem@davemloft.net>
26244 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26246 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26247 elf_machine_lazy_rel): Likewise.
26248 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26249 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26250 elf_machine_lazy_rel): Likewise.
26251 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26252 dl_hwcap via passed in argument.
26253 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26256 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26258 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26260 2011-06-06 Roland McGrath <roland@hack.frob.com>
26263 * manual/fdl-1.1.texi: New file, verbatim from:
26264 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26265 * manual/lgpl-2.1.texi: New file, verbatim from:
26266 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26267 * manual/Makefile (licenses): New variable, list those new file names.
26269 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26271 * manual/fdl.texi: File removed.
26272 * manual/lesser.texi: File removed.
26273 * manual/libc.texinfo (Copying, Documentation License):
26274 Use new @include file names, put @appendix directive before @include.
26276 2011-06-04 Jakub Jelinek <jakub@redhat.com>
26279 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26280 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26281 (mq_open): Add __NTH.
26283 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26286 Assume Intel Core i3/i5/i7 processor if AVX is available.
26288 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26290 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26293 2011-05-31 Andreas Schwab <schwab@redhat.com>
26295 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26296 memory. Use alloca_account. Fix memory leak when retrying.
26298 2011-05-31 Ulrich Drepper <drepper@gmail.com>
26300 * version.h (RELEASE): Bump for 2.14 release.
26301 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26303 * config.make.in (RANLIB): Remove entry.
26305 2011-05-30 Ulrich Drepper <drepper@gmail.com>
26307 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26308 (libc.pot): Work around missing support for .ksh extension in xgettext.
26311 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26312 if both request failed.
26313 (send_dg): In case of server errors clear resplen or *resplen2.
26316 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26317 when there are multiple maps.
26318 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26319 (_dl_fini): Remove test here.
26321 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26323 2011-05-29 Ulrich Drepper <drepper@gmail.com>
26326 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26327 bit from old_res_options.
26328 (gaih_inet): Likewise.
26331 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
26334 * resolv/res_init.c (res_setoptions): Make the code more compact.
26337 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26341 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26343 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26346 * malloc/malloc.h: Declare malloc hook variables as volatile.
26348 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26352 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
26353 raise in the comment.
26354 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26355 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26356 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
26358 2011-05-28 Ulrich Drepper <drepper@gmail.com>
26361 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26362 grow the buffers more if it already has to be sufficient.
26363 (build_wcs_upper_buffer): Likewise.
26364 * posix/regexec.c (check_matching): Likewise.
26365 (clean_state_log_if_needed): Likewise.
26366 (extend_buffers): Don't enlarge buffers beyond size of the input
26368 Patches mostly by Emil Wojak <emil@wojak.eu>.
26369 * posix/bug-regex32.c: New file.
26370 * posix/Makefile (tests): Add bug-regex32.
26372 * locale/findlocale.c (_nl_find_locale): Return right away if
26373 _nl_explode_name failed.
26374 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26376 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26378 * debug/xtrace.sh: Unify messages.
26379 * malloc/memusage.sh: Likewise.
26382 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26383 time symbol from vDSO. Substitute with vsyscall if not available.
26384 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26387 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26388 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26389 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26390 Add sendmmsg and internal_sendmmsg.
26391 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26392 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26393 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26395 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26396 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26397 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26399 2011-05-27 Ulrich Drepper <drepper@gmail.com>
26402 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26403 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26405 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26409 * iconvdata/Makefile (tests): Add bug-iconv9.
26410 * iconvdata/bug-iconv9.c: New file.
26412 2011-05-27 Andreas Schwab <schwab@redhat.com>
26415 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26417 2011-05-25 Jakub Jelinek <jakub@redhat.com>
26419 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26420 (struct user_regs_struct): Change intcs field back to cs.
26422 2011-05-25 Ulrich Drepper <drepper@gmail.com>
26424 * po/ja.po: Update from translation team.
26426 2011-05-23 Ulrich Drepper <drepper@gmail.com>
26429 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26430 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26432 2011-05-20 Andreas Schwab <schwab@redhat.com>
26434 * stdlib/longlong.h: Update from GCC.
26436 2011-05-23 Andreas Schwab <schwab@redhat.com>
26438 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26440 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26441 Add parameter name.
26442 (__sysconf): Pass it down.
26444 2011-05-22 Ulrich Drepper <drepper@gmail.com>
26447 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26449 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26450 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26451 add in in __libc_use_alloca calls. Adjust callers.
26452 (glob): Use malloc in some situations.
26454 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26455 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26458 2011-05-21 Ulrich Drepper <drepper@gmail.com>
26460 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26461 and CLOCK_BOOTTIME_ALARM.
26464 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26467 * string/_strerror.c (__strerror_r): Print negative errors as signed
26471 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26472 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26473 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26475 * configure.in: Fix typo in redirection and correct removal of test
26476 files in two cases.
26479 * locale/setlocale.c (new_composite_name): Fix test to check for
26480 identical name of all categories.
26483 * libio/filedoalloc.c (local_isatty): New function.
26484 (_IO_file_doallocate): Use local_isatty.
26485 * stdio-common/perror.c (perror): In case a new stream is used
26486 forward the stream error.
26487 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26490 2011-05-20 Ulrich Drepper <drepper@gmail.com>
26493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26495 * include/alloca.h (extend_alloca_account): Define.
26498 * posix/regex.h: Fix comments with documentation of user-accessible
26499 fields after compilation and describe correct free'ing of pattern
26500 after re_compile_pattern.
26501 Patch by Reuben Thomas <rrt@sc3d.org>.
26503 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26505 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26506 and -mno-altivec to prevent the compiler from using Altivec and/or
26507 VSX instructions when the corresponding registers are not available.
26509 2011-05-19 Andreas Schwab <schwab@redhat.com>
26511 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26513 2011-05-19 Ulrich Drepper <drepper@gmail.com>
26515 * libio/freopen.c (freopen): Use __dup2, not dup2.
26516 * libio/freopen64.c (freopen64): Likewise.
26518 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26521 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26522 * math/Makefile (tests): Add test-powl.
26523 (CFLAGS-test-powl.c): Define.
26524 * math/test-powl.c: New file.
26526 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26528 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26530 2011-05-17 Ulrich Drepper <drepper@gmail.com>
26533 * iconvdata/gb18030.c: Update to GB18020-2005.
26535 2011-05-16 Ulrich Drepper <drepper@gmail.com>
26537 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26538 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26539 Patch by Aharon Robbins <arnold@skeeve.com>.
26542 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26546 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26547 through underflows.
26550 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26551 point to strings before performing equality test for error_one_per_line
26555 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26558 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26559 (struct user_fpregs_struct): Avoid __uint*_t types.
26562 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26563 symbol info. Use it instead of calling _dl_addr locally.
26564 (lock_and_info): New function.
26565 (tr_freehook): Call lock_and_info and pass symbol info as additional
26566 parameter to tr_where.
26567 (tr_mallochook): Likewise.
26568 (tr_reallochook): Likewise.
26569 (tr_memalignhook): Likewise.
26571 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26572 used and couldn't be at all thread-safe.
26574 2011-05-15 Ulrich Drepper <drepper@gmail.com>
26576 * libio/freopen.c (freopen): Don't close old file descriptor
26577 before the new one is opened. Instead dup the new file descriptor
26578 to the old one after the new stream is created.
26579 * libio/freopen64.c (freopen64): Likewise.
26580 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26581 * libio/fileops.c (_IO_new_file_close_it): Handle new
26582 _IO_FLAGS2_NOCLOSE flag.
26583 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26584 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26585 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26586 _IO_FLAGS2_NOCLOSE flag.
26587 * include/unistd.h: Add hidden_proto for dup3.
26588 Define __have_dup3.
26589 * io/dup3.c: Define hidden symbol.
26590 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26593 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26594 when an incomplete long option is used.
26595 * posix/tst-getopt_long1.c: New file.
26596 * posix/Makefile (tests): Add tst-getopt_long1.
26599 * scripts/config.guess: Update from autoconf-2.68.
26600 * scripts/config.sub: Likewise.
26603 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26605 (has_cpuclock): ...this. New function.
26606 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26607 macro here based on has_cpuclock code.
26610 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26611 First byte (not low byte) is now always NUL.
26612 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26614 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26615 Use non-cancelable interfaces.
26618 * locale/iso-639.def: Add entry for Sorani.
26621 * include/stdlib.h: Move include protection to the right place.
26622 Define abort_msg_s. Declare __abort_msg with it.
26623 * stdlib/abort.c (__abort_msg): Adjust type.
26624 * assert/assert.c (__assert_fail_base): New function. Majority
26625 of code from __assert_fail. Allocate memory for __abort_msg with
26627 (__assert_fail): Now call __assert_fail_base.
26628 * assert/assert-perr.c: Remove bulk of implementation. Use
26629 __assert_fail_base.
26630 * include/assert.hL Declare __assert_fail_base.
26631 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26633 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26635 2011-05-14 Ulrich Drepper <drepper@gmail.com>
26639 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26640 until all modules are registered in the DTV.
26641 * elf/Makefile: Add rules to build and run tst-tls19.
26642 * elf/tst-tls19.c: New file.
26643 * elf/tst-tls19mod1.c: New file.
26644 * elf/tst-tls19mod2.c: New file.
26645 * elf/tst-tls19mod3.c: New file.
26646 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26649 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26653 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26654 two-byte sequence errors.
26655 * iconvdata/Makefile (tests): Add bug-iconv8.
26656 * iconvdata/bug-iconv8.c: New file.
26659 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26662 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26665 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26666 (dummy_getcfa): New function.
26667 (init): Get _Unwind_GetCFA address, use dummy if not found.
26668 (backtrace_helper): In recursion check, also check whether CFA changes.
26669 (__backtrace): Completely initialize arg.
26671 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
26672 storing incomplete byte sequence in state object. Avoid testing for
26673 guaranteed too small input if we know there is enough data available.
26675 2011-05-11 Andreas Schwab <schwab@redhat.com>
26677 * Makeconfig (+link-pie): Indent.
26678 * Rules (binaries-pie): Define if $(have-fpie) and
26680 (binaries-shared): Also filter out $(binaries-pie).
26681 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26682 * nscd/Makefile (others-pie): Add nscd.
26683 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26684 ($(objpfx)nscd): Remove command override.
26685 * login/Makefile (others-pie): Add pt_chown.
26686 ($(objpfx)pt_chown): Remove command override.
26687 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26688 remove command overrides.
26690 2011-05-13 Ulrich Drepper <drepper@gmail.com>
26692 * libio/tst_putwc.c: Fix error messages.
26695 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26696 currently writing and seek to current position when not.
26697 * libio/Makefile (tests): Add bug-fclose1.
26698 * libio/bug-fclose1.c: New file.
26700 2011-05-12 Ulrich Drepper <drepper@gmail.com>
26703 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26704 don't set DF_1_NODELETE here.
26705 (do_lookup_x): When entering new entry test for copy relocation
26706 and if necessary set DF_1_NODELETE flag.
26707 * elf/tst-unique4.cc: New file.
26708 * elf/tst-unique4.h: New file.
26709 * elf/tst-unique4lib.cc: New file.
26710 * elf/Makefile: Add rules to build and run tst-unique4.
26711 Patch by Piotr Bury <pbury@goahead.com>.
26713 2011-05-11 Ulrich Drepper <drepper@gmail.com>
26716 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26719 * misc/mntent_r.c (addmntent): Flush the stream after the output
26722 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26723 (is_trusted_path_normalize): Skip initial colon. Append slash
26724 to empty buffer. Duplicate is_trusted_path code but allow
26725 constructed patch to be prefix.
26726 (is_dst): Allow $ORIGIN followed by /.
26727 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26728 Correct testing of result of is_trusted_path_normalize
26729 (decompose_rpath): Fix warning.
26731 2011-05-10 Ulrich Drepper <drepper@gmail.com>
26734 * grp/initgroups.c (internal_getgrouplist): When we found the service
26735 list through the initgroups entry in nsswitch.conf do not always
26736 continue on a successful lookup. Don't always use the
26737 __nss_group_database value if it is set.
26738 * nss/nsswitch.conf (initgroups): Change action for successful db
26739 lookup to continue for compatibility.
26741 2011-05-09 Ulrich Drepper <drepper@gmail.com>
26744 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26746 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26748 * iconvdata/tst-tables.sh: Likewise.
26749 * iconvdata/cp770.c: New file.
26750 * iconvdata/cp771.c: New file.
26751 * iconvdata/cp772.c: New file.
26752 * iconvdata/cp773.c: New file.
26753 * iconvdata/cp774.c: New file.
26754 * iconvdata/testdata/CP770: New file.
26755 * iconvdata/testdata/CP770..UTF8: New file.
26756 * iconvdata/testdata/CP771: New file.
26757 * iconvdata/testdata/CP771..UTF8: New file.
26758 * iconvdata/testdata/CP772: New file.
26759 * iconvdata/testdata/CP772..UTF8: New file.
26760 * iconvdata/testdata/CP773: New file.
26761 * iconvdata/testdata/CP773..UTF8: New file.
26762 * iconvdata/testdata/CP774: New file.
26763 * iconvdata/testdata/CP774..UTF8: New file.
26765 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26767 * iconvdata/gen-8bit-gap.sh: Likewise.
26768 * iconvdata/gen-8bit.sh: Likewise.
26770 * locale/iso-639.def: Add ary entry.
26773 * locale/C-translit.h.in: Add U20A1 transliteration.
26776 * locale/iso-639.def: Add wae entry.
26777 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26780 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26784 * locale/C-translit.h.in: Add entry for U20B9.
26785 Patch by pravin.d.s@gmail.com.
26787 2011-05-08 Ulrich Drepper <drepper@gmail.com>
26790 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26791 ENAMETOOLONG use generic getcwd.
26792 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26793 in rtld. Use *stat64.
26794 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
26795 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
26796 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
26797 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26798 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26799 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26800 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26801 __fstatat64 macros.
26802 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26803 * dirent/rewinddir.c: Add libc_hidden_def.
26804 * sysdeps/mach/hurd/rewinddir.c: Likewise.
26805 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
26807 * include/dirent.h (__alloc_dir): Add flags parameter.
26808 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26809 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26811 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26812 from fdopendir if O_CLOEXEC is already set.
26814 2011-03-15 Alan Modra <amodra@gmail.com>
26816 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26817 l_tls_firstbyte_offset non-zero. Save padding offset in
26818 l_tls_firstbyte_offset for later use.
26819 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26820 freeing static tls block.
26822 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26824 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26825 where #ifdef was intended. The intent is to prevent ARG_MAX from
26826 being defined by the kernel headers.
26828 2011-05-07 Ulrich Drepper <drepper@gmail.com>
26831 * resolv/resolv.h: Define RES_NOTLDQUERY.
26832 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26833 no-tld-query and set RES_NOTLDQUERY.
26834 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26835 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26836 modern BIND to search name as TLD unless forbidden.
26838 2011-05-07 Petr Baudis <pasky@suse.cz>
26839 Ulrich Drepper <drepper@gmail.com>
26842 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26843 (is_trusted_path): ...to here.
26844 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
26845 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
26846 using is_trusted_path_normalize() in setuid scripts.
26848 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26850 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26851 __BEGIN/__END_DECLS.
26853 2011-05-06 Ulrich Drepper <drepper@gmail.com>
26855 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26856 NSS_STATUS_NOTFOUND if no record was found.
26858 2011-05-05 Andreas Schwab <schwab@redhat.com>
26860 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26861 (headers-not-in-tirpc): Remove rpc/netdb.h
26862 * resolv/netdb.h: Revert last change.
26864 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26866 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26867 circular dependency between libgcc.a and libc.a.
26869 2011-05-05 Andreas Schwab <schwab@redhat.com>
26871 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26872 * nis/Makefile: Don't install rpcsvc/*.
26873 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26874 instead of <rpc/types.h>.
26875 (MAXHOSTNAMELEN): Define.
26877 2011-05-03 Andreas Schwab <schwab@redhat.com>
26879 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26881 2011-04-28 Maciej Babinski <mbabinski@google.com>
26884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26885 gethostbyname4_r when IPv6 results are possible.
26887 2011-05-02 Ulrich Drepper <drepper@gmail.com>
26890 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26891 _PC_PIPE_BUF handling.
26893 2011-04-30 Bruno Haible <bruno@clisp.org>
26896 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26897 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26899 * inet/getnameinfo.c (getnameinfo): Likewise.
26901 2011-04-29 Ulrich Drepper <drepper@gmail.com>
26903 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26904 to groups setting in database lookup.
26905 * nss/nsswitch.conf: Add initgroups entry.
26907 2011-04-22 Ulrich Drepper <drepper@gmail.com>
26910 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26912 Patch by Eric Blake <eblake@redhat.com>.
26914 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26916 * sunrpc/Makefile (need-export-routines): Add svc_run.
26917 (routines): Remove svc_run.
26918 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26919 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26920 * sunrpc/svc_run.c (svc_run): Likewise.
26921 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26923 2011-04-21 Ulrich Drepper <drepper@gmail.com>
26925 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26926 problem in reallocation in last patch.
26928 2011-04-20 Ulrich Drepper <drepper@gmail.com>
26930 * sunrpc/Makefile: Move inclusion of Rules.
26932 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26934 * nss/nss_files/files-initgroups.c: New file.
26935 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26936 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26937 _nss_files_initgroups_dyn.
26939 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26941 * elf/elf.h (R_ARM_IRELATIVE): Define.
26943 2011-04-19 Ulrich Drepper <drepper@gmail.com>
26945 * po/ru.po: Update from translation team.
26947 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26949 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26952 2011-02-06 Mike Frysinger <vapier@gentoo.org>
26955 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26956 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26957 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26958 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26959 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26961 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26963 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26965 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26966 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26967 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26969 2011-04-17 Ulrich Drepper <drepper@gmail.com>
26972 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26974 * stdlib/bug-getcontext.c: New file.
26975 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26977 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26979 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26980 instructions into .machine "z9-109".
26981 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26982 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26984 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26986 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26987 between environment variables and auxiliary vector.
26989 2011-04-16 Ulrich Drepper <drepper@gmail.com>
26991 * Makefile: Add rules to build linkobj/libc.so.
26992 * include/libc-symbols.h: Define libc_hidden_nolink.
26993 * include/rpc/auth.h: Mark functions which are to be hidden.
26994 * include/rpc/auth_des.h: Likewise.
26995 * include/rpc/auth_unix.h: Likewise.
26996 * include/rpc/clnt.h: Likewise.
26997 * include/rpc/des_crypt.h: Likewise.
26998 * include/rpc/key_prot.h: Likewise.
26999 * include/rpc/pmap_clnt.h: Likewise.
27000 * include/rpc/pmap_prot.h: Likewise.
27001 * include/rpc/pmap_rmt.h: Likewise.
27002 * include/rpc/rpc_msg.h: Likewise.
27003 * include/rpc/svc.h: Likewise.
27004 * include/rpc/svc_auth.h: Likewise.
27005 * include/rpc/xdr.h: Likewise.
27006 * nis/Makefile: Link all DSOs against linkobj/libc.so.
27007 * nss/Makefile: Likewise.
27008 * sunrpc/Makefile: Don't install headers. Build library with normal
27009 entry points. Don't build rpcinfo. Link RPC tests appropriately.
27010 * sunrpc/auth_des.c: Hide exported symbols by default, export some
27011 for the compat linking library. Remove use of INTDEF/INTUSE.
27012 * sunrpc/auth_none.c: Likewise.
27013 * sunrpc/auth_unix.c: Likewise.
27014 * sunrpc/authdes_prot.c: Likewise.
27015 * sunrpc/authuxprot.c: Likewise.
27016 * sunrpc/clnt_gen.c: Likewise.
27017 * sunrpc/clnt_perr.c: Likewise.
27018 * sunrpc/clnt_raw.c: Likewise.
27019 * sunrpc/clnt_simp.c: Likewise.
27020 * sunrpc/clnt_tcp.c: Likewise.
27021 * sunrpc/clnt_udp.c: Likewise.
27022 * sunrpc/clnt_unix.c: Likewise.
27023 * sunrpc/des_crypt.c: Likewise.
27024 * sunrpc/des_soft.c: Likewise.
27025 * sunrpc/get_myaddr.c: Likewise.
27026 * sunrpc/key_call.c: Likewise.
27027 * sunrpc/key_prot.c: Likewise.
27028 * sunrpc/netname.c: Likewise.
27029 * sunrpc/pm_getmaps.c: Likewise.
27030 * sunrpc/pm_getport.c: Likewise.
27031 * sunrpc/pmap_clnt.c: Likewise.
27032 * sunrpc/pmap_prot.c: Likewise.
27033 * sunrpc/pmap_prot2.c: Likewise.
27034 * sunrpc/pmap_rmt.c: Likewise.
27035 * sunrpc/publickey.c: Likewise.
27036 * sunrpc/rpc_cmsg.c: Likewise.
27037 * sunrpc/rpc_common.c: Likewise.
27038 * sunrpc/rpc_dtable.c: Likewise.
27039 * sunrpc/rpc_prot.c: Likewise.
27040 * sunrpc/rpc_thread.c: Likewise.
27041 * sunrpc/rtime.c: Likewise.
27042 * sunrpc/svc.c: Likewise.
27043 * sunrpc/svc_auth.c: Likewise.
27044 * sunrpc/svc_authux.c: Likewise.
27045 * sunrpc/svc_raw.c: Likewise.
27046 * sunrpc/svc_run.c: Likewise.
27047 * sunrpc/svc_simple.c: Likewise.
27048 * sunrpc/svc_tcp.c: Likewise.
27049 * sunrpc/svc_udp.c: Likewise.
27050 * sunrpc/svc_unix.c: Likewise.
27051 * sunrpc/svcauth_des.c: Likewise.
27052 * sunrpc/xcrypt.c: Likewise.
27053 * sunrpc/xdr.c: Likewise.
27054 * sunrpc/xdr_array.c: Likewise.
27055 * sunrpc/xdr_float.c: Likewise.
27056 * sunrpc/xdr_intXX_t.c: Likewise.
27057 * sunrpc/xdr_mem.c: Likewise.
27058 * sunrpc/xdr_rec.c: Likewise.
27059 * sunrpc/xdr_ref.c: Likewise.
27060 * sunrpc/xdr_sizeof.c: Likewise.
27061 * sunrpc/xdr_stdio.c: Likewise.
27063 2011-04-10 Ulrich Drepper <drepper@gmail.com>
27066 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27067 * sysdeps/ia64/dl-tls.h: Likewise.
27068 * sysdeps/powerpc/dl-tls.h: Likewise.
27069 * sysdeps/s390/dl-tls.h: Likewise.
27070 * sysdeps/sh/dl-tls.h: Likewise.
27071 * sysdeps/sparc/dl-tls.h: Likewise.
27072 * sysdeps/x86_64/dl-tls.h: Likewise.
27073 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27075 2011-03-14 Andreas Schwab <schwab@redhat.com>
27077 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27078 rpath element also skip the following colon.
27079 (expand_dynamic_string_token): Add is_path parameter and pass
27080 down to DL_DST_REQUIRED and _dl_dst_substitute.
27081 (decompose_rpath): Call expand_dynamic_string_token with
27082 non-zero is_path. Ignore empty rpaths.
27083 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27086 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27091 2011-04-09 Ulrich Drepper <drepper@gmail.com>
27094 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27095 Patch by Filipe David Manana <fdmanana@apache.org>.
27097 2011-04-07 Andreas Schwab <schwab@redhat.com>
27099 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27100 Maintain aligned stack.
27101 (CHECK_RSP): Remove unused macro.
27103 2011-04-03 Ulrich Drepper <drepper@gmail.com>
27105 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27106 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27108 2011-04-02 Ulrich Drepper <drepper@gmail.com>
27110 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27112 * include/features.h: Mention __USE_XOPEN2K8 in comment.
27114 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27117 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27118 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27119 * sysdeps/x86_64/memmove.c: New file.
27120 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27121 (memcpy): Renamed to ...
27122 (__new_memcpy): This.
27123 (memcpy): Provide GLIBC_2_14 memcpy.
27124 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27125 (memcpy): Provide GLIBC_2_2_5 memcpy.
27127 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27130 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27132 2011-03-30 Andreas Schwab <schwab@redhat.com>
27134 * misc/syncfs.c: New file.
27135 * misc/Makefile (routines): Add syncfs.
27136 * posix/unistd.h: Declare syncfs.
27137 * sysdeps/unix/syscalls.list: Add syncfs.
27139 2011-04-01 Andreas Schwab <schwab@redhat.com>
27141 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27143 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27144 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27145 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27146 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27147 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27148 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27149 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27151 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27153 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27154 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27155 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27156 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27157 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27159 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27161 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27162 sync_file_range.c with -fexceptions.
27163 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27164 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27165 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27166 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27167 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27168 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27169 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
27170 sync_file_range as cancellation point
27171 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27172 now a wrapper around __call_sync_file_range with cancellation handling.
27173 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27174 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27175 function name to __call_sync_file_range.
27176 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27177 Add call_sync_file_range.
27179 2011-04-01 Andreas Schwab <schwab@redhat.com>
27181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27184 2011-04-01 Ulrich Drepper <drepper@gmail.com>
27186 * iconv/iconv.h: Fix typo in comment.
27187 * io/fcntl.h: Likewise.
27188 * libio/stdio.h: Likewise.
27189 * posix/spawn.h: Likewise.
27190 * posix/unistd.h: Likewise.
27191 * stdlib/stdlib.h: Likewise.
27192 * time/time.h: Likewise.
27193 * wcsmbs/wchar.h: Likewise.
27195 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27196 open_by_handle): Add.
27197 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27198 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27199 Augment a few comments.
27200 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27202 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27203 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27204 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27205 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27208 * io/fcntl.h (AT_EMPTY_PATH): Define.
27210 2011-03-30 Ulrich Drepper <drepper@gmail.com>
27212 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27213 * sysdeps/unix/sysv/linux/bits/time.h: New file.
27214 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27216 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
27217 * Versions.def: Add GLIBC_2.14.
27218 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27221 2011-03-22 Ulrich Drepper <drepper@gmail.com>
27223 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27225 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27227 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
27230 * string/test-strncmp.c (do_page_test): New function.
27231 (check2): Likewise.
27232 (test_main): Call check2.
27233 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27235 2011-03-20 Ulrich Drepper <drepper@gmail.com>
27238 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27239 Handle cache information in CPU leaf 4.
27240 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27242 2011-03-18 Ulrich Drepper <drepper@gmail.com>
27245 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27246 character representation.
27247 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27249 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27251 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27252 END(__isnan) to END(__isnanf) to match function entry point/label
27253 EALIGN(__isnanf,...).
27255 2011-03-10 Jakub Jelinek <jakub@redhat.com>
27257 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27259 2011-03-10 Ulrich Drepper <drepper@gmail.com>
27262 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27263 copy from the symbol referenced in the relocation to initialize the
27265 Patch by Piotr Bury <pbury@goahead.com>.
27266 * elf/Makefile: Add rules to build and tst-unique3.
27267 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27268 * elf/tst-unique3.cc: New file.
27269 * elf/tst-unique3.h: New file.
27270 * elf/tst-unique3lib.cc: New file.
27271 * elf/tst-unique3lib2.cc: New file.
27273 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27275 2011-03-10 Mike Frysinger <vapier@gentoo.org>
27277 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27278 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27281 2011-03-06 Ulrich Drepper <drepper@gmail.com>
27283 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27284 to-be-loaded object along a path to loader is ld.so.
27286 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27287 Ulrich Drepper <drepper@gmail.com>
27289 * sysdeps/x86_64/memset.S: After aligning destination, code
27290 branches to different locations depending on the value of
27291 misalignment, when multiarch is enabled. Fix this.
27293 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27295 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27296 Set _x86_64_preferred_memory_instruction for AMD processsors.
27297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27298 Set bit_Prefer_SSE_for_memop for AMD processors.
27300 2011-03-04 Ulrich Drepper <drepper@gmail.com>
27302 * libio/fmemopen.c (fmemopen): Optimize a bit.
27304 2011-03-03 Andreas Schwab <schwab@redhat.com>
27306 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27308 2011-03-03 Roland McGrath <roland@redhat.com>
27310 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27312 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27314 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
27315 __bzero_ultra1 instead of __memset_ultra1.
27317 2011-02-23 Andreas Schwab <schwab@redhat.com>
27318 Ulrich Drepper <drepper@gmail.com>
27321 * include/link.h (struct link_map): Add l_orig_initfini.
27322 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27323 returning unsuccessfully.
27324 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27325 close of a file loaded at startup, restore the original l_initfini
27327 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27328 list, store the pointer.
27329 * elf/Makefile ($(objpfx)noload-mem): New rule.
27330 (noload-ENV): Define.
27331 (tests): Add $(objpfx)noload-mem.
27332 * elf/noload.c: Include <memcheck.h>.
27333 (main): Call mtrace. Close all opened handles.
27335 2011-02-17 Andreas Schwab <schwab@redhat.com>
27338 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27339 dependencies are missing.
27341 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27343 Fix __if_freereq crash: Unlike the generic version which uses free,
27345 * sysdeps/mach/hurd/ifreq.h: New file.
27347 2011-01-27 Petr Baudis <pasky@suse.cz>
27348 Ulrich Drepper <drepper@gmail.com>
27351 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27352 to extend_alloca().
27353 * stdio-common/bug23.c: New file.
27354 * stdio-common/Makefile (tests): Add bug23.
27356 2010-09-28 Andreas Schwab <schwab@redhat.com>
27357 Ulrich Drepper <drepper@gmail.com>
27360 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27361 before performing relro protection. At old place add assertion
27362 to make sure nothing changed.
27364 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27365 Glauber de Oliveira Costa <glommer@gmail.com>
27367 * elf/elf.h: Add new ARM TLS relocs.
27369 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27372 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27374 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27376 * sysdeps/wordsize-64/tst-writev.c: New file.
27378 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27380 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27381 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27382 insns in _dl_start to prevent a TOC reference before relocs are
27385 2011-02-15 Ulrich Drepper <drepper@gmail.com>
27388 * Makeconfig: Remove RANLIB definition.
27389 * Makerules: Don't use RANLIB.
27390 * aclocal.m4: Remove ranlib test.
27391 * configure.in: No need to check for ranlib.
27392 * elf/rtld-Rules: Don't use RANLIB.
27394 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27396 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27398 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27399 inclusion protection macro.
27401 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27402 SIGRTMIN and SIGRTMAX and print information in that case only when
27403 SIGRTMIN is defined.
27405 2011-02-11 Jakub Jelinek <jakub@redhat.com>
27407 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27408 arginfo fn returning -1.
27410 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27411 and thousands string is zero terminated.
27413 2011-02-03 Andreas Schwab <schwab@redhat.com>
27415 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27416 sysdeps/unix/sysv/linux/bits/socket.h.
27418 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27420 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27421 (__CPU_COUNT): Remove old macros.
27422 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27423 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27424 (__CPU_ALLOC, __CPU_FREE): Add macros.
27425 (__sched_cpualloc, __sched_cpufree): Add declarations.
27427 2011-02-05 Ulrich Drepper <drepper@gmail.com>
27429 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27430 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27431 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27432 (readdhstai): Return value of addhstaiX call.
27433 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27434 (addgrbyX): Return value returned by cache_addgr.
27435 (readdgrbyname): Return value returned by addgrbyX.
27436 (readdgrbygid): Likewise.
27437 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27438 (addpwbyX): Return value returned by cache_addpw.
27439 (readdpwbyname): Return value returned by addhstbyX.
27440 (readdpwbyuid): Likewise.
27441 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27442 (addservbyX): Return value returned by cache_addserv.
27443 (readdservbyname): Return value returned by addservbyX:
27444 (readdservbyport): Likewise.
27445 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27446 (addhstbyX): Return value returned by cache_addhst.
27447 (readdhstbyname): Return value returned by addhstbyX.
27448 (readdhstbyaddr): Likewise.
27449 (readdhstbynamev6): Likewise.
27450 (readdhstbyaddrv6): Likewise.
27451 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27452 (readdinitgroups): Return value returned by addinitgroupsX.
27453 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27454 (prune_cache): Keep track of timeout value of re-added entries.
27455 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27456 * nscd/nscd.h: Adjust prototypes of readd* functions.
27458 2011-02-04 Roland McGrath <roland@redhat.com>
27460 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27461 (nis_stats): Likewise.
27462 * nis/nis_modify.c (nis_modify): Likewise.
27463 * nis/nis_remove.c (nis_remove): Likewise.
27464 * nis/nis_add.c (nis_add): Likewise.
27466 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27468 * posix/fnmatch_loop.c: Add some consts.
27470 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27472 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27475 * config.make.in (config-cflags-novzeroupper): Define.
27476 * configure.in: Substitute libc_cv_cc_novzeroupper.
27477 * elf/Makefile (AVX-CFLAGS): Define.
27478 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27479 (CFLAGS-tst-auditmod4a.c): Likewise.
27480 (CFLAGS-tst-auditmod4b.c): Likewise.
27481 (CFLAGS-tst-auditmod6b.c): Likewise.
27482 (CFLAGS-tst-auditmod6c.c): Likewise.
27483 (CFLAGS-tst-auditmod7b.c): Likewise.
27484 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27486 2011-02-02 Ulrich Drepper <drepper@gmail.com>
27488 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27489 function to the callback.
27490 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27492 2011-02-02 Andreas Schwab <schwab@redhat.com>
27494 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27497 2011-01-19 Ulrich Drepper <drepper@gmail.com>
27500 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27502 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27504 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27507 * elf/Makefile: Add rules to build and run new test.
27508 * elf/tst-initorder.c: New file.
27509 * elf/tst-initorder.exp: New file.
27510 * elf/tst-initordera1.c: New file.
27511 * elf/tst-initordera2.c: New file.
27512 * elf/tst-initordera3.c: New file.
27513 * elf/tst-initordera4.c: New file.
27514 * elf/tst-initorderb1.c: New file.
27515 * elf/tst-initorderb2.c: New file.
27516 * elf/tst-order-a1.c: New file.
27517 * elf/tst-order-a2.c: New file.
27518 * elf/tst-order-a3.c: New file.
27519 * elf/tst-order-a4.c: New file.
27520 * elf/tst-order-b1.c: New file.
27521 * elf/tst-order-b2.c: New file.
27522 * elf/tst-order-main.c: New file.
27523 New test case by George Gensure <werkt0@gmail.com>.
27525 2010-10-01 Andreas Schwab <schwab@redhat.com>
27527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27528 decoding ACE if AI_CANONIDN.
27530 2011-01-18 Ulrich Drepper <drepper@gmail.com>
27532 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27534 2011-01-17 Ulrich Drepper <drepper@gmail.com>
27536 * version.h (RELEASE): Bump for 2.13 release.
27537 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27539 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27541 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27543 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27544 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27545 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27546 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27547 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27548 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27550 * posix/getconf.c: Update copyright year.
27551 * catgets/gencat.c: Likewise.
27552 * csu/version.c: Likewise.
27553 * debug/catchsegv.sh: Likewise.
27554 * debug/xtrace.sh: Likewise.
27555 * elf/ldconfig.c: Likewise.
27556 * elf/ldd.bash.in: Likewise.
27557 * elf/sprof.c (print_version): Likewise.
27558 * iconv/iconv_prog.c: Likewise.
27559 * iconv/iconvconfig.c: Likewise.
27560 * locale/programs/locale.c: Likewise.
27561 * locale/programs/localedef.c: Likewise.
27562 * malloc/memusage.sh: Likewise.
27563 * malloc/mtrace.pl: Likewise.
27564 * nscd/nscd.c (print_version): Likewise.
27565 * nss/getent.c: Likewise.
27567 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27568 PF_CAIF, and PF_ALG.
27569 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27571 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27573 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27574 (modules-names): Use them.
27575 (ifunc-test-modules, ifunc-pie-tests): Define.
27576 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27577 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27578 (test-extras): Likewise.
27579 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27580 $(compile-command.c).
27581 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27582 (all-built-dso): Define.
27583 (check-textrel.out, check-execstack.out): Depend on it.
27585 * configure.in: Don't override --enable-multi-arch.
27587 2011-01-15 Ulrich Drepper <drepper@gmail.com>
27590 * nscd/hstcache.c (tryagain): Define.
27591 (cache_addhst): Return tryagain not notfound for temporary errors.
27592 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27595 2011-01-14 Ulrich Drepper <drepper@gmail.com>
27598 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27599 to make the syscall.
27600 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27603 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27604 and fall back to matching as normal character if the string ends before
27605 the matching ']' is found. This is what POSIX requires.
27606 * posix/testfnm.c: Adjust test result.
27607 * posix/globtest.sh: Adjust test result. Add new test.
27608 * posix/tst-fnmatch.input: Likewise.
27609 * posix/tst-fnmatch2.c: Add new test.
27611 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27613 * elf/Makefile (check-execstack): Revert last change. Depend on
27615 (check-execstack.h): New target.
27616 (generated): Add check-execstack.h.
27617 * elf/check-execstack.c: Include "check-execstack.h".
27618 (main): Revert last change.
27619 (handle_file): Return zero if GNU_STACK is absent and
27620 DEFAULT_STACK_PERMS doesn't include PF_X.
27622 2011-01-13 Ulrich Drepper <drepper@gmail.com>
27624 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27625 in child fails because the descriptor is already closed.
27626 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27627 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27628 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
27631 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27635 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27636 temporary buffer used to handle multi lookups locally.
27637 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
27639 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27641 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27644 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27646 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27647 alignment for SSE2.
27649 2011-01-12 Ulrich Drepper <drepper@gmail.com>
27652 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27653 characters. When rounding increased number of integer digits recompute
27655 * stdio-common/tst-grouping.c: New file.
27656 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27658 2011-01-09 Ulrich Drepper <drepper@gmail.com>
27660 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27661 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27663 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27665 * bits/select.h: Likewise.
27667 2011-01-08 Ulrich Drepper <drepper@gmail.com>
27669 * po/ja.po: Update from translation team.
27671 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
27674 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27675 implementation just like for lxstat, fxstatat, et al.
27677 2010-12-27 Jim Meyering <meyering@redhat.com>
27680 * posix/regexec.c (build_trtable): Return failure indication upon
27681 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27683 2010-12-25 Ulrich Drepper <drepper@gmail.com>
27686 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27687 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27688 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27689 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27692 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27695 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27696 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27698 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27700 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27701 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27702 script has SORT_BY_INIT_PRIORITY.
27703 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27704 NO_CTORS_DTORS_SECTIONS is defined.
27705 * elf/soinit.c: Likewise.
27706 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27707 NO_CTORS_DTORS_SECTIONS is defined.
27708 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27709 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27710 * sysdeps/sh/init-first.c: Likewise.
27711 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27713 2010-12-24 Ulrich Drepper <drepper@gmail.com>
27715 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27716 always use the slow path.
27718 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27720 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27721 similar rule which adds the sysdep directories to the header search in
27722 order to pick up the correct platform stackinfo.h.
27723 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27724 perform test if it is, otherwise return successfully without testing.
27725 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27726 DEFAULT_STACK_PERMS define in stackinfo.h.
27727 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27728 defined in stackinfo.h.
27729 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27730 DEFAULT_STACK_PERMS defined in stackinfo.h.
27731 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27732 * sysdeps/ia64/stackinfo.h: Likewise.
27733 * sysdeps/s390/stackinfo.h: Likewise.
27734 * sysdeps/sh/stackinfo.h: Likewise.
27735 * sysdeps/sparc/stackinfo.h: Likewise.
27736 * sysdeps/x86_64/stackinfo.h: Likewise.
27737 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27738 PF_X for powerpc64. Retain PF_X for powerpc32.
27740 2010-12-19 Ulrich Drepper <drepper@gmail.com>
27742 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27744 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27745 GETDENTS_64BIT_ALIGNED.
27747 2010-12-14 Ulrich Drepper <dreper@gmail.com>
27749 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
27751 2010-12-10 Andreas Schwab <schwab@redhat.com>
27753 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27756 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27757 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27759 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27760 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27762 2010-12-09 Ulrich Drepper <drepper@gmail.com>
27765 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27768 2010-12-09 Jakub Jelinek <jakub@redhat.com>
27770 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27772 2010-12-03 Ulrich Drepper <drepper@gmail.com>
27774 * po/it.po: Update from translation team.
27776 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27778 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27781 2010-11-30 Ulrich Drepper <drepper@gmail.com>
27783 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27785 2010-11-24 Andreas Schwab <schwab@redhat.com>
27787 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27789 (gaih_getanswer_slice): Likewise.
27791 2010-10-20 Jakub Jelinek <jakub@redhat.com>
27793 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27795 2010-05-31 Petr Baudis <pasky@suse.cz>
27798 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27799 silently even in the chroot mode.
27801 2010-11-22 Ulrich Drepper <drepper@gmail.com>
27803 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27804 last patch a bit. Pretty printing
27806 2010-05-31 Petr Baudis <pasky@suse.cz>
27809 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27810 initialization of skip_initgroups_dyn.
27812 2010-11-19 Ulrich Drepper <drepper@gmail.com>
27814 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27815 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27817 2010-11-16 Ulrich Drepper <drepper@gmail.com>
27819 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27821 2010-11-11 Andreas Schwab <schwab@redhat.com>
27823 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27824 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27825 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27826 ($(objpfx)tst-fnmatch-mem): New rule.
27827 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27828 * posix/tst-fnmatch.c (main): Call mtrace.
27830 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27833 Support Intel processor model 6 and model 0x2c.
27835 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
27837 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27840 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27843 * string/test-strncasecmp.c (check_result): New function.
27844 (do_one_test): Use it.
27845 (check1): New function.
27846 (test_main): Use it.
27847 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27848 Support strcasecmp and strncasecmp.
27850 2010-11-08 Ulrich Drepper <drepper@gmail.com>
27853 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27854 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27856 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27858 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27862 * sysdeps/x86_64/multiarch/bzero.S: New file.
27863 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27864 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27865 * sysdeps/x86_64/multiarch/memset.S: New file.
27866 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27868 Set bit_Prefer_SSE_for_memop for Intel processors.
27869 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27871 (index_Prefer_SSE_for_memop): Define.
27872 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27874 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
27876 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27877 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27879 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27882 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27883 (__x86_64_raw_data_cache_size_half): Likewise.
27884 (__x86_64_raw_shared_cache_size): Likewise.
27885 (__x86_64_raw_shared_cache_size_half): Likewise.
27887 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27888 (__x86_64_raw_data_cache_size_half): Likewise.
27889 (__x86_64_raw_shared_cache_size): Likewise.
27890 (__x86_64_raw_shared_cache_size_half): Likewise.
27891 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27892 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27893 and __x86_64_raw_shared_cache_size_half. Round
27894 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27895 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27896 to multiple of 256 bytes.
27898 2010-11-03 Ulrich Drepper <drepper@gmail.com>
27901 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27902 of inacessible symlinks. Verify result of symlink before returning it.
27903 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27904 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27906 2010-10-28 Erich Ritz <erichritz@gmail.com>
27908 * math/math.h (isinf): Fix typo in comment.
27910 2010-11-01 Ulrich Drepper <drepper@gmail.com>
27912 * po/da.po: Update from translation team.
27914 2010-10-26 Ulrich Drepper <drepper@gmail.com>
27916 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27917 is added to the list.
27919 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27920 Ulrich Drepper <drepper@gmail.com>
27922 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27923 the global list here. Move code to...
27924 (_dl_add_to_namespace_list): ...here. New function.
27925 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27926 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27927 * elf/dl-load.c (lose): Don't remove the element from the list.
27928 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27929 (_dl_map_object): Likewise.
27931 2010-10-25 Ulrich Drepper <drepper@gmail.com>
27934 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27935 into all bytes of SSE register.
27936 Patch by Richard Li <richardpku@gmail.com>.
27938 2010-10-24 Ulrich Drepper <drepper@gmail.com>
27941 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27944 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27946 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27947 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27948 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27949 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27954 2010-10-22 Andreas Schwab <schwab@redhat.com>
27956 * include/dlfcn.h (__RTLD_SECURE): Define.
27957 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27958 mode & __RTLD_SECURE instead.
27959 (open_path): Rename preloaded parameter to secure.
27960 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27961 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27962 * elf/dl-deps.c (openaux): Likewise.
27963 * elf/rtld.c (struct map_args): Remove is_preloaded.
27964 (map_doit): Don't use it.
27965 (dl_main): Likewise.
27966 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27967 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27969 2010-09-09 Andreas Schwab <schwab@redhat.com>
27971 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27972 (sysd-rules-targets): Remove duplicates.
27973 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27974 rtld-%.$o dependency.
27976 2010-10-18 Andreas Schwab <schwab@redhat.com>
27978 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27979 _dl_map_object do it.
27981 2010-10-19 Ulrich Drepper <drepper@gmail.com>
27983 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27984 fast fma builtins, define the macros in the C99 standard.
27985 (FP_FAST_FMAF): Likewise.
27986 (FP_FAST_FMAL): Likewise.
27987 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27989 * bits/mathdef.h: Update copyright year.
27990 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27992 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27994 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27995 builtins, define the macros in the C99 standard.
27996 (FP_FAST_FMAF): Likewise.
27997 (FP_FAST_FMAL): Likewise.
27998 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
28000 (FP_FAST_FMAF): Likewise.
28002 2010-10-15 Jakub Jelinek <jakub@redhat.com>
28005 * math/libm-test.inc (fma_test): Some new testcases.
28006 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
28007 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
28008 y and infinite z. Do multiplication by C already in long double.
28009 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
28010 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
28011 y and infinite z. Do bitwise or of inexact bit into u.d.
28012 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
28013 * sysdeps/i386/fpu/s_fmaf.S: Removed.
28014 * sysdeps/i386/fpu/s_fma.S: Removed.
28015 * sysdeps/i386/fpu/s_fmal.S: Removed.
28017 2010-10-16 Jakub Jelinek <jakub@redhat.com>
28020 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
28021 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
28022 computation is not scheduled after fetestexcept. Fix value
28023 of minimum denormal long double.
28025 2010-10-14 Jakub Jelinek <jakub@redhat.com>
28028 * math/libm-test.inc (fma_test): Add some more tests.
28029 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
28032 2010-10-15 Andreas Schwab <schwab@redhat.com>
28034 * scripts/data/localplt-s390-linux-gnu.data: New file.
28035 * scripts/data/localplt-s390x-linux-gnu.data: New file.
28037 2010-10-13 Jakub Jelinek <jakub@redhat.com>
28040 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28041 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28043 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28045 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28047 if one of x and y is very large and the other is subnormal.
28048 * sysdeps/s390/fpu/s_fmaf.c: New file.
28049 * sysdeps/s390/fpu/s_fma.c: New file.
28050 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28051 * sysdeps/powerpc/fpu/s_fma.S: New file.
28052 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28053 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28054 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28056 2010-10-12 Jakub Jelinek <jakub@redhat.com>
28059 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28061 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28062 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28063 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28064 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28065 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28066 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28067 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28069 2010-10-12 Ulrich Drepper <drepper@redhat.com>
28072 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28073 * posix/bug-regex31.input: Add test case.
28075 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28077 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28078 * posix/bug-regex31.input: New file.
28081 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28082 (parse_sub_exp): Fix last change, use postorder.
28084 * posix/bug-regex31.c: New file.
28085 * posix/Makefile: Add rules to build and run bug-regex31.
28087 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28090 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28093 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28094 to have entries in sys_siglist.
28097 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28100 2010-10-07 Jakub Jelinek <jakub@redhat.com>
28103 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28104 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28105 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28106 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28107 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28108 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28109 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28110 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28111 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28112 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28113 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28114 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28115 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28116 * math/ftestexcept.c (fetestexcept): Likewise.
28117 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28118 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28119 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28120 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28121 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28122 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28123 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28125 2010-10-11 Ulrich Drepper <drepper@gmail.com>
28128 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28131 2010-10-06 Ulrich Drepper <drepper@gmail.com>
28133 * string/bug-strstr1.c: New file.
28134 * string/Makefile: Add rules to build and run bug-strstr1.
28136 2010-10-05 Eric Blake <eblake@redhat.com>
28139 * string/str-two-way.h (two_way_long_needle): Always clear memory
28140 when skipping input due to the shift table.
28142 2010-10-03 Ulrich Drepper <drepper@gmail.com>
28145 * malloc/mcheck.c: Handle large requests.
28148 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28149 for strncmp and strncasecmp.
28150 * string/stratcliff.c: Add tests for strcmp and strncmp.
28151 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28153 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28155 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28158 2010-09-30 Andreas Jaeger <aj@suse.de>
28160 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28161 (CGROUP_SUPER_MAGIC): Define.
28162 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28163 Handle btrfs and cgroup file systems.
28164 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28167 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
28169 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28170 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28172 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28175 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28176 trying to locate the ELF header.
28178 2010-09-27 Andreas Schwab <schwab@redhat.com>
28181 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28182 Mask out sign-bit copies when constructing f_fsid.
28184 2010-09-24 Petr Baudis <pasky@suse.cz>
28186 * debug/stack_chk_fail_local.c: Add missing licence exception.
28187 * debug/warning-nop.c: Likewise.
28189 2010-09-15 Joseph Myers <joseph@codesourcery.com>
28191 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28192 implementing getdents64 using getdents syscall, set d_type if
28193 __ASSUME_GETDENTS32_D_TYPE.
28195 2010-09-16 Andreas Schwab <schwab@redhat.com>
28197 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28198 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28200 2010-09-21 Ulrich Drepper <drepper@redhat.com>
28203 * posix/unistd.h: Undo change of feature selection for ftruncate from
28206 2010-09-20 Ulrich Drepper <drepper@redhat.com>
28208 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
28211 2010-09-20 Andreas Schwab <schwab@redhat.com>
28213 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28215 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28217 2010-09-14 Andreas Schwab <schwab@redhat.com>
28219 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28220 variables after CHECK_SP call.
28221 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28223 2010-09-13 Andreas Schwab <schwab@redhat.com>
28224 Ulrich Drepper <drepper@redhat.com>
28226 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28227 re-relocationg ld.so.
28228 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28229 _dl_init_paths call.
28230 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
28233 2010-09-14 Ulrich Drepper <drepper@redhat.com>
28235 * resolv/res_init.c (__res_vinit): Count the default server we added.
28237 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28238 Ulrich Drepper <drepper@redhat.com>
28241 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28242 (____longjmp_chk): Use %ebx for saving value across system call.
28245 2010-09-06 Andreas Schwab <schwab@redhat.com>
28247 * manual/Makefile: Don't mix pattern rules with normal rules.
28249 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28251 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28253 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28254 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28255 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28256 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28257 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28260 2010-09-04 Ulrich Drepper <drepper@redhat.com>
28263 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28264 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28266 2010-09-02 Ulrich Drepper <drepper@redhat.com>
28268 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28269 * sysdeps/x86_64/addmul_1.S: Likewise.
28270 * sysdeps/x86_64/lshift.S: Likewise.
28271 * sysdeps/x86_64/mul_1.S: Likewise.
28272 * sysdeps/x86_64/rshift.S: Likewise.
28273 * sysdeps/x86_64/sub_n.S: Likewise.
28274 * sysdeps/x86_64/submul_1.S: Likewise.
28276 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28278 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28279 Define __sched_param instead of SCHED_* and sched_param when
28280 <bits/sched.h> is included with __need_schedparam defined.
28281 * bits/sched.h [__need_schedparam]
28282 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
28283 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28284 (__defined_schedparam): Define to 1.
28285 (__sched_param): New structure, identical to sched_param.
28286 (__need_schedparam): Undefine.
28288 2010-08-31 Mike Frysinger <vapier@gentoo.org>
28290 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28291 (epoll_create1): Declare.
28293 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28295 2010-08-31 Andreas Schwab <schwab@redhat.com>
28298 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28299 shifting retval into place.
28301 2010-09-01 Ulrich Drepper <drepper@redhat.com>
28303 * nis/rpcsvc/nis.h: Update copyright notice.
28304 * nis/rpcsvc/nis.x: Likewise.
28305 * nis/rpcsvc/nis_callback.h: Likewise.
28306 * nis/rpcsvc/nis_callback.x: Likewise.
28307 * nis/rpcsvc/nis_object.x: Likewise.
28308 * nis/rpcsvc/nis_tags.h: Likewise.
28309 * nis/rpcsvc/yp.h: Likewise.
28310 * nis/rpcsvc/yp.x: Likewise.
28311 * nis/rpcsvc/ypupd.h: Likewise.
28312 * nis/yp_xdr.c: Likewise.
28313 * nis/ypupdate_xdr.c: Likewise.
28315 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28316 mainly the body of pmap_getport. Add parameters to specify timeouts.
28317 (pmap_getport): Use __libc_rpc_getport.
28318 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28319 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28320 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28322 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28327 2010-08-27 Roland McGrath <roland@redhat.com>
28329 * sysdeps/i386/i686/multiarch/Makefile
28330 (CFLAGS-varshift.c): New variable.
28332 2010-08-27 Ulrich Drepper <drepper@redhat.com>
28334 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28335 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28337 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28339 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28341 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28343 * sysdeps/x86_64/strlen.S: Unroll the loop.
28344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28345 strlen-sse2 strlen-sse2-bsf.
28346 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28347 __strlen_no_bsf if bit_Slow_BSF is set.
28348 (__strlen_sse42): Removed.
28349 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28350 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28352 2010-08-25 Roland McGrath <roland@redhat.com>
28354 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28355 * sysdeps/x86_64/multiarch/varshift.c: New file.
28356 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28357 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28358 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28359 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28361 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28363 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28364 strlen-sse2 strlen-sse2-bsf.
28365 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28366 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28367 (__strlen_sse2): Removed.
28368 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28369 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28371 bit_Slow_BSF for Atom.
28372 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28373 (index_Slow_BSF): Define.
28374 (HAS_SLOW_BSF): Define.
28376 2010-08-25 Ulrich Drepper <drepper@redhat.com>
28379 * resolv/res_init.c (__res_vinit): When no server address at all
28380 is given default to loopback.
28382 2010-08-24 Roland McGrath <roland@redhat.com>
28384 * configure.in: Remove config-name.h generation.
28385 * configure: Regenerated.
28386 * config-name.in: File removed.
28387 * scripts/config-uname.sh: New file.
28388 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28389 ($(objdir)config-name.h): New target.
28391 * sunrpc/rpc_parse.h: Avoid nested comment.
28393 2010-08-24 Richard Henderson <rth@redhat.com>
28394 Ulrich Drepper <drepper@redhat.com>
28395 H.J. Lu <hongjiu.lu@intel.com>
28397 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28398 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28399 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28400 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28401 _mm_alignr_epi8 with _mm_loadu_si128.
28402 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28403 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28404 (__m128i_shift_right): Removed.
28405 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28406 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28407 * sysdeps/x86_64/multiarch/varshift.h: New file.
28408 * sysdeps/x86_64/multiarch/varshift.S: New file.
28410 2010-08-21 Mike Frysinger <vapier@gentoo.org>
28412 * configure.in: Move assembler checks to before sysdep dir checking.
28414 2010-08-20 Petr Baudis <pasky@suse.cz>
28416 * LICENSES: Sync the sunrpc license.
28418 2010-08-19 Ulrich Drepper <drepper@redhat.com>
28420 * sunrpc/auth_des.c: Update copyright notice once again.
28421 * sunrpc/auth_none.c: Likewise.
28422 * sunrpc/auth_unix.c: Likewise.
28423 * sunrpc/authdes_prot.c: Likewise.
28424 * sunrpc/authuxprot.c: Likewise.
28425 * sunrpc/bindrsvprt.c: Likewise.
28426 * sunrpc/clnt_gen.c: Likewise.
28427 * sunrpc/clnt_perr.c: Likewise.
28428 * sunrpc/clnt_raw.c: Likewise.
28429 * sunrpc/clnt_simp.c: Likewise.
28430 * sunrpc/clnt_tcp.c: Likewise.
28431 * sunrpc/clnt_udp.c: Likewise.
28432 * sunrpc/clnt_unix.c: Likewise.
28433 * sunrpc/des_crypt.c: Likewise.
28434 * sunrpc/des_soft.c: Likewise.
28435 * sunrpc/get_myaddr.c: Likewise.
28436 * sunrpc/getrpcport.c: Likewise.
28437 * sunrpc/key_call.c: Likewise.
28438 * sunrpc/key_prot.c: Likewise.
28439 * sunrpc/openchild.c: Likewise.
28440 * sunrpc/pm_getmaps.c: Likewise.
28441 * sunrpc/pm_getport.c: Likewise.
28442 * sunrpc/pmap_clnt.c: Likewise.
28443 * sunrpc/pmap_prot.c: Likewise.
28444 * sunrpc/pmap_prot2.c: Likewise.
28445 * sunrpc/pmap_rmt.c: Likewise.
28446 * sunrpc/rpc/auth.h: Likewise.
28447 * sunrpc/rpc/auth_unix.h: Likewise.
28448 * sunrpc/rpc/clnt.h: Likewise.
28449 * sunrpc/rpc/des_crypt.h: Likewise.
28450 * sunrpc/rpc/key_prot.h: Likewise.
28451 * sunrpc/rpc/netdb.h: Likewise.
28452 * sunrpc/rpc/pmap_clnt.h: Likewise.
28453 * sunrpc/rpc/pmap_prot.h: Likewise.
28454 * sunrpc/rpc/pmap_rmt.h: Likewise.
28455 * sunrpc/rpc/rpc.h: Likewise.
28456 * sunrpc/rpc/rpc_des.h: Likewise.
28457 * sunrpc/rpc/rpc_msg.h: Likewise.
28458 * sunrpc/rpc/svc.h: Likewise.
28459 * sunrpc/rpc/svc_auth.h: Likewise.
28460 * sunrpc/rpc/types.h: Likewise.
28461 * sunrpc/rpc/xdr.h: Likewise.
28462 * sunrpc/rpc_clntout.c: Likewise.
28463 * sunrpc/rpc_cmsg.c: Likewise.
28464 * sunrpc/rpc_common.c: Likewise.
28465 * sunrpc/rpc_cout.c: Likewise.
28466 * sunrpc/rpc_dtable.c: Likewise.
28467 * sunrpc/rpc_hout.c: Likewise.
28468 * sunrpc/rpc_main.c: Likewise.
28469 * sunrpc/rpc_parse.c: Likewise.
28470 * sunrpc/rpc_parse.h: Likewise.
28471 * sunrpc/rpc_prot.c: Likewise.
28472 * sunrpc/rpc_sample.c: Likewise.
28473 * sunrpc/rpc_scan.c: Likewise.
28474 * sunrpc/rpc_scan.h: Likewise.
28475 * sunrpc/rpc_svcout.c: Likewise.
28476 * sunrpc/rpc_tblout.c: Likewise.
28477 * sunrpc/rpc_util.c: Likewise.
28478 * sunrpc/rpc_util.h: Likewise.
28479 * sunrpc/rpcinfo.c: Likewise.
28480 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28481 * sunrpc/rpcsvc/key_prot.x: Likewise.
28482 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28483 * sunrpc/rpcsvc/mount.x: Likewise.
28484 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28485 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28486 * sunrpc/rpcsvc/rex.x: Likewise.
28487 * sunrpc/rpcsvc/rstat.x: Likewise.
28488 * sunrpc/rpcsvc/rusers.x: Likewise.
28489 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28490 * sunrpc/rpcsvc/spray.x: Likewise.
28491 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28492 * sunrpc/rtime.c: Likewise.
28493 * sunrpc/svc.c: Likewise.
28494 * sunrpc/svc_auth.c: Likewise.
28495 * sunrpc/svc_authux.c: Likewise.
28496 * sunrpc/svc_raw.c: Likewise.
28497 * sunrpc/svc_run.c: Likewise.
28498 * sunrpc/svc_simple.c: Likewise.
28499 * sunrpc/svc_tcp.c: Likewise.
28500 * sunrpc/svc_udp.c: Likewise.
28501 * sunrpc/svc_unix.c: Likewise.
28502 * sunrpc/svcauth_des.c: Likewise.
28503 * sunrpc/xcrypt.c: Likewise.
28504 * sunrpc/xdr.c: Likewise.
28505 * sunrpc/xdr_array.c: Likewise.
28506 * sunrpc/xdr_float.c: Likewise.
28507 * sunrpc/xdr_mem.c: Likewise.
28508 * sunrpc/xdr_rec.c: Likewise.
28509 * sunrpc/xdr_ref.c: Likewise.
28510 * sunrpc/xdr_sizeof.c: Likewise.
28511 * sunrpc/xdr_stdio.c: Likewise.
28513 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28516 2010-08-19 Andreas Schwab <schwab@redhat.com>
28518 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28520 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
28522 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28523 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28524 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28525 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28526 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28527 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28528 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28529 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28530 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28531 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28532 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28533 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28534 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28535 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28537 2010-07-26 Anton Blanchard <anton@samba.org>
28539 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28540 * malloc/arena.c (heap_trim): Likewise.
28542 2010-08-16 Ulrich Drepper <drepper@redhat.com>
28544 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28546 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28547 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28549 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28551 * sysdeps/i386/elf/Makefile: New file.
28553 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28555 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28556 from fanotify_init.
28557 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28560 2010-08-15 Ulrich Drepper <drepper@redhat.com>
28562 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28564 * sysdeps/multiarch/strcmp.S: Likewise.
28566 2010-08-14 Ulrich Drepper <drepper@redhat.com>
28568 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28569 strncase_l-nonascii.
28570 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28571 Add strncase_l-ssse3.
28572 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28573 * sysdeps/x86_64/strcmp.S: Likewise.
28574 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28575 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28576 * sysdeps/x86_64/strncase.S: New file.
28577 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28578 * sysdeps/x86_64/strncase_l.S: New file.
28579 * string/Makefile (strop-tests): Add strncasecmp.
28580 * string/test-strncasecmp.c: New file.
28582 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28585 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28586 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28588 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28590 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28592 2010-08-12 Ulrich Drepper <drepper@redhat.com>
28594 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28595 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28596 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28598 2010-05-01 Alan Modra <amodra@gmail.com>
28600 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28601 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28602 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28603 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28604 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28605 tidying. Don't tail-call __sigjmp_save for static lib.
28606 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28608 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28609 (CALL_MCOUNT): Add eh info, and nop after bl.
28610 (TAIL_CALL_SYSCALL_ERROR): New macro.
28611 (PSEUDO_RET): Use it.
28612 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28613 Correct save location of integer regs and cr.
28614 (_dl_profile_resolve): Correct cr save location. Delete nops
28615 after bl when SHARED. Reduce cfi size a little by better
28616 placement of cfi directives.
28617 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28618 make a stack frame. Instead use parm save area as a temp.
28619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28620 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28622 Don't make a stack frame for parent, use parm save area.
28623 Increase child stack frame to 112 bytes. Don't save unused reg,
28624 and adjust reg usage. Set up cfi on error recovery and
28625 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28627 (__makecontext): Add dummy nop after jump to exit.
28628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28629 Use correct parm save area and cr save, reduce stack frame.
28630 Correct cfi for possible PSEUDO_RET frame setup.
28631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28632 Branch to local label emitted by PSEUDO_RET rather than
28635 2010-08-12 Andreas Schwab <schwab@redhat.com>
28638 * locale/programs/locale.c (print_assignment): New function.
28639 (show_locale_vars): Use it.
28641 2010-08-11 Ulrich Drepper <drepper@redhat.com>
28643 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28645 (struct statfs64): Likewise.
28646 (_STATFS_F_FLAGS): Define.
28647 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28648 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28649 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28650 (ST_VALID): Define locally.
28651 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28652 __statvfs_getflags, use the provided value.
28653 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28654 __ASSUME_STATFS_F_FLAGS.
28656 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28658 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28659 Add sys/fanotify.h.
28660 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28661 fanotify_mask for GLIBC_2.13.
28662 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28663 fanotify_init and fanotify_mark.
28664 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28665 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28667 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28669 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28670 prlimit64 for GLIBC_2.13.
28671 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28673 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28676 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28677 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28678 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28679 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28681 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28684 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28685 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28687 * nss/Makefile: Add rules to build and run tst-nss-test1.
28688 * shlib-versions: Add entry for libnss_test1.
28689 * nss/nss_test1.c: New file.
28690 * nss/tst-nss-test1.c: New file.
28692 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28693 (__nss_configure_lookup): Set appropriate entry in
28694 __nss_configure_lookup to true.
28695 * nss/nsswitch.h: Define enum with indeces of databases in
28696 databases and __nss_database_custom arrays. Declare
28697 __nss_database_custom.
28698 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28699 to avoid using nscd when custom rules are installed.
28700 * nss/getXXbyYY_r.c: Likewise.
28701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28703 * nss/nss_files/files-parse.c: Whitespace fixes.
28705 2010-08-09 Ulrich Drepper <drepper@redhat.com>
28708 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28709 * posix/fnmatch_loop.c: Likewise.
28711 2010-07-17 Andi Kleen <ak@linux.intel.com>
28713 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28714 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28715 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28716 * Versions.def [GLIBC_2.13]: Add.
28718 2010-08-06 Ulrich Drepper <drepper@redhat.com>
28720 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28721 Also fail if tpwd after pwuid call is NULL.
28723 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28725 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28726 when converting to ms.
28728 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28730 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28731 EOPNOTSUPP errors with ENOTTY.
28732 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28733 EOPNOTSUPP errors with ENOTTY.
28735 2010-07-31 Ulrich Drepper <drepper@redhat.com>
28737 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28738 Add strcasecmp_l-ssse3.
28739 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28741 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28742 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28743 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28745 2010-07-30 Ulrich Drepper <drepper@redhat.com>
28747 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28749 * string/Makefile (strop-tests): Add strcasecmp.
28750 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28751 strcasecmp_l-nonascii.
28752 (gen-as-const-headers): Add locale-defines.sym.
28753 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28754 * sysdeps/x86_64/strcasecmp.S: New file.
28755 * sysdeps/x86_64/strcasecmp_l.S: New file.
28756 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28757 * sysdeps/x86_64/locale-defines.sym: New file.
28758 * string/test-strcasecmp.c: New file.
28760 * string/test-strcasestr.c: Test both ends of the range of characters.
28761 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28763 2010-07-29 Roland McGrath <roland@redhat.com>
28766 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28768 2010-07-27 Ulrich Drepper <drepper@redhat.com>
28770 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28773 2010-07-27 Andreas Schwab <schwab@redhat.com>
28775 * manual/memory.texi (Malloc Tunable Parameters): Document
28778 2010-07-26 Roland McGrath <roland@redhat.com>
28781 * configure.in (-fgnu89-inline check): Set and substitute
28782 gnu89_inline, not libc_cv_gnu89_inline.
28783 * configure: Regenerated.
28784 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28786 2010-07-26 Ulrich Drepper <drepper@redhat.com>
28788 * string/test-strnlen.c: New file.
28789 * string/Makefile (strop-tests): Add strnlen.
28790 * string/tester.c (test_strnlen): Add a few more test cases.
28791 * string/tst-strlen.c: Better error reporting.
28793 * sysdeps/x86_64/strnlen.S: New file.
28795 2010-07-24 Ulrich Drepper <drepper@redhat.com>
28797 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28798 lower-latency instructions.
28800 2010-07-23 Ulrich Drepper <drepper@redhat.com>
28802 * string/test-strcasestr.c: New file.
28803 * string/test-strstr.c: New file.
28804 * string/Makefile (strop-tests): Add strstr and strcasestr.
28805 * string/str-two-way.h: Don't undefine MAX.
28806 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28808 2010-07-21 Andreas Schwab <schwab@redhat.com>
28810 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28811 strcasestr-nonascii.
28812 (CFLAGS-strcasestr-nonascii.c): Define.
28813 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28814 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28815 Remove unused attribute.
28817 2010-07-20 Roland McGrath <roland@redhat.com>
28819 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28820 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28821 ld.so.cache was broken. With it, there is no way to disable dsocaps
28822 like LD_HWCAP_MASK can disable hwcaps.
28824 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28826 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28828 2010-07-16 Ulrich Drepper <drepper@redhat.com>
28830 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28831 call in strcasestr.
28832 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28833 __strcasestr_sse42_nonascii.
28834 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28835 strcasestr-nonascii.c.
28836 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28838 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
28840 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28841 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28842 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28843 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28845 2010-07-09 Ulrich Drepper <drepper@redhat.com>
28847 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28850 2010-07-06 Andreas Schwab <schwab@redhat.com>
28853 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28856 2010-07-06 Ulrich Drepper <drepper@redhat.com>
28858 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28859 _PC_PIPE_BUF using F_GETPIPE_SZ.
28861 2010-07-05 Roland McGrath <roland@redhat.com>
28863 * manual/arith.texi (Rounding Functions): Fix rint description
28864 implicit in round description.
28866 2010-07-02 Ulrich Drepper <drepper@redhat.com>
28868 * elf/Makefile: Fix linking for a few tests to make recent linker
28871 2010-06-30 Andreas Schwab <schwab@redhat.com>
28873 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28874 $(common-objpfx)libc_nonshared.a.
28876 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
28878 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28879 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28880 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28881 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28882 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28883 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28884 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28885 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28900 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28901 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28902 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28903 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28904 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28905 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28906 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28907 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28908 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28909 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28910 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28911 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28927 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28929 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28930 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28931 * string/memmove.c (memmove): Renamed to ...
28932 (MEMMOVE): ...this. Default to memmove.
28933 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28934 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28937 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28938 mempcpy-ssse3-back memmove-ssse3-back.
28939 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28940 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28941 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28942 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28943 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28944 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28945 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28946 * sysdeps/x86_64/multiarch/memmove.c: New file.
28947 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28948 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28949 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28950 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28951 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28952 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28954 (index_Fast_Copy_Backward): Define.
28955 (HAS_ARCH_FEATURE): Define.
28956 (HAS_FAST_REP_STRING): Define.
28957 (HAS_FAST_COPY_BACKWARD): Define.
28959 2010-06-21 Andreas Schwab <schwab@redhat.com>
28961 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28962 Restore proper fallback handling.
28964 2010-06-19 Ulrich Drepper <drepper@redhat.com>
28967 * posix/group_member.c (__group_member): Correct checking loop.
28969 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28970 OOM in getpwuid_r correctly. Return error number when the caller
28971 should return, otherwise -1.
28972 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28973 call returning > 0 value.
28974 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28976 2010-06-07 Andreas Schwab <schwab@redhat.com>
28978 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28979 libc_nonshared.a from targets in modules-names.
28981 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28983 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28986 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
28988 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28989 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28990 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28991 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28993 2010-06-02 Andreas Schwab <schwab@redhat.com>
28995 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28997 2010-06-14 Ulrich Drepper <drepper@redhat.com>
28999 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
29001 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29002 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29003 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29004 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29005 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29006 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
29008 2010-06-14 Roland McGrath <roland@redhat.com>
29010 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
29012 2010-06-07 Jakub Jelinek <jakub@redhat.com>
29014 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
29015 __REDIRECT followed by __THROW.
29016 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
29017 * posix/getopt.h (getopt): Likewise.
29019 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29021 * hurd/lookup-at.c (__file_name_lookup_at): Accept
29022 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
29023 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
29025 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
29026 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
29028 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
29030 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
29032 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
29035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29036 Properly check family and model.
29038 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
29040 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29042 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
29044 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29046 2010-05-21 Ulrich Drepper <drepper@redhat.com>
29048 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29051 2010-05-19 Andreas Schwab <schwab@redhat.com>
29053 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29056 2010-05-21 Andreas Schwab <schwab@redhat.com>
29058 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29059 and internal_recvmmsg.
29060 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29061 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29062 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29063 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29065 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29066 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29067 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29069 2010-05-20 Andreas Schwab <schwab@redhat.com>
29071 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29073 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
29075 POWER7 optimizations.
29076 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29077 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29079 2010-05-19 Ulrich Drepper <drepper@redhat.com>
29081 * version.h: Update for 2.13 development version.
29083 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
29085 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29086 exceptions. Return 0.
29088 2010-05-07 Roland McGrath <roland@redhat.com>
29090 * elf/ldconfig.c (main): Add a const.
29092 2010-05-06 Ulrich Drepper <drepper@redhat.com>
29094 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29095 (args_options): Add no-idn option.
29096 (ahosts_keys_int): Add idn_flags to ai_flags.
29097 (parse_option): Handle 'i' option to clear idn_flags.
29099 * malloc/malloc.c (_int_free): Possible race in the most recently
29100 added check. Only act on the data if no current modification
29103 See ChangeLog.17 for earlier changes.